Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-18 23:59:03.654140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 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
2025-04-18 23:59:12.491340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 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
2025-04-18 23:59:42.583640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 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
 val : 1 : upload photos already in processing! 
2025-04-19 00:00:09.807636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/08/image_14042025_07_08_37_10373.jpg', '/home/pi/Desktop/images/14042025/07/08/image_14042025_07_08_46_9336.jpg', '/home/pi/Desktop/images/14042025/07/08/image_14042025_07_08_56_10383.jpg', '/home/pi/Desktop/images/14042025/07/09/image_14042025_07_09_57_10453.jpg', '/home/pi/Desktop/images/14042025/07/09/image_14042025_07_10_06_9431.jpg', '/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_16_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/08/image_14042025_07_08_37_10373.jpg
/home/pi/Desktop/images/14042025/07/08/image_14042025_07_08_46_9336.jpg
/home/pi/Desktop/images/14042025/07/08/image_14042025_07_08_56_10383.jpg
/home/pi/Desktop/images/14042025/07/09/image_14042025_07_09_57_10453.jpg
/home/pi/Desktop/images/14042025/07/09/image_14042025_07_10_06_9431.jpg
/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_16_10355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351497826","1351497709","1351497678","1351497857","1351497799","1351497646"],"photo_ids_order":["1351497646","1351497678","1351497709","1351497799","1351497826","1351497857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a45ee0c6a5e929dd4309dba8f7f1afce.jpg","text":"TemporaryFile(/tmp/multipartBody1199254143794651555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013676980,"filename":"image_14042025_07_10_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/19/a7628ea94d8a8971a9e81b1b9e2b3d3c.jpg","text":"TemporaryFile(/tmp/multipartBody716460085714396343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013676980,"filename":"image_14042025_07_08_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/19/f5fdd7b9fba1a03acee0c95c51648b36.jpg","text":"TemporaryFile(/tmp/multipartBody6505072482036739676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013676980,"filename":"image_14042025_07_08_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/19/b8d35ae9c51c4ce3133b33ca58a0effa.jpg","text":"TemporaryFile(/tmp/multipartBody3023608044674544001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013676980,"filename":"image_14042025_07_10_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/60a879901e922c1bd49cb6537cb36c9f.jpg","text":"TemporaryFile(/tmp/multipartBody7475427186495433757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013676980,"filename":"image_14042025_07_09_57_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/47668c5aa7aa8302234edc934bfb6214.jpg","text":"TemporaryFile(/tmp/multipartBody1868049164499431353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013676980,"filename":"image_14042025_07_08_37_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351497709","file1":"1351497678","file0":"1351497646","file4":"1351497826","file5":"1351497857","file3":"1351497799"},"map_files_photo_id_array":[{"photo_id":"1351497857","filename":"file5"},{"photo_id":"1351497709","filename":"file2"},{"photo_id":"1351497826","filename":"file4"},{"photo_id":"1351497678","filename":"file1"},{"photo_id":"1351497646","filename":"file0"},{"photo_id":"1351497799","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351497826":["hashtag1","hashtag2"]},{"1351497709":["hashtag1","hashtag2"]},{"1351497678":["hashtag1","hashtag2"]},{"1351497857":["hashtag1","hashtag2"]},{"1351497799":["hashtag1","hashtag2"]},{"1351497646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351497826, 1351497709, 1351497678, 1351497857, 1351497799, 1351497646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.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
2025-04-19 00:01:03.993332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_26_9453.jpg', '/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_36_10348.jpg', '/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_47_10404.jpg', '/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_56_9431.jpg', '/home/pi/Desktop/images/14042025/07/10/image_14042025_07_11_06_10368.jpg', '/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_17_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_26_9453.jpg
/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_36_10348.jpg
/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_47_10404.jpg
/home/pi/Desktop/images/14042025/07/10/image_14042025_07_10_56_9431.jpg
/home/pi/Desktop/images/14042025/07/10/image_14042025_07_11_06_10368.jpg
/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_17_10371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351498182","1351498119","1351498113","1351498157","1351498079","1351498123"],"photo_ids_order":["1351498079","1351498113","1351498119","1351498123","1351498157","1351498182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc926fadfb89372b77481d91bbaf1ac3.jpg","text":"TemporaryFile(/tmp/multipartBody988773209245873185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013724950,"filename":"image_14042025_07_11_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/19/90fd8b691b3158759ab6f473d1909297.jpg","text":"TemporaryFile(/tmp/multipartBody7085961174135614654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013724950,"filename":"image_14042025_07_10_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/19/faa2b8e89e29b38063f0ec7c2b6184a8.jpg","text":"TemporaryFile(/tmp/multipartBody3408853304022875744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013724950,"filename":"image_14042025_07_10_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/19/f065d9b9a7d759cfb436967e223fedaf.jpg","text":"TemporaryFile(/tmp/multipartBody1389063512733741922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013724950,"filename":"image_14042025_07_11_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/19/8ef7b4f4322e0c685627e53119f8a87e.jpg","text":"TemporaryFile(/tmp/multipartBody2663088429037538438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013724950,"filename":"image_14042025_07_10_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/19/3152ebcfe3e098821f625e8684f15b27.jpg","text":"TemporaryFile(/tmp/multipartBody8184916584664753211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013724950,"filename":"image_14042025_07_10_56_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351498119","file1":"1351498113","file0":"1351498079","file4":"1351498157","file5":"1351498182","file3":"1351498123"},"map_files_photo_id_array":[{"photo_id":"1351498182","filename":"file5"},{"photo_id":"1351498119","filename":"file2"},{"photo_id":"1351498157","filename":"file4"},{"photo_id":"1351498113","filename":"file1"},{"photo_id":"1351498079","filename":"file0"},{"photo_id":"1351498123","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351498182":["hashtag1","hashtag2"]},{"1351498119":["hashtag1","hashtag2"]},{"1351498113":["hashtag1","hashtag2"]},{"1351498157":["hashtag1","hashtag2"]},{"1351498079":["hashtag1","hashtag2"]},{"1351498123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351498182, 1351498119, 1351498113, 1351498157, 1351498079, 1351498123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.892757177352905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:01:42.650160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_26_9354.jpg', '/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_37_10362.jpg', '/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_46_9455.jpg', '/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_56_10225.jpg', '/home/pi/Desktop/images/14042025/07/11/image_14042025_07_12_06_9620.jpg', '/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_16_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_26_9354.jpg
/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_37_10362.jpg
/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_46_9455.jpg
/home/pi/Desktop/images/14042025/07/11/image_14042025_07_11_56_10225.jpg
/home/pi/Desktop/images/14042025/07/11/image_14042025_07_12_06_9620.jpg
/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_16_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351498473","1351498395","1351498290","1351498340","1351498412","1351498414"],"photo_ids_order":["1351498290","1351498340","1351498395","1351498412","1351498414","1351498473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/96ce68a8c55007291c5a7a2857a2602a.jpg","text":"TemporaryFile(/tmp/multipartBody8406937579688244343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013764351,"filename":"image_14042025_07_12_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9fa5b5af47fbbfa195f16c2aafbd0731.jpg","text":"TemporaryFile(/tmp/multipartBody5289251529700432591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013764351,"filename":"image_14042025_07_11_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/19/964a6ebddd51c2cc2d949d2ff2b00376.jpg","text":"TemporaryFile(/tmp/multipartBody3982562739333047860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013764351,"filename":"image_14042025_07_11_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/19/dd1dd87254f4d705c3a8115756b0403b.jpg","text":"TemporaryFile(/tmp/multipartBody9128830569149321465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013764351,"filename":"image_14042025_07_11_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/19/746800a950385e611a51de53232a3d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6005588958473941613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013764351,"filename":"image_14042025_07_11_56_10225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25cad1b04a55e30ebd9d68575e2e700f.jpg","text":"TemporaryFile(/tmp/multipartBody5580876884549937006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013764351,"filename":"image_14042025_07_12_06_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351498395","file1":"1351498340","file0":"1351498290","file4":"1351498414","file5":"1351498473","file3":"1351498412"},"map_files_photo_id_array":[{"photo_id":"1351498473","filename":"file5"},{"photo_id":"1351498395","filename":"file2"},{"photo_id":"1351498414","filename":"file4"},{"photo_id":"1351498340","filename":"file1"},{"photo_id":"1351498290","filename":"file0"},{"photo_id":"1351498412","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351498473":["hashtag1","hashtag2"]},{"1351498395":["hashtag1","hashtag2"]},{"1351498290":["hashtag1","hashtag2"]},{"1351498340":["hashtag1","hashtag2"]},{"1351498412":["hashtag1","hashtag2"]},{"1351498414":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351498473, 1351498395, 1351498290, 1351498340, 1351498412, 1351498414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26955032348633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:02:42.849762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_27_10361.jpg', '/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_36_9370.jpg', '/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_46_10376.jpg', '/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_57_10456.jpg', '/home/pi/Desktop/images/14042025/07/12/image_14042025_07_13_06_9347.jpg', '/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_16_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_27_10361.jpg
/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_36_9370.jpg
/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_46_10376.jpg
/home/pi/Desktop/images/14042025/07/12/image_14042025_07_12_57_10456.jpg
/home/pi/Desktop/images/14042025/07/12/image_14042025_07_13_06_9347.jpg
/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_16_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":["1351498953","1351498941","1351498952","1351498946","1351498949","1351498951"],"photo_ids_order":["1351498941","1351498946","1351498949","1351498951","1351498952","1351498953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d8769118eb9f2a77ade10845476a9f0.jpg","text":"TemporaryFile(/tmp/multipartBody4319883921236643727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013824601,"filename":"image_14042025_07_13_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae5f8e2b2c794268bbef771816d2016d.jpg","text":"TemporaryFile(/tmp/multipartBody6676825687708983658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013824601,"filename":"image_14042025_07_12_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/19/c2b2534ab2b470cfa7b0884b63ad6119.jpg","text":"TemporaryFile(/tmp/multipartBody8679454258227962048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013824601,"filename":"image_14042025_07_13_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f465a339a17132c67d0431273422dacf.jpg","text":"TemporaryFile(/tmp/multipartBody8833521614286898775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013824601,"filename":"image_14042025_07_12_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/19/bea51bcac959c2aa8d31ffd0a4ea05b1.jpg","text":"TemporaryFile(/tmp/multipartBody9037498326597035302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013824601,"filename":"image_14042025_07_12_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/19/47238727b2cb03925c71b955ea3a9921.jpg","text":"TemporaryFile(/tmp/multipartBody7769079947223998855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013824601,"filename":"image_14042025_07_12_57_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351498949","file1":"1351498946","file0":"1351498941","file4":"1351498952","file5":"1351498953","file3":"1351498951"},"map_files_photo_id_array":[{"photo_id":"1351498953","filename":"file5"},{"photo_id":"1351498949","filename":"file2"},{"photo_id":"1351498952","filename":"file4"},{"photo_id":"1351498946","filename":"file1"},{"photo_id":"1351498941","filename":"file0"},{"photo_id":"1351498951","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351498953":["hashtag1","hashtag2"]},{"1351498941":["hashtag1","hashtag2"]},{"1351498952":["hashtag1","hashtag2"]},{"1351498946":["hashtag1","hashtag2"]},{"1351498949":["hashtag1","hashtag2"]},{"1351498951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351498953, 1351498941, 1351498952, 1351498946, 1351498949, 1351498951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.1968994140625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:03:43.023693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_26_9389.jpg', '/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_36_10350.jpg', '/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_47_10355.jpg', '/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_56_9418.jpg', '/home/pi/Desktop/images/14042025/07/13/image_14042025_07_14_06_10364.jpg', '/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_17_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_26_9389.jpg
/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_36_10350.jpg
/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_47_10355.jpg
/home/pi/Desktop/images/14042025/07/13/image_14042025_07_13_56_9418.jpg
/home/pi/Desktop/images/14042025/07/13/image_14042025_07_14_06_10364.jpg
/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_17_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351499238","1351499223","1351499220","1351499365","1351499311","1351499215"],"photo_ids_order":["1351499215","1351499220","1351499223","1351499238","1351499311","1351499365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc13bab5de28e56ddf17f1560f20dbb1.jpg","text":"TemporaryFile(/tmp/multipartBody6695639037932450110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013884706,"filename":"image_14042025_07_13_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/19/aac3b251cbecc2dd1ab3250f1d30b4d1.jpg","text":"TemporaryFile(/tmp/multipartBody4473803199415475263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013884706,"filename":"image_14042025_07_13_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/19/e1d9debb1f37d2f45abdb07a2e7c1ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1436104731966388137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013884706,"filename":"image_14042025_07_13_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/19/0ae3e3d4abf466ba249d124f9bd8fd92.jpg","text":"TemporaryFile(/tmp/multipartBody7122774122101712103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013884706,"filename":"image_14042025_07_14_17_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/59775c321b20f745a9744317481e5307.jpg","text":"TemporaryFile(/tmp/multipartBody1345164282001682313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013884706,"filename":"image_14042025_07_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/19/c62e1536a098b285158abca215e8a600.jpg","text":"TemporaryFile(/tmp/multipartBody2365228315916261592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013884706,"filename":"image_14042025_07_13_26_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351499223","file1":"1351499220","file0":"1351499215","file4":"1351499311","file5":"1351499365","file3":"1351499238"},"map_files_photo_id_array":[{"photo_id":"1351499365","filename":"file5"},{"photo_id":"1351499223","filename":"file2"},{"photo_id":"1351499311","filename":"file4"},{"photo_id":"1351499220","filename":"file1"},{"photo_id":"1351499215","filename":"file0"},{"photo_id":"1351499238","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351499238":["hashtag1","hashtag2"]},{"1351499223":["hashtag1","hashtag2"]},{"1351499220":["hashtag1","hashtag2"]},{"1351499365":["hashtag1","hashtag2"]},{"1351499311":["hashtag1","hashtag2"]},{"1351499215":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351499238, 1351499223, 1351499220, 1351499365, 1351499311, 1351499215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34986114501953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:04:42.278051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_26_9368.jpg', '/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_37_10451.jpg', '/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_46_9352.jpg', '/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_56_10382.jpg', '/home/pi/Desktop/images/14042025/07/14/image_14042025_07_15_06_9498.jpg', '/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_16_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_26_9368.jpg
/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_37_10451.jpg
/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_46_9352.jpg
/home/pi/Desktop/images/14042025/07/14/image_14042025_07_14_56_10382.jpg
/home/pi/Desktop/images/14042025/07/14/image_14042025_07_15_06_9498.jpg
/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_16_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351499687","1351499805","1351499780","1351499738","1351499830","1351499859"],"photo_ids_order":["1351499687","1351499738","1351499780","1351499805","1351499830","1351499859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e269de86ddc1b97ee96d31882898a95.jpg","text":"TemporaryFile(/tmp/multipartBody4213494192717350420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013943945,"filename":"image_14042025_07_14_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/19/7a24a4e6407d53b8c77b4e9944e1127b.jpg","text":"TemporaryFile(/tmp/multipartBody770436397294803393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013943945,"filename":"image_14042025_07_14_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/19/fd219712c1d4d602cdc9e0cc4340a556.jpg","text":"TemporaryFile(/tmp/multipartBody8884872870219994637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013943945,"filename":"image_14042025_07_14_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/19/a63e821050498cbf9d169fc28b7d97e7.jpg","text":"TemporaryFile(/tmp/multipartBody7979033140276584088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013943945,"filename":"image_14042025_07_14_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/19/9788e1cd6f515d6578d43d2e8388a2a4.jpg","text":"TemporaryFile(/tmp/multipartBody2729628283033280425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013943945,"filename":"image_14042025_07_15_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/19/e22c45888e7cd76758787ae61683ad1f.jpg","text":"TemporaryFile(/tmp/multipartBody8604842695868307987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745013943945,"filename":"image_14042025_07_15_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351499780","file1":"1351499738","file0":"1351499687","file4":"1351499830","file5":"1351499859","file3":"1351499805"},"map_files_photo_id_array":[{"photo_id":"1351499859","filename":"file5"},{"photo_id":"1351499780","filename":"file2"},{"photo_id":"1351499830","filename":"file4"},{"photo_id":"1351499738","filename":"file1"},{"photo_id":"1351499687","filename":"file0"},{"photo_id":"1351499805","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351499687":["hashtag1","hashtag2"]},{"1351499805":["hashtag1","hashtag2"]},{"1351499780":["hashtag1","hashtag2"]},{"1351499738":["hashtag1","hashtag2"]},{"1351499830":["hashtag1","hashtag2"]},{"1351499859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351499687, 1351499805, 1351499780, 1351499738, 1351499830, 1351499859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30283784866333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:05:42.545033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_27_10377.jpg', '/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_46_10362.jpg', '/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_57_10491.jpg', '/home/pi/Desktop/images/14042025/07/15/image_14042025_07_16_06_9356.jpg', '/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_17_10409.jpg', '/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_26_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_27_10377.jpg
/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_46_10362.jpg
/home/pi/Desktop/images/14042025/07/15/image_14042025_07_15_57_10491.jpg
/home/pi/Desktop/images/14042025/07/15/image_14042025_07_16_06_9356.jpg
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_17_10409.jpg
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_26_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351500476","1351500521","1351500506","1351500428","1351500523","1351500452"],"photo_ids_order":["1351500428","1351500452","1351500476","1351500506","1351500521","1351500523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7085c0aad93926624b6bb107041e0bb.jpg","text":"TemporaryFile(/tmp/multipartBody3236030281435832717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014004212,"filename":"image_14042025_07_15_57_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/19/d24714d358d54d9da2070d0e749c1e03.jpg","text":"TemporaryFile(/tmp/multipartBody7338773996190523867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014004212,"filename":"image_14042025_07_16_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f7376e1533b989b4692396c25acaa8d5.jpg","text":"TemporaryFile(/tmp/multipartBody3965170636284362030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014004212,"filename":"image_14042025_07_16_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f400dd57f11e6a98868a8b8c1ff39874.jpg","text":"TemporaryFile(/tmp/multipartBody4373140841330578969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014004212,"filename":"image_14042025_07_15_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/19/2a612df11c0a75f2439a51773c40b180.jpg","text":"TemporaryFile(/tmp/multipartBody4732537497564488262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014004212,"filename":"image_14042025_07_16_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/19/01888f7bbd2f418c87deab97cced7aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4714945634723871308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014004212,"filename":"image_14042025_07_15_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351500476","file1":"1351500452","file0":"1351500428","file4":"1351500521","file5":"1351500523","file3":"1351500506"},"map_files_photo_id_array":[{"photo_id":"1351500523","filename":"file5"},{"photo_id":"1351500476","filename":"file2"},{"photo_id":"1351500521","filename":"file4"},{"photo_id":"1351500452","filename":"file1"},{"photo_id":"1351500428","filename":"file0"},{"photo_id":"1351500506","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351500476":["hashtag1","hashtag2"]},{"1351500521":["hashtag1","hashtag2"]},{"1351500506":["hashtag1","hashtag2"]},{"1351500428":["hashtag1","hashtag2"]},{"1351500523":["hashtag1","hashtag2"]},{"1351500452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351500476, 1351500521, 1351500506, 1351500428, 1351500523, 1351500452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.507998943328857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:06:42.778727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_36_10359.jpg', '/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_46_9477.jpg', '/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_56_10477.jpg', '/home/pi/Desktop/images/14042025/07/16/image_14042025_07_17_06_9484.jpg', '/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_16_10351.jpg', '/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_27_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_36_10359.jpg
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_46_9477.jpg
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_16_56_10477.jpg
/home/pi/Desktop/images/14042025/07/16/image_14042025_07_17_06_9484.jpg
/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_16_10351.jpg
/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_27_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":["1351500872","1351500854","1351500898","1351500809","1351500874","1351500853"],"photo_ids_order":["1351500809","1351500853","1351500854","1351500872","1351500874","1351500898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f733f3110eb68fa4de959bee66b36eec.jpg","text":"TemporaryFile(/tmp/multipartBody8906408845041442651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014064469,"filename":"image_14042025_07_17_06_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f1565cb2eba5a34552def555215a4ec.jpg","text":"TemporaryFile(/tmp/multipartBody4848167436592351900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014064469,"filename":"image_14042025_07_16_56_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3a63a4281a1c3e37184b16054e67e112.jpg","text":"TemporaryFile(/tmp/multipartBody8639693789112475930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014064469,"filename":"image_14042025_07_17_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/72287e9d63357371892646193a387881.jpg","text":"TemporaryFile(/tmp/multipartBody3491452144147578876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014064469,"filename":"image_14042025_07_16_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/19/719826e16a837ca9fe13e057cd4ae15b.jpg","text":"TemporaryFile(/tmp/multipartBody3816952525104547494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014064469,"filename":"image_14042025_07_17_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1914da12ae0a76365375b69feaed905e.jpg","text":"TemporaryFile(/tmp/multipartBody5898557671536330379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014064469,"filename":"image_14042025_07_16_46_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351500854","file1":"1351500853","file0":"1351500809","file4":"1351500874","file5":"1351500898","file3":"1351500872"},"map_files_photo_id_array":[{"photo_id":"1351500898","filename":"file5"},{"photo_id":"1351500854","filename":"file2"},{"photo_id":"1351500874","filename":"file4"},{"photo_id":"1351500853","filename":"file1"},{"photo_id":"1351500809","filename":"file0"},{"photo_id":"1351500872","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351500872":["hashtag1","hashtag2"]},{"1351500854":["hashtag1","hashtag2"]},{"1351500898":["hashtag1","hashtag2"]},{"1351500809":["hashtag1","hashtag2"]},{"1351500874":["hashtag1","hashtag2"]},{"1351500853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351500872, 1351500854, 1351500898, 1351500809, 1351500874, 1351500853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.559747219085693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:07:42.974273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_36_9597.jpg', '/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_47_10392.jpg', '/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_56_9513.jpg', '/home/pi/Desktop/images/14042025/07/17/image_14042025_07_18_06_10373.jpg', '/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_17_10296.jpg', '/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_37_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_36_9597.jpg
/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_47_10392.jpg
/home/pi/Desktop/images/14042025/07/17/image_14042025_07_17_56_9513.jpg
/home/pi/Desktop/images/14042025/07/17/image_14042025_07_18_06_10373.jpg
/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_17_10296.jpg
/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_37_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351501418","1351501642","1351501504","1351501615","1351501575","1351501691"],"photo_ids_order":["1351501418","1351501504","1351501575","1351501615","1351501642","1351501691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8ff66da59d8d93b19743f95469a57396.jpg","text":"TemporaryFile(/tmp/multipartBody2752626008500096590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014124686,"filename":"image_14042025_07_17_36_9597.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b6980a53150a7a7a31c53ec388eab9e5.jpg","text":"TemporaryFile(/tmp/multipartBody8036592436544851045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014124686,"filename":"image_14042025_07_18_17_10296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/df090bef5c6bafba916232c5c521f23b.jpg","text":"TemporaryFile(/tmp/multipartBody3842892790530769644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014124686,"filename":"image_14042025_07_17_47_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/19/35b2eb2ab84f7c530d739b49373cb10e.jpg","text":"TemporaryFile(/tmp/multipartBody4048822315953585064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014124686,"filename":"image_14042025_07_18_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/19/e481ef7bf934d5bbee697f2a950b0192.jpg","text":"TemporaryFile(/tmp/multipartBody4346481241898666619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014124686,"filename":"image_14042025_07_17_56_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/19/12dde0116b66df9d8ce79b9f6c7cd320.jpg","text":"TemporaryFile(/tmp/multipartBody1328044892816631491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014124686,"filename":"image_14042025_07_18_37_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351501575","file1":"1351501504","file0":"1351501418","file4":"1351501642","file5":"1351501691","file3":"1351501615"},"map_files_photo_id_array":[{"photo_id":"1351501691","filename":"file5"},{"photo_id":"1351501575","filename":"file2"},{"photo_id":"1351501642","filename":"file4"},{"photo_id":"1351501504","filename":"file1"},{"photo_id":"1351501418","filename":"file0"},{"photo_id":"1351501615","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351501418":["hashtag1","hashtag2"]},{"1351501642":["hashtag1","hashtag2"]},{"1351501504":["hashtag1","hashtag2"]},{"1351501615":["hashtag1","hashtag2"]},{"1351501575":["hashtag1","hashtag2"]},{"1351501691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351501418, 1351501642, 1351501504, 1351501615, 1351501575, 1351501691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.955050945281982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:08:42.163885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_46_9450.jpg', '/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_56_10367.jpg', '/home/pi/Desktop/images/14042025/07/18/image_14042025_07_19_07_10394.jpg', '/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_16_9382.jpg', '/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_26_10375.jpg', '/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_36_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_46_9450.jpg
/home/pi/Desktop/images/14042025/07/18/image_14042025_07_18_56_10367.jpg
/home/pi/Desktop/images/14042025/07/18/image_14042025_07_19_07_10394.jpg
/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_16_9382.jpg
/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_26_10375.jpg
/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_36_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":["1351502170","1351502196","1351502128","1351502198","1351502201","1351502182"],"photo_ids_order":["1351502128","1351502170","1351502182","1351502196","1351502198","1351502201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9ee56ca86e185e3d68fda1662d98ccb4.jpg","text":"TemporaryFile(/tmp/multipartBody3053558474764689137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014183865,"filename":"image_14042025_07_18_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e50b291b6fb087a122e58a2df52c2284.jpg","text":"TemporaryFile(/tmp/multipartBody7580273449172705392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014183865,"filename":"image_14042025_07_19_16_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0cd32b4814aaf405a61f94b8046e9733.jpg","text":"TemporaryFile(/tmp/multipartBody1664215593836635411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014183865,"filename":"image_14042025_07_18_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/19/d88f22c1bb2df201224131a1f35930ae.jpg","text":"TemporaryFile(/tmp/multipartBody5628042283128600546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014183865,"filename":"image_14042025_07_19_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/19/ac4c18057e1fbc159afb2db0be558721.jpg","text":"TemporaryFile(/tmp/multipartBody6038298595690343921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014183865,"filename":"image_14042025_07_19_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/19/87cea7878f16f604e2f556a28f8aea10.jpg","text":"TemporaryFile(/tmp/multipartBody6190064085790971812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014183865,"filename":"image_14042025_07_19_07_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351502182","file1":"1351502170","file0":"1351502128","file4":"1351502198","file5":"1351502201","file3":"1351502196"},"map_files_photo_id_array":[{"photo_id":"1351502201","filename":"file5"},{"photo_id":"1351502182","filename":"file2"},{"photo_id":"1351502198","filename":"file4"},{"photo_id":"1351502170","filename":"file1"},{"photo_id":"1351502128","filename":"file0"},{"photo_id":"1351502196","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351502170":["hashtag1","hashtag2"]},{"1351502196":["hashtag1","hashtag2"]},{"1351502128":["hashtag1","hashtag2"]},{"1351502198":["hashtag1","hashtag2"]},{"1351502201":["hashtag1","hashtag2"]},{"1351502182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351502170, 1351502196, 1351502128, 1351502198, 1351502201, 1351502182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6124165058136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:09:42.330820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_46_10366.jpg', '/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_57_10358.jpg', '/home/pi/Desktop/images/14042025/07/19/image_14042025_07_20_06_9344.jpg', '/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_16_10337.jpg', '/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_27_10365.jpg', '/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_36_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_46_10366.jpg
/home/pi/Desktop/images/14042025/07/19/image_14042025_07_19_57_10358.jpg
/home/pi/Desktop/images/14042025/07/19/image_14042025_07_20_06_9344.jpg
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_16_10337.jpg
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_27_10365.jpg
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_36_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351502632","1351502457","1351502685","1351502715","1351502522","1351502572"],"photo_ids_order":["1351502457","1351502522","1351502572","1351502632","1351502685","1351502715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/93af1da4d472755ddd7e9df7342be053.jpg","text":"TemporaryFile(/tmp/multipartBody7582653466131086981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014244039,"filename":"image_14042025_07_20_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ec24879c647a2f4e6a6b5a7aabdb854.jpg","text":"TemporaryFile(/tmp/multipartBody4476949998907897279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014244039,"filename":"image_14042025_07_19_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f19b5a9a9514285f69d689f3dd7a6c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1723942730699460483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014244039,"filename":"image_14042025_07_20_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/19/b4a837f8ca1aafe6e269ed6eda4b4dab.jpg","text":"TemporaryFile(/tmp/multipartBody7504691312338436553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014244039,"filename":"image_14042025_07_20_36_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f4f94117f640f212d9941bbacf514d97.jpg","text":"TemporaryFile(/tmp/multipartBody6685540824956440292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014244039,"filename":"image_14042025_07_19_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8a66128f76057cbf9b6993bdb852bf55.jpg","text":"TemporaryFile(/tmp/multipartBody5313036776148713570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014244039,"filename":"image_14042025_07_20_06_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351502572","file1":"1351502522","file0":"1351502457","file4":"1351502685","file5":"1351502715","file3":"1351502632"},"map_files_photo_id_array":[{"photo_id":"1351502715","filename":"file5"},{"photo_id":"1351502572","filename":"file2"},{"photo_id":"1351502685","filename":"file4"},{"photo_id":"1351502522","filename":"file1"},{"photo_id":"1351502457","filename":"file0"},{"photo_id":"1351502632","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351502632":["hashtag1","hashtag2"]},{"1351502457":["hashtag1","hashtag2"]},{"1351502685":["hashtag1","hashtag2"]},{"1351502715":["hashtag1","hashtag2"]},{"1351502522":["hashtag1","hashtag2"]},{"1351502572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351502632, 1351502457, 1351502685, 1351502715, 1351502522, 1351502572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.850403785705566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:10:42.497322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_46_10370.jpg', '/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_56_9405.jpg', '/home/pi/Desktop/images/14042025/07/20/image_14042025_07_21_06_10455.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_17_10366.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_26_9375.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_36_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_46_10370.jpg
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_20_56_9405.jpg
/home/pi/Desktop/images/14042025/07/20/image_14042025_07_21_06_10455.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_17_10366.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_26_9375.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_36_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351503096","1351503045","1351503188","1351502978","1351502995","1351503019"],"photo_ids_order":["1351502978","1351502995","1351503019","1351503045","1351503096","1351503188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/036cfc181f6e0d69bba6c4596253466b.jpg","text":"TemporaryFile(/tmp/multipartBody138568775599168347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014304171,"filename":"image_14042025_07_21_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/19/560235114b1b5cbce17490e1e959b3e2.jpg","text":"TemporaryFile(/tmp/multipartBody8291004170062096752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014304171,"filename":"image_14042025_07_21_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/19/258a0bd126df89ea680a98f29a8a7120.jpg","text":"TemporaryFile(/tmp/multipartBody3987608750004801265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014304171,"filename":"image_14042025_07_21_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/19/3c4c0ef61e49a439358380d231ff6c82.jpg","text":"TemporaryFile(/tmp/multipartBody7802032192323048772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014304171,"filename":"image_14042025_07_20_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/19/ccc8e4b9d54a6d6072c12ff0365efa17.jpg","text":"TemporaryFile(/tmp/multipartBody2607675967945403225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014304171,"filename":"image_14042025_07_20_56_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/79166dcd8d67c21a2b48ce60eb298195.jpg","text":"TemporaryFile(/tmp/multipartBody3537407089303216874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014304171,"filename":"image_14042025_07_21_06_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351503019","file1":"1351502995","file0":"1351502978","file4":"1351503096","file5":"1351503188","file3":"1351503045"},"map_files_photo_id_array":[{"photo_id":"1351503188","filename":"file5"},{"photo_id":"1351503019","filename":"file2"},{"photo_id":"1351503096","filename":"file4"},{"photo_id":"1351502995","filename":"file1"},{"photo_id":"1351502978","filename":"file0"},{"photo_id":"1351503045","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351503096":["hashtag1","hashtag2"]},{"1351503045":["hashtag1","hashtag2"]},{"1351503188":["hashtag1","hashtag2"]},{"1351502978":["hashtag1","hashtag2"]},{"1351502995":["hashtag1","hashtag2"]},{"1351503019":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351503096, 1351503045, 1351503188, 1351502978, 1351502995, 1351503019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.926095724105835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:11:42.873543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_47_10394.jpg', '/home/pi/Desktop/images/14042025/07/21/image_14042025_07_22_07_10350.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_16_9397.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_26_10383.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_36_9434.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_21_47_10394.jpg
/home/pi/Desktop/images/14042025/07/21/image_14042025_07_22_07_10350.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_16_9397.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_26_10383.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_36_9434.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_46_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351503779","1351503665","1351503799","1351503802","1351503805","1351503706"],"photo_ids_order":["1351503665","1351503706","1351503779","1351503799","1351503802","1351503805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc600adf4f86d2f6b607f6932869b704.jpg","text":"TemporaryFile(/tmp/multipartBody3132019100442081373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014364565,"filename":"image_14042025_07_22_16_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/44b800cd419f548311fa494468f028ca.jpg","text":"TemporaryFile(/tmp/multipartBody8773472900251669322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014364565,"filename":"image_14042025_07_21_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/19/40eafe75f2e60a5f358267040a6569ff.jpg","text":"TemporaryFile(/tmp/multipartBody4455228847681016213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014364565,"filename":"image_14042025_07_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/19/c7e14fa71c796540b24aca95db433aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5998515356509811052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014364565,"filename":"image_14042025_07_22_36_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/69b2580bf7039fb3250d848d8b6c276a.jpg","text":"TemporaryFile(/tmp/multipartBody8155526707108563043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014364565,"filename":"image_14042025_07_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/19/b60fa8b7418c614be57c8162d5ef9aae.jpg","text":"TemporaryFile(/tmp/multipartBody216512653790942923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014364565,"filename":"image_14042025_07_22_07_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351503779","file1":"1351503706","file0":"1351503665","file4":"1351503802","file5":"1351503805","file3":"1351503799"},"map_files_photo_id_array":[{"photo_id":"1351503805","filename":"file5"},{"photo_id":"1351503779","filename":"file2"},{"photo_id":"1351503802","filename":"file4"},{"photo_id":"1351503706","filename":"file1"},{"photo_id":"1351503665","filename":"file0"},{"photo_id":"1351503799","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351503779":["hashtag1","hashtag2"]},{"1351503665":["hashtag1","hashtag2"]},{"1351503799":["hashtag1","hashtag2"]},{"1351503802":["hashtag1","hashtag2"]},{"1351503805":["hashtag1","hashtag2"]},{"1351503706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351503779, 1351503665, 1351503799, 1351503802, 1351503805, 1351503706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.195961236953735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:12:43.032249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_57_10361.jpg', '/home/pi/Desktop/images/14042025/07/22/image_14042025_07_23_06_9373.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_16_10434.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_26_9457.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_36_10453.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_47_10506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_22_57_10361.jpg
/home/pi/Desktop/images/14042025/07/22/image_14042025_07_23_06_9373.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_16_10434.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_26_9457.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_36_10453.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_47_10506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351504122","1351504118","1351504100","1351504072","1351504045","1351504018"],"photo_ids_order":["1351504018","1351504045","1351504072","1351504100","1351504118","1351504122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/73285bd9fa705f195e2c714ead0cf54a.jpg","text":"TemporaryFile(/tmp/multipartBody3955928232644000102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014424737,"filename":"image_14042025_07_23_47_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c640b9a5f5ad32d8c5550b1632f5b165.jpg","text":"TemporaryFile(/tmp/multipartBody3058448131240508918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014424737,"filename":"image_14042025_07_23_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/19/6f15175023436e8bf465b63b59333b68.jpg","text":"TemporaryFile(/tmp/multipartBody8084846462381708275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014424737,"filename":"image_14042025_07_23_26_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/17d274bfd3795e592dbfc7ef93c015d5.jpg","text":"TemporaryFile(/tmp/multipartBody4684332486458943175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014424737,"filename":"image_14042025_07_23_16_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c637358a160ea40cbfe694f43503bae.jpg","text":"TemporaryFile(/tmp/multipartBody7146771603484801165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014424737,"filename":"image_14042025_07_23_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/19/f0a690896b1176a838a581d178c35334.jpg","text":"TemporaryFile(/tmp/multipartBody5955939207279398318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014424737,"filename":"image_14042025_07_22_57_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504072","file1":"1351504045","file0":"1351504018","file4":"1351504118","file5":"1351504122","file3":"1351504100"},"map_files_photo_id_array":[{"photo_id":"1351504122","filename":"file5"},{"photo_id":"1351504072","filename":"file2"},{"photo_id":"1351504118","filename":"file4"},{"photo_id":"1351504045","filename":"file1"},{"photo_id":"1351504018","filename":"file0"},{"photo_id":"1351504100","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351504122":["hashtag1","hashtag2"]},{"1351504118":["hashtag1","hashtag2"]},{"1351504100":["hashtag1","hashtag2"]},{"1351504072":["hashtag1","hashtag2"]},{"1351504045":["hashtag1","hashtag2"]},{"1351504018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351504122, 1351504118, 1351504100, 1351504072, 1351504045, 1351504018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.175543546676636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:13:42.227828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_56_9357.jpg', '/home/pi/Desktop/images/14042025/07/23/image_14042025_07_24_07_10368.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_16_9504.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_26_10362.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_36_9453.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_46_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_23_56_9357.jpg
/home/pi/Desktop/images/14042025/07/23/image_14042025_07_24_07_10368.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_16_9504.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_26_10362.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_36_9453.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_46_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":["1351504335","1351504263","1351504314","1351504292","1351504318","1351504237"],"photo_ids_order":["1351504237","1351504263","1351504292","1351504314","1351504318","1351504335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d6023eda1e2f010b0783ea4d9634f69.jpg","text":"TemporaryFile(/tmp/multipartBody8113258677391379562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014483898,"filename":"image_14042025_07_24_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/19/2ae21688c3c979c5edd9e4d0f87af16e.jpg","text":"TemporaryFile(/tmp/multipartBody3657099171453650708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014483898,"filename":"image_14042025_07_24_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/19/b198a325bb9ed4e81f1892b05aa20958.jpg","text":"TemporaryFile(/tmp/multipartBody4280378696846192999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014483898,"filename":"image_14042025_07_24_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/19/3eff8f4e5217bf6992e2a3201c4961ce.jpg","text":"TemporaryFile(/tmp/multipartBody1030027271591496848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014483898,"filename":"image_14042025_07_24_16_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f3673eb49011c7bb99911b01469fecb.jpg","text":"TemporaryFile(/tmp/multipartBody731574932229116436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014483898,"filename":"image_14042025_07_24_36_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/19/c15cf78abf0e06017c5e6f55f0e4c2f6.jpg","text":"TemporaryFile(/tmp/multipartBody3187147630098117159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014483898,"filename":"image_14042025_07_23_56_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504292","file1":"1351504263","file0":"1351504237","file4":"1351504318","file5":"1351504335","file3":"1351504314"},"map_files_photo_id_array":[{"photo_id":"1351504335","filename":"file5"},{"photo_id":"1351504292","filename":"file2"},{"photo_id":"1351504318","filename":"file4"},{"photo_id":"1351504263","filename":"file1"},{"photo_id":"1351504237","filename":"file0"},{"photo_id":"1351504314","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351504335":["hashtag1","hashtag2"]},{"1351504263":["hashtag1","hashtag2"]},{"1351504314":["hashtag1","hashtag2"]},{"1351504292":["hashtag1","hashtag2"]},{"1351504318":["hashtag1","hashtag2"]},{"1351504237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351504335, 1351504263, 1351504314, 1351504292, 1351504318, 1351504237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.170944690704346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:14:42.444841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_57_10364.jpg', '/home/pi/Desktop/images/14042025/07/24/image_14042025_07_25_06_9456.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_16_10362.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_26_9481.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_36_10367.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_47_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_24_57_10364.jpg
/home/pi/Desktop/images/14042025/07/24/image_14042025_07_25_06_9456.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_16_10362.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_26_9481.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_36_10367.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_47_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":["1351504458","1351504404","1351504379","1351504516","1351504432","1351504485"],"photo_ids_order":["1351504379","1351504404","1351504432","1351504458","1351504485","1351504516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c5479d8cdb36343b7298d8d025b661d4.jpg","text":"TemporaryFile(/tmp/multipartBody1928434832539255867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014544138,"filename":"image_14042025_07_25_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/19/b4223ba24a3b505ed7efbbf351995586.jpg","text":"TemporaryFile(/tmp/multipartBody5395864163024157953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014544138,"filename":"image_14042025_07_25_06_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/456a4f7fb3053d8a4f5e35a8c18c2317.jpg","text":"TemporaryFile(/tmp/multipartBody5147465384322472752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014544138,"filename":"image_14042025_07_24_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/19/380deb3889df468198311ebc6e351535.jpg","text":"TemporaryFile(/tmp/multipartBody8361873564545785710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014544138,"filename":"image_14042025_07_25_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/19/22bde349edf3ad1b3555785af832e688.jpg","text":"TemporaryFile(/tmp/multipartBody7247751416702001064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014544138,"filename":"image_14042025_07_25_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/19/ee4e66d30f785a92b90a9fa982f03ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4622306039769050310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014544138,"filename":"image_14042025_07_25_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504432","file1":"1351504404","file0":"1351504379","file4":"1351504485","file5":"1351504516","file3":"1351504458"},"map_files_photo_id_array":[{"photo_id":"1351504516","filename":"file5"},{"photo_id":"1351504432","filename":"file2"},{"photo_id":"1351504485","filename":"file4"},{"photo_id":"1351504404","filename":"file1"},{"photo_id":"1351504379","filename":"file0"},{"photo_id":"1351504458","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351504458":["hashtag1","hashtag2"]},{"1351504404":["hashtag1","hashtag2"]},{"1351504379":["hashtag1","hashtag2"]},{"1351504516":["hashtag1","hashtag2"]},{"1351504432":["hashtag1","hashtag2"]},{"1351504485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351504458, 1351504404, 1351504379, 1351504516, 1351504432, 1351504485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37564539909363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:15:42.776822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_56_9411.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_26_06_10362.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_17_10397.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_26_9358.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_36_10356.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_56_9411.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_26_06_10362.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_17_10397.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_26_9358.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_36_10356.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_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: 1.6296985149383545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:16:03.431674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_56_9411.jpg', '/home/pi/Desktop/images/14042025/07/25/image_14042025_07_26_06_10362.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_17_10397.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_26_9358.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_36_10356.jpg', '/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_25_56_9411.jpg
/home/pi/Desktop/images/14042025/07/25/image_14042025_07_26_06_10362.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_17_10397.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_26_9358.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_36_10356.jpg
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_26_56_10362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351505180","1351505127","1351505084","1351505104","1351505232","1351505010"],"photo_ids_order":["1351505010","1351505084","1351505104","1351505127","1351505180","1351505232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cfeb1387c0dc284de0ae07237fea82b3.jpg","text":"TemporaryFile(/tmp/multipartBody6912330951411213723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014624231,"filename":"image_14042025_07_26_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/19/b8c5379e672890d1e58ee52c6d711293.jpg","text":"TemporaryFile(/tmp/multipartBody9025649712718924641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014624231,"filename":"image_14042025_07_26_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/19/e6ac496df16afc5835fe4f21f4122a30.jpg","text":"TemporaryFile(/tmp/multipartBody3146032044170742901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014624231,"filename":"image_14042025_07_26_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d65e8d319c64622f2dbfa358689eb18.jpg","text":"TemporaryFile(/tmp/multipartBody804493051123622471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014624231,"filename":"image_14042025_07_26_17_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/18de777f0adb2a0ac02700ed9373fd3c.jpg","text":"TemporaryFile(/tmp/multipartBody5530081989876022675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014624231,"filename":"image_14042025_07_26_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb7c9e9ac316507a31f413beb951c88a.jpg","text":"TemporaryFile(/tmp/multipartBody7184568577690773095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014624231,"filename":"image_14042025_07_25_56_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505104","file1":"1351505084","file0":"1351505010","file4":"1351505180","file5":"1351505232","file3":"1351505127"},"map_files_photo_id_array":[{"photo_id":"1351505232","filename":"file5"},{"photo_id":"1351505104","filename":"file2"},{"photo_id":"1351505180","filename":"file4"},{"photo_id":"1351505084","filename":"file1"},{"photo_id":"1351505010","filename":"file0"},{"photo_id":"1351505127","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351505180":["hashtag1","hashtag2"]},{"1351505127":["hashtag1","hashtag2"]},{"1351505084":["hashtag1","hashtag2"]},{"1351505104":["hashtag1","hashtag2"]},{"1351505232":["hashtag1","hashtag2"]},{"1351505010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351505180, 1351505127, 1351505084, 1351505104, 1351505232, 1351505010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.152902126312256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:16:42.991641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/26/image_14042025_07_27_07_10405.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_16_9334.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_36_9388.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_46_10226.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_56_10371.jpg', '/home/pi/Desktop/images/14042025/07/27/image_14042025_07_28_07_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/26/image_14042025_07_27_07_10405.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_16_9334.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_36_9388.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_46_10226.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_27_56_10371.jpg
/home/pi/Desktop/images/14042025/07/27/image_14042025_07_28_07_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":["1351505414","1351505416","1351505404","1351505412","1351505415","1351505409"],"photo_ids_order":["1351505404","1351505409","1351505412","1351505414","1351505415","1351505416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd1fb8e31f52cc1b08cd3f12556b1a88.jpg","text":"TemporaryFile(/tmp/multipartBody5808586472997992290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014664693,"filename":"image_14042025_07_27_46_10226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6bc8b2962ece2d50598dfcc7e907ff0a.jpg","text":"TemporaryFile(/tmp/multipartBody1612959411018451636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014664693,"filename":"image_14042025_07_28_07_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/05df681ba2ff0846a3e21196763c4de0.jpg","text":"TemporaryFile(/tmp/multipartBody4465663587375932050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014664693,"filename":"image_14042025_07_27_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/19/5cd61d4f4f47864c1cd065b36c0f66f5.jpg","text":"TemporaryFile(/tmp/multipartBody7654641683531388111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014664693,"filename":"image_14042025_07_27_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/19/8503ea76ff752b013e66d881cf958c9d.jpg","text":"TemporaryFile(/tmp/multipartBody9110888671686206760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014664693,"filename":"image_14042025_07_27_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/19/5205e9ac749062dd8c11261a832d57e4.jpg","text":"TemporaryFile(/tmp/multipartBody5520941678193771518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014664693,"filename":"image_14042025_07_27_16_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505412","file1":"1351505409","file0":"1351505404","file4":"1351505415","file5":"1351505416","file3":"1351505414"},"map_files_photo_id_array":[{"photo_id":"1351505416","filename":"file5"},{"photo_id":"1351505412","filename":"file2"},{"photo_id":"1351505415","filename":"file4"},{"photo_id":"1351505409","filename":"file1"},{"photo_id":"1351505404","filename":"file0"},{"photo_id":"1351505414","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351505414":["hashtag1","hashtag2"]},{"1351505416":["hashtag1","hashtag2"]},{"1351505404":["hashtag1","hashtag2"]},{"1351505412":["hashtag1","hashtag2"]},{"1351505415":["hashtag1","hashtag2"]},{"1351505409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351505414, 1351505416, 1351505404, 1351505412, 1351505415, 1351505409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.136371850967407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:17:42.339692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_16_9322.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_26_10391.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_36_9448.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_46_10377.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_57_10410.jpg', '/home/pi/Desktop/images/14042025/07/28/image_14042025_07_29_06_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_16_9322.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_26_10391.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_36_9448.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_46_10377.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_28_57_10410.jpg
/home/pi/Desktop/images/14042025/07/28/image_14042025_07_29_06_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":["1351505648","1351505645","1351505603","1351505629","1351505640","1351505643"],"photo_ids_order":["1351505603","1351505629","1351505640","1351505643","1351505645","1351505648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f696d4fd598d6ec73c51a136ac342a80.jpg","text":"TemporaryFile(/tmp/multipartBody947546827203369858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014724025,"filename":"image_14042025_07_29_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/19/87c8dc03279affefeec594bb16611268.jpg","text":"TemporaryFile(/tmp/multipartBody6499637503242246041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014724025,"filename":"image_14042025_07_28_57_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00cdf5858c985917cebe9e3cb6d80f42.jpg","text":"TemporaryFile(/tmp/multipartBody7104352458066281574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014724025,"filename":"image_14042025_07_28_16_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/78090577a9076406c5324d820040cae9.jpg","text":"TemporaryFile(/tmp/multipartBody4092716522741596362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014724025,"filename":"image_14042025_07_28_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/19/690b266f1bf6ed8c2bbfa41248949603.jpg","text":"TemporaryFile(/tmp/multipartBody6219945057672882513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014724025,"filename":"image_14042025_07_28_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/19/b453c09b72481df2a5e05c11b0570884.jpg","text":"TemporaryFile(/tmp/multipartBody903219227069344580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014724025,"filename":"image_14042025_07_28_46_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505640","file1":"1351505629","file0":"1351505603","file4":"1351505645","file5":"1351505648","file3":"1351505643"},"map_files_photo_id_array":[{"photo_id":"1351505648","filename":"file5"},{"photo_id":"1351505640","filename":"file2"},{"photo_id":"1351505645","filename":"file4"},{"photo_id":"1351505629","filename":"file1"},{"photo_id":"1351505603","filename":"file0"},{"photo_id":"1351505643","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351505648":["hashtag1","hashtag2"]},{"1351505645":["hashtag1","hashtag2"]},{"1351505603":["hashtag1","hashtag2"]},{"1351505629":["hashtag1","hashtag2"]},{"1351505640":["hashtag1","hashtag2"]},{"1351505643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351505648, 1351505645, 1351505603, 1351505629, 1351505640, 1351505643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.434465169906616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:18:42.598303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_16_10361.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_26_9468.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_36_10366.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_47_10355.jpg', '/home/pi/Desktop/images/14042025/07/29/image_14042025_07_30_06_10362.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_16_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_16_10361.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_26_9468.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_36_10366.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_29_47_10355.jpg
/home/pi/Desktop/images/14042025/07/29/image_14042025_07_30_06_10362.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_16_9532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351505687","1351505692","1351505773","1351505799","1351505694","1351505763"],"photo_ids_order":["1351505687","1351505692","1351505694","1351505763","1351505773","1351505799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9219df62c05abdc633204cb135281ec.jpg","text":"TemporaryFile(/tmp/multipartBody7469982275774651736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014784297,"filename":"image_14042025_07_29_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/19/b4af0eb521e5c1f98b4bcf701319c0dd.jpg","text":"TemporaryFile(/tmp/multipartBody6459792103589343585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014784297,"filename":"image_14042025_07_29_26_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc234d88da23d4efdfc3476228d05843.jpg","text":"TemporaryFile(/tmp/multipartBody4526464480887410363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014784297,"filename":"image_14042025_07_30_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/19/f368f2f559a2fd5b150631f903f4bac2.jpg","text":"TemporaryFile(/tmp/multipartBody6072869903299509231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014784297,"filename":"image_14042025_07_30_16_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/19/debbffa386fd7e8180e51a287c871986.jpg","text":"TemporaryFile(/tmp/multipartBody8816000583898893492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014784297,"filename":"image_14042025_07_29_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/381cf2fda912a5aba9e57be86b9bb299.jpg","text":"TemporaryFile(/tmp/multipartBody116889819992092722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014784297,"filename":"image_14042025_07_29_47_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505694","file1":"1351505692","file0":"1351505687","file4":"1351505773","file5":"1351505799","file3":"1351505763"},"map_files_photo_id_array":[{"photo_id":"1351505799","filename":"file5"},{"photo_id":"1351505694","filename":"file2"},{"photo_id":"1351505773","filename":"file4"},{"photo_id":"1351505692","filename":"file1"},{"photo_id":"1351505687","filename":"file0"},{"photo_id":"1351505763","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351505687":["hashtag1","hashtag2"]},{"1351505692":["hashtag1","hashtag2"]},{"1351505773":["hashtag1","hashtag2"]},{"1351505799":["hashtag1","hashtag2"]},{"1351505694":["hashtag1","hashtag2"]},{"1351505763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351505687, 1351505692, 1351505773, 1351505799, 1351505694, 1351505763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.6644024848938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:19:42.873818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_26_10351.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_37_10371.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_56_10415.jpg', '/home/pi/Desktop/images/14042025/07/30/image_14042025_07_31_07_10368.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_16_9365.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_26_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_26_10351.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_37_10371.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_30_56_10415.jpg
/home/pi/Desktop/images/14042025/07/30/image_14042025_07_31_07_10368.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_16_9365.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_26_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351506059","1351505881","1351505994","1351505911","1351505853","1351505961"],"photo_ids_order":["1351505853","1351505881","1351505911","1351505961","1351505994","1351506059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7411e1f9f9e28db76335f8b66918ca79.jpg","text":"TemporaryFile(/tmp/multipartBody7605857072353282470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014844597,"filename":"image_14042025_07_31_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/19/0407fc4a40c3ed145d6cdf1232ff13a0.jpg","text":"TemporaryFile(/tmp/multipartBody7366767701017857301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014844597,"filename":"image_14042025_07_30_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/19/4dcb623c5c22ec105c71a4d14e41ee24.jpg","text":"TemporaryFile(/tmp/multipartBody1272967203171814028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014844597,"filename":"image_14042025_07_31_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/19/3402c0ebc6a978216d9df0ed482f830f.jpg","text":"TemporaryFile(/tmp/multipartBody8937734390476776562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014844597,"filename":"image_14042025_07_30_56_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c3ffed959851f6fdabc61be07b59512.jpg","text":"TemporaryFile(/tmp/multipartBody6261573877965748182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014844597,"filename":"image_14042025_07_30_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/19/b9e203fe9b607a912f77437e4a08b66d.jpg","text":"TemporaryFile(/tmp/multipartBody7952240995617689618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014844597,"filename":"image_14042025_07_31_07_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505911","file1":"1351505881","file0":"1351505853","file4":"1351505994","file5":"1351506059","file3":"1351505961"},"map_files_photo_id_array":[{"photo_id":"1351506059","filename":"file5"},{"photo_id":"1351505911","filename":"file2"},{"photo_id":"1351505994","filename":"file4"},{"photo_id":"1351505881","filename":"file1"},{"photo_id":"1351505853","filename":"file0"},{"photo_id":"1351505961","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351506059":["hashtag1","hashtag2"]},{"1351505881":["hashtag1","hashtag2"]},{"1351505994":["hashtag1","hashtag2"]},{"1351505911":["hashtag1","hashtag2"]},{"1351505853":["hashtag1","hashtag2"]},{"1351505961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351506059, 1351505881, 1351505994, 1351505911, 1351505853, 1351505961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47972249984741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:20:43.084458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_36_9425.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_46_10353.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_57_10360.jpg', '/home/pi/Desktop/images/14042025/07/31/image_14042025_07_32_06_9434.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_16_10357.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_27_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_36_9425.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_46_10353.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_31_57_10360.jpg
/home/pi/Desktop/images/14042025/07/31/image_14042025_07_32_06_9434.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_16_10357.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_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":["1351506527","1351506728","1351506625","1351506681","1351506744","1351506573"],"photo_ids_order":["1351506527","1351506573","1351506625","1351506681","1351506728","1351506744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb534ad7a71a99f96fe5454b0a23ce4a.jpg","text":"TemporaryFile(/tmp/multipartBody415336650282134285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014904793,"filename":"image_14042025_07_31_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2462ceb708480f54f9b5340414d32150.jpg","text":"TemporaryFile(/tmp/multipartBody6804526087404686110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014904793,"filename":"image_14042025_07_32_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/19/2671b277738ab5a26487e3161994e902.jpg","text":"TemporaryFile(/tmp/multipartBody387792239575293978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014904793,"filename":"image_14042025_07_31_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/19/8d611b9c2554c3534944f662e7f6b213.jpg","text":"TemporaryFile(/tmp/multipartBody270492547611562001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014904793,"filename":"image_14042025_07_32_06_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e8164925e57ac01f9b40b98cae61bb22.jpg","text":"TemporaryFile(/tmp/multipartBody4158361061532468972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014904793,"filename":"image_14042025_07_32_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/19/9d809286f145b0026e274dccabd606fd.jpg","text":"TemporaryFile(/tmp/multipartBody1452025786332401817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014904793,"filename":"image_14042025_07_31_46_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506625","file1":"1351506573","file0":"1351506527","file4":"1351506728","file5":"1351506744","file3":"1351506681"},"map_files_photo_id_array":[{"photo_id":"1351506744","filename":"file5"},{"photo_id":"1351506625","filename":"file2"},{"photo_id":"1351506728","filename":"file4"},{"photo_id":"1351506573","filename":"file1"},{"photo_id":"1351506527","filename":"file0"},{"photo_id":"1351506681","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351506527":["hashtag1","hashtag2"]},{"1351506728":["hashtag1","hashtag2"]},{"1351506625":["hashtag1","hashtag2"]},{"1351506681":["hashtag1","hashtag2"]},{"1351506744":["hashtag1","hashtag2"]},{"1351506573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351506527, 1351506728, 1351506625, 1351506681, 1351506744, 1351506573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.21325969696045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:21:42.307564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_36_9349.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_47_10407.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_56_9439.jpg', '/home/pi/Desktop/images/14042025/07/32/image_14042025_07_33_06_10362.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_16_9504.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_26_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_36_9349.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_47_10407.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_32_56_9439.jpg
/home/pi/Desktop/images/14042025/07/32/image_14042025_07_33_06_10362.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_16_9504.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_26_10481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351507197","1351507114","1351507009","1351507080","1351507163","1351507040"],"photo_ids_order":["1351507009","1351507040","1351507080","1351507114","1351507163","1351507197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e8033f05ffa1b46eb57280127c2f94c7.jpg","text":"TemporaryFile(/tmp/multipartBody1131839627177159240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014963991,"filename":"image_14042025_07_33_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/19/0fedabea013b6b4dcf272b77950cc3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4963122035924791303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014963991,"filename":"image_14042025_07_33_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/19/d318973c2bdba70599544101b4902519.jpg","text":"TemporaryFile(/tmp/multipartBody1191185207196723796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014963991,"filename":"image_14042025_07_32_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/19/9a23d54513db074ea044ef7bcd511136.jpg","text":"TemporaryFile(/tmp/multipartBody5958981570219446718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014963991,"filename":"image_14042025_07_32_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/19/dea4b7c2a239ca60599c429877c9d14b.jpg","text":"TemporaryFile(/tmp/multipartBody5935115642764821802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014963991,"filename":"image_14042025_07_33_16_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55de516c90842f2f676cf8f6731aca1b.jpg","text":"TemporaryFile(/tmp/multipartBody3466395253420232216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745014963991,"filename":"image_14042025_07_32_47_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507080","file1":"1351507040","file0":"1351507009","file4":"1351507163","file5":"1351507197","file3":"1351507114"},"map_files_photo_id_array":[{"photo_id":"1351507197","filename":"file5"},{"photo_id":"1351507080","filename":"file2"},{"photo_id":"1351507163","filename":"file4"},{"photo_id":"1351507040","filename":"file1"},{"photo_id":"1351507009","filename":"file0"},{"photo_id":"1351507114","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351507197":["hashtag1","hashtag2"]},{"1351507114":["hashtag1","hashtag2"]},{"1351507009":["hashtag1","hashtag2"]},{"1351507080":["hashtag1","hashtag2"]},{"1351507163":["hashtag1","hashtag2"]},{"1351507040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351507197, 1351507114, 1351507009, 1351507080, 1351507163, 1351507040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61588454246521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:22:42.482304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_36_9481.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_57_10382.jpg', '/home/pi/Desktop/images/14042025/07/33/image_14042025_07_34_06_9434.jpg', '/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_16_10350.jpg', '/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_36_10358.jpg', '/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_47_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_36_9481.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_33_57_10382.jpg
/home/pi/Desktop/images/14042025/07/33/image_14042025_07_34_06_9434.jpg
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_16_10350.jpg
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_36_10358.jpg
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_47_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351507555","1351507621","1351507516","1351507599","1351507592","1351507520"],"photo_ids_order":["1351507516","1351507520","1351507555","1351507592","1351507599","1351507621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a0fb2c7054adc18b77b13fc8ef0699c.jpg","text":"TemporaryFile(/tmp/multipartBody3697565425347244996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015024167,"filename":"image_14042025_07_34_06_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2a077711cc5bb94d81eb04b0da7395cd.jpg","text":"TemporaryFile(/tmp/multipartBody1145836312977421581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015024167,"filename":"image_14042025_07_34_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/19/27380eeef05fd649f9f11ca656c2c1dc.jpg","text":"TemporaryFile(/tmp/multipartBody8791008455463309442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015024167,"filename":"image_14042025_07_33_36_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/19/2cbbe6487d672a5febfb4f6060072e30.jpg","text":"TemporaryFile(/tmp/multipartBody8589522347218962045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015024167,"filename":"image_14042025_07_34_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/19/aa50bd02bc929634a5a32696fbab3033.jpg","text":"TemporaryFile(/tmp/multipartBody1601852779570243224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015024167,"filename":"image_14042025_07_34_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/19/9cb8a4bd629cee1b20df13ba57661279.jpg","text":"TemporaryFile(/tmp/multipartBody2617700678145893852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015024167,"filename":"image_14042025_07_33_57_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507555","file1":"1351507520","file0":"1351507516","file4":"1351507599","file5":"1351507621","file3":"1351507592"},"map_files_photo_id_array":[{"photo_id":"1351507621","filename":"file5"},{"photo_id":"1351507555","filename":"file2"},{"photo_id":"1351507599","filename":"file4"},{"photo_id":"1351507520","filename":"file1"},{"photo_id":"1351507516","filename":"file0"},{"photo_id":"1351507592","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351507555":["hashtag1","hashtag2"]},{"1351507621":["hashtag1","hashtag2"]},{"1351507516":["hashtag1","hashtag2"]},{"1351507599":["hashtag1","hashtag2"]},{"1351507592":["hashtag1","hashtag2"]},{"1351507520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351507555, 1351507621, 1351507516, 1351507599, 1351507592, 1351507520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.740787744522095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:23:42.675604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_56_9454.jpg', '/home/pi/Desktop/images/14042025/07/34/image_14042025_07_35_06_10471.jpg', '/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_16_9473.jpg', '/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_26_10375.jpg', '/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_46_10359.jpg', '/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_57_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_34_56_9454.jpg
/home/pi/Desktop/images/14042025/07/34/image_14042025_07_35_06_10471.jpg
/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_16_9473.jpg
/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_26_10375.jpg
/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_46_10359.jpg
/home/pi/Desktop/images/14042025/07/35/image_14042025_07_35_57_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351508065","1351507944","1351508012","1351507859","1351507913","1351507888"],"photo_ids_order":["1351507859","1351507888","1351507913","1351507944","1351508012","1351508065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e61fb8a5baf8e9450efb7908d4f42bf3.jpg","text":"TemporaryFile(/tmp/multipartBody3205052089108352021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015084358,"filename":"image_14042025_07_35_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/19/a336b21cb4fe1239b6944dfbae6c0917.jpg","text":"TemporaryFile(/tmp/multipartBody7941977057768541343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015084358,"filename":"image_14042025_07_35_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/760629f909bea058301630be3836d758.jpg","text":"TemporaryFile(/tmp/multipartBody4001283147965861463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015084358,"filename":"image_14042025_07_35_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/19/7bb8744685cb5d48914c498a58fad7f4.jpg","text":"TemporaryFile(/tmp/multipartBody4461401174334934837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015084358,"filename":"image_14042025_07_34_56_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c98c83c14bcca3c36e238b420605ac3f.jpg","text":"TemporaryFile(/tmp/multipartBody7699460808415912555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015084358,"filename":"image_14042025_07_35_16_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f55f56417502c51756538c2322a5012.jpg","text":"TemporaryFile(/tmp/multipartBody9061442364814384548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015084358,"filename":"image_14042025_07_35_06_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507913","file1":"1351507888","file0":"1351507859","file4":"1351508012","file5":"1351508065","file3":"1351507944"},"map_files_photo_id_array":[{"photo_id":"1351508065","filename":"file5"},{"photo_id":"1351507913","filename":"file2"},{"photo_id":"1351508012","filename":"file4"},{"photo_id":"1351507888","filename":"file1"},{"photo_id":"1351507859","filename":"file0"},{"photo_id":"1351507944","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351508065":["hashtag1","hashtag2"]},{"1351507944":["hashtag1","hashtag2"]},{"1351508012":["hashtag1","hashtag2"]},{"1351507859":["hashtag1","hashtag2"]},{"1351507913":["hashtag1","hashtag2"]},{"1351507888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351508065, 1351507944, 1351508012, 1351507859, 1351507913, 1351507888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55812048912048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:24:42.907358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/35/image_14042025_07_36_06_9409.jpg', '/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_16_10404.jpg', '/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_27_10410.jpg', '/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_36_9343.jpg', '/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_46_10347.jpg', '/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_56_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/35/image_14042025_07_36_06_9409.jpg
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_16_10404.jpg
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_27_10410.jpg
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_36_9343.jpg
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_46_10347.jpg
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_36_56_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351508328","1351508229","1351508336","1351508327","1351508303","1351508254"],"photo_ids_order":["1351508229","1351508254","1351508303","1351508327","1351508328","1351508336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98e6f430434ac93b0d2b8120a6379538.jpg","text":"TemporaryFile(/tmp/multipartBody7152611215865917991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015144618,"filename":"image_14042025_07_36_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/19/702227910af6c45c5f78b861e142c43e.jpg","text":"TemporaryFile(/tmp/multipartBody4737164092982842010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015144618,"filename":"image_14042025_07_36_06_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9aa1904e337a51b859fd5bc2deabad8e.jpg","text":"TemporaryFile(/tmp/multipartBody2979036167957891180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015144618,"filename":"image_14042025_07_36_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/19/8baee4fe968e23673f1d760474c03cc1.jpg","text":"TemporaryFile(/tmp/multipartBody956537752485409610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015144618,"filename":"image_14042025_07_36_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/19/f97a8f272e66a7dc6b2b03f9741321c3.jpg","text":"TemporaryFile(/tmp/multipartBody5886980207519305894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015144618,"filename":"image_14042025_07_36_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/19/84b8a0e0f3771508e85993ca64a8ea91.jpg","text":"TemporaryFile(/tmp/multipartBody234859061667271063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015144618,"filename":"image_14042025_07_36_16_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351508303","file1":"1351508254","file0":"1351508229","file4":"1351508328","file5":"1351508336","file3":"1351508327"},"map_files_photo_id_array":[{"photo_id":"1351508336","filename":"file5"},{"photo_id":"1351508303","filename":"file2"},{"photo_id":"1351508328","filename":"file4"},{"photo_id":"1351508254","filename":"file1"},{"photo_id":"1351508229","filename":"file0"},{"photo_id":"1351508327","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351508328":["hashtag1","hashtag2"]},{"1351508229":["hashtag1","hashtag2"]},{"1351508336":["hashtag1","hashtag2"]},{"1351508327":["hashtag1","hashtag2"]},{"1351508303":["hashtag1","hashtag2"]},{"1351508254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351508328, 1351508229, 1351508336, 1351508327, 1351508303, 1351508254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17589521408081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:25:43.119709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/36/image_14042025_07_37_06_10368.jpg', '/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_17_10370.jpg', '/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_26_9374.jpg', '/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_36_10366.jpg', '/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_47_10420.jpg', '/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/36/image_14042025_07_37_06_10368.jpg
/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_17_10370.jpg
/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_26_9374.jpg
/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_36_10366.jpg
/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_47_10420.jpg
/home/pi/Desktop/images/14042025/07/37/image_14042025_07_37_56_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351508752","1351508728","1351508714","1351508692","1351508797","1351508755"],"photo_ids_order":["1351508692","1351508714","1351508728","1351508752","1351508755","1351508797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc733f9873284bbaf0c87f2f81d8b2a5.jpg","text":"TemporaryFile(/tmp/multipartBody2824897045692501550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015204847,"filename":"image_14042025_07_37_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/19/b5829c7a8ac4bf186e4253774d1eb8bf.jpg","text":"TemporaryFile(/tmp/multipartBody7151402205689626264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015204847,"filename":"image_14042025_07_37_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/19/214eaec91e3e6b9cfc103811f89c77b1.jpg","text":"TemporaryFile(/tmp/multipartBody5187169182972614122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015204847,"filename":"image_14042025_07_37_17_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd49e6683c84a342ae30b9b859fc242d.jpg","text":"TemporaryFile(/tmp/multipartBody2465398561289857429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015204847,"filename":"image_14042025_07_37_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/19/f6c5e05c0a14337d00fac9ca9c297678.jpg","text":"TemporaryFile(/tmp/multipartBody8528778767246749469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015204847,"filename":"image_14042025_07_37_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/19/13bb474041f18136fa23d4433a4761c6.jpg","text":"TemporaryFile(/tmp/multipartBody8422086169042717089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015204847,"filename":"image_14042025_07_37_47_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351508728","file1":"1351508714","file0":"1351508692","file4":"1351508755","file5":"1351508797","file3":"1351508752"},"map_files_photo_id_array":[{"photo_id":"1351508797","filename":"file5"},{"photo_id":"1351508728","filename":"file2"},{"photo_id":"1351508755","filename":"file4"},{"photo_id":"1351508714","filename":"file1"},{"photo_id":"1351508692","filename":"file0"},{"photo_id":"1351508752","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351508752":["hashtag1","hashtag2"]},{"1351508728":["hashtag1","hashtag2"]},{"1351508714":["hashtag1","hashtag2"]},{"1351508692":["hashtag1","hashtag2"]},{"1351508797":["hashtag1","hashtag2"]},{"1351508755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351508752, 1351508728, 1351508714, 1351508692, 1351508797, 1351508755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.453633308410645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:26:42.300411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/37/image_14042025_07_38_07_10426.jpg', '/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_16_9345.jpg', '/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_26_10354.jpg', '/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_37_10373.jpg', '/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_46_9403.jpg', '/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_56_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/37/image_14042025_07_38_07_10426.jpg
/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_16_9345.jpg
/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_26_10354.jpg
/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_37_10373.jpg
/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_46_9403.jpg
/home/pi/Desktop/images/14042025/07/38/image_14042025_07_38_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":["1351509372","1351509321","1351509239","1351509181","1351509418","1351509498"],"photo_ids_order":["1351509181","1351509239","1351509321","1351509372","1351509418","1351509498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d268a740373fe232bc41a24d9d512de4.jpg","text":"TemporaryFile(/tmp/multipartBody7316007222362771862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015263979,"filename":"image_14042025_07_38_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b594c73143562d5464967091a5ba8dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2712401005102903158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015263979,"filename":"image_14042025_07_38_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/19/54dd5d33c630559f83841ee2fc2606d1.jpg","text":"TemporaryFile(/tmp/multipartBody286774140485269060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015263979,"filename":"image_14042025_07_38_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/19/901ad0e892ac76dc7f0eb23d135445e8.jpg","text":"TemporaryFile(/tmp/multipartBody8371934886687503960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015263979,"filename":"image_14042025_07_38_07_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5b9ab0bb7a1379419ace26b0286377a0.jpg","text":"TemporaryFile(/tmp/multipartBody1449934347672703540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015263979,"filename":"image_14042025_07_38_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/19/8774f576290c0b2c7d772d357433ded8.jpg","text":"TemporaryFile(/tmp/multipartBody5096421142391640132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015263979,"filename":"image_14042025_07_38_56_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351509321","file1":"1351509239","file0":"1351509181","file4":"1351509418","file5":"1351509498","file3":"1351509372"},"map_files_photo_id_array":[{"photo_id":"1351509498","filename":"file5"},{"photo_id":"1351509321","filename":"file2"},{"photo_id":"1351509418","filename":"file4"},{"photo_id":"1351509239","filename":"file1"},{"photo_id":"1351509181","filename":"file0"},{"photo_id":"1351509372","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351509372":["hashtag1","hashtag2"]},{"1351509321":["hashtag1","hashtag2"]},{"1351509239":["hashtag1","hashtag2"]},{"1351509181":["hashtag1","hashtag2"]},{"1351509418":["hashtag1","hashtag2"]},{"1351509498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351509372, 1351509321, 1351509239, 1351509181, 1351509418, 1351509498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.140958786010742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:27:42.539315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/38/image_14042025_07_39_07_10410.jpg', '/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_16_9342.jpg', '/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_26_10359.jpg', '/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_36_9438.jpg', '/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_46_10364.jpg', '/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_57_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/38/image_14042025_07_39_07_10410.jpg
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_16_9342.jpg
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_26_10359.jpg
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_36_9438.jpg
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_46_10364.jpg
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_39_57_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":["1351510092","1351510122","1351510065","1351510152","1351510209","1351510183"],"photo_ids_order":["1351510065","1351510092","1351510122","1351510152","1351510183","1351510209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b30c55b278115e38dcb0cce805ce0b8.jpg","text":"TemporaryFile(/tmp/multipartBody3308195706442365861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015324232,"filename":"image_14042025_07_39_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e7f5d3cf07ec701e968e7e76a56b531e.jpg","text":"TemporaryFile(/tmp/multipartBody4694629646678128574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015324232,"filename":"image_14042025_07_39_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/19/4f6a733fd4106fedb6ca34b56c0c14d5.jpg","text":"TemporaryFile(/tmp/multipartBody5710399900894606763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015324232,"filename":"image_14042025_07_39_07_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86772b18b3769248fdcc1a574c2175be.jpg","text":"TemporaryFile(/tmp/multipartBody4856191043789317869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015324232,"filename":"image_14042025_07_39_36_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/19/dd3353007c40c2f24cfc11aa9848d24f.jpg","text":"TemporaryFile(/tmp/multipartBody3059316855633158126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015324232,"filename":"image_14042025_07_39_57_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/19/44c988f52d40373221fe4aba1772a9ee.jpg","text":"TemporaryFile(/tmp/multipartBody4231236351795950805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015324232,"filename":"image_14042025_07_39_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351510122","file1":"1351510092","file0":"1351510065","file4":"1351510183","file5":"1351510209","file3":"1351510152"},"map_files_photo_id_array":[{"photo_id":"1351510209","filename":"file5"},{"photo_id":"1351510122","filename":"file2"},{"photo_id":"1351510183","filename":"file4"},{"photo_id":"1351510092","filename":"file1"},{"photo_id":"1351510065","filename":"file0"},{"photo_id":"1351510152","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351510092":["hashtag1","hashtag2"]},{"1351510122":["hashtag1","hashtag2"]},{"1351510065":["hashtag1","hashtag2"]},{"1351510152":["hashtag1","hashtag2"]},{"1351510209":["hashtag1","hashtag2"]},{"1351510183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351510092, 1351510122, 1351510065, 1351510152, 1351510209, 1351510183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.574222564697266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:28:42.768512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/39/image_14042025_07_40_06_9464.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_17_10336.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_26_9349.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_36_10366.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_47_10483.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_56_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_40_06_9464.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_17_10336.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_26_9349.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_36_10366.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_47_10483.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_56_9368.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6042978763580322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:29:04.013701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/39/image_14042025_07_40_06_9464.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_17_10336.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_26_9349.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_36_10366.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_47_10483.jpg', '/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_56_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/39/image_14042025_07_40_06_9464.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_17_10336.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_26_9349.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_36_10366.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_47_10483.jpg
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_40_56_9368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351510836","1351510763","1351510894","1351510805","1351510727","1351510864"],"photo_ids_order":["1351510727","1351510763","1351510805","1351510836","1351510864","1351510894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/095e464df5208dcd104670fedd76756f.jpg","text":"TemporaryFile(/tmp/multipartBody5490286154999963312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015405643,"filename":"image_14042025_07_40_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b01cc46b73f62ac00460937a485c62a.jpg","text":"TemporaryFile(/tmp/multipartBody3816002210183887670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015405643,"filename":"image_14042025_07_40_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86c6a8b7685c6478e1e6a975b5793e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5450228950320891113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015405643,"filename":"image_14042025_07_40_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/19/2f012df75258a8174d92692a9ef2048e.jpg","text":"TemporaryFile(/tmp/multipartBody6226279284098032755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015405643,"filename":"image_14042025_07_40_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/19/619334561f832eeb82286b5077085ff9.jpg","text":"TemporaryFile(/tmp/multipartBody7328709036855108292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015405643,"filename":"image_14042025_07_40_06_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/30e459ae55b296a4a459b22037e4f794.jpg","text":"TemporaryFile(/tmp/multipartBody1879084323610890169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015405643,"filename":"image_14042025_07_40_47_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351510805","file1":"1351510763","file0":"1351510727","file4":"1351510864","file5":"1351510894","file3":"1351510836"},"map_files_photo_id_array":[{"photo_id":"1351510894","filename":"file5"},{"photo_id":"1351510805","filename":"file2"},{"photo_id":"1351510864","filename":"file4"},{"photo_id":"1351510763","filename":"file1"},{"photo_id":"1351510727","filename":"file0"},{"photo_id":"1351510836","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351510836":["hashtag1","hashtag2"]},{"1351510763":["hashtag1","hashtag2"]},{"1351510894":["hashtag1","hashtag2"]},{"1351510805":["hashtag1","hashtag2"]},{"1351510727":["hashtag1","hashtag2"]},{"1351510864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351510836, 1351510763, 1351510894, 1351510805, 1351510727, 1351510864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20309567451477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:29:42.959500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/40/image_14042025_07_41_06_10357.jpg', '/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_16_9479.jpg', '/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_37_10429.jpg', '/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_46_9350.jpg', '/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_56_10393.jpg', '/home/pi/Desktop/images/14042025/07/41/image_14042025_07_42_06_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/40/image_14042025_07_41_06_10357.jpg
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_16_9479.jpg
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_37_10429.jpg
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_46_9350.jpg
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_41_56_10393.jpg
/home/pi/Desktop/images/14042025/07/41/image_14042025_07_42_06_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351511076","1351511060","1351511000","1351511011","1351511029","1351511008"],"photo_ids_order":["1351511000","1351511008","1351511011","1351511029","1351511060","1351511076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf71ba7924edb2009503291cd65b95d9.jpg","text":"TemporaryFile(/tmp/multipartBody3887206604027674129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015444650,"filename":"image_14042025_07_42_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/19/3090e060f640cbe81c1aa520bae60ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2872773197714705381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015444650,"filename":"image_14042025_07_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/19/1b4ea860d2ff26713de3602c0887839a.jpg","text":"TemporaryFile(/tmp/multipartBody2197920233748865499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015444650,"filename":"image_14042025_07_41_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/19/66cc33c8b4bd754ab0ceeb18b44e8a77.jpg","text":"TemporaryFile(/tmp/multipartBody5456133641003554623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015444650,"filename":"image_14042025_07_41_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/397bd2de62db66bcbf94a29fe531c27d.jpg","text":"TemporaryFile(/tmp/multipartBody6187000841485705222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015444650,"filename":"image_14042025_07_41_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/19/652f3f9ad7eeda2338c44b89c0ad339f.jpg","text":"TemporaryFile(/tmp/multipartBody681798384307095249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015444650,"filename":"image_14042025_07_41_16_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351511011","file1":"1351511008","file0":"1351511000","file4":"1351511060","file5":"1351511076","file3":"1351511029"},"map_files_photo_id_array":[{"photo_id":"1351511076","filename":"file5"},{"photo_id":"1351511011","filename":"file2"},{"photo_id":"1351511060","filename":"file4"},{"photo_id":"1351511008","filename":"file1"},{"photo_id":"1351511000","filename":"file0"},{"photo_id":"1351511029","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351511076":["hashtag1","hashtag2"]},{"1351511060":["hashtag1","hashtag2"]},{"1351511000":["hashtag1","hashtag2"]},{"1351511011":["hashtag1","hashtag2"]},{"1351511029":["hashtag1","hashtag2"]},{"1351511008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351511076, 1351511060, 1351511000, 1351511011, 1351511029, 1351511008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.77304792404175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:30:42.170277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_16_10435.jpg', '/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_27_10376.jpg', '/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_36_9338.jpg', '/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_46_10355.jpg', '/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_56_9371.jpg', '/home/pi/Desktop/images/14042025/07/42/image_14042025_07_43_06_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_16_10435.jpg
/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_27_10376.jpg
/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_36_9338.jpg
/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_46_10355.jpg
/home/pi/Desktop/images/14042025/07/42/image_14042025_07_42_56_9371.jpg
/home/pi/Desktop/images/14042025/07/42/image_14042025_07_43_06_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":["1351511828","1351511714","1351511899","1351511797","1351511539","1351511626"],"photo_ids_order":["1351511539","1351511626","1351511714","1351511797","1351511828","1351511899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/474cb8918653dfb76f2a2d727e29c541.jpg","text":"TemporaryFile(/tmp/multipartBody6723777391941415560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015503867,"filename":"image_14042025_07_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/19/81057a0ea0d8605d3367fe754d4d8671.jpg","text":"TemporaryFile(/tmp/multipartBody3845643825751352749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015503867,"filename":"image_14042025_07_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/19/62b09108c61600910c0fd6919d7122b2.jpg","text":"TemporaryFile(/tmp/multipartBody6053623277698684753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015503867,"filename":"image_14042025_07_43_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/19/cd34f9a71e6cfeb4223378bda2740c08.jpg","text":"TemporaryFile(/tmp/multipartBody5918527929265610698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015503867,"filename":"image_14042025_07_42_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/19/90fc09cf95f3febe1b4092f057ca5fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6052087905667134654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015503867,"filename":"image_14042025_07_42_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/19/7c572a1c7a73e9dab795fcf43163defa.jpg","text":"TemporaryFile(/tmp/multipartBody1161305656202836355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015503867,"filename":"image_14042025_07_42_27_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351511714","file1":"1351511626","file0":"1351511539","file4":"1351511828","file5":"1351511899","file3":"1351511797"},"map_files_photo_id_array":[{"photo_id":"1351511899","filename":"file5"},{"photo_id":"1351511714","filename":"file2"},{"photo_id":"1351511828","filename":"file4"},{"photo_id":"1351511626","filename":"file1"},{"photo_id":"1351511539","filename":"file0"},{"photo_id":"1351511797","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351511828":["hashtag1","hashtag2"]},{"1351511714":["hashtag1","hashtag2"]},{"1351511899":["hashtag1","hashtag2"]},{"1351511797":["hashtag1","hashtag2"]},{"1351511539":["hashtag1","hashtag2"]},{"1351511626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351511828, 1351511714, 1351511899, 1351511797, 1351511539, 1351511626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.900593280792236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:31:42.414556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_17_10349.jpg', '/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_26_9420.jpg', '/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_36_10354.jpg', '/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_47_10481.jpg', '/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_56_9390.jpg', '/home/pi/Desktop/images/14042025/07/43/image_14042025_07_44_07_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_17_10349.jpg
/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_26_9420.jpg
/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_36_10354.jpg
/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_47_10481.jpg
/home/pi/Desktop/images/14042025/07/43/image_14042025_07_43_56_9390.jpg
/home/pi/Desktop/images/14042025/07/43/image_14042025_07_44_07_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351512689","1351512408","1351512461","1351512616","1351512777","1351512879"],"photo_ids_order":["1351512408","1351512461","1351512616","1351512689","1351512777","1351512879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/adc7a4e5d037b5f5f9adc52b3474cac6.jpg","text":"TemporaryFile(/tmp/multipartBody288588941788363915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015564113,"filename":"image_14042025_07_43_47_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/19/0b842db8fafc8df2f4dc663724f55986.jpg","text":"TemporaryFile(/tmp/multipartBody3707736692246580008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015564113,"filename":"image_14042025_07_43_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6108db26a576a72d36b6a07a2187761a.jpg","text":"TemporaryFile(/tmp/multipartBody1236717272162845350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015564113,"filename":"image_14042025_07_43_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/19/f24956c3de6592313ac1286d0cf3c2f8.jpg","text":"TemporaryFile(/tmp/multipartBody6255509228631416278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015564113,"filename":"image_14042025_07_43_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/19/9fd0c78e3d92994ef1e594b8f9afd391.jpg","text":"TemporaryFile(/tmp/multipartBody626427083478725173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015564113,"filename":"image_14042025_07_43_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/19/0099e38f3d3d3af0cbb401218022d2b1.jpg","text":"TemporaryFile(/tmp/multipartBody4864692319684307803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015564113,"filename":"image_14042025_07_44_07_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351512616","file1":"1351512461","file0":"1351512408","file4":"1351512777","file5":"1351512879","file3":"1351512689"},"map_files_photo_id_array":[{"photo_id":"1351512879","filename":"file5"},{"photo_id":"1351512616","filename":"file2"},{"photo_id":"1351512777","filename":"file4"},{"photo_id":"1351512461","filename":"file1"},{"photo_id":"1351512408","filename":"file0"},{"photo_id":"1351512689","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351512689":["hashtag1","hashtag2"]},{"1351512408":["hashtag1","hashtag2"]},{"1351512461":["hashtag1","hashtag2"]},{"1351512616":["hashtag1","hashtag2"]},{"1351512777":["hashtag1","hashtag2"]},{"1351512879":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351512689, 1351512408, 1351512461, 1351512616, 1351512777, 1351512879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70228719711304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/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-19 00:32:42.643332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_16_9481.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_26_10353.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_36_9448.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_46_10383.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_57_10376.jpg', '/home/pi/Desktop/images/14042025/07/44/image_14042025_07_45_06_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_16_9481.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_26_10353.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_36_9448.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_46_10383.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_44_57_10376.jpg
/home/pi/Desktop/images/14042025/07/44/image_14042025_07_45_06_9405.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351513751","1351513469","1351513607","1351513700","1351513647","1351513542"],"photo_ids_order":["1351513469","1351513542","1351513607","1351513647","1351513700","1351513751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2303b10248251d53b5e170ef2207340b.jpg","text":"TemporaryFile(/tmp/multipartBody2355477689667361287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015624324,"filename":"image_14042025_07_45_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/19/d61c58af7a889c42f80a11fd9fdef8ea.jpg","text":"TemporaryFile(/tmp/multipartBody4755022032308038542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015624324,"filename":"image_14042025_07_44_16_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4955f486c6a5e1b0381538075b292f68.jpg","text":"TemporaryFile(/tmp/multipartBody7127989808898659712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015624324,"filename":"image_14042025_07_44_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/19/58ac5f16d69753ddd32d1e1fee681100.jpg","text":"TemporaryFile(/tmp/multipartBody6535774046833417091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015624324,"filename":"image_14042025_07_44_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/19/510bbdf45e9418f6c6edce37741caadd.jpg","text":"TemporaryFile(/tmp/multipartBody5676044655927732754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015624324,"filename":"image_14042025_07_44_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/354edd4f7d3b2eb68b840cd0c38c38af.jpg","text":"TemporaryFile(/tmp/multipartBody8199469311074352536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015624324,"filename":"image_14042025_07_44_26_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351513607","file1":"1351513542","file0":"1351513469","file4":"1351513700","file5":"1351513751","file3":"1351513647"},"map_files_photo_id_array":[{"photo_id":"1351513751","filename":"file5"},{"photo_id":"1351513607","filename":"file2"},{"photo_id":"1351513700","filename":"file4"},{"photo_id":"1351513542","filename":"file1"},{"photo_id":"1351513469","filename":"file0"},{"photo_id":"1351513647","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351513751":["hashtag1","hashtag2"]},{"1351513469":["hashtag1","hashtag2"]},{"1351513607":["hashtag1","hashtag2"]},{"1351513700":["hashtag1","hashtag2"]},{"1351513647":["hashtag1","hashtag2"]},{"1351513542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351513751, 1351513469, 1351513607, 1351513700, 1351513647, 1351513542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.916143894195557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:34:03.518135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_16_9849.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_26_10369.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_37_10442.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_46_9367.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_56_10433.jpg', '/home/pi/Desktop/images/14042025/07/45/image_14042025_07_46_06_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_16_9849.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_26_10369.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_37_10442.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_46_9367.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_45_56_10433.jpg
/home/pi/Desktop/images/14042025/07/45/image_14042025_07_46_06_9339.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351514609","1351514674","1351514599","1351514584","1351514611","1351514546"],"photo_ids_order":["1351514546","1351514584","1351514599","1351514609","1351514611","1351514674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/473fa99b53a62862cba160d5b30a1a7b.jpg","text":"TemporaryFile(/tmp/multipartBody3099324798888547273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015704375,"filename":"image_14042025_07_45_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/19/e2b6bb017c5e811f2bd75d56508f9b43.jpg","text":"TemporaryFile(/tmp/multipartBody3636380211690027786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015704375,"filename":"image_14042025_07_46_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/36af1a50a9fb918af3425681f1dfa3c3.jpg","text":"TemporaryFile(/tmp/multipartBody6888761466375526660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015704375,"filename":"image_14042025_07_45_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/19/4e2c139a758d0b93c0c2c88f6aadb095.jpg","text":"TemporaryFile(/tmp/multipartBody1237335867765235564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015704375,"filename":"image_14042025_07_45_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5edd6fb584272a4f8f9aa02a8e5b8f5c.jpg","text":"TemporaryFile(/tmp/multipartBody690182630620673062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015704375,"filename":"image_14042025_07_45_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/19/abf0927197baaf31ebb3afc8fbd257de.jpg","text":"TemporaryFile(/tmp/multipartBody3662957767626747334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015704375,"filename":"image_14042025_07_45_16_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351514599","file1":"1351514584","file0":"1351514546","file4":"1351514611","file5":"1351514674","file3":"1351514609"},"map_files_photo_id_array":[{"photo_id":"1351514674","filename":"file5"},{"photo_id":"1351514599","filename":"file2"},{"photo_id":"1351514611","filename":"file4"},{"photo_id":"1351514584","filename":"file1"},{"photo_id":"1351514546","filename":"file0"},{"photo_id":"1351514609","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351514609":["hashtag1","hashtag2"]},{"1351514674":["hashtag1","hashtag2"]},{"1351514599":["hashtag1","hashtag2"]},{"1351514584":["hashtag1","hashtag2"]},{"1351514611":["hashtag1","hashtag2"]},{"1351514546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351514609, 1351514674, 1351514599, 1351514584, 1351514611, 1351514546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.402591943740845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:35:03.559075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_16_10352.jpg', '/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_27_10385.jpg', '/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_36_9464.jpg', '/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_46_10363.jpg', '/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_56_9485.jpg', '/home/pi/Desktop/images/14042025/07/46/image_14042025_07_47_06_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_16_10352.jpg
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_27_10385.jpg
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_36_9464.jpg
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_46_10363.jpg
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_46_56_9485.jpg
/home/pi/Desktop/images/14042025/07/46/image_14042025_07_47_06_10338.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351514921","1351514923","1351514925","1351514928","1351514916","1351514891"],"photo_ids_order":["1351514891","1351514916","1351514921","1351514923","1351514925","1351514928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71438c286e6a38a0ee8e54d2bca7e7a5.jpg","text":"TemporaryFile(/tmp/multipartBody4362069842487626007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015764532,"filename":"image_14042025_07_46_36_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/19/b7bf5dec4a5fbbfcdbcea46764c3737b.jpg","text":"TemporaryFile(/tmp/multipartBody1266477929107697248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015764532,"filename":"image_14042025_07_46_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/19/4d00cc47b81a4563a0115f7c3169c593.jpg","text":"TemporaryFile(/tmp/multipartBody7316039043045239728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015764532,"filename":"image_14042025_07_46_56_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/19/793f3e863afbc471467e38b523006c61.jpg","text":"TemporaryFile(/tmp/multipartBody6348774426888459093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015764532,"filename":"image_14042025_07_47_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/19/ee6597aa44cfb7155a1c19847be4f96d.jpg","text":"TemporaryFile(/tmp/multipartBody1633206866545181207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015764532,"filename":"image_14042025_07_46_27_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4cf2dc433fbf69fe03f51eba04678e25.jpg","text":"TemporaryFile(/tmp/multipartBody2639584491359113559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015764532,"filename":"image_14042025_07_46_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351514921","file1":"1351514916","file0":"1351514891","file4":"1351514925","file5":"1351514928","file3":"1351514923"},"map_files_photo_id_array":[{"photo_id":"1351514928","filename":"file5"},{"photo_id":"1351514921","filename":"file2"},{"photo_id":"1351514925","filename":"file4"},{"photo_id":"1351514916","filename":"file1"},{"photo_id":"1351514891","filename":"file0"},{"photo_id":"1351514923","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351514921":["hashtag1","hashtag2"]},{"1351514923":["hashtag1","hashtag2"]},{"1351514925":["hashtag1","hashtag2"]},{"1351514928":["hashtag1","hashtag2"]},{"1351514916":["hashtag1","hashtag2"]},{"1351514891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351514921, 1351514923, 1351514925, 1351514928, 1351514916, 1351514891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48359441757202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:36:02.631624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_17_10347.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_26_9464.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_36_10362.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_46_9475.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_56_10431.jpg', '/home/pi/Desktop/images/14042025/07/47/image_14042025_07_48_07_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_17_10347.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_26_9464.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_36_10362.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_46_9475.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_47_56_10431.jpg
/home/pi/Desktop/images/14042025/07/47/image_14042025_07_48_07_10441.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351515568","1351515276","1351515450","1351515333","1351515383","1351515503"],"photo_ids_order":["1351515276","1351515333","1351515383","1351515450","1351515503","1351515568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f42a4b98f0d64f8cb66fe2a23db2507.jpg","text":"TemporaryFile(/tmp/multipartBody5396365388279086571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015823510,"filename":"image_14042025_07_48_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/19/6d4e362008b3d65fb4f161307e242a88.jpg","text":"TemporaryFile(/tmp/multipartBody7255819012617111857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015823510,"filename":"image_14042025_07_47_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/19/240e6392a34f58a3d596b63fb50d4e64.jpg","text":"TemporaryFile(/tmp/multipartBody2088250310041143760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015823510,"filename":"image_14042025_07_47_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/19/5c12e1b350ecf40eec03c36cdc604b11.jpg","text":"TemporaryFile(/tmp/multipartBody5243465626748402570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015823510,"filename":"image_14042025_07_47_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/19/68e990773eafae62994e32bdd02d26f6.jpg","text":"TemporaryFile(/tmp/multipartBody4027205356938643385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015823510,"filename":"image_14042025_07_47_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/19/2ec9d2ba1d63e1177385dff9ac668d89.jpg","text":"TemporaryFile(/tmp/multipartBody2526074725467194832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015823510,"filename":"image_14042025_07_47_56_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351515383","file1":"1351515333","file0":"1351515276","file4":"1351515503","file5":"1351515568","file3":"1351515450"},"map_files_photo_id_array":[{"photo_id":"1351515568","filename":"file5"},{"photo_id":"1351515383","filename":"file2"},{"photo_id":"1351515503","filename":"file4"},{"photo_id":"1351515333","filename":"file1"},{"photo_id":"1351515276","filename":"file0"},{"photo_id":"1351515450","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351515568":["hashtag1","hashtag2"]},{"1351515276":["hashtag1","hashtag2"]},{"1351515450":["hashtag1","hashtag2"]},{"1351515333":["hashtag1","hashtag2"]},{"1351515383":["hashtag1","hashtag2"]},{"1351515503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351515568, 1351515276, 1351515450, 1351515333, 1351515383, 1351515503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79783272743225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:37:03.765103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_16_9330.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_26_10371.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_36_9473.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_46_10356.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_57_10495.jpg', '/home/pi/Desktop/images/14042025/07/48/image_14042025_07_49_06_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_16_9330.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_26_10371.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_36_9473.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_46_10356.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_48_57_10495.jpg
/home/pi/Desktop/images/14042025/07/48/image_14042025_07_49_06_9353.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351516158","1351516131","1351516232","1351516192","1351516186","1351516282"],"photo_ids_order":["1351516131","1351516158","1351516186","1351516192","1351516232","1351516282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d65fd15b18cef3ed725ab25d2f6c1989.jpg","text":"TemporaryFile(/tmp/multipartBody5014130195525350304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015884792,"filename":"image_14042025_07_48_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/19/de1301142d763b48ba0ea41dafb3ec3f.jpg","text":"TemporaryFile(/tmp/multipartBody9041968917880949892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015884792,"filename":"image_14042025_07_48_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66823735ac1bc3eab494bd21a28e7867.jpg","text":"TemporaryFile(/tmp/multipartBody1003874934554053191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015884792,"filename":"image_14042025_07_48_57_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/19/649549c839a67682040fa80f177625db.jpg","text":"TemporaryFile(/tmp/multipartBody7261176476144528514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015884792,"filename":"image_14042025_07_48_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b39b0ef7e16f7700a87789af3378415.jpg","text":"TemporaryFile(/tmp/multipartBody1626209380817693060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015884792,"filename":"image_14042025_07_48_36_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/11b56296b4551751995c5a768e86030d.jpg","text":"TemporaryFile(/tmp/multipartBody8078666986270350603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015884792,"filename":"image_14042025_07_49_06_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351516186","file1":"1351516158","file0":"1351516131","file4":"1351516232","file5":"1351516282","file3":"1351516192"},"map_files_photo_id_array":[{"photo_id":"1351516282","filename":"file5"},{"photo_id":"1351516186","filename":"file2"},{"photo_id":"1351516232","filename":"file4"},{"photo_id":"1351516158","filename":"file1"},{"photo_id":"1351516131","filename":"file0"},{"photo_id":"1351516192","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351516158":["hashtag1","hashtag2"]},{"1351516131":["hashtag1","hashtag2"]},{"1351516232":["hashtag1","hashtag2"]},{"1351516192":["hashtag1","hashtag2"]},{"1351516186":["hashtag1","hashtag2"]},{"1351516282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351516158, 1351516131, 1351516232, 1351516192, 1351516186, 1351516282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.994739294052124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:38:02.725438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_16_10354.jpg', '/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_26_9360.jpg', '/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_47_10355.jpg', '/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_56_9387.jpg', '/home/pi/Desktop/images/14042025/07/49/image_14042025_07_50_06_10342.jpg', '/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_17_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_16_10354.jpg
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_26_9360.jpg
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_47_10355.jpg
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_49_56_9387.jpg
/home/pi/Desktop/images/14042025/07/49/image_14042025_07_50_06_10342.jpg
/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_17_10347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351516615","1351516761","1351516697","1351516868","1351516649","1351516634"],"photo_ids_order":["1351516615","1351516634","1351516649","1351516697","1351516761","1351516868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d573ec6ecd6930eb97e4072ff92c71a4.jpg","text":"TemporaryFile(/tmp/multipartBody7516498451690720289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015943595,"filename":"image_14042025_07_49_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/19/5709b3036e9204b0d2e5a4dcf067319c.jpg","text":"TemporaryFile(/tmp/multipartBody5321784205212045068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015943595,"filename":"image_14042025_07_50_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/19/516af9c194a4ebed34444ab5d07c1747.jpg","text":"TemporaryFile(/tmp/multipartBody1351593305469334802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015943595,"filename":"image_14042025_07_49_56_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ea15d7f6333abb1e4b720a69e4a69edd.jpg","text":"TemporaryFile(/tmp/multipartBody1709752462237846437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015943595,"filename":"image_14042025_07_50_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/19/337f9cfb1a27f27d95e5641241fb8659.jpg","text":"TemporaryFile(/tmp/multipartBody7449701545243702641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015943595,"filename":"image_14042025_07_49_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/19/e355673a95fa36febcf74c04170e2376.jpg","text":"TemporaryFile(/tmp/multipartBody4315887422274056815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745015943595,"filename":"image_14042025_07_49_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351516649","file1":"1351516634","file0":"1351516615","file4":"1351516761","file5":"1351516868","file3":"1351516697"},"map_files_photo_id_array":[{"photo_id":"1351516868","filename":"file5"},{"photo_id":"1351516649","filename":"file2"},{"photo_id":"1351516761","filename":"file4"},{"photo_id":"1351516634","filename":"file1"},{"photo_id":"1351516615","filename":"file0"},{"photo_id":"1351516697","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351516615":["hashtag1","hashtag2"]},{"1351516761":["hashtag1","hashtag2"]},{"1351516697":["hashtag1","hashtag2"]},{"1351516868":["hashtag1","hashtag2"]},{"1351516649":["hashtag1","hashtag2"]},{"1351516634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351516615, 1351516761, 1351516697, 1351516868, 1351516649, 1351516634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.85313630104065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:39:03.999736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_26_9363.jpg', '/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_36_10388.jpg', '/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_56_10375.jpg', '/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_16_9451.jpg', '/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_27_10464.jpg', '/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_36_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_26_9363.jpg
/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_36_10388.jpg
/home/pi/Desktop/images/14042025/07/50/image_14042025_07_50_56_10375.jpg
/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_16_9451.jpg
/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_27_10464.jpg
/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_36_9456.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351517190","1351517249","1351517231","1351517179","1351517251","1351517173"],"photo_ids_order":["1351517173","1351517179","1351517190","1351517231","1351517249","1351517251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/74fc458da953afb5775a42ad3dcd8ada.jpg","text":"TemporaryFile(/tmp/multipartBody463366569899231332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016004971,"filename":"image_14042025_07_50_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/19/79885f9aade072253a53b75559a0f12d.jpg","text":"TemporaryFile(/tmp/multipartBody2487654220470682190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016004971,"filename":"image_14042025_07_51_27_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5a57cb64a9bcd72073cb26320c507a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1253973563769635628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016004971,"filename":"image_14042025_07_51_16_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f4d74f4c087f3d461e8bb494e04b16e8.jpg","text":"TemporaryFile(/tmp/multipartBody1842695205001964808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016004971,"filename":"image_14042025_07_50_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c89b7f0ad7aaf982dad5d47978da6d91.jpg","text":"TemporaryFile(/tmp/multipartBody3571340029485558402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016004971,"filename":"image_14042025_07_51_36_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc4c418fc372a9b92b01136b1595e8c3.jpg","text":"TemporaryFile(/tmp/multipartBody1795182403256052201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016004971,"filename":"image_14042025_07_50_26_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351517190","file1":"1351517179","file0":"1351517173","file4":"1351517249","file5":"1351517251","file3":"1351517231"},"map_files_photo_id_array":[{"photo_id":"1351517251","filename":"file5"},{"photo_id":"1351517190","filename":"file2"},{"photo_id":"1351517249","filename":"file4"},{"photo_id":"1351517179","filename":"file1"},{"photo_id":"1351517173","filename":"file0"},{"photo_id":"1351517231","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351517190":["hashtag1","hashtag2"]},{"1351517249":["hashtag1","hashtag2"]},{"1351517231":["hashtag1","hashtag2"]},{"1351517179":["hashtag1","hashtag2"]},{"1351517251":["hashtag1","hashtag2"]},{"1351517173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351517190, 1351517249, 1351517231, 1351517179, 1351517251, 1351517173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.137009859085083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:40:02.779574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_46_10358.jpg', '/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_57_10422.jpg', '/home/pi/Desktop/images/14042025/07/51/image_14042025_07_52_06_9348.jpg', '/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_16_10348.jpg', '/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_26_9365.jpg', '/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_36_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_46_10358.jpg
/home/pi/Desktop/images/14042025/07/51/image_14042025_07_51_57_10422.jpg
/home/pi/Desktop/images/14042025/07/51/image_14042025_07_52_06_9348.jpg
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_16_10348.jpg
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_26_9365.jpg
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_36_10371.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351517298","1351517282","1351517300","1351517278","1351517302","1351517286"],"photo_ids_order":["1351517278","1351517282","1351517286","1351517298","1351517300","1351517302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f07831a65971310ae5bfc71b3b6c85cb.jpg","text":"TemporaryFile(/tmp/multipartBody8181815995691350886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016063659,"filename":"image_14042025_07_52_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/19/1f822eb12dce3f542c05e9b702dfa8a5.jpg","text":"TemporaryFile(/tmp/multipartBody6926699254546264357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016063659,"filename":"image_14042025_07_51_57_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08a0030e6403cfbda0f85f0ebc7f501d.jpg","text":"TemporaryFile(/tmp/multipartBody7906352649994596968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016063659,"filename":"image_14042025_07_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/19/ac4f5ba0de60e49ee00c5975a2475e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6966602628017696706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016063659,"filename":"image_14042025_07_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/19/0b28787104f6d013a44716d9bc645b98.jpg","text":"TemporaryFile(/tmp/multipartBody1627627966925911223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016063659,"filename":"image_14042025_07_52_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/19/1965752347f3a2dc4629dbb172d5d120.jpg","text":"TemporaryFile(/tmp/multipartBody7262365504779564426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016063659,"filename":"image_14042025_07_52_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351517286","file1":"1351517282","file0":"1351517278","file4":"1351517300","file5":"1351517302","file3":"1351517298"},"map_files_photo_id_array":[{"photo_id":"1351517302","filename":"file5"},{"photo_id":"1351517286","filename":"file2"},{"photo_id":"1351517300","filename":"file4"},{"photo_id":"1351517282","filename":"file1"},{"photo_id":"1351517278","filename":"file0"},{"photo_id":"1351517298","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351517298":["hashtag1","hashtag2"]},{"1351517282":["hashtag1","hashtag2"]},{"1351517300":["hashtag1","hashtag2"]},{"1351517278":["hashtag1","hashtag2"]},{"1351517302":["hashtag1","hashtag2"]},{"1351517286":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351517298, 1351517282, 1351517300, 1351517278, 1351517302, 1351517286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.7445068359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:41:03.895712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_47_10352.jpg', '/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_56_9357.jpg', '/home/pi/Desktop/images/14042025/07/52/image_14042025_07_53_06_10360.jpg', '/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_17_10350.jpg', '/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_26_9449.jpg', '/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_36_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_47_10352.jpg
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_52_56_9357.jpg
/home/pi/Desktop/images/14042025/07/52/image_14042025_07_53_06_10360.jpg
/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_17_10350.jpg
/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_26_9449.jpg
/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_36_10348.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351517448","1351517451","1351517560","1351517507","1351517566","1351517518"],"photo_ids_order":["1351517448","1351517451","1351517507","1351517518","1351517560","1351517566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eba4bc76cf64a0cf227e63cc15e29a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4092452101937224801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016124863,"filename":"image_14042025_07_52_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/19/c5e9a94b26dc0616fbd5c8e9c7a4baf0.jpg","text":"TemporaryFile(/tmp/multipartBody7144346526085578935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016124863,"filename":"image_14042025_07_52_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e51b60c91e841b147143fdc014bd9be.jpg","text":"TemporaryFile(/tmp/multipartBody243002806072839564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016124863,"filename":"image_14042025_07_53_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/19/8c66465c1201991de71cad065146c43b.jpg","text":"TemporaryFile(/tmp/multipartBody4705207253654383575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016124863,"filename":"image_14042025_07_53_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/19/375782afd262b6c3e06d539741f8afde.jpg","text":"TemporaryFile(/tmp/multipartBody8879312978579856215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016124863,"filename":"image_14042025_07_53_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/19/cee8a0813ca94adf63cc4d64b37fd5ac.jpg","text":"TemporaryFile(/tmp/multipartBody2966526112007810471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016124863,"filename":"image_14042025_07_53_17_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351517507","file1":"1351517451","file0":"1351517448","file4":"1351517560","file5":"1351517566","file3":"1351517518"},"map_files_photo_id_array":[{"photo_id":"1351517566","filename":"file5"},{"photo_id":"1351517507","filename":"file2"},{"photo_id":"1351517560","filename":"file4"},{"photo_id":"1351517451","filename":"file1"},{"photo_id":"1351517448","filename":"file0"},{"photo_id":"1351517518","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351517448":["hashtag1","hashtag2"]},{"1351517451":["hashtag1","hashtag2"]},{"1351517560":["hashtag1","hashtag2"]},{"1351517507":["hashtag1","hashtag2"]},{"1351517566":["hashtag1","hashtag2"]},{"1351517518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351517448, 1351517451, 1351517560, 1351517507, 1351517566, 1351517518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22761011123657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:42:02.740677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_56_9356.jpg', '/home/pi/Desktop/images/14042025/07/53/image_14042025_07_54_07_10353.jpg', '/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_16_9367.jpg', '/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_26_10490.jpg', '/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_36_9469.jpg', '/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_46_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/53/image_14042025_07_53_56_9356.jpg
/home/pi/Desktop/images/14042025/07/53/image_14042025_07_54_07_10353.jpg
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_16_9367.jpg
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_26_10490.jpg
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_36_9469.jpg
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_46_10392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351517777","1351517750","1351517785","1351517773","1351517722","1351517781"],"photo_ids_order":["1351517722","1351517750","1351517773","1351517777","1351517781","1351517785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f4f3f9c44645b73da056d6a4b1cec48.jpg","text":"TemporaryFile(/tmp/multipartBody6061615623853613304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016183620,"filename":"image_14042025_07_54_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/19/79887cbde4986458b2e46af850181a1a.jpg","text":"TemporaryFile(/tmp/multipartBody5333999911330797533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016183620,"filename":"image_14042025_07_54_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/19/d15353e492c5aaadc119e9435062e54f.jpg","text":"TemporaryFile(/tmp/multipartBody243882336558695764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016183620,"filename":"image_14042025_07_54_46_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf718291085d3e00c98428f095bba4f6.jpg","text":"TemporaryFile(/tmp/multipartBody7677721868314786203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016183620,"filename":"image_14042025_07_54_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/19/48672ea040d5b9b556d21966f237bb64.jpg","text":"TemporaryFile(/tmp/multipartBody317824374502966973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016183620,"filename":"image_14042025_07_53_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/19/5e2323a868138b7c1bf6cc4044ab2825.jpg","text":"TemporaryFile(/tmp/multipartBody4358360375511454909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016183620,"filename":"image_14042025_07_54_36_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351517773","file1":"1351517750","file0":"1351517722","file4":"1351517781","file5":"1351517785","file3":"1351517777"},"map_files_photo_id_array":[{"photo_id":"1351517785","filename":"file5"},{"photo_id":"1351517773","filename":"file2"},{"photo_id":"1351517781","filename":"file4"},{"photo_id":"1351517750","filename":"file1"},{"photo_id":"1351517722","filename":"file0"},{"photo_id":"1351517777","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351517777":["hashtag1","hashtag2"]},{"1351517750":["hashtag1","hashtag2"]},{"1351517785":["hashtag1","hashtag2"]},{"1351517773":["hashtag1","hashtag2"]},{"1351517722":["hashtag1","hashtag2"]},{"1351517781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351517777, 1351517750, 1351517785, 1351517773, 1351517722, 1351517781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45920419692993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:43:04.020237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_57_10533.jpg', '/home/pi/Desktop/images/14042025/07/54/image_14042025_07_55_06_9346.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_17_10394.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_26_9430.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_36_10368.jpg', '/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_56_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_54_57_10533.jpg
/home/pi/Desktop/images/14042025/07/54/image_14042025_07_55_06_9346.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_17_10394.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_26_9430.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_36_10368.jpg
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_55_56_9459.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351518048","1351518092","1351518157","1351518151","1351518160","1351518121"],"photo_ids_order":["1351518048","1351518092","1351518121","1351518151","1351518157","1351518160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/41f9fcbeec5c7c65995850f34e03825c.jpg","text":"TemporaryFile(/tmp/multipartBody7593395705208473059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016244965,"filename":"image_14042025_07_54_57_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/19/08ecc42980563762a1cb350e404bd1c7.jpg","text":"TemporaryFile(/tmp/multipartBody8439518975714642785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016244965,"filename":"image_14042025_07_55_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/19/1f306bb55dc5a2ea428f243bfff60e49.jpg","text":"TemporaryFile(/tmp/multipartBody5845000476833946938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016244965,"filename":"image_14042025_07_55_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/19/1c6bac0266f1a49c205b16ef9a1488ea.jpg","text":"TemporaryFile(/tmp/multipartBody6791966465466870162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016244965,"filename":"image_14042025_07_55_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/19/f14e52e5278338ae4d6b9b017d673939.jpg","text":"TemporaryFile(/tmp/multipartBody4656432048732117525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016244965,"filename":"image_14042025_07_55_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/19/acc5aa90d0cbee2035f180738a11795d.jpg","text":"TemporaryFile(/tmp/multipartBody3993150348605352613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016244965,"filename":"image_14042025_07_55_17_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351518121","file1":"1351518092","file0":"1351518048","file4":"1351518157","file5":"1351518160","file3":"1351518151"},"map_files_photo_id_array":[{"photo_id":"1351518160","filename":"file5"},{"photo_id":"1351518121","filename":"file2"},{"photo_id":"1351518157","filename":"file4"},{"photo_id":"1351518092","filename":"file1"},{"photo_id":"1351518048","filename":"file0"},{"photo_id":"1351518151","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351518048":["hashtag1","hashtag2"]},{"1351518092":["hashtag1","hashtag2"]},{"1351518157":["hashtag1","hashtag2"]},{"1351518151":["hashtag1","hashtag2"]},{"1351518160":["hashtag1","hashtag2"]},{"1351518121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351518048, 1351518092, 1351518157, 1351518151, 1351518160, 1351518121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47211194038391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:44:02.691756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/55/image_14042025_07_56_07_10350.jpg', '/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_16_9356.jpg', '/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_26_10388.jpg', '/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_37_10373.jpg', '/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_46_9342.jpg', '/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/55/image_14042025_07_56_07_10350.jpg
/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_16_9356.jpg
/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_26_10388.jpg
/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_37_10373.jpg
/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_46_9342.jpg
/home/pi/Desktop/images/14042025/07/56/image_14042025_07_56_56_10356.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351518686","1351518751","1351518858","1351518630","1351518567","1351518810"],"photo_ids_order":["1351518567","1351518630","1351518686","1351518751","1351518810","1351518858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12eb169ac6dbd828033ed1f853c5d46d.jpg","text":"TemporaryFile(/tmp/multipartBody2754406519814902353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016303631,"filename":"image_14042025_07_56_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c9432dd7f829522f326f668a89acddc.jpg","text":"TemporaryFile(/tmp/multipartBody2796607720426225969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016303631,"filename":"image_14042025_07_56_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/19/52ce0004f1d0881470665021c90ae029.jpg","text":"TemporaryFile(/tmp/multipartBody6313492738837300863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016303631,"filename":"image_14042025_07_56_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/19/9398f4841cd66841bdf1b00e43ebf933.jpg","text":"TemporaryFile(/tmp/multipartBody3094882350352928410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016303631,"filename":"image_14042025_07_56_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/19/2684ca85bf8bd1d8c55074046dc94d38.jpg","text":"TemporaryFile(/tmp/multipartBody458050845414215298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016303631,"filename":"image_14042025_07_56_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/19/a660e7881af5d3e92945c9f0306f6831.jpg","text":"TemporaryFile(/tmp/multipartBody5826755785903649897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016303631,"filename":"image_14042025_07_56_46_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351518686","file1":"1351518630","file0":"1351518567","file4":"1351518810","file5":"1351518858","file3":"1351518751"},"map_files_photo_id_array":[{"photo_id":"1351518858","filename":"file5"},{"photo_id":"1351518686","filename":"file2"},{"photo_id":"1351518810","filename":"file4"},{"photo_id":"1351518630","filename":"file1"},{"photo_id":"1351518567","filename":"file0"},{"photo_id":"1351518751","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351518686":["hashtag1","hashtag2"]},{"1351518751":["hashtag1","hashtag2"]},{"1351518858":["hashtag1","hashtag2"]},{"1351518630":["hashtag1","hashtag2"]},{"1351518567":["hashtag1","hashtag2"]},{"1351518810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351518686, 1351518751, 1351518858, 1351518630, 1351518567, 1351518810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.573044538497925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:45:03.744457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/56/image_14042025_07_57_07_10386.jpg', '/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_16_9344.jpg', '/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_27_10446.jpg', '/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_36_9464.jpg', '/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_46_10347.jpg', '/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_56_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/56/image_14042025_07_57_07_10386.jpg
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_16_9344.jpg
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_27_10446.jpg
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_36_9464.jpg
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_46_10347.jpg
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_57_56_9479.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351519067","1351519267","1351518973","1351519237","1351519011","1351519169"],"photo_ids_order":["1351518973","1351519011","1351519067","1351519169","1351519237","1351519267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c23a8a2e76b7d3dbbdcd1d4233663a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2603510205655822543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016364789,"filename":"image_14042025_07_57_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/19/3fa1d08a23732ad966817d54cf9382ea.jpg","text":"TemporaryFile(/tmp/multipartBody5511118965565039625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016364789,"filename":"image_14042025_07_57_56_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/19/f2f475a0fb841181e7bded3857c24aa5.jpg","text":"TemporaryFile(/tmp/multipartBody3465860442389875374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016364789,"filename":"image_14042025_07_57_07_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7b41628ac82fe3da939a8205a5cac69e.jpg","text":"TemporaryFile(/tmp/multipartBody7853244573148328402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016364789,"filename":"image_14042025_07_57_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/19/a5939f97253faacc6cc329d94cebeeec.jpg","text":"TemporaryFile(/tmp/multipartBody1297318912709985173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016364789,"filename":"image_14042025_07_57_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/19/f8d0d45a176d54169bab7099e2ae615c.jpg","text":"TemporaryFile(/tmp/multipartBody2307225405364685544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016364789,"filename":"image_14042025_07_57_36_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351519067","file1":"1351519011","file0":"1351518973","file4":"1351519237","file5":"1351519267","file3":"1351519169"},"map_files_photo_id_array":[{"photo_id":"1351519267","filename":"file5"},{"photo_id":"1351519067","filename":"file2"},{"photo_id":"1351519237","filename":"file4"},{"photo_id":"1351519011","filename":"file1"},{"photo_id":"1351518973","filename":"file0"},{"photo_id":"1351519169","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351519067":["hashtag1","hashtag2"]},{"1351519267":["hashtag1","hashtag2"]},{"1351518973":["hashtag1","hashtag2"]},{"1351519237":["hashtag1","hashtag2"]},{"1351519011":["hashtag1","hashtag2"]},{"1351519169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351519067, 1351519267, 1351518973, 1351519237, 1351519011, 1351519169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84870386123657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:46:02.743846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/57/image_14042025_07_58_06_10349.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_17_10598.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_26_9356.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_36_10372.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_46_9455.jpg', '/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_56_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/57/image_14042025_07_58_06_10349.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_17_10598.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_26_9356.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_36_10372.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_46_9455.jpg
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_58_56_10387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351519715","1351519798","1351520023","1351519920","1351520199","1351520112"],"photo_ids_order":["1351519715","1351519798","1351519920","1351520023","1351520112","1351520199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/464002e45a29f2a53a88a01efc7e245c.jpg","text":"TemporaryFile(/tmp/multipartBody6594607812173856434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016423699,"filename":"image_14042025_07_58_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/19/ba07f4c0e8390a3bd2d7e318e3544cb8.jpg","text":"TemporaryFile(/tmp/multipartBody7159758360202097402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016423699,"filename":"image_14042025_07_58_17_10598.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/648882707eeb9baac89fe54f9087474c.jpg","text":"TemporaryFile(/tmp/multipartBody1334775053069128078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016423699,"filename":"image_14042025_07_58_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/19/66b657945f6d2678616c4fa41ba368f4.jpg","text":"TemporaryFile(/tmp/multipartBody534479110624687973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016423699,"filename":"image_14042025_07_58_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7e7c515eb979b6eae92412646d382cf.jpg","text":"TemporaryFile(/tmp/multipartBody9163208715567046928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016423699,"filename":"image_14042025_07_58_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/19/61196af4de9a161764d7fe21bbccc6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6756065743583083003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016423699,"filename":"image_14042025_07_58_46_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351519920","file1":"1351519798","file0":"1351519715","file4":"1351520112","file5":"1351520199","file3":"1351520023"},"map_files_photo_id_array":[{"photo_id":"1351520199","filename":"file5"},{"photo_id":"1351519920","filename":"file2"},{"photo_id":"1351520112","filename":"file4"},{"photo_id":"1351519798","filename":"file1"},{"photo_id":"1351519715","filename":"file0"},{"photo_id":"1351520023","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351519715":["hashtag1","hashtag2"]},{"1351519798":["hashtag1","hashtag2"]},{"1351520023":["hashtag1","hashtag2"]},{"1351519920":["hashtag1","hashtag2"]},{"1351520199":["hashtag1","hashtag2"]},{"1351520112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351519715, 1351519798, 1351520023, 1351519920, 1351520199, 1351520112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01113796234131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:47:03.871994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/07/58/image_14042025_07_59_07_10388.jpg', '/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_16_9349.jpg', '/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_27_10463.jpg', '/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_36_9361.jpg', '/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_46_10376.jpg', '/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_57_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/07/58/image_14042025_07_59_07_10388.jpg
/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_16_9349.jpg
/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_27_10463.jpg
/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_36_9361.jpg
/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_46_10376.jpg
/home/pi/Desktop/images/14042025/07/59/image_14042025_07_59_57_10369.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351520890","1351520953","1351521004","1351521030","1351520979","1351520925"],"photo_ids_order":["1351520890","1351520925","1351520953","1351520979","1351521004","1351521030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/573fb5f6a33dd72feaa765c315c2e8f3.jpg","text":"TemporaryFile(/tmp/multipartBody3534006749083136266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016484856,"filename":"image_14042025_07_59_07_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/19/3f59d700cfeb148689c514f35c65b188.jpg","text":"TemporaryFile(/tmp/multipartBody5594279600452937980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016484856,"filename":"image_14042025_07_59_27_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/93231c517c705b5c8a8d30ac1595f2cf.jpg","text":"TemporaryFile(/tmp/multipartBody1735169450662992377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016484856,"filename":"image_14042025_07_59_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0145a483e8f82ec2f0cbc80f7c3c8e3c.jpg","text":"TemporaryFile(/tmp/multipartBody8879496757552446060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016484856,"filename":"image_14042025_07_59_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/706f08aa47ebfccad0cf7fadd8d96a47.jpg","text":"TemporaryFile(/tmp/multipartBody8211027157182308685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016484856,"filename":"image_14042025_07_59_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/19/8a44581889012c48b5a5c9ae6b0cbff5.jpg","text":"TemporaryFile(/tmp/multipartBody380263760052353222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016484856,"filename":"image_14042025_07_59_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351520953","file1":"1351520925","file0":"1351520890","file4":"1351521004","file5":"1351521030","file3":"1351520979"},"map_files_photo_id_array":[{"photo_id":"1351521030","filename":"file5"},{"photo_id":"1351520953","filename":"file2"},{"photo_id":"1351521004","filename":"file4"},{"photo_id":"1351520925","filename":"file1"},{"photo_id":"1351520890","filename":"file0"},{"photo_id":"1351520979","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351520890":["hashtag1","hashtag2"]},{"1351520953":["hashtag1","hashtag2"]},{"1351521004":["hashtag1","hashtag2"]},{"1351521030":["hashtag1","hashtag2"]},{"1351520979":["hashtag1","hashtag2"]},{"1351520925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351520890, 1351520953, 1351521004, 1351521030, 1351520979, 1351520925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.318420886993408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:48:02.747789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_15_10075.jpg', '/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_25_10338.jpg', '/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_35_10429.jpg', '/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_45_9444.jpg', '/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_55_10441.jpg', '/home/pi/Desktop/images/14042025/08/01/image_14042025_08_02_05_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_15_10075.jpg
/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_25_10338.jpg
/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_35_10429.jpg
/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_45_9444.jpg
/home/pi/Desktop/images/14042025/08/01/image_14042025_08_01_55_10441.jpg
/home/pi/Desktop/images/14042025/08/01/image_14042025_08_02_05_9403.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351521386","1351521359","1351521413","1351521331","1351521390","1351521301"],"photo_ids_order":["1351521301","1351521331","1351521359","1351521386","1351521390","1351521413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c057d72d96cf5bbbdc21fbddd4402f28.jpg","text":"TemporaryFile(/tmp/multipartBody7788820844727009355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016543604,"filename":"image_14042025_08_01_45_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e69d9a1be05b8b1fd6ea3c6b63b779b.jpg","text":"TemporaryFile(/tmp/multipartBody3278886493262631717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016543604,"filename":"image_14042025_08_01_35_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/65245e266acf62be6c2785c65b267f4b.jpg","text":"TemporaryFile(/tmp/multipartBody3650298038548515173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016543604,"filename":"image_14042025_08_02_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/19/16db0e50681b6ecd4e9dedf84b6b1768.jpg","text":"TemporaryFile(/tmp/multipartBody5846015608458948057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016543604,"filename":"image_14042025_08_01_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bd1ea0b364710c09490d7cc6001b6e90.jpg","text":"TemporaryFile(/tmp/multipartBody8893603649845706021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016543604,"filename":"image_14042025_08_01_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/19/fa11cf38ba5100c9e67c665beb49d825.jpg","text":"TemporaryFile(/tmp/multipartBody4680293789964452360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016543604,"filename":"image_14042025_08_01_15_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351521359","file1":"1351521331","file0":"1351521301","file4":"1351521390","file5":"1351521413","file3":"1351521386"},"map_files_photo_id_array":[{"photo_id":"1351521413","filename":"file5"},{"photo_id":"1351521359","filename":"file2"},{"photo_id":"1351521390","filename":"file4"},{"photo_id":"1351521331","filename":"file1"},{"photo_id":"1351521301","filename":"file0"},{"photo_id":"1351521386","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351521386":["hashtag1","hashtag2"]},{"1351521359":["hashtag1","hashtag2"]},{"1351521413":["hashtag1","hashtag2"]},{"1351521331":["hashtag1","hashtag2"]},{"1351521390":["hashtag1","hashtag2"]},{"1351521301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351521386, 1351521359, 1351521413, 1351521331, 1351521390, 1351521301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68350315093994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:49:03.708882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_15_10457.jpg', '/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_25_10346.jpg', '/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_35_9476.jpg', '/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_45_10344.jpg', '/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_55_9454.jpg', '/home/pi/Desktop/images/14042025/08/02/image_14042025_08_03_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_15_10457.jpg
/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_25_10346.jpg
/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_35_9476.jpg
/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_45_10344.jpg
/home/pi/Desktop/images/14042025/08/02/image_14042025_08_02_55_9454.jpg
/home/pi/Desktop/images/14042025/08/02/image_14042025_08_03_05_10358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351521725","1351521812","1351521757","1351521855","1351521698","1351521899"],"photo_ids_order":["1351521698","1351521725","1351521757","1351521812","1351521855","1351521899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b921533ec443dd80fe6ba420f058ac66.jpg","text":"TemporaryFile(/tmp/multipartBody4519422421829169524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016604682,"filename":"image_14042025_08_02_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/01a40d49a9aa9338f51e476a4509d6be.jpg","text":"TemporaryFile(/tmp/multipartBody4482370396195116323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016604682,"filename":"image_14042025_08_02_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c34ee472939a036707f2fe5ea920b74b.jpg","text":"TemporaryFile(/tmp/multipartBody5864980961195159973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016604682,"filename":"image_14042025_08_02_35_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/19/ee6e065a13a03590adc6ba0028f6ad1b.jpg","text":"TemporaryFile(/tmp/multipartBody9120646569066410158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016604682,"filename":"image_14042025_08_02_55_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/387b0ee8a640b66b51e8233e078d5773.jpg","text":"TemporaryFile(/tmp/multipartBody6366019614822487541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016604682,"filename":"image_14042025_08_02_15_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f777aa6b32092cac9dc54cb9cf1bd8e5.jpg","text":"TemporaryFile(/tmp/multipartBody4985695480777382201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016604682,"filename":"image_14042025_08_03_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351521757","file1":"1351521725","file0":"1351521698","file4":"1351521855","file5":"1351521899","file3":"1351521812"},"map_files_photo_id_array":[{"photo_id":"1351521899","filename":"file5"},{"photo_id":"1351521757","filename":"file2"},{"photo_id":"1351521855","filename":"file4"},{"photo_id":"1351521725","filename":"file1"},{"photo_id":"1351521698","filename":"file0"},{"photo_id":"1351521812","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351521725":["hashtag1","hashtag2"]},{"1351521812":["hashtag1","hashtag2"]},{"1351521757":["hashtag1","hashtag2"]},{"1351521855":["hashtag1","hashtag2"]},{"1351521698":["hashtag1","hashtag2"]},{"1351521899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351521725, 1351521812, 1351521757, 1351521855, 1351521698, 1351521899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.58558702468872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:50:02.737739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_16_10426.jpg', '/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_25_9359.jpg', '/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_55_10471.jpg', '/home/pi/Desktop/images/14042025/08/03/image_14042025_08_04_05_10382.jpg', '/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_15_9344.jpg', '/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_25_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_16_10426.jpg
/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_25_9359.jpg
/home/pi/Desktop/images/14042025/08/03/image_14042025_08_03_55_10471.jpg
/home/pi/Desktop/images/14042025/08/03/image_14042025_08_04_05_10382.jpg
/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_15_9344.jpg
/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_25_10442.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351522669","1351522612","1351522543","1351522794","1351522727","1351522451"],"photo_ids_order":["1351522451","1351522543","1351522612","1351522669","1351522727","1351522794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55b5385866578416141e9ce6aafd48dd.jpg","text":"TemporaryFile(/tmp/multipartBody967911909429872152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016663599,"filename":"image_14042025_08_04_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/19/0889cbd30b71805f9e8d1bfb5373db08.jpg","text":"TemporaryFile(/tmp/multipartBody3665370735379857409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016663599,"filename":"image_14042025_08_03_55_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4db3380d3bfd90898b0004dce08bf933.jpg","text":"TemporaryFile(/tmp/multipartBody1221217889963016699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016663599,"filename":"image_14042025_08_03_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/19/870e79925c4dbc8a312a8cc00efffc68.jpg","text":"TemporaryFile(/tmp/multipartBody8539321647646467385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016663599,"filename":"image_14042025_08_04_25_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3fe8c37b70a4bee87a7280e8f708c121.jpg","text":"TemporaryFile(/tmp/multipartBody2279317655637517800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016663599,"filename":"image_14042025_08_04_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/19/6a8cfa85858123adfbbaf22f486130b1.jpg","text":"TemporaryFile(/tmp/multipartBody69268607734068483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016663599,"filename":"image_14042025_08_03_16_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351522612","file1":"1351522543","file0":"1351522451","file4":"1351522727","file5":"1351522794","file3":"1351522669"},"map_files_photo_id_array":[{"photo_id":"1351522794","filename":"file5"},{"photo_id":"1351522612","filename":"file2"},{"photo_id":"1351522727","filename":"file4"},{"photo_id":"1351522543","filename":"file1"},{"photo_id":"1351522451","filename":"file0"},{"photo_id":"1351522669","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351522669":["hashtag1","hashtag2"]},{"1351522612":["hashtag1","hashtag2"]},{"1351522543":["hashtag1","hashtag2"]},{"1351522794":["hashtag1","hashtag2"]},{"1351522727":["hashtag1","hashtag2"]},{"1351522451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351522669, 1351522612, 1351522543, 1351522794, 1351522727, 1351522451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.103232622146606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:51:04.095235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_45_10467.jpg', '/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_55_10358.jpg', '/home/pi/Desktop/images/14042025/08/04/image_14042025_08_05_05_9383.jpg', '/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_35_10358.jpg', '/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_46_10464.jpg', '/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_55_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_45_10467.jpg
/home/pi/Desktop/images/14042025/08/04/image_14042025_08_04_55_10358.jpg
/home/pi/Desktop/images/14042025/08/04/image_14042025_08_05_05_9383.jpg
/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_35_10358.jpg
/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_46_10464.jpg
/home/pi/Desktop/images/14042025/08/05/image_14042025_08_05_55_9374.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351523266","1351523509","1351523346","1351523427","1351523498","1351523516"],"photo_ids_order":["1351523266","1351523346","1351523427","1351523498","1351523509","1351523516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e8593084b6a967080af2edf36d9ad3a.jpg","text":"TemporaryFile(/tmp/multipartBody1347190710390475783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016725044,"filename":"image_14042025_08_04_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/19/4e0b764573fc247d1d6d132a0835b529.jpg","text":"TemporaryFile(/tmp/multipartBody5143412660585395798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016725044,"filename":"image_14042025_08_05_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7b26b1a500243af7cf6bedc310175a46.jpg","text":"TemporaryFile(/tmp/multipartBody3517270807837187598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016725044,"filename":"image_14042025_08_04_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3890bae4e7f4bc063c4fcdc81075b708.jpg","text":"TemporaryFile(/tmp/multipartBody7342606085750766594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016725044,"filename":"image_14042025_08_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/19/96e29a20d4233894d0dd08ea65bd3bec.jpg","text":"TemporaryFile(/tmp/multipartBody8090011552077175471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016725044,"filename":"image_14042025_08_05_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/382c2847ba980c776189113e6d64dc95.jpg","text":"TemporaryFile(/tmp/multipartBody2518566126893133801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016725044,"filename":"image_14042025_08_05_55_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351523427","file1":"1351523346","file0":"1351523266","file4":"1351523509","file5":"1351523516","file3":"1351523498"},"map_files_photo_id_array":[{"photo_id":"1351523516","filename":"file5"},{"photo_id":"1351523427","filename":"file2"},{"photo_id":"1351523509","filename":"file4"},{"photo_id":"1351523346","filename":"file1"},{"photo_id":"1351523266","filename":"file0"},{"photo_id":"1351523498","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351523266":["hashtag1","hashtag2"]},{"1351523509":["hashtag1","hashtag2"]},{"1351523346":["hashtag1","hashtag2"]},{"1351523427":["hashtag1","hashtag2"]},{"1351523498":["hashtag1","hashtag2"]},{"1351523516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351523266, 1351523509, 1351523346, 1351523427, 1351523498, 1351523516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83326029777527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:52:02.853408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/05/image_14042025_08_06_05_10379.jpg', '/home/pi/Desktop/images/14042025/08/06/image_14042025_08_06_25_10349.jpg', '/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_25_10361.jpg', '/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_35_9355.jpg', '/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_45_10366.jpg', '/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_55_9506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/05/image_14042025_08_06_05_10379.jpg
/home/pi/Desktop/images/14042025/08/06/image_14042025_08_06_25_10349.jpg
/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_25_10361.jpg
/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_35_9355.jpg
/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_45_10366.jpg
/home/pi/Desktop/images/14042025/08/07/image_14042025_08_07_55_9506.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351524096","1351524012","1351523984","1351524212","1351524046","1351524148"],"photo_ids_order":["1351523984","1351524012","1351524046","1351524096","1351524148","1351524212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00e7d77d4202567b79f00f3bbdf0ca56.jpg","text":"TemporaryFile(/tmp/multipartBody7586774074280344488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016783727,"filename":"image_14042025_08_07_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/19/9abc82b09256a62a13104c3586af168f.jpg","text":"TemporaryFile(/tmp/multipartBody5612796575525443204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016783727,"filename":"image_14042025_08_06_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/78506375c43accf153480a7b20204a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4128783117465300232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016783727,"filename":"image_14042025_08_06_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/19/16130a9abb0ca1da7a143d17938a74f7.jpg","text":"TemporaryFile(/tmp/multipartBody2816166626799959153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016783727,"filename":"image_14042025_08_07_55_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6040f65197d00605a70935d3a8e8c9f.jpg","text":"TemporaryFile(/tmp/multipartBody8582970164239888167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016783727,"filename":"image_14042025_08_07_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e86576a6058fbf12be0d29874d51c5b2.jpg","text":"TemporaryFile(/tmp/multipartBody3868952258654143292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016783727,"filename":"image_14042025_08_07_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351524046","file1":"1351524012","file0":"1351523984","file4":"1351524148","file5":"1351524212","file3":"1351524096"},"map_files_photo_id_array":[{"photo_id":"1351524212","filename":"file5"},{"photo_id":"1351524046","filename":"file2"},{"photo_id":"1351524148","filename":"file4"},{"photo_id":"1351524012","filename":"file1"},{"photo_id":"1351523984","filename":"file0"},{"photo_id":"1351524096","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351524096":["hashtag1","hashtag2"]},{"1351524012":["hashtag1","hashtag2"]},{"1351523984":["hashtag1","hashtag2"]},{"1351524212":["hashtag1","hashtag2"]},{"1351524046":["hashtag1","hashtag2"]},{"1351524148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351524096, 1351524012, 1351523984, 1351524212, 1351524046, 1351524148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36953830718994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:53:04.036161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/07/image_14042025_08_08_05_10364.jpg', '/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_15_10350.jpg', '/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_35_10369.jpg', '/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_45_9498.jpg', '/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_25_10346.jpg', '/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_35_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/07/image_14042025_08_08_05_10364.jpg
/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_15_10350.jpg
/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_35_10369.jpg
/home/pi/Desktop/images/14042025/08/08/image_14042025_08_08_45_9498.jpg
/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_25_10346.jpg
/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_35_9350.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351524993","1351524606","1351525067","1351524887","1351524668","1351524776"],"photo_ids_order":["1351524606","1351524668","1351524776","1351524887","1351524993","1351525067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7c3ee88a47dbed9f3e1a8e69277ff5f.jpg","text":"TemporaryFile(/tmp/multipartBody4821367855419016062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016845059,"filename":"image_14042025_08_09_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ba4c4097837ac8ee182461354e005ec.jpg","text":"TemporaryFile(/tmp/multipartBody3898350678505330137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016845059,"filename":"image_14042025_08_08_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/19/708f22db39efc9a702a19f389aa5fd9f.jpg","text":"TemporaryFile(/tmp/multipartBody2649038341551782619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016845059,"filename":"image_14042025_08_09_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/19/020804641fa48804aa38ef9da04cf661.jpg","text":"TemporaryFile(/tmp/multipartBody4335595766540248787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016845059,"filename":"image_14042025_08_08_45_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/19/fd0a387076a8545457df6fafd40c9de9.jpg","text":"TemporaryFile(/tmp/multipartBody4219742269785925913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016845059,"filename":"image_14042025_08_08_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2fd56171bf3b43cd4a7e82c218e7ddf6.jpg","text":"TemporaryFile(/tmp/multipartBody4940697154110951556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016845059,"filename":"image_14042025_08_08_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351524776","file1":"1351524668","file0":"1351524606","file4":"1351524993","file5":"1351525067","file3":"1351524887"},"map_files_photo_id_array":[{"photo_id":"1351525067","filename":"file5"},{"photo_id":"1351524776","filename":"file2"},{"photo_id":"1351524993","filename":"file4"},{"photo_id":"1351524668","filename":"file1"},{"photo_id":"1351524606","filename":"file0"},{"photo_id":"1351524887","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351524993":["hashtag1","hashtag2"]},{"1351524606":["hashtag1","hashtag2"]},{"1351525067":["hashtag1","hashtag2"]},{"1351524887":["hashtag1","hashtag2"]},{"1351524668":["hashtag1","hashtag2"]},{"1351524776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351524993, 1351524606, 1351525067, 1351524887, 1351524668, 1351524776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.100157737731934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:54:03.014937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_45_10389.jpg', '/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_55_10376.jpg', '/home/pi/Desktop/images/14042025/08/09/image_14042025_08_10_05_9439.jpg', '/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_15_10370.jpg', '/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_25_9359.jpg', '/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_35_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_45_10389.jpg
/home/pi/Desktop/images/14042025/08/09/image_14042025_08_09_55_10376.jpg
/home/pi/Desktop/images/14042025/08/09/image_14042025_08_10_05_9439.jpg
/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_15_10370.jpg
/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_25_9359.jpg
/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_35_10382.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351525656","1351525756","1351525690","1351525723","1351525810","1351525609"],"photo_ids_order":["1351525609","1351525656","1351525690","1351525723","1351525756","1351525810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb592abada30b739a653b8fa9c7c75d8.jpg","text":"TemporaryFile(/tmp/multipartBody1333140766910324991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016905637,"filename":"image_14042025_08_09_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc63e54025ed22d1828744e8c5396054.jpg","text":"TemporaryFile(/tmp/multipartBody1338683269225536210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016905637,"filename":"image_14042025_08_10_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/19/0ca51e50d07ae2f123be824c76fb5d90.jpg","text":"TemporaryFile(/tmp/multipartBody1857616983341318224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016905637,"filename":"image_14042025_08_10_05_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/05a2d4b1588fba0c31e576f9920e49f7.jpg","text":"TemporaryFile(/tmp/multipartBody6828184111720408888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016905637,"filename":"image_14042025_08_10_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/19/f32423a238012b6663986069f9d8954b.jpg","text":"TemporaryFile(/tmp/multipartBody8556580223909954969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016905637,"filename":"image_14042025_08_10_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/19/3cac1cf20e2587bf12f39b44efc6f3d3.jpg","text":"TemporaryFile(/tmp/multipartBody256084200570292115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016905637,"filename":"image_14042025_08_09_45_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351525690","file1":"1351525656","file0":"1351525609","file4":"1351525756","file5":"1351525810","file3":"1351525723"},"map_files_photo_id_array":[{"photo_id":"1351525810","filename":"file5"},{"photo_id":"1351525690","filename":"file2"},{"photo_id":"1351525756","filename":"file4"},{"photo_id":"1351525656","filename":"file1"},{"photo_id":"1351525609","filename":"file0"},{"photo_id":"1351525723","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351525656":["hashtag1","hashtag2"]},{"1351525756":["hashtag1","hashtag2"]},{"1351525690":["hashtag1","hashtag2"]},{"1351525723":["hashtag1","hashtag2"]},{"1351525810":["hashtag1","hashtag2"]},{"1351525609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351525656, 1351525756, 1351525690, 1351525723, 1351525810, 1351525609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80153727531433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:55:03.996993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_45_10358.jpg', '/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_55_9408.jpg', '/home/pi/Desktop/images/14042025/08/10/image_14042025_08_11_05_10347.jpg', '/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_15_10360.jpg', '/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_25_9461.jpg', '/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_45_10358.jpg
/home/pi/Desktop/images/14042025/08/10/image_14042025_08_10_55_9408.jpg
/home/pi/Desktop/images/14042025/08/10/image_14042025_08_11_05_10347.jpg
/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_15_10360.jpg
/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_25_9461.jpg
/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_35_10368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351526072","1351526075","1351526078","1351526080","1351526068","1351526082"],"photo_ids_order":["1351526068","1351526072","1351526075","1351526078","1351526080","1351526082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/451cdf6f0ab36cd04520bcc3f0db114a.jpg","text":"TemporaryFile(/tmp/multipartBody948031102857179832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016965021,"filename":"image_14042025_08_10_55_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b9bb590e87e9818a1029a912761a5cef.jpg","text":"TemporaryFile(/tmp/multipartBody6864846940619476186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016965021,"filename":"image_14042025_08_11_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/165234a3eaea4ce0505380a84649cc51.jpg","text":"TemporaryFile(/tmp/multipartBody6980191821613281701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016965021,"filename":"image_14042025_08_11_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/19/33b899224216e892ab7e98298bc8a10d.jpg","text":"TemporaryFile(/tmp/multipartBody115761460071865457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016965021,"filename":"image_14042025_08_11_25_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d97cd01af7a35306239610089c6e98ae.jpg","text":"TemporaryFile(/tmp/multipartBody1922182861279132702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016965021,"filename":"image_14042025_08_10_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/19/32e08e7bd7651cb987ebe91fba954e85.jpg","text":"TemporaryFile(/tmp/multipartBody1194462554260207210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745016965021,"filename":"image_14042025_08_11_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351526075","file1":"1351526072","file0":"1351526068","file4":"1351526080","file5":"1351526082","file3":"1351526078"},"map_files_photo_id_array":[{"photo_id":"1351526082","filename":"file5"},{"photo_id":"1351526075","filename":"file2"},{"photo_id":"1351526080","filename":"file4"},{"photo_id":"1351526072","filename":"file1"},{"photo_id":"1351526068","filename":"file0"},{"photo_id":"1351526078","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351526072":["hashtag1","hashtag2"]},{"1351526075":["hashtag1","hashtag2"]},{"1351526078":["hashtag1","hashtag2"]},{"1351526080":["hashtag1","hashtag2"]},{"1351526068":["hashtag1","hashtag2"]},{"1351526082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351526072, 1351526075, 1351526078, 1351526080, 1351526068, 1351526082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.097201824188232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:56:03.087204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_55_10368.jpg', '/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_16_10103.jpg', '/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_25_9420.jpg', '/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_35_10348.jpg', '/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_45_9420.jpg', '/home/pi/Desktop/images/14042025/08/12/image_14042025_08_13_06_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/11/image_14042025_08_11_55_10368.jpg
/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_16_10103.jpg
/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_25_9420.jpg
/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_35_10348.jpg
/home/pi/Desktop/images/14042025/08/12/image_14042025_08_12_45_9420.jpg
/home/pi/Desktop/images/14042025/08/12/image_14042025_08_13_06_10419.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351526744","1351526648","1351527217","1351526977","1351527093","1351526859"],"photo_ids_order":["1351526648","1351526744","1351526859","1351526977","1351527093","1351527217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d2314ac1a51fd457ef4f7cbbef83e4d9.jpg","text":"TemporaryFile(/tmp/multipartBody6505272142928208140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017023955,"filename":"image_14042025_08_12_16_10103.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7704a9326d48db1c79af619c7b77b8f8.jpg","text":"TemporaryFile(/tmp/multipartBody296885395413610191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017023955,"filename":"image_14042025_08_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/19/c056f2a0a705f53eae7b7e2133dee054.jpg","text":"TemporaryFile(/tmp/multipartBody2494174193586597345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017023955,"filename":"image_14042025_08_13_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/19/108e10fcfbeb3aeba2246f78e55d5ca8.jpg","text":"TemporaryFile(/tmp/multipartBody2955390695732349890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017023955,"filename":"image_14042025_08_12_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f96afe37e8fc6de182b26e81b332b058.jpg","text":"TemporaryFile(/tmp/multipartBody683950607460573644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017023955,"filename":"image_14042025_08_12_45_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d2df5e34e2a9ec17af39916d0529b06b.jpg","text":"TemporaryFile(/tmp/multipartBody3812427615530183393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017023955,"filename":"image_14042025_08_12_25_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351526859","file1":"1351526744","file0":"1351526648","file4":"1351527093","file5":"1351527217","file3":"1351526977"},"map_files_photo_id_array":[{"photo_id":"1351527217","filename":"file5"},{"photo_id":"1351526859","filename":"file2"},{"photo_id":"1351527093","filename":"file4"},{"photo_id":"1351526744","filename":"file1"},{"photo_id":"1351526648","filename":"file0"},{"photo_id":"1351526977","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351526744":["hashtag1","hashtag2"]},{"1351526648":["hashtag1","hashtag2"]},{"1351527217":["hashtag1","hashtag2"]},{"1351526977":["hashtag1","hashtag2"]},{"1351527093":["hashtag1","hashtag2"]},{"1351526859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351526744, 1351526648, 1351527217, 1351526977, 1351527093, 1351526859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.855778217315674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:57:04.233857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_15_9445.jpg', '/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_25_10341.jpg', '/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_35_9418.jpg', '/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_55_10369.jpg', '/home/pi/Desktop/images/14042025/08/13/image_14042025_08_14_05_9415.jpg', '/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_15_9445.jpg
/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_25_10341.jpg
/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_35_9418.jpg
/home/pi/Desktop/images/14042025/08/13/image_14042025_08_13_55_10369.jpg
/home/pi/Desktop/images/14042025/08/13/image_14042025_08_14_05_9415.jpg
/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_15_10341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351528474","1351528441","1351528395","1351528278","1351528515","1351528331"],"photo_ids_order":["1351528278","1351528331","1351528395","1351528441","1351528474","1351528515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56b38c75129020ab8417861928c9d2f1.jpg","text":"TemporaryFile(/tmp/multipartBody1419654057981156949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017086230,"filename":"image_14042025_08_14_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ebca5d713fa8ee9382d4dd13f1fe5df6.jpg","text":"TemporaryFile(/tmp/multipartBody8808579734040351363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017086230,"filename":"image_14042025_08_13_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/19/91e80e35308c6d984e260590876fe3ea.jpg","text":"TemporaryFile(/tmp/multipartBody5608864291995099818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017086230,"filename":"image_14042025_08_13_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/907ea49e6299df6ea1670100d58d019d.jpg","text":"TemporaryFile(/tmp/multipartBody2671159952776480554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017086230,"filename":"image_14042025_08_13_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/19/c074d06c2446dcb5697d23d04a5d5f0b.jpg","text":"TemporaryFile(/tmp/multipartBody3077476325853450371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017086230,"filename":"image_14042025_08_14_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/19/17853bff059ad644707a4fd552448e90.jpg","text":"TemporaryFile(/tmp/multipartBody3728324183031225048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017086230,"filename":"image_14042025_08_13_25_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351528395","file1":"1351528331","file0":"1351528278","file4":"1351528474","file5":"1351528515","file3":"1351528441"},"map_files_photo_id_array":[{"photo_id":"1351528515","filename":"file5"},{"photo_id":"1351528395","filename":"file2"},{"photo_id":"1351528474","filename":"file4"},{"photo_id":"1351528331","filename":"file1"},{"photo_id":"1351528278","filename":"file0"},{"photo_id":"1351528441","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351528474":["hashtag1","hashtag2"]},{"1351528441":["hashtag1","hashtag2"]},{"1351528395":["hashtag1","hashtag2"]},{"1351528278":["hashtag1","hashtag2"]},{"1351528515":["hashtag1","hashtag2"]},{"1351528331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351528474, 1351528441, 1351528395, 1351528278, 1351528515, 1351528331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.983707904815674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:59:03.995472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_25_9401.jpg', '/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_45_10428.jpg', '/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_55_9443.jpg', '/home/pi/Desktop/images/14042025/08/14/image_14042025_08_15_05_10369.jpg', '/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_15_9366.jpg', '/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_25_9401.jpg
/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_45_10428.jpg
/home/pi/Desktop/images/14042025/08/14/image_14042025_08_14_55_9443.jpg
/home/pi/Desktop/images/14042025/08/14/image_14042025_08_15_05_10369.jpg
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_15_9366.jpg
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_25_10381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351529470","1351529236","1351529547","1351529355","1351529421","1351529293"],"photo_ids_order":["1351529236","1351529293","1351529355","1351529421","1351529470","1351529547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9bc384703eea32dd61126f30b99ed20a.jpg","text":"TemporaryFile(/tmp/multipartBody8554161974856153904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017204954,"filename":"image_14042025_08_15_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aeabea53502ce20a215aa98365274caa.jpg","text":"TemporaryFile(/tmp/multipartBody6065244715407237997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017204954,"filename":"image_14042025_08_14_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bd3fc8ca6bd0628a7c0645e5be462507.jpg","text":"TemporaryFile(/tmp/multipartBody8783013319656346362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017204954,"filename":"image_14042025_08_15_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/19/e99150af23482ce026e52256e6dfa605.jpg","text":"TemporaryFile(/tmp/multipartBody8305386624585391846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017204954,"filename":"image_14042025_08_14_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/19/84174da1f9af20d456bd89612dd739cf.jpg","text":"TemporaryFile(/tmp/multipartBody7014612038733432329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017204954,"filename":"image_14042025_08_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/19/64c9b6b40a1e4381ee18ec77a4b76920.jpg","text":"TemporaryFile(/tmp/multipartBody3083739400934701629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017204954,"filename":"image_14042025_08_14_45_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351529355","file1":"1351529293","file0":"1351529236","file4":"1351529470","file5":"1351529547","file3":"1351529421"},"map_files_photo_id_array":[{"photo_id":"1351529547","filename":"file5"},{"photo_id":"1351529355","filename":"file2"},{"photo_id":"1351529470","filename":"file4"},{"photo_id":"1351529293","filename":"file1"},{"photo_id":"1351529236","filename":"file0"},{"photo_id":"1351529421","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351529470":["hashtag1","hashtag2"]},{"1351529236":["hashtag1","hashtag2"]},{"1351529547":["hashtag1","hashtag2"]},{"1351529355":["hashtag1","hashtag2"]},{"1351529421":["hashtag1","hashtag2"]},{"1351529293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351529470, 1351529236, 1351529547, 1351529355, 1351529421, 1351529293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27416658401489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 00:59:42.854749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_35_10372.jpg', '/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_45_9455.jpg', '/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_55_10378.jpg', '/home/pi/Desktop/images/14042025/08/15/image_14042025_08_16_06_10371.jpg', '/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_25_10367.jpg', '/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_35_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_35_10372.jpg
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_45_9455.jpg
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_15_55_10378.jpg
/home/pi/Desktop/images/14042025/08/15/image_14042025_08_16_06_10371.jpg
/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_25_10367.jpg
/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_35_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351529947","1351529806","1351529855","1351529762","1351529912","1351529884"],"photo_ids_order":["1351529762","1351529806","1351529855","1351529884","1351529912","1351529947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b702a1b37daf31b485403af0c060705b.jpg","text":"TemporaryFile(/tmp/multipartBody6439726425006662117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017243691,"filename":"image_14042025_08_16_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/19/a5d361f4d86421ff7e7e2aa908ced32c.jpg","text":"TemporaryFile(/tmp/multipartBody61372039445529841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017243691,"filename":"image_14042025_08_15_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/19/389ca9fbedcf74783feeb3724d27d234.jpg","text":"TemporaryFile(/tmp/multipartBody4436973026425728622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017243691,"filename":"image_14042025_08_15_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/19/2f64bae71b9b46c830007fb129c52826.jpg","text":"TemporaryFile(/tmp/multipartBody5444883056756838779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017243691,"filename":"image_14042025_08_15_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/19/7a3cac7359c5e8dce6b9f43c650ba484.jpg","text":"TemporaryFile(/tmp/multipartBody1660361712181618052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017243691,"filename":"image_14042025_08_16_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d01d8234ce64285234bd4a36e2f93a74.jpg","text":"TemporaryFile(/tmp/multipartBody1453444231356227162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017243691,"filename":"image_14042025_08_16_06_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351529855","file1":"1351529806","file0":"1351529762","file4":"1351529912","file5":"1351529947","file3":"1351529884"},"map_files_photo_id_array":[{"photo_id":"1351529947","filename":"file5"},{"photo_id":"1351529855","filename":"file2"},{"photo_id":"1351529912","filename":"file4"},{"photo_id":"1351529806","filename":"file1"},{"photo_id":"1351529762","filename":"file0"},{"photo_id":"1351529884","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351529947":["hashtag1","hashtag2"]},{"1351529806":["hashtag1","hashtag2"]},{"1351529855":["hashtag1","hashtag2"]},{"1351529762":["hashtag1","hashtag2"]},{"1351529912":["hashtag1","hashtag2"]},{"1351529884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351529947, 1351529806, 1351529855, 1351529762, 1351529912, 1351529884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21172857284546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:00:33.127866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_45_9390.jpg', '/home/pi/Desktop/images/14042025/08/16/image_14042025_08_17_06_10369.jpg', '/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_15_9350.jpg', '/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_25_10408.jpg', '/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_35_9474.jpg', '/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/16/image_14042025_08_16_45_9390.jpg
/home/pi/Desktop/images/14042025/08/16/image_14042025_08_17_06_10369.jpg
/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_15_9350.jpg
/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_25_10408.jpg
/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_35_9474.jpg
/home/pi/Desktop/images/14042025/08/17/image_14042025_08_17_45_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":["1351530361","1351530232","1351530237","1351530290","1351530332","1351530242"],"photo_ids_order":["1351530232","1351530237","1351530242","1351530290","1351530332","1351530361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6ca5405ce241a21014e9de21887d2c0.jpg","text":"TemporaryFile(/tmp/multipartBody7554842341096908363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017294814,"filename":"image_14042025_08_17_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/19/6ff1aead222f3fbb357a28b0004d5f28.jpg","text":"TemporaryFile(/tmp/multipartBody443283696012341172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017294814,"filename":"image_14042025_08_16_45_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/19/55d935f0f99a2717f2b6f709f2dcca5a.jpg","text":"TemporaryFile(/tmp/multipartBody4587279718400381783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017294814,"filename":"image_14042025_08_17_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/19/ec488f0228a69d6d65346849f22ad257.jpg","text":"TemporaryFile(/tmp/multipartBody3703561068084742403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017294814,"filename":"image_14042025_08_17_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/19/a7c44f839ab855dd77d768da66276c29.jpg","text":"TemporaryFile(/tmp/multipartBody8430647063318315375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017294814,"filename":"image_14042025_08_17_35_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e0659f53bf5d5b84ec0e2c23bfba0f90.jpg","text":"TemporaryFile(/tmp/multipartBody330065542453225086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017294814,"filename":"image_14042025_08_17_15_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351530242","file1":"1351530237","file0":"1351530232","file4":"1351530332","file5":"1351530361","file3":"1351530290"},"map_files_photo_id_array":[{"photo_id":"1351530361","filename":"file5"},{"photo_id":"1351530242","filename":"file2"},{"photo_id":"1351530332","filename":"file4"},{"photo_id":"1351530237","filename":"file1"},{"photo_id":"1351530232","filename":"file0"},{"photo_id":"1351530290","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351530361":["hashtag1","hashtag2"]},{"1351530232":["hashtag1","hashtag2"]},{"1351530237":["hashtag1","hashtag2"]},{"1351530290":["hashtag1","hashtag2"]},{"1351530332":["hashtag1","hashtag2"]},{"1351530242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351530361, 1351530232, 1351530237, 1351530290, 1351530332, 1351530242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72860050201416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:01:32.342012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/17/image_14042025_08_18_05_9359.jpg', '/home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_15_10403.jpg', '/home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_25_9361.jpg', '/home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_45_10361.jpg', '/home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_55_9421.jpg', '/home/pi/Desktop/images/14042025/08/18/image_14042025_08_19_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/17/image_14042025_08_18_05_9359.jpg
/home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_15_10403.jpg
/home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_25_9361.jpg
/home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_45_10361.jpg
/home/pi/Desktop/images/14042025/08/18/image_14042025_08_18_55_9421.jpg
/home/pi/Desktop/images/14042025/08/18/image_14042025_08_19_05_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":["1351530867","1351530840","1351530936","1351531247","1351531007","1351531084"],"photo_ids_order":["1351530840","1351530867","1351530936","1351531007","1351531084","1351531247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a97f14faa4c8846f0aa4c0827909725d.jpg","text":"TemporaryFile(/tmp/multipartBody8730028014853369154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017354122,"filename":"image_14042025_08_18_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/19/ed3d6b8379d04f082d2fa3d3716188d4.jpg","text":"TemporaryFile(/tmp/multipartBody1918036767725652212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017354122,"filename":"image_14042025_08_18_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/19/94a5552bae3a169122646b72baf44363.jpg","text":"TemporaryFile(/tmp/multipartBody1664260376006421524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017354122,"filename":"image_14042025_08_18_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/19/9041b249b5baa09b08cf6a9c7a37c697.jpg","text":"TemporaryFile(/tmp/multipartBody8517917251564323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017354122,"filename":"image_14042025_08_19_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/19/82b9f13c81d290625474cb918bdb915a.jpg","text":"TemporaryFile(/tmp/multipartBody2064283029233799305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017354122,"filename":"image_14042025_08_18_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/19/33019187673a72eaa46dad42e94ae974.jpg","text":"TemporaryFile(/tmp/multipartBody6499724337103442131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017354122,"filename":"image_14042025_08_18_55_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351530936","file1":"1351530867","file0":"1351530840","file4":"1351531084","file5":"1351531247","file3":"1351531007"},"map_files_photo_id_array":[{"photo_id":"1351531247","filename":"file5"},{"photo_id":"1351530936","filename":"file2"},{"photo_id":"1351531084","filename":"file4"},{"photo_id":"1351530867","filename":"file1"},{"photo_id":"1351530840","filename":"file0"},{"photo_id":"1351531007","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351530867":["hashtag1","hashtag2"]},{"1351530840":["hashtag1","hashtag2"]},{"1351530936":["hashtag1","hashtag2"]},{"1351531247":["hashtag1","hashtag2"]},{"1351531007":["hashtag1","hashtag2"]},{"1351531084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351530867, 1351530840, 1351530936, 1351531247, 1351531007, 1351531084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.20112323760986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:02:32.397166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_15_10343.jpg', '/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_25_9354.jpg', '/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_45_9344.jpg', '/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_55_10366.jpg', '/home/pi/Desktop/images/14042025/08/19/image_14042025_08_20_05_10369.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_15_10343.jpg
/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_25_9354.jpg
/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_45_9344.jpg
/home/pi/Desktop/images/14042025/08/19/image_14042025_08_19_55_10366.jpg
/home/pi/Desktop/images/14042025/08/19/image_14042025_08_20_05_10369.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_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":["1351532460","1351532393","1351532301","1351532201","1351532254","1351532140"],"photo_ids_order":["1351532140","1351532201","1351532254","1351532301","1351532393","1351532460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6efa75797a3938f4445b756532e87198.jpg","text":"TemporaryFile(/tmp/multipartBody6509220344621138173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017414301,"filename":"image_14042025_08_20_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/905275d23280c815be358037b1990059.jpg","text":"TemporaryFile(/tmp/multipartBody8184148510396886065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017414301,"filename":"image_14042025_08_20_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/19/0e5907473e75fb8be4f277b9910ef055.jpg","text":"TemporaryFile(/tmp/multipartBody884142325012302332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017414301,"filename":"image_14042025_08_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/19/7526251bcda27014ea45dff58992f02d.jpg","text":"TemporaryFile(/tmp/multipartBody1578102914936571363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017414301,"filename":"image_14042025_08_19_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d175247dac4fb0184e17ade17e4dec1e.jpg","text":"TemporaryFile(/tmp/multipartBody5323001473180023908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017414301,"filename":"image_14042025_08_19_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e3e223f717a332913d3c4419dae83049.jpg","text":"TemporaryFile(/tmp/multipartBody8355769511488212094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017414301,"filename":"image_14042025_08_19_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351532254","file1":"1351532201","file0":"1351532140","file4":"1351532393","file5":"1351532460","file3":"1351532301"},"map_files_photo_id_array":[{"photo_id":"1351532460","filename":"file5"},{"photo_id":"1351532254","filename":"file2"},{"photo_id":"1351532393","filename":"file4"},{"photo_id":"1351532201","filename":"file1"},{"photo_id":"1351532140","filename":"file0"},{"photo_id":"1351532301","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351532460":["hashtag1","hashtag2"]},{"1351532393":["hashtag1","hashtag2"]},{"1351532301":["hashtag1","hashtag2"]},{"1351532201":["hashtag1","hashtag2"]},{"1351532254":["hashtag1","hashtag2"]},{"1351532140":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351532460, 1351532393, 1351532301, 1351532201, 1351532254, 1351532140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.784865379333496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:03:32.700780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_35_10379.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_45_9357.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_55_10380.jpg', '/home/pi/Desktop/images/14042025/08/20/image_14042025_08_21_05_9485.jpg', '/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_15_10355.jpg', '/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_35_10379.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_45_9357.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_20_55_10380.jpg
/home/pi/Desktop/images/14042025/08/20/image_14042025_08_21_05_9485.jpg
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_15_10355.jpg
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_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":["1351533042","1351532982","1351532952","1351532879","1351533013","1351532920"],"photo_ids_order":["1351532879","1351532920","1351532952","1351532982","1351533013","1351533042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a468dc41a398c5f11f92dae031e581da.jpg","text":"TemporaryFile(/tmp/multipartBody7355718907481641446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017474395,"filename":"image_14042025_08_21_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/19/378f22dd6c5e6600232f62708fa6e490.jpg","text":"TemporaryFile(/tmp/multipartBody2893313098300397042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017474395,"filename":"image_14042025_08_21_05_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c58116834ca731553782f99103dbcb4.jpg","text":"TemporaryFile(/tmp/multipartBody1384551837554370162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017474395,"filename":"image_14042025_08_20_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/19/24075df5b92d92b10d7886f8ce68a36c.jpg","text":"TemporaryFile(/tmp/multipartBody5052502812705003358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017474395,"filename":"image_14042025_08_20_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/19/0c73fb363fc149885594a5fb3a1c362f.jpg","text":"TemporaryFile(/tmp/multipartBody2675876956056817759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017474395,"filename":"image_14042025_08_21_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cf9dae9677d2b6e967abe70ea099c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2778707899107332147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017474395,"filename":"image_14042025_08_20_45_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351532952","file1":"1351532920","file0":"1351532879","file4":"1351533013","file5":"1351533042","file3":"1351532982"},"map_files_photo_id_array":[{"photo_id":"1351533042","filename":"file5"},{"photo_id":"1351532952","filename":"file2"},{"photo_id":"1351533013","filename":"file4"},{"photo_id":"1351532920","filename":"file1"},{"photo_id":"1351532879","filename":"file0"},{"photo_id":"1351532982","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351533042":["hashtag1","hashtag2"]},{"1351532982":["hashtag1","hashtag2"]},{"1351532952":["hashtag1","hashtag2"]},{"1351532879":["hashtag1","hashtag2"]},{"1351533013":["hashtag1","hashtag2"]},{"1351532920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351533042, 1351532982, 1351532952, 1351532879, 1351533013, 1351532920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38994884490967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:04:32.783001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_35_9427.jpg', '/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_45_10371.jpg', '/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_55_9427.jpg', '/home/pi/Desktop/images/14042025/08/21/image_14042025_08_22_05_10373.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_15_10363.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_35_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_35_9427.jpg
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_45_10371.jpg
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_21_55_9427.jpg
/home/pi/Desktop/images/14042025/08/21/image_14042025_08_22_05_10373.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_15_10363.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_35_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351533801","1351534040","1351534307","1351533941","1351534126","1351534207"],"photo_ids_order":["1351533801","1351533941","1351534040","1351534126","1351534207","1351534307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d81cf0f92fccdf99dfeb05c1c2c4efe8.jpg","text":"TemporaryFile(/tmp/multipartBody4655849666833074213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017534478,"filename":"image_14042025_08_21_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b67ddc3975bc0151978fbdfdde788f31.jpg","text":"TemporaryFile(/tmp/multipartBody6167058800259897102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017534478,"filename":"image_14042025_08_21_55_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0067ba474d28a6f5d20b11ba70cf697c.jpg","text":"TemporaryFile(/tmp/multipartBody7214903917024091327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017534478,"filename":"image_14042025_08_22_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ba54025d9dbbd802d64bc89e944f2ea.jpg","text":"TemporaryFile(/tmp/multipartBody481626218996869941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017534478,"filename":"image_14042025_08_21_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e22c93534e7aaf57d7276e52a26217ac.jpg","text":"TemporaryFile(/tmp/multipartBody6902653566662958030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017534478,"filename":"image_14042025_08_22_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/19/2d5276a683f23444285f3d97a94edb45.jpg","text":"TemporaryFile(/tmp/multipartBody8095126788360938472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017534478,"filename":"image_14042025_08_22_15_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351534040","file1":"1351533941","file0":"1351533801","file4":"1351534207","file5":"1351534307","file3":"1351534126"},"map_files_photo_id_array":[{"photo_id":"1351534307","filename":"file5"},{"photo_id":"1351534040","filename":"file2"},{"photo_id":"1351534207","filename":"file4"},{"photo_id":"1351533941","filename":"file1"},{"photo_id":"1351533801","filename":"file0"},{"photo_id":"1351534126","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351533801":["hashtag1","hashtag2"]},{"1351534040":["hashtag1","hashtag2"]},{"1351534307":["hashtag1","hashtag2"]},{"1351533941":["hashtag1","hashtag2"]},{"1351534126":["hashtag1","hashtag2"]},{"1351534207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351533801, 1351534040, 1351534307, 1351533941, 1351534126, 1351534207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12497043609619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:05:33.082331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_45_9469.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_55_10371.jpg', '/home/pi/Desktop/images/14042025/08/22/image_14042025_08_23_05_10371.jpg', '/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_15_9394.jpg', '/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_25_10373.jpg', '/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_35_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_45_9469.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_22_55_10371.jpg
/home/pi/Desktop/images/14042025/08/22/image_14042025_08_23_05_10371.jpg
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_15_9394.jpg
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_25_10373.jpg
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_35_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351535389","1351535263","1351535206","1351535149","1351535475","1351535100"],"photo_ids_order":["1351535100","1351535149","1351535206","1351535263","1351535389","1351535475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/410716821d429a315b49fb65971390bb.jpg","text":"TemporaryFile(/tmp/multipartBody190052675083935034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017594791,"filename":"image_14042025_08_23_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/19/7c8a054495dd71262bc8444af474345a.jpg","text":"TemporaryFile(/tmp/multipartBody2538902328914171169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017594791,"filename":"image_14042025_08_23_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fafb0aa97ef0bb06ac6f224506707124.jpg","text":"TemporaryFile(/tmp/multipartBody3440797049143762995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017594791,"filename":"image_14042025_08_23_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/19/f3775482b4b0a49bfe78ebbb3198ec4b.jpg","text":"TemporaryFile(/tmp/multipartBody3539906318528237893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017594791,"filename":"image_14042025_08_22_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/19/b27b6d1d1ef53cd0d8fd6ff44d9e9ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4767896849086204354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017594791,"filename":"image_14042025_08_23_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6621f5014b015c437dae4b57ec8fc062.jpg","text":"TemporaryFile(/tmp/multipartBody3946135633045766475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017594791,"filename":"image_14042025_08_22_45_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351535206","file1":"1351535149","file0":"1351535100","file4":"1351535389","file5":"1351535475","file3":"1351535263"},"map_files_photo_id_array":[{"photo_id":"1351535475","filename":"file5"},{"photo_id":"1351535206","filename":"file2"},{"photo_id":"1351535389","filename":"file4"},{"photo_id":"1351535149","filename":"file1"},{"photo_id":"1351535100","filename":"file0"},{"photo_id":"1351535263","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351535389":["hashtag1","hashtag2"]},{"1351535263":["hashtag1","hashtag2"]},{"1351535206":["hashtag1","hashtag2"]},{"1351535149":["hashtag1","hashtag2"]},{"1351535475":["hashtag1","hashtag2"]},{"1351535100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351535389, 1351535263, 1351535206, 1351535149, 1351535475, 1351535100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46149921417236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:06:32.286503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_45_10431.jpg', '/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_55_10369.jpg', '/home/pi/Desktop/images/14042025/08/23/image_14042025_08_24_05_9387.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_15_10454.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_25_9346.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_35_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_45_10431.jpg
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_23_55_10369.jpg
/home/pi/Desktop/images/14042025/08/23/image_14042025_08_24_05_9387.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_15_10454.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_25_9346.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_35_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":["1351536401","1351536445","1351536232","1351536170","1351536344","1351536283"],"photo_ids_order":["1351536170","1351536232","1351536283","1351536344","1351536401","1351536445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a72680d013700f7da28ee82473f57a76.jpg","text":"TemporaryFile(/tmp/multipartBody8700676968563127239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017653980,"filename":"image_14042025_08_24_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/19/26f1e723ce11e48bd0b1e3f663a53e08.jpg","text":"TemporaryFile(/tmp/multipartBody295153010568341998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017653980,"filename":"image_14042025_08_24_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/19/1e1b12930ee51c72d9e5260d14d6988c.jpg","text":"TemporaryFile(/tmp/multipartBody7878690719403394439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017653980,"filename":"image_14042025_08_23_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/19/49e1e8626ab65a945cf419dfb40bada3.jpg","text":"TemporaryFile(/tmp/multipartBody5942104976245937779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017653980,"filename":"image_14042025_08_23_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/41e028f412692ceb30a5774d0b977902.jpg","text":"TemporaryFile(/tmp/multipartBody7120383040110481088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017653980,"filename":"image_14042025_08_24_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/19/c5cebcc5403fcf622539fc33eed7f051.jpg","text":"TemporaryFile(/tmp/multipartBody8163044468410718559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017653980,"filename":"image_14042025_08_24_05_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351536283","file1":"1351536232","file0":"1351536170","file4":"1351536401","file5":"1351536445","file3":"1351536344"},"map_files_photo_id_array":[{"photo_id":"1351536445","filename":"file5"},{"photo_id":"1351536283","filename":"file2"},{"photo_id":"1351536401","filename":"file4"},{"photo_id":"1351536232","filename":"file1"},{"photo_id":"1351536170","filename":"file0"},{"photo_id":"1351536344","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351536401":["hashtag1","hashtag2"]},{"1351536445":["hashtag1","hashtag2"]},{"1351536232":["hashtag1","hashtag2"]},{"1351536170":["hashtag1","hashtag2"]},{"1351536344":["hashtag1","hashtag2"]},{"1351536283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351536401, 1351536445, 1351536232, 1351536170, 1351536344, 1351536283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.200912952423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:07:32.547300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_45_10376.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_55_9409.jpg', '/home/pi/Desktop/images/14042025/08/24/image_14042025_08_25_05_10408.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_15_9346.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_25_10429.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_35_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_45_10376.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_24_55_9409.jpg
/home/pi/Desktop/images/14042025/08/24/image_14042025_08_25_05_10408.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_15_9346.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_25_10429.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_35_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351537156","1351536868","1351536963","1351537246","1351537069","1351536787"],"photo_ids_order":["1351536787","1351536868","1351536963","1351537069","1351537156","1351537246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc9c38f6881d59672c1a2cae3d1aecb0.jpg","text":"TemporaryFile(/tmp/multipartBody9190873370630731161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017714229,"filename":"image_14042025_08_25_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/19/0a3a4a183abf4c8c075a6a61d6a0f2f7.jpg","text":"TemporaryFile(/tmp/multipartBody4712881533042904670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017714229,"filename":"image_14042025_08_24_55_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/435d1d2dad5dc35e2b59b92b5b379118.jpg","text":"TemporaryFile(/tmp/multipartBody4339757446108628200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017714229,"filename":"image_14042025_08_25_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c016b07a93939a36686735309ccb971.jpg","text":"TemporaryFile(/tmp/multipartBody7070374414671435172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017714229,"filename":"image_14042025_08_25_35_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1de89a5f4cf1e5701eb53155c0a9f159.jpg","text":"TemporaryFile(/tmp/multipartBody1063711032182893222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017714229,"filename":"image_14042025_08_25_15_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd3d3ea80fead62ea477810dae6c3717.jpg","text":"TemporaryFile(/tmp/multipartBody5000362289268194875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017714229,"filename":"image_14042025_08_24_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351536963","file1":"1351536868","file0":"1351536787","file4":"1351537156","file5":"1351537246","file3":"1351537069"},"map_files_photo_id_array":[{"photo_id":"1351537246","filename":"file5"},{"photo_id":"1351536963","filename":"file2"},{"photo_id":"1351537156","filename":"file4"},{"photo_id":"1351536868","filename":"file1"},{"photo_id":"1351536787","filename":"file0"},{"photo_id":"1351537069","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351537156":["hashtag1","hashtag2"]},{"1351536868":["hashtag1","hashtag2"]},{"1351536963":["hashtag1","hashtag2"]},{"1351537246":["hashtag1","hashtag2"]},{"1351537069":["hashtag1","hashtag2"]},{"1351536787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351537156, 1351536868, 1351536963, 1351537246, 1351537069, 1351536787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56619906425476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:08:32.720576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_45_9511.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_55_10354.jpg', '/home/pi/Desktop/images/14042025/08/25/image_14042025_08_26_05_9450.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_15_10340.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_25_10368.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_35_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_45_9511.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_25_55_10354.jpg
/home/pi/Desktop/images/14042025/08/25/image_14042025_08_26_05_9450.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_15_10340.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_25_10368.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_35_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":["1351538598","1351538631","1351538436","1351538663","1351538558","1351538513"],"photo_ids_order":["1351538436","1351538513","1351538558","1351538598","1351538631","1351538663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef1bd4bc1012bfd35d05378f1fbeaab7.jpg","text":"TemporaryFile(/tmp/multipartBody5921650093046632275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017774390,"filename":"image_14042025_08_26_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/19/bae86b2f614e4ac7f0d20a6e93148b00.jpg","text":"TemporaryFile(/tmp/multipartBody2314039688569140093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017774390,"filename":"image_14042025_08_26_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/92cf5829799f51d611b5d1cc9f59d6ee.jpg","text":"TemporaryFile(/tmp/multipartBody8215355730221556017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017774390,"filename":"image_14042025_08_25_45_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f2428802055b26fafc694061cfa6213.jpg","text":"TemporaryFile(/tmp/multipartBody3366164906668576971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017774390,"filename":"image_14042025_08_26_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/19/8a5d14d90fd4a42ccad7f40a3aa04b64.jpg","text":"TemporaryFile(/tmp/multipartBody891332118514440773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017774390,"filename":"image_14042025_08_26_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/19/f6213490b1edb267d2140b9b59636eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3180911396514551473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017774390,"filename":"image_14042025_08_25_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351538558","file1":"1351538513","file0":"1351538436","file4":"1351538631","file5":"1351538663","file3":"1351538598"},"map_files_photo_id_array":[{"photo_id":"1351538663","filename":"file5"},{"photo_id":"1351538558","filename":"file2"},{"photo_id":"1351538631","filename":"file4"},{"photo_id":"1351538513","filename":"file1"},{"photo_id":"1351538436","filename":"file0"},{"photo_id":"1351538598","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351538598":["hashtag1","hashtag2"]},{"1351538631":["hashtag1","hashtag2"]},{"1351538436":["hashtag1","hashtag2"]},{"1351538663":["hashtag1","hashtag2"]},{"1351538558":["hashtag1","hashtag2"]},{"1351538513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351538598, 1351538631, 1351538436, 1351538663, 1351538558, 1351538513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30194902420044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:09:32.949288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_45_10403.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_55_9359.jpg', '/home/pi/Desktop/images/14042025/08/26/image_14042025_08_27_05_10417.jpg', '/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_15_10349.jpg', '/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_25_9479.jpg', '/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_45_10403.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_26_55_9359.jpg
/home/pi/Desktop/images/14042025/08/26/image_14042025_08_27_05_10417.jpg
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_15_10349.jpg
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_25_9479.jpg
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_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":["1351539200","1351538954","1351538917","1351539171","1351539072","1351539231"],"photo_ids_order":["1351538917","1351538954","1351539072","1351539171","1351539200","1351539231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae396653c45f789a8f0e66924c3f76e1.jpg","text":"TemporaryFile(/tmp/multipartBody2154835843509663914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017834630,"filename":"image_14042025_08_27_25_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e6abd86b22f5abcacee72881879e5f6.jpg","text":"TemporaryFile(/tmp/multipartBody6092794237714223201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017834630,"filename":"image_14042025_08_26_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/19/5b4c31b572696a607bb9848cb2b6f758.jpg","text":"TemporaryFile(/tmp/multipartBody7964195680834515682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017834630,"filename":"image_14042025_08_26_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ad4fe9d7f45b3e4ccf4f852d80c17e8.jpg","text":"TemporaryFile(/tmp/multipartBody4415804707872041562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017834630,"filename":"image_14042025_08_27_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99824e53a7d40488f11c4f9056ac7b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8970137414376017845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017834630,"filename":"image_14042025_08_27_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/19/138edd77a1cccb642399c93f1acb20fa.jpg","text":"TemporaryFile(/tmp/multipartBody5237668025349234146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017834630,"filename":"image_14042025_08_27_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351539072","file1":"1351538954","file0":"1351538917","file4":"1351539200","file5":"1351539231","file3":"1351539171"},"map_files_photo_id_array":[{"photo_id":"1351539231","filename":"file5"},{"photo_id":"1351539072","filename":"file2"},{"photo_id":"1351539200","filename":"file4"},{"photo_id":"1351538954","filename":"file1"},{"photo_id":"1351538917","filename":"file0"},{"photo_id":"1351539171","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351539200":["hashtag1","hashtag2"]},{"1351538954":["hashtag1","hashtag2"]},{"1351538917":["hashtag1","hashtag2"]},{"1351539171":["hashtag1","hashtag2"]},{"1351539072":["hashtag1","hashtag2"]},{"1351539231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351539200, 1351538954, 1351538917, 1351539171, 1351539072, 1351539231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12692928314209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:10:32.228927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_45_9342.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_15_9334.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_25_10457.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_35_10373.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_45_9418.jpg', '/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/27/image_14042025_08_27_45_9342.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_15_9334.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_25_10457.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_35_10373.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_45_9418.jpg
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_28_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351539612","1351539542","1351539500","1351539480","1351539468","1351539477"],"photo_ids_order":["1351539468","1351539477","1351539480","1351539500","1351539542","1351539612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d1eaf710e505de93d5e9c35830017923.jpg","text":"TemporaryFile(/tmp/multipartBody892856387005319575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017893912,"filename":"image_14042025_08_28_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e2e7117dba625681c6d49fd9d8cbd0c.jpg","text":"TemporaryFile(/tmp/multipartBody6836707410599315046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017893912,"filename":"image_14042025_08_28_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a26d00ecdf122a1d4cfcb7f012bad58c.jpg","text":"TemporaryFile(/tmp/multipartBody8155203623874420766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017893912,"filename":"image_14042025_08_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/19/f62ae2f8c9e23be0b223a47e69dad3c5.jpg","text":"TemporaryFile(/tmp/multipartBody408622175670137583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017893912,"filename":"image_14042025_08_28_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/19/bef8efa85dc2469c2a135d1ce2024ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2214352936301109424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017893912,"filename":"image_14042025_08_27_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/19/a2e783632b5fc76e1515a410a8f292d2.jpg","text":"TemporaryFile(/tmp/multipartBody326005347160294219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017893912,"filename":"image_14042025_08_28_15_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351539480","file1":"1351539477","file0":"1351539468","file4":"1351539542","file5":"1351539612","file3":"1351539500"},"map_files_photo_id_array":[{"photo_id":"1351539612","filename":"file5"},{"photo_id":"1351539480","filename":"file2"},{"photo_id":"1351539542","filename":"file4"},{"photo_id":"1351539477","filename":"file1"},{"photo_id":"1351539468","filename":"file0"},{"photo_id":"1351539500","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351539612":["hashtag1","hashtag2"]},{"1351539542":["hashtag1","hashtag2"]},{"1351539500":["hashtag1","hashtag2"]},{"1351539480":["hashtag1","hashtag2"]},{"1351539468":["hashtag1","hashtag2"]},{"1351539477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351539612, 1351539542, 1351539500, 1351539480, 1351539468, 1351539477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.003918170928955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:11:32.435198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/28/image_14042025_08_29_05_9349.jpg', '/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_15_10449.jpg', '/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_25_10368.jpg', '/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_35_9394.jpg', '/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_45_10356.jpg', '/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_55_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/28/image_14042025_08_29_05_9349.jpg
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_15_10449.jpg
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_25_10368.jpg
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_35_9394.jpg
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_45_10356.jpg
/home/pi/Desktop/images/14042025/08/29/image_14042025_08_29_55_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":["1351540791","1351540959","1351540923","1351540623","1351540841","1351540703"],"photo_ids_order":["1351540623","1351540703","1351540791","1351540841","1351540923","1351540959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef6373997c1128f8a74a3e6f50c70879.jpg","text":"TemporaryFile(/tmp/multipartBody2989215342853223019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017954137,"filename":"image_14042025_08_29_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/19/5b8caa498d0c156fbe82c6337666489f.jpg","text":"TemporaryFile(/tmp/multipartBody6061077740283144426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017954137,"filename":"image_14042025_08_29_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/19/aade33263ddf5f4df79906cdc248bac5.jpg","text":"TemporaryFile(/tmp/multipartBody8583439639409767352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017954137,"filename":"image_14042025_08_29_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/19/7441190c4ac6b2c0e15542672371f078.jpg","text":"TemporaryFile(/tmp/multipartBody5492739636705090429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017954137,"filename":"image_14042025_08_29_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/19/e99aa92d4e97df7bb7a692d8fe63ceeb.jpg","text":"TemporaryFile(/tmp/multipartBody8911855297622518465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017954137,"filename":"image_14042025_08_29_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b666a1b8c95785326f5db304533eb237.jpg","text":"TemporaryFile(/tmp/multipartBody251205533992554261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745017954137,"filename":"image_14042025_08_29_15_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351540791","file1":"1351540703","file0":"1351540623","file4":"1351540923","file5":"1351540959","file3":"1351540841"},"map_files_photo_id_array":[{"photo_id":"1351540959","filename":"file5"},{"photo_id":"1351540791","filename":"file2"},{"photo_id":"1351540923","filename":"file4"},{"photo_id":"1351540703","filename":"file1"},{"photo_id":"1351540623","filename":"file0"},{"photo_id":"1351540841","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351540791":["hashtag1","hashtag2"]},{"1351540959":["hashtag1","hashtag2"]},{"1351540923":["hashtag1","hashtag2"]},{"1351540623":["hashtag1","hashtag2"]},{"1351540841":["hashtag1","hashtag2"]},{"1351540703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351540791, 1351540959, 1351540923, 1351540623, 1351540841, 1351540703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93560528755188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:12:32.564453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_15_10445.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_25_9353.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_35_10436.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_45_9467.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_55_10420.jpg', '/home/pi/Desktop/images/14042025/08/30/image_14042025_08_31_06_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_15_10445.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_25_9353.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_35_10436.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_45_9467.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_30_55_10420.jpg
/home/pi/Desktop/images/14042025/08/30/image_14042025_08_31_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":["1351541319","1351541231","1351541476","1351541416","1351541367","1351541268"],"photo_ids_order":["1351541231","1351541268","1351541319","1351541367","1351541416","1351541476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/012d7d805d065afe7f60b66d0c0a6259.jpg","text":"TemporaryFile(/tmp/multipartBody300142573550714115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018014283,"filename":"image_14042025_08_30_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/19/94be8ce3c9cb218dfe1d574a5a353600.jpg","text":"TemporaryFile(/tmp/multipartBody4391283047434813789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018014283,"filename":"image_14042025_08_30_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/19/f75a1e008616c4b5e3949ad754a23dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6154705828148361170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018014283,"filename":"image_14042025_08_31_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71e6e728e32133331f6b941111f132c2.jpg","text":"TemporaryFile(/tmp/multipartBody8107860183617595295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018014283,"filename":"image_14042025_08_30_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/19/e4cc0b82f20723350c213a0b62292490.jpg","text":"TemporaryFile(/tmp/multipartBody7779095505260040410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018014283,"filename":"image_14042025_08_30_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/19/8a5a4cb6d1e3a4ecd94e2ad843c22b14.jpg","text":"TemporaryFile(/tmp/multipartBody1884486108553553873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018014283,"filename":"image_14042025_08_30_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351541319","file1":"1351541268","file0":"1351541231","file4":"1351541416","file5":"1351541476","file3":"1351541367"},"map_files_photo_id_array":[{"photo_id":"1351541476","filename":"file5"},{"photo_id":"1351541319","filename":"file2"},{"photo_id":"1351541416","filename":"file4"},{"photo_id":"1351541268","filename":"file1"},{"photo_id":"1351541231","filename":"file0"},{"photo_id":"1351541367","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351541319":["hashtag1","hashtag2"]},{"1351541231":["hashtag1","hashtag2"]},{"1351541476":["hashtag1","hashtag2"]},{"1351541416":["hashtag1","hashtag2"]},{"1351541367":["hashtag1","hashtag2"]},{"1351541268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351541319, 1351541231, 1351541476, 1351541416, 1351541367, 1351541268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51170992851257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:13:32.985710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_15_9336.jpg', '/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_25_10421.jpg', '/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_35_9456.jpg', '/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_45_10377.jpg', '/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_56_10412.jpg', '/home/pi/Desktop/images/14042025/08/31/image_14042025_08_32_05_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_15_9336.jpg
/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_25_10421.jpg
/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_35_9456.jpg
/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_45_10377.jpg
/home/pi/Desktop/images/14042025/08/31/image_14042025_08_31_56_10412.jpg
/home/pi/Desktop/images/14042025/08/31/image_14042025_08_32_05_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351542230","1351542196","1351542097","1351542154","1351542217","1351542249"],"photo_ids_order":["1351542097","1351542154","1351542196","1351542217","1351542230","1351542249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c87e5ff380db7076abe307f4a7bdb52.jpg","text":"TemporaryFile(/tmp/multipartBody1379327130164842387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018074702,"filename":"image_14042025_08_31_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/19/7687d2f7c937a11314f4a7b2fba2ad7a.jpg","text":"TemporaryFile(/tmp/multipartBody4226941554788405645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018074702,"filename":"image_14042025_08_31_35_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef3adc43181d5ba3a8187498068f4fc8.jpg","text":"TemporaryFile(/tmp/multipartBody6380107542517029650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018074702,"filename":"image_14042025_08_31_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/19/f5eca0c3694cd0e99d1fdc274b645954.jpg","text":"TemporaryFile(/tmp/multipartBody8240638539140853428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018074702,"filename":"image_14042025_08_31_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/19/90651f55ac4e977f0e25fd2fe1484741.jpg","text":"TemporaryFile(/tmp/multipartBody283469971081084045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018074702,"filename":"image_14042025_08_31_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/19/fc35cf91abe8fa6751dd61409fa797e7.jpg","text":"TemporaryFile(/tmp/multipartBody5207550334150623752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018074702,"filename":"image_14042025_08_32_05_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351542196","file1":"1351542154","file0":"1351542097","file4":"1351542230","file5":"1351542249","file3":"1351542217"},"map_files_photo_id_array":[{"photo_id":"1351542249","filename":"file5"},{"photo_id":"1351542196","filename":"file2"},{"photo_id":"1351542230","filename":"file4"},{"photo_id":"1351542154","filename":"file1"},{"photo_id":"1351542097","filename":"file0"},{"photo_id":"1351542217","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351542230":["hashtag1","hashtag2"]},{"1351542196":["hashtag1","hashtag2"]},{"1351542097":["hashtag1","hashtag2"]},{"1351542154":["hashtag1","hashtag2"]},{"1351542217":["hashtag1","hashtag2"]},{"1351542249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351542230, 1351542196, 1351542097, 1351542154, 1351542217, 1351542249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15929055213928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:14:32.150412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_15_10354.jpg', '/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_25_9415.jpg', '/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_35_10450.jpg', '/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_46_10351.jpg', '/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_55_9429.jpg', '/home/pi/Desktop/images/14042025/08/32/image_14042025_08_33_05_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_15_10354.jpg
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_25_9415.jpg
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_35_10450.jpg
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_46_10351.jpg
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_32_55_9429.jpg
/home/pi/Desktop/images/14042025/08/32/image_14042025_08_33_05_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351542671","1351542713","1351542760","1351542795","1351542601","1351542825"],"photo_ids_order":["1351542601","1351542671","1351542713","1351542760","1351542795","1351542825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70009ed3a67beb3adc98a5b27a402f5e.jpg","text":"TemporaryFile(/tmp/multipartBody5402966058200208933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018133834,"filename":"image_14042025_08_32_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4be130347afd9184f80210d18b11d4f.jpg","text":"TemporaryFile(/tmp/multipartBody8727313223546967529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018133834,"filename":"image_14042025_08_32_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/19/1bec5428a4d460397badb641685d0ae6.jpg","text":"TemporaryFile(/tmp/multipartBody8281641610568555209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018133834,"filename":"image_14042025_08_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/19/9df406e929c5d14e057f9c919fd6ce91.jpg","text":"TemporaryFile(/tmp/multipartBody6901327008960497095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018133834,"filename":"image_14042025_08_32_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/19/a635022f4dcd0a47f49294c385ce6d06.jpg","text":"TemporaryFile(/tmp/multipartBody2643071624279249680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018133834,"filename":"image_14042025_08_32_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/19/235ecb627de7bbbb8e765ef3c1aebf0a.jpg","text":"TemporaryFile(/tmp/multipartBody3577829498327212497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018133834,"filename":"image_14042025_08_33_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351542713","file1":"1351542671","file0":"1351542601","file4":"1351542795","file5":"1351542825","file3":"1351542760"},"map_files_photo_id_array":[{"photo_id":"1351542825","filename":"file5"},{"photo_id":"1351542713","filename":"file2"},{"photo_id":"1351542795","filename":"file4"},{"photo_id":"1351542671","filename":"file1"},{"photo_id":"1351542601","filename":"file0"},{"photo_id":"1351542760","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351542671":["hashtag1","hashtag2"]},{"1351542713":["hashtag1","hashtag2"]},{"1351542760":["hashtag1","hashtag2"]},{"1351542795":["hashtag1","hashtag2"]},{"1351542601":["hashtag1","hashtag2"]},{"1351542825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351542671, 1351542713, 1351542760, 1351542795, 1351542601, 1351542825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.027565479278564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:15:32.350547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_15_9407.jpg', '/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_25_10360.jpg', '/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_36_10476.jpg', '/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_45_9406.jpg', '/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_55_10355.jpg', '/home/pi/Desktop/images/14042025/08/33/image_14042025_08_34_05_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_15_9407.jpg
/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_25_10360.jpg
/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_36_10476.jpg
/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_45_9406.jpg
/home/pi/Desktop/images/14042025/08/33/image_14042025_08_33_55_10355.jpg
/home/pi/Desktop/images/14042025/08/33/image_14042025_08_34_05_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351543415","1351543753","1351543675","1351543636","1351543521","1351543595"],"photo_ids_order":["1351543415","1351543521","1351543595","1351543636","1351543675","1351543753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9332e1d7f6f5afa3c039f31ebfb53002.jpg","text":"TemporaryFile(/tmp/multipartBody4007738614938155017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018194034,"filename":"image_14042025_08_33_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/19/e65d326aabd8977f3c1de8778b4cadf2.jpg","text":"TemporaryFile(/tmp/multipartBody898834193553274410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018194034,"filename":"image_14042025_08_34_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/19/8597fbbee593676a8b9168c5e7ccbaca.jpg","text":"TemporaryFile(/tmp/multipartBody5402327475574408977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018194034,"filename":"image_14042025_08_33_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c0e322d99276443557b31305ecf65bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8038813130657535437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018194034,"filename":"image_14042025_08_33_45_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24f843034c62eb0aa07453a4fac9d53d.jpg","text":"TemporaryFile(/tmp/multipartBody3719098518667608695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018194034,"filename":"image_14042025_08_33_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d40db1852300fb3dd65a827500c52d2.jpg","text":"TemporaryFile(/tmp/multipartBody4098766888095123752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018194034,"filename":"image_14042025_08_33_36_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351543595","file1":"1351543521","file0":"1351543415","file4":"1351543675","file5":"1351543753","file3":"1351543636"},"map_files_photo_id_array":[{"photo_id":"1351543753","filename":"file5"},{"photo_id":"1351543595","filename":"file2"},{"photo_id":"1351543675","filename":"file4"},{"photo_id":"1351543521","filename":"file1"},{"photo_id":"1351543415","filename":"file0"},{"photo_id":"1351543636","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351543415":["hashtag1","hashtag2"]},{"1351543753":["hashtag1","hashtag2"]},{"1351543675":["hashtag1","hashtag2"]},{"1351543636":["hashtag1","hashtag2"]},{"1351543521":["hashtag1","hashtag2"]},{"1351543595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351543415, 1351543753, 1351543675, 1351543636, 1351543521, 1351543595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19276666641235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:16:32.679575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_15_10351.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_25_10354.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_35_9460.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_45_10356.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_55_9433.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_35_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_15_10351.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_25_10354.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_35_9460.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_45_10356.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_55_9433.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_35_05_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.6052119731903076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 01:16:42.664681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_15_10351.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_25_10354.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_35_9460.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_45_10356.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_55_9433.jpg', '/home/pi/Desktop/images/14042025/08/34/image_14042025_08_35_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_15_10351.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_25_10354.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_35_9460.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_45_10356.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_34_55_9433.jpg
/home/pi/Desktop/images/14042025/08/34/image_14042025_08_35_05_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":["1351544395","1351544457","1351544391","1351544418","1351544459","1351544447"],"photo_ids_order":["1351544391","1351544395","1351544418","1351544447","1351544457","1351544459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a0d07fb0bbfc73225356230dcc604cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6256759574470686274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018263418,"filename":"image_14042025_08_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/19/fad8036db58667a7a0e9b80aec4f3adf.jpg","text":"TemporaryFile(/tmp/multipartBody5884844540355897286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018263418,"filename":"image_14042025_08_34_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/19/1160d11b05993ffec0af32db2f2cfa88.jpg","text":"TemporaryFile(/tmp/multipartBody7172235426473400757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018263418,"filename":"image_14042025_08_34_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/19/57e834ad9d0333a6fcceace229cfbd1a.jpg","text":"TemporaryFile(/tmp/multipartBody4807763395467199594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018263418,"filename":"image_14042025_08_34_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/19/7d604ff3edf2071262bd53645adfa991.jpg","text":"TemporaryFile(/tmp/multipartBody1783281768834559023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018263418,"filename":"image_14042025_08_35_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c67a6ba0ed93e4cffb1a82b370b3f4bd.jpg","text":"TemporaryFile(/tmp/multipartBody8381367417756870759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018263418,"filename":"image_14042025_08_34_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351544418","file1":"1351544395","file0":"1351544391","file4":"1351544457","file5":"1351544459","file3":"1351544447"},"map_files_photo_id_array":[{"photo_id":"1351544459","filename":"file5"},{"photo_id":"1351544418","filename":"file2"},{"photo_id":"1351544457","filename":"file4"},{"photo_id":"1351544395","filename":"file1"},{"photo_id":"1351544391","filename":"file0"},{"photo_id":"1351544447","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351544395":["hashtag1","hashtag2"]},{"1351544457":["hashtag1","hashtag2"]},{"1351544391":["hashtag1","hashtag2"]},{"1351544418":["hashtag1","hashtag2"]},{"1351544459":["hashtag1","hashtag2"]},{"1351544447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351544395, 1351544457, 1351544391, 1351544418, 1351544459, 1351544447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.41430354118347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:17:32.899585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_16_10411.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_25_9362.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_35_10347.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_45_9356.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_55_10361.jpg', '/home/pi/Desktop/images/14042025/08/35/image_14042025_08_36_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_16_10411.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_25_9362.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_35_10347.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_45_9356.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_35_55_10361.jpg
/home/pi/Desktop/images/14042025/08/35/image_14042025_08_36_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":["1351544812","1351544734","1351544775","1351544670","1351544634","1351544974"],"photo_ids_order":["1351544634","1351544670","1351544734","1351544775","1351544812","1351544974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4933b9f8eaacd4b54c53a1182b94d6d9.jpg","text":"TemporaryFile(/tmp/multipartBody8803844721356617716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018314580,"filename":"image_14042025_08_35_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/19/d7b20ea26a33d14ca56a90ff5fccd6f5.jpg","text":"TemporaryFile(/tmp/multipartBody2669476848011269558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018314580,"filename":"image_14042025_08_35_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/19/c1c99e285c1c168517cadb2ad1afc355.jpg","text":"TemporaryFile(/tmp/multipartBody6150044444628155653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018314580,"filename":"image_14042025_08_35_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/19/115ec05f5926d6c07cdfef9a173d8783.jpg","text":"TemporaryFile(/tmp/multipartBody9011275192227989160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018314580,"filename":"image_14042025_08_35_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/19/04973d4e881cf14fb17f9fb1434c4bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4070195275024843342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018314580,"filename":"image_14042025_08_35_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/19/975770bf815ee7e6a3720e71331cb2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7694657097753854391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018314580,"filename":"image_14042025_08_36_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351544734","file1":"1351544670","file0":"1351544634","file4":"1351544812","file5":"1351544974","file3":"1351544775"},"map_files_photo_id_array":[{"photo_id":"1351544974","filename":"file5"},{"photo_id":"1351544734","filename":"file2"},{"photo_id":"1351544812","filename":"file4"},{"photo_id":"1351544670","filename":"file1"},{"photo_id":"1351544634","filename":"file0"},{"photo_id":"1351544775","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351544812":["hashtag1","hashtag2"]},{"1351544734":["hashtag1","hashtag2"]},{"1351544775":["hashtag1","hashtag2"]},{"1351544670":["hashtag1","hashtag2"]},{"1351544634":["hashtag1","hashtag2"]},{"1351544974":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351544812, 1351544734, 1351544775, 1351544670, 1351544634, 1351544974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51560354232788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:18:33.169554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_25_10456.jpg', '/home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_36_10374.jpg', '/home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_45_9421.jpg', '/home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_55_10384.jpg', '/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_15_10333.jpg', '/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_26_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_25_10456.jpg
/home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_36_10374.jpg
/home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_45_9421.jpg
/home/pi/Desktop/images/14042025/08/36/image_14042025_08_36_55_10384.jpg
/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_15_10333.jpg
/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_26_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351545699","1351545773","1351545650","1351545799","1351545595","1351545748"],"photo_ids_order":["1351545595","1351545650","1351545699","1351545748","1351545773","1351545799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d8b3260a2d85214a4e184e69899d2a3.jpg","text":"TemporaryFile(/tmp/multipartBody946555788954134569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018374854,"filename":"image_14042025_08_36_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6bab5332d1464005cc4026c05fcd46ab.jpg","text":"TemporaryFile(/tmp/multipartBody5161977405806871065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018374854,"filename":"image_14042025_08_37_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/19/f26543701f382a8f6f6fd92256289f1e.jpg","text":"TemporaryFile(/tmp/multipartBody4850789126844294102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018374854,"filename":"image_14042025_08_36_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/19/cdc9828e47ef3377cce72713326912ef.jpg","text":"TemporaryFile(/tmp/multipartBody3455415831029568293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018374854,"filename":"image_14042025_08_37_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/19/f3221416f67bce73745d8958750844d5.jpg","text":"TemporaryFile(/tmp/multipartBody2646076614852442101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018374854,"filename":"image_14042025_08_36_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/19/b761672f93fce6e941bfb6884f08e793.jpg","text":"TemporaryFile(/tmp/multipartBody4280989420054107596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018374854,"filename":"image_14042025_08_36_55_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351545699","file1":"1351545650","file0":"1351545595","file4":"1351545773","file5":"1351545799","file3":"1351545748"},"map_files_photo_id_array":[{"photo_id":"1351545799","filename":"file5"},{"photo_id":"1351545699","filename":"file2"},{"photo_id":"1351545773","filename":"file4"},{"photo_id":"1351545650","filename":"file1"},{"photo_id":"1351545595","filename":"file0"},{"photo_id":"1351545748","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351545699":["hashtag1","hashtag2"]},{"1351545773":["hashtag1","hashtag2"]},{"1351545650":["hashtag1","hashtag2"]},{"1351545799":["hashtag1","hashtag2"]},{"1351545595":["hashtag1","hashtag2"]},{"1351545748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351545699, 1351545773, 1351545650, 1351545799, 1351545595, 1351545748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.690184116363525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:19:32.399336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_35_9355.jpg', '/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_45_10454.jpg', '/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_55_9496.jpg', '/home/pi/Desktop/images/14042025/08/37/image_14042025_08_38_05_10353.jpg', '/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_16_10344.jpg', '/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_25_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_35_9355.jpg
/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_45_10454.jpg
/home/pi/Desktop/images/14042025/08/37/image_14042025_08_37_55_9496.jpg
/home/pi/Desktop/images/14042025/08/37/image_14042025_08_38_05_10353.jpg
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_16_10344.jpg
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_25_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":["1351546158","1351546239","1351546256","1351546264","1351546228","1351546194"],"photo_ids_order":["1351546158","1351546194","1351546228","1351546239","1351546256","1351546264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6c8cd23545936818c36f84021e458388.jpg","text":"TemporaryFile(/tmp/multipartBody109593730737858792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018434095,"filename":"image_14042025_08_37_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/19/d466176f4fcab99de3e8fb3d9684bc9e.jpg","text":"TemporaryFile(/tmp/multipartBody3200273862933659998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018434095,"filename":"image_14042025_08_38_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/19/3b639adab9a3dccf43b95303787fcba9.jpg","text":"TemporaryFile(/tmp/multipartBody699610854407339262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018434095,"filename":"image_14042025_08_38_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/19/535d47535d72ee845affd5a038190fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1040276471741665194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018434095,"filename":"image_14042025_08_38_25_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ed2fd9d61b9d4f849230e53d4f29640.jpg","text":"TemporaryFile(/tmp/multipartBody3001968118463392540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018434095,"filename":"image_14042025_08_37_55_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/19/f62f44fec4cd125378ea99ce23407f38.jpg","text":"TemporaryFile(/tmp/multipartBody7042833841288683870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018434095,"filename":"image_14042025_08_37_45_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351546228","file1":"1351546194","file0":"1351546158","file4":"1351546256","file5":"1351546264","file3":"1351546239"},"map_files_photo_id_array":[{"photo_id":"1351546264","filename":"file5"},{"photo_id":"1351546228","filename":"file2"},{"photo_id":"1351546256","filename":"file4"},{"photo_id":"1351546194","filename":"file1"},{"photo_id":"1351546158","filename":"file0"},{"photo_id":"1351546239","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351546158":["hashtag1","hashtag2"]},{"1351546239":["hashtag1","hashtag2"]},{"1351546256":["hashtag1","hashtag2"]},{"1351546264":["hashtag1","hashtag2"]},{"1351546228":["hashtag1","hashtag2"]},{"1351546194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351546158, 1351546239, 1351546256, 1351546264, 1351546228, 1351546194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17536950111389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:20:32.565227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_35_10372.jpg', '/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_45_9466.jpg', '/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_55_10368.jpg', '/home/pi/Desktop/images/14042025/08/38/image_14042025_08_39_05_9357.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_15_10355.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_25_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_35_10372.jpg
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_45_9466.jpg
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_38_55_10368.jpg
/home/pi/Desktop/images/14042025/08/38/image_14042025_08_39_05_9357.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_15_10355.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_25_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351546620","1351546814","1351546670","1351546547","1351546765","1351546720"],"photo_ids_order":["1351546547","1351546620","1351546670","1351546720","1351546765","1351546814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5f6d55487ff2d78f5f4918c2be8340e.jpg","text":"TemporaryFile(/tmp/multipartBody6380418025073633509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018494243,"filename":"image_14042025_08_38_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/19/b34718d14abeceba687880ae061efd7d.jpg","text":"TemporaryFile(/tmp/multipartBody7026837089155439563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018494243,"filename":"image_14042025_08_39_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf13bfa5eb8c7205e5652c1003de3664.jpg","text":"TemporaryFile(/tmp/multipartBody7459820341505053184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018494243,"filename":"image_14042025_08_38_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/19/1cdcd363c10a48ec6d2bfc49183d7509.jpg","text":"TemporaryFile(/tmp/multipartBody416171200664479104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018494243,"filename":"image_14042025_08_38_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/19/baf532317bbeee3e4ecd1fef00fbc05b.jpg","text":"TemporaryFile(/tmp/multipartBody8643308006440415667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018494243,"filename":"image_14042025_08_39_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/19/3be423941e495c8a5ce5b226088d5746.jpg","text":"TemporaryFile(/tmp/multipartBody5746755081949968354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018494243,"filename":"image_14042025_08_39_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351546670","file1":"1351546620","file0":"1351546547","file4":"1351546765","file5":"1351546814","file3":"1351546720"},"map_files_photo_id_array":[{"photo_id":"1351546814","filename":"file5"},{"photo_id":"1351546670","filename":"file2"},{"photo_id":"1351546765","filename":"file4"},{"photo_id":"1351546620","filename":"file1"},{"photo_id":"1351546547","filename":"file0"},{"photo_id":"1351546720","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351546620":["hashtag1","hashtag2"]},{"1351546814":["hashtag1","hashtag2"]},{"1351546670":["hashtag1","hashtag2"]},{"1351546547":["hashtag1","hashtag2"]},{"1351546765":["hashtag1","hashtag2"]},{"1351546720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351546620, 1351546814, 1351546670, 1351546547, 1351546765, 1351546720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.986809730529785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:21:32.726020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_35_9514.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_45_10363.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_55_9483.jpg', '/home/pi/Desktop/images/14042025/08/39/image_14042025_08_40_05_10430.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_16_10470.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_25_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_35_9514.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_45_10363.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_39_55_9483.jpg
/home/pi/Desktop/images/14042025/08/39/image_14042025_08_40_05_10430.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_16_10470.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_25_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":["1351548263","1351548338","1351547942","1351548394","1351548118","1351548476"],"photo_ids_order":["1351547942","1351548118","1351548263","1351548338","1351548394","1351548476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a9e68859f05d4bdc24d2594c59c80b8.jpg","text":"TemporaryFile(/tmp/multipartBody8208124705041136771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018554406,"filename":"image_14042025_08_39_55_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf1854418416f5fa5068c46ebd0e2d72.jpg","text":"TemporaryFile(/tmp/multipartBody1616962655666547680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018554406,"filename":"image_14042025_08_40_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/19/c6acabb47c8ffe5f7989395a846a7caf.jpg","text":"TemporaryFile(/tmp/multipartBody2465289905038766619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018554406,"filename":"image_14042025_08_39_35_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3c75ac9c17f5845bb17571349232f668.jpg","text":"TemporaryFile(/tmp/multipartBody2213901488758893871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018554406,"filename":"image_14042025_08_40_16_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/19/e5c5282a1624b01d99fdc03fa456d928.jpg","text":"TemporaryFile(/tmp/multipartBody2784609789869974974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018554406,"filename":"image_14042025_08_39_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/19/3f925728fae60c4af45a3ad3be748034.jpg","text":"TemporaryFile(/tmp/multipartBody7447442825594892283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018554406,"filename":"image_14042025_08_40_25_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351548263","file1":"1351548118","file0":"1351547942","file4":"1351548394","file5":"1351548476","file3":"1351548338"},"map_files_photo_id_array":[{"photo_id":"1351548476","filename":"file5"},{"photo_id":"1351548263","filename":"file2"},{"photo_id":"1351548394","filename":"file4"},{"photo_id":"1351548118","filename":"file1"},{"photo_id":"1351547942","filename":"file0"},{"photo_id":"1351548338","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351548263":["hashtag1","hashtag2"]},{"1351548338":["hashtag1","hashtag2"]},{"1351547942":["hashtag1","hashtag2"]},{"1351548394":["hashtag1","hashtag2"]},{"1351548118":["hashtag1","hashtag2"]},{"1351548476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351548263, 1351548338, 1351547942, 1351548394, 1351548118, 1351548476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.490078926086426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:22:33.039170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_35_10375.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_45_9505.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_55_10393.jpg', '/home/pi/Desktop/images/14042025/08/40/image_14042025_08_41_06_10374.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_15_9370.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_25_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_35_10375.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_45_9505.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_40_55_10393.jpg
/home/pi/Desktop/images/14042025/08/40/image_14042025_08_41_06_10374.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_15_9370.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_25_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351549357","1351549222","1351549414","1351549287","1351549152","1351549463"],"photo_ids_order":["1351549152","1351549222","1351549287","1351549357","1351549414","1351549463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a3a5d1794986c2d5325d4b47186c48f6.jpg","text":"TemporaryFile(/tmp/multipartBody8348223481370304774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018614744,"filename":"image_14042025_08_41_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/19/6b07d42938bf63fb59e1bf4d32c3ae96.jpg","text":"TemporaryFile(/tmp/multipartBody7258554433610518052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018614744,"filename":"image_14042025_08_40_45_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/19/31f23ab3a88a32e4e62dfe8ca58d7b85.jpg","text":"TemporaryFile(/tmp/multipartBody8951879430725506608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018614744,"filename":"image_14042025_08_41_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/19/4d56dfa5588c5ffc345ceab2f425a65c.jpg","text":"TemporaryFile(/tmp/multipartBody5576769570001965075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018614744,"filename":"image_14042025_08_40_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/19/23d7d8fad24cc050c0991489b13996cb.jpg","text":"TemporaryFile(/tmp/multipartBody2878488660833593840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018614744,"filename":"image_14042025_08_40_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dcb292b2dcfd0f684cce09446d9ef059.jpg","text":"TemporaryFile(/tmp/multipartBody4347584223380238638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018614744,"filename":"image_14042025_08_41_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351549287","file1":"1351549222","file0":"1351549152","file4":"1351549414","file5":"1351549463","file3":"1351549357"},"map_files_photo_id_array":[{"photo_id":"1351549463","filename":"file5"},{"photo_id":"1351549287","filename":"file2"},{"photo_id":"1351549414","filename":"file4"},{"photo_id":"1351549222","filename":"file1"},{"photo_id":"1351549152","filename":"file0"},{"photo_id":"1351549357","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351549357":["hashtag1","hashtag2"]},{"1351549222":["hashtag1","hashtag2"]},{"1351549414":["hashtag1","hashtag2"]},{"1351549287":["hashtag1","hashtag2"]},{"1351549152":["hashtag1","hashtag2"]},{"1351549463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351549357, 1351549222, 1351549414, 1351549287, 1351549152, 1351549463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.920417547225952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:23:32.261418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_35_9479.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_45_10362.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_55_10361.jpg', '/home/pi/Desktop/images/14042025/08/41/image_14042025_08_42_05_9344.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_15_10343.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_26_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_35_9479.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_45_10362.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_41_55_10361.jpg
/home/pi/Desktop/images/14042025/08/41/image_14042025_08_42_05_9344.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_15_10343.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_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":["1351550336","1351550225","1351550207","1351550204","1351550250","1351550288"],"photo_ids_order":["1351550204","1351550207","1351550225","1351550250","1351550288","1351550336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2e8a0f7486215ca378579e105e5af5db.jpg","text":"TemporaryFile(/tmp/multipartBody9102532534795278999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018673950,"filename":"image_14042025_08_42_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/19/2a1527c34bbf0686001be412d6d88c14.jpg","text":"TemporaryFile(/tmp/multipartBody7013831581473495465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018673950,"filename":"image_14042025_08_41_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/19/8cb2f1e32a430e4fe3800ad000ee9dfc.jpg","text":"TemporaryFile(/tmp/multipartBody6925338707955892428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018673950,"filename":"image_14042025_08_41_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/19/e4e4b821604774c9c4663833cbb0b972.jpg","text":"TemporaryFile(/tmp/multipartBody6760532802783592935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018673950,"filename":"image_14042025_08_41_35_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b25bc107fb02ad2c08e2fd9877a9212.jpg","text":"TemporaryFile(/tmp/multipartBody5979709431064221304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018673950,"filename":"image_14042025_08_42_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/19/f9e77ba8c6cc5bd5281153f62202f982.jpg","text":"TemporaryFile(/tmp/multipartBody417028547624264456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018673950,"filename":"image_14042025_08_42_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351550225","file1":"1351550207","file0":"1351550204","file4":"1351550288","file5":"1351550336","file3":"1351550250"},"map_files_photo_id_array":[{"photo_id":"1351550336","filename":"file5"},{"photo_id":"1351550225","filename":"file2"},{"photo_id":"1351550288","filename":"file4"},{"photo_id":"1351550207","filename":"file1"},{"photo_id":"1351550204","filename":"file0"},{"photo_id":"1351550250","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351550336":["hashtag1","hashtag2"]},{"1351550225":["hashtag1","hashtag2"]},{"1351550207":["hashtag1","hashtag2"]},{"1351550204":["hashtag1","hashtag2"]},{"1351550250":["hashtag1","hashtag2"]},{"1351550288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351550336, 1351550225, 1351550207, 1351550204, 1351550250, 1351550288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.856252193450928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:24:32.429685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_35_9357.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_45_10353.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_55_9352.jpg', '/home/pi/Desktop/images/14042025/08/42/image_14042025_08_43_05_10415.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_15_10359.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_25_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_35_9357.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_45_10353.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_42_55_9352.jpg
/home/pi/Desktop/images/14042025/08/42/image_14042025_08_43_05_10415.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_15_10359.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_25_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":["1351551265","1351551400","1351551330","1351551197","1351551059","1351551131"],"photo_ids_order":["1351551059","1351551131","1351551197","1351551265","1351551330","1351551400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cad0ebaa3c87a7d545594b0d4b56525e.jpg","text":"TemporaryFile(/tmp/multipartBody7316631616853093098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018734118,"filename":"image_14042025_08_43_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/81f5ed92e9ba868ff2a0a9c6c0718d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3631691068516031622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018734118,"filename":"image_14042025_08_43_25_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ccfeed6718507dbd021dc0e0e00bcb8e.jpg","text":"TemporaryFile(/tmp/multipartBody6004421550534616204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018734118,"filename":"image_14042025_08_43_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/19/6bb33a6d322779de8dbbec0f58356a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4388812726675200524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018734118,"filename":"image_14042025_08_42_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/19/12210057b52210e80e51f9cd02932e48.jpg","text":"TemporaryFile(/tmp/multipartBody4747792450098843685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018734118,"filename":"image_14042025_08_42_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12352282d0a7d1b61c6446433416d562.jpg","text":"TemporaryFile(/tmp/multipartBody4892955358809305822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018734118,"filename":"image_14042025_08_42_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351551197","file1":"1351551131","file0":"1351551059","file4":"1351551330","file5":"1351551400","file3":"1351551265"},"map_files_photo_id_array":[{"photo_id":"1351551400","filename":"file5"},{"photo_id":"1351551197","filename":"file2"},{"photo_id":"1351551330","filename":"file4"},{"photo_id":"1351551131","filename":"file1"},{"photo_id":"1351551059","filename":"file0"},{"photo_id":"1351551265","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351551265":["hashtag1","hashtag2"]},{"1351551400":["hashtag1","hashtag2"]},{"1351551330":["hashtag1","hashtag2"]},{"1351551197":["hashtag1","hashtag2"]},{"1351551059":["hashtag1","hashtag2"]},{"1351551131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351551265, 1351551400, 1351551330, 1351551197, 1351551059, 1351551131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.94249677658081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:25:32.592769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_35_10353.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_45_10350.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_55_9448.jpg', '/home/pi/Desktop/images/14042025/08/43/image_14042025_08_44_05_10343.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_15_9345.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_25_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_35_10353.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_45_10350.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_43_55_9448.jpg
/home/pi/Desktop/images/14042025/08/43/image_14042025_08_44_05_10343.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_15_9345.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_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":["1351552753","1351552887","1351552821","1351552644","1351552706","1351552579"],"photo_ids_order":["1351552579","1351552644","1351552706","1351552753","1351552821","1351552887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d6a8b8965bf7fe535d26ccb5a72c914.jpg","text":"TemporaryFile(/tmp/multipartBody6213654150637309338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018794286,"filename":"image_14042025_08_44_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7895aa5f2955f49805e47d126c3f3e9e.jpg","text":"TemporaryFile(/tmp/multipartBody432223820554379283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018794286,"filename":"image_14042025_08_44_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/19/8a4cce8096e74f10ddb1e699de8e2009.jpg","text":"TemporaryFile(/tmp/multipartBody5629703014875070046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018794286,"filename":"image_14042025_08_44_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/19/7932fb9cfcdb5b2cb6db92b98689d332.jpg","text":"TemporaryFile(/tmp/multipartBody2615895912975885613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018794286,"filename":"image_14042025_08_43_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/19/64bd12c49418b6bd5e1b794ff90d8832.jpg","text":"TemporaryFile(/tmp/multipartBody1846143281283062596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018794286,"filename":"image_14042025_08_43_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/19/169d796aa1b21b9a58e92aa8ff73fab8.jpg","text":"TemporaryFile(/tmp/multipartBody6357799773275957515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018794286,"filename":"image_14042025_08_43_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351552706","file1":"1351552644","file0":"1351552579","file4":"1351552821","file5":"1351552887","file3":"1351552753"},"map_files_photo_id_array":[{"photo_id":"1351552887","filename":"file5"},{"photo_id":"1351552706","filename":"file2"},{"photo_id":"1351552821","filename":"file4"},{"photo_id":"1351552644","filename":"file1"},{"photo_id":"1351552579","filename":"file0"},{"photo_id":"1351552753","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351552753":["hashtag1","hashtag2"]},{"1351552887":["hashtag1","hashtag2"]},{"1351552821":["hashtag1","hashtag2"]},{"1351552644":["hashtag1","hashtag2"]},{"1351552706":["hashtag1","hashtag2"]},{"1351552579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351552753, 1351552887, 1351552821, 1351552644, 1351552706, 1351552579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.436744213104248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:26:32.792263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_35_10357.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_45_9463.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_55_10402.jpg', '/home/pi/Desktop/images/14042025/08/44/image_14042025_08_45_06_10365.jpg', '/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_15_9461.jpg', '/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_35_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_35_10357.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_45_9463.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_44_55_10402.jpg
/home/pi/Desktop/images/14042025/08/44/image_14042025_08_45_06_10365.jpg
/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_15_9461.jpg
/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_35_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":["1351554327","1351554036","1351554365","1351554368","1351554209","1351553836"],"photo_ids_order":["1351553836","1351554036","1351554209","1351554327","1351554365","1351554368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e0962fcae93ee3ff2151cee4903250d.jpg","text":"TemporaryFile(/tmp/multipartBody7804597418038995117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018854482,"filename":"image_14042025_08_45_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/19/5c6aac94fbf4490bf012610592b1819e.jpg","text":"TemporaryFile(/tmp/multipartBody5125399478701771036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018854482,"filename":"image_14042025_08_44_45_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6b5fb55f1d0e8cade04f08a6ee94e6a.jpg","text":"TemporaryFile(/tmp/multipartBody6994011600769343426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018854482,"filename":"image_14042025_08_45_15_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/68f6aa896783d27ff08504ff4b65e874.jpg","text":"TemporaryFile(/tmp/multipartBody6361647478695147935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018854482,"filename":"image_14042025_08_45_35_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b483b5ea8a34bd51e717cc4149ed236.jpg","text":"TemporaryFile(/tmp/multipartBody7274154968031524784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018854482,"filename":"image_14042025_08_44_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/228d2541fca472c102a37e21ed6408d7.jpg","text":"TemporaryFile(/tmp/multipartBody1700222425382382701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018854482,"filename":"image_14042025_08_44_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351554209","file1":"1351554036","file0":"1351553836","file4":"1351554365","file5":"1351554368","file3":"1351554327"},"map_files_photo_id_array":[{"photo_id":"1351554368","filename":"file5"},{"photo_id":"1351554209","filename":"file2"},{"photo_id":"1351554365","filename":"file4"},{"photo_id":"1351554036","filename":"file1"},{"photo_id":"1351553836","filename":"file0"},{"photo_id":"1351554327","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351554327":["hashtag1","hashtag2"]},{"1351554036":["hashtag1","hashtag2"]},{"1351554365":["hashtag1","hashtag2"]},{"1351554368":["hashtag1","hashtag2"]},{"1351554209":["hashtag1","hashtag2"]},{"1351553836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351554327, 1351554036, 1351554365, 1351554368, 1351554209, 1351553836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.153566360473633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:27:33.163032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_45_10351.jpg', '/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_56_10426.jpg', '/home/pi/Desktop/images/14042025/08/45/image_14042025_08_46_05_9339.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_15_10443.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_25_9542.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_35_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_45_10351.jpg
/home/pi/Desktop/images/14042025/08/45/image_14042025_08_45_56_10426.jpg
/home/pi/Desktop/images/14042025/08/45/image_14042025_08_46_05_9339.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_15_10443.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_25_9542.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_35_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":["1351554420","1351554609","1351554647","1351554481","1351554547","1351554684"],"photo_ids_order":["1351554420","1351554481","1351554547","1351554609","1351554647","1351554684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af76be27206482821497d089de0dd665.jpg","text":"TemporaryFile(/tmp/multipartBody8778899638704855590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018914853,"filename":"image_14042025_08_45_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/19/377cdab7b5b69c89ee20aac8d48acfee.jpg","text":"TemporaryFile(/tmp/multipartBody7305955826013486340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018914853,"filename":"image_14042025_08_46_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/782cfd68140a4b9959052142347034e0.jpg","text":"TemporaryFile(/tmp/multipartBody4854558594899024705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018914853,"filename":"image_14042025_08_46_25_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5725da4d0e4516697748a436db810be5.jpg","text":"TemporaryFile(/tmp/multipartBody3644894108144840912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018914853,"filename":"image_14042025_08_45_56_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/220a34e917272911ab1f1c9aeeaab811.jpg","text":"TemporaryFile(/tmp/multipartBody983861476672552710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018914853,"filename":"image_14042025_08_46_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/19/e83f5a69d590745d5f3021212b29db03.jpg","text":"TemporaryFile(/tmp/multipartBody9144868944318630210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018914853,"filename":"image_14042025_08_46_35_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351554547","file1":"1351554481","file0":"1351554420","file4":"1351554647","file5":"1351554684","file3":"1351554609"},"map_files_photo_id_array":[{"photo_id":"1351554684","filename":"file5"},{"photo_id":"1351554547","filename":"file2"},{"photo_id":"1351554647","filename":"file4"},{"photo_id":"1351554481","filename":"file1"},{"photo_id":"1351554420","filename":"file0"},{"photo_id":"1351554609","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351554420":["hashtag1","hashtag2"]},{"1351554609":["hashtag1","hashtag2"]},{"1351554647":["hashtag1","hashtag2"]},{"1351554481":["hashtag1","hashtag2"]},{"1351554547":["hashtag1","hashtag2"]},{"1351554684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351554420, 1351554609, 1351554647, 1351554481, 1351554547, 1351554684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3757688999176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:28:32.176425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_45_9459.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_55_10363.jpg', '/home/pi/Desktop/images/14042025/08/46/image_14042025_08_47_05_9428.jpg', '/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_15_10360.jpg', '/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_25_10353.jpg', '/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_35_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_45_9459.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_46_55_10363.jpg
/home/pi/Desktop/images/14042025/08/46/image_14042025_08_47_05_9428.jpg
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_15_10360.jpg
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_25_10353.jpg
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_35_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":["1351555262","1351555358","1351555220","1351555282","1351555290","1351555317"],"photo_ids_order":["1351555220","1351555262","1351555282","1351555290","1351555317","1351555358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b1d5145005cb12445b12c8254686964.jpg","text":"TemporaryFile(/tmp/multipartBody4999342160524447906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018973867,"filename":"image_14042025_08_46_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/19/4aaaf122c2d77e94e43b142b81f859bb.jpg","text":"TemporaryFile(/tmp/multipartBody3817920868497211752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018973867,"filename":"image_14042025_08_47_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e655dd5089a3a45c7d8a307f744f4f93.jpg","text":"TemporaryFile(/tmp/multipartBody2856372450386694817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018973867,"filename":"image_14042025_08_46_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/19/ccbd84306053a96c1bdd3e58bba3b428.jpg","text":"TemporaryFile(/tmp/multipartBody1353263122330350501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018973867,"filename":"image_14042025_08_47_05_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bbd51a74d1eb2f538017f6cf2cf7e23a.jpg","text":"TemporaryFile(/tmp/multipartBody3030850520020160207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018973867,"filename":"image_14042025_08_47_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/19/32761a0c7573beda2eabf4f15767a201.jpg","text":"TemporaryFile(/tmp/multipartBody487137921275671694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745018973867,"filename":"image_14042025_08_47_25_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351555282","file1":"1351555262","file0":"1351555220","file4":"1351555317","file5":"1351555358","file3":"1351555290"},"map_files_photo_id_array":[{"photo_id":"1351555358","filename":"file5"},{"photo_id":"1351555282","filename":"file2"},{"photo_id":"1351555317","filename":"file4"},{"photo_id":"1351555262","filename":"file1"},{"photo_id":"1351555220","filename":"file0"},{"photo_id":"1351555290","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351555262":["hashtag1","hashtag2"]},{"1351555358":["hashtag1","hashtag2"]},{"1351555220":["hashtag1","hashtag2"]},{"1351555282":["hashtag1","hashtag2"]},{"1351555290":["hashtag1","hashtag2"]},{"1351555317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351555262, 1351555358, 1351555220, 1351555282, 1351555290, 1351555317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.42795729637146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:29:32.343067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_55_10361.jpg', '/home/pi/Desktop/images/14042025/08/47/image_14042025_08_48_05_9438.jpg', '/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_15_10375.jpg', '/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_25_9964.jpg', '/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_35_10271.jpg', '/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_45_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_47_55_10361.jpg
/home/pi/Desktop/images/14042025/08/47/image_14042025_08_48_05_9438.jpg
/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_15_10375.jpg
/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_25_9964.jpg
/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_35_10271.jpg
/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_45_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":["1351556414","1351556395","1351556401","1351556317","1351556286","1351556369"],"photo_ids_order":["1351556286","1351556317","1351556369","1351556395","1351556401","1351556414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f7fbcd613f8e686a01ef8b23a0166f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7954527347780612530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019034046,"filename":"image_14042025_08_48_45_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/19/ba71896b041dcf2f336ce2ea350427cf.jpg","text":"TemporaryFile(/tmp/multipartBody7405315754244475116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019034046,"filename":"image_14042025_08_48_25_9964.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0abb50d9e8cba609105a2624f50caa97.jpg","text":"TemporaryFile(/tmp/multipartBody7233847764016380741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019034046,"filename":"image_14042025_08_48_35_10271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/72e7c5fbe411cb7705591aaa52d0c8df.jpg","text":"TemporaryFile(/tmp/multipartBody4250926009313926322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019034046,"filename":"image_14042025_08_48_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/19/def66d034037b7e46ae405c55afc89cd.jpg","text":"TemporaryFile(/tmp/multipartBody3164401349128044267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019034046,"filename":"image_14042025_08_47_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/19/011a30010dd0d763dca4371591f2ddb2.jpg","text":"TemporaryFile(/tmp/multipartBody1181650314900796493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019034046,"filename":"image_14042025_08_48_15_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351556369","file1":"1351556317","file0":"1351556286","file4":"1351556401","file5":"1351556414","file3":"1351556395"},"map_files_photo_id_array":[{"photo_id":"1351556414","filename":"file5"},{"photo_id":"1351556369","filename":"file2"},{"photo_id":"1351556401","filename":"file4"},{"photo_id":"1351556317","filename":"file1"},{"photo_id":"1351556286","filename":"file0"},{"photo_id":"1351556395","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351556414":["hashtag1","hashtag2"]},{"1351556395":["hashtag1","hashtag2"]},{"1351556401":["hashtag1","hashtag2"]},{"1351556317":["hashtag1","hashtag2"]},{"1351556286":["hashtag1","hashtag2"]},{"1351556369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351556414, 1351556395, 1351556401, 1351556317, 1351556286, 1351556369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.861716508865356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:30:32.587822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_55_10353.jpg', '/home/pi/Desktop/images/14042025/08/48/image_14042025_08_49_05_10337.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_15_9456.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_25_10455.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_35_9356.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_45_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/48/image_14042025_08_48_55_10353.jpg
/home/pi/Desktop/images/14042025/08/48/image_14042025_08_49_05_10337.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_15_9456.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_25_10455.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_35_9356.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_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":["1351557107","1351557264","1351557365","1351557134","1351557077","1351557110"],"photo_ids_order":["1351557077","1351557107","1351557110","1351557134","1351557264","1351557365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/083f3d11add94575bebedb63c7a71216.jpg","text":"TemporaryFile(/tmp/multipartBody8079216131884507737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019094271,"filename":"image_14042025_08_49_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/19/14511786196e1090234f665cb38ec55a.jpg","text":"TemporaryFile(/tmp/multipartBody4932078982682669155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019094271,"filename":"image_14042025_08_49_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/19/e95be00fa792aa4d785de4f607e8b102.jpg","text":"TemporaryFile(/tmp/multipartBody5296680958725950677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019094271,"filename":"image_14042025_08_49_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/19/422b19342de5efebfaa3b07f393586c2.jpg","text":"TemporaryFile(/tmp/multipartBody5903161542510319236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019094271,"filename":"image_14042025_08_49_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/88e41c0af297e3596549804c06d9e98c.jpg","text":"TemporaryFile(/tmp/multipartBody3269071382071207331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019094271,"filename":"image_14042025_08_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/19/ea90cc5cd2ecde8f99ee87a73360a852.jpg","text":"TemporaryFile(/tmp/multipartBody4656937225648543519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019094271,"filename":"image_14042025_08_49_15_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351557110","file1":"1351557107","file0":"1351557077","file4":"1351557264","file5":"1351557365","file3":"1351557134"},"map_files_photo_id_array":[{"photo_id":"1351557365","filename":"file5"},{"photo_id":"1351557110","filename":"file2"},{"photo_id":"1351557264","filename":"file4"},{"photo_id":"1351557107","filename":"file1"},{"photo_id":"1351557077","filename":"file0"},{"photo_id":"1351557134","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351557107":["hashtag1","hashtag2"]},{"1351557264":["hashtag1","hashtag2"]},{"1351557365":["hashtag1","hashtag2"]},{"1351557134":["hashtag1","hashtag2"]},{"1351557077":["hashtag1","hashtag2"]},{"1351557110":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351557107, 1351557264, 1351557365, 1351557134, 1351557077, 1351557110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66827964782715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:31:32.855770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_56_10366.jpg', '/home/pi/Desktop/images/14042025/08/49/image_14042025_08_50_05_9460.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_15_10381.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_25_9410.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_35_10461.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_45_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_49_56_10366.jpg
/home/pi/Desktop/images/14042025/08/49/image_14042025_08_50_05_9460.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_15_10381.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_25_9410.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_35_10461.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_45_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351558417","1351558275","1351558536","1351558103","1351557991","1351558672"],"photo_ids_order":["1351557991","1351558103","1351558275","1351558417","1351558536","1351558672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2da6aed08d7ce2238db23d9ac44cbd7b.jpg","text":"TemporaryFile(/tmp/multipartBody8346099867498299323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019154555,"filename":"image_14042025_08_50_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/19/ad57f2bbef736374468c5c654e46af0b.jpg","text":"TemporaryFile(/tmp/multipartBody5523557558648390546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019154555,"filename":"image_14042025_08_50_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/19/c50eb212321300dc9f005b7da041feb3.jpg","text":"TemporaryFile(/tmp/multipartBody9071713668962409149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019154555,"filename":"image_14042025_08_50_35_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b12a357aca8d96727d8da0b8ddced188.jpg","text":"TemporaryFile(/tmp/multipartBody3974267597057534025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019154555,"filename":"image_14042025_08_50_05_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34789f16144a1f789bbfb60ca35cf7d8.jpg","text":"TemporaryFile(/tmp/multipartBody3751884169175934934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019154555,"filename":"image_14042025_08_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/19/58ff4ed0e2e495d93ee48d13125bab9c.jpg","text":"TemporaryFile(/tmp/multipartBody349200923602382946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019154555,"filename":"image_14042025_08_50_45_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351558275","file1":"1351558103","file0":"1351557991","file4":"1351558536","file5":"1351558672","file3":"1351558417"},"map_files_photo_id_array":[{"photo_id":"1351558672","filename":"file5"},{"photo_id":"1351558275","filename":"file2"},{"photo_id":"1351558536","filename":"file4"},{"photo_id":"1351558103","filename":"file1"},{"photo_id":"1351557991","filename":"file0"},{"photo_id":"1351558417","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351558417":["hashtag1","hashtag2"]},{"1351558275":["hashtag1","hashtag2"]},{"1351558536":["hashtag1","hashtag2"]},{"1351558103":["hashtag1","hashtag2"]},{"1351557991":["hashtag1","hashtag2"]},{"1351558672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351558417, 1351558275, 1351558536, 1351558103, 1351557991, 1351558672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.117223262786865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:32:33.048424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_55_10360.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_51_05_10479.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_15_9364.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_36_10360.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_55_10350.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_52_05_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_55_10360.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_51_05_10479.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_15_9364.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_36_10360.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_55_10350.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_52_05_9402.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6098787784576416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 01:32:43.121445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_55_10360.jpg', '/home/pi/Desktop/images/14042025/08/50/image_14042025_08_51_05_10479.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_15_9364.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_36_10360.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_55_10350.jpg', '/home/pi/Desktop/images/14042025/08/51/image_14042025_08_52_05_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_50_55_10360.jpg
/home/pi/Desktop/images/14042025/08/50/image_14042025_08_51_05_10479.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_15_9364.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_36_10360.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_51_55_10350.jpg
/home/pi/Desktop/images/14042025/08/51/image_14042025_08_52_05_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351560112","1351560328","1351560159","1351560201","1351560233","1351560268"],"photo_ids_order":["1351560112","1351560159","1351560201","1351560233","1351560268","1351560328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/47d879959d5fb871631a387c661e4000.jpg","text":"TemporaryFile(/tmp/multipartBody6549859637305926772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019223888,"filename":"image_14042025_08_50_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/19/32e5a8c433a2f2e7a37004c12adaabeb.jpg","text":"TemporaryFile(/tmp/multipartBody1039762559974051219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019223888,"filename":"image_14042025_08_52_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cfe99733f17df72c0f297865c3dcaa6e.jpg","text":"TemporaryFile(/tmp/multipartBody855661983366960541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019223888,"filename":"image_14042025_08_51_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/19/fafe81a880f5ac96e98fdf647b8c3966.jpg","text":"TemporaryFile(/tmp/multipartBody2109351231195232270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019223888,"filename":"image_14042025_08_51_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/19/cdca6273db19f407b3124231f7fe5062.jpg","text":"TemporaryFile(/tmp/multipartBody260316994309205445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019223888,"filename":"image_14042025_08_51_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/19/5662983a709f5a1172db179e0cd25b85.jpg","text":"TemporaryFile(/tmp/multipartBody6878409679232826489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019223888,"filename":"image_14042025_08_51_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351560201","file1":"1351560159","file0":"1351560112","file4":"1351560268","file5":"1351560328","file3":"1351560233"},"map_files_photo_id_array":[{"photo_id":"1351560328","filename":"file5"},{"photo_id":"1351560201","filename":"file2"},{"photo_id":"1351560268","filename":"file4"},{"photo_id":"1351560159","filename":"file1"},{"photo_id":"1351560112","filename":"file0"},{"photo_id":"1351560233","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351560112":["hashtag1","hashtag2"]},{"1351560328":["hashtag1","hashtag2"]},{"1351560159":["hashtag1","hashtag2"]},{"1351560201":["hashtag1","hashtag2"]},{"1351560233":["hashtag1","hashtag2"]},{"1351560268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351560112, 1351560328, 1351560159, 1351560201, 1351560233, 1351560268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79211139678955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:33:32.229504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_15_10345.jpg', '/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_25_10358.jpg', '/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_35_9459.jpg', '/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_45_10455.jpg', '/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_55_9498.jpg', '/home/pi/Desktop/images/14042025/08/52/image_14042025_08_53_05_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_15_10345.jpg
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_25_10358.jpg
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_35_9459.jpg
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_45_10455.jpg
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_52_55_9498.jpg
/home/pi/Desktop/images/14042025/08/52/image_14042025_08_53_05_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":["1351560913","1351560960","1351560816","1351560851","1351560961","1351560787"],"photo_ids_order":["1351560787","1351560816","1351560851","1351560913","1351560960","1351560961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da513155f8dcde12cb50c5f559d2c7cd.jpg","text":"TemporaryFile(/tmp/multipartBody4481881710570449604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019273949,"filename":"image_14042025_08_52_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/19/a3cbe019dad4dc03e3cb3df31eca31c8.jpg","text":"TemporaryFile(/tmp/multipartBody7920760085144365490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019273949,"filename":"image_14042025_08_52_55_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/19/4f57210d31ed00d47ffef3ea710bd01f.jpg","text":"TemporaryFile(/tmp/multipartBody612403257225720082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019273949,"filename":"image_14042025_08_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/19/7b9e5f76b12ad73691490d5a74276849.jpg","text":"TemporaryFile(/tmp/multipartBody7055101182572471367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019273949,"filename":"image_14042025_08_52_35_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f47dbd1a45a03c2071ee430ac519fd8c.jpg","text":"TemporaryFile(/tmp/multipartBody5941730838096989907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019273949,"filename":"image_14042025_08_53_05_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3bcc5785b85ec274226f1723adf6179e.jpg","text":"TemporaryFile(/tmp/multipartBody3467398092324717663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019273949,"filename":"image_14042025_08_52_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351560851","file1":"1351560816","file0":"1351560787","file4":"1351560960","file5":"1351560961","file3":"1351560913"},"map_files_photo_id_array":[{"photo_id":"1351560961","filename":"file5"},{"photo_id":"1351560851","filename":"file2"},{"photo_id":"1351560960","filename":"file4"},{"photo_id":"1351560816","filename":"file1"},{"photo_id":"1351560787","filename":"file0"},{"photo_id":"1351560913","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351560913":["hashtag1","hashtag2"]},{"1351560960":["hashtag1","hashtag2"]},{"1351560816":["hashtag1","hashtag2"]},{"1351560851":["hashtag1","hashtag2"]},{"1351560961":["hashtag1","hashtag2"]},{"1351560787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351560913, 1351560960, 1351560816, 1351560851, 1351560961, 1351560787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.429534435272217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:34:32.488208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_15_9334.jpg', '/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_35_10410.jpg', '/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_45_9370.jpg', '/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_55_10375.jpg', '/home/pi/Desktop/images/14042025/08/53/image_14042025_08_54_05_9340.jpg', '/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_25_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_15_9334.jpg
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_35_10410.jpg
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_45_9370.jpg
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_53_55_10375.jpg
/home/pi/Desktop/images/14042025/08/53/image_14042025_08_54_05_9340.jpg
/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_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":["1351561266","1351561341","1351561196","1351561297","1351561198","1351561296"],"photo_ids_order":["1351561196","1351561198","1351561266","1351561296","1351561297","1351561341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5cbdba893f63efa1267553e3c4ac4ea.jpg","text":"TemporaryFile(/tmp/multipartBody5035269746173251393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019334173,"filename":"image_14042025_08_53_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/19/63bc4d8c5129454af0f4e3ad06d11dd4.jpg","text":"TemporaryFile(/tmp/multipartBody5550256624979548808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019334173,"filename":"image_14042025_08_54_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/19/69103ed144692cb1daaee5206b3e711c.jpg","text":"TemporaryFile(/tmp/multipartBody7729333680522495855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019334173,"filename":"image_14042025_08_53_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b9e1cab03f6ed17d07b3c0d47ccd7f2b.jpg","text":"TemporaryFile(/tmp/multipartBody8628029561055265922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019334173,"filename":"image_14042025_08_54_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/19/1e62410721ee5a096005e39b9ee9a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody2823062562124046677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019334173,"filename":"image_14042025_08_53_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29eeeff75644f6673a7db361c1f75568.jpg","text":"TemporaryFile(/tmp/multipartBody8015662238440895694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019334173,"filename":"image_14042025_08_53_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351561266","file1":"1351561198","file0":"1351561196","file4":"1351561297","file5":"1351561341","file3":"1351561296"},"map_files_photo_id_array":[{"photo_id":"1351561341","filename":"file5"},{"photo_id":"1351561266","filename":"file2"},{"photo_id":"1351561297","filename":"file4"},{"photo_id":"1351561198","filename":"file1"},{"photo_id":"1351561196","filename":"file0"},{"photo_id":"1351561296","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351561266":["hashtag1","hashtag2"]},{"1351561341":["hashtag1","hashtag2"]},{"1351561196":["hashtag1","hashtag2"]},{"1351561297":["hashtag1","hashtag2"]},{"1351561198":["hashtag1","hashtag2"]},{"1351561296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351561266, 1351561341, 1351561196, 1351561297, 1351561198, 1351561296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2213032245636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:35:32.692400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_35_9438.jpg', '/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_45_10366.jpg', '/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_55_9461.jpg', '/home/pi/Desktop/images/14042025/08/54/image_14042025_08_55_05_10446.jpg', '/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_15_10347.jpg', '/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_25_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_35_9438.jpg
/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_45_10366.jpg
/home/pi/Desktop/images/14042025/08/54/image_14042025_08_54_55_9461.jpg
/home/pi/Desktop/images/14042025/08/54/image_14042025_08_55_05_10446.jpg
/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_15_10347.jpg
/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_25_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":["1351561827","1351561757","1351561850","1351561925","1351561802","1351561882"],"photo_ids_order":["1351561757","1351561802","1351561827","1351561850","1351561882","1351561925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d26666ac6ff39023f9a872d3c3507e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2823797675418395287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019394371,"filename":"image_14042025_08_54_55_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b33527fc86ac88398b255a631feaa839.jpg","text":"TemporaryFile(/tmp/multipartBody2484681792449741486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019394371,"filename":"image_14042025_08_54_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5de44252c06fc99ad1804051d8440cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6041716731517132851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019394371,"filename":"image_14042025_08_55_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/566467fa60ebb57c592b7f9bfe44b455.jpg","text":"TemporaryFile(/tmp/multipartBody5606367430102722754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019394371,"filename":"image_14042025_08_55_25_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a40f967de395272c359ba8534daba63c.jpg","text":"TemporaryFile(/tmp/multipartBody1930780118891609952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019394371,"filename":"image_14042025_08_54_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4243362e48389b64df744c00c3df9b75.jpg","text":"TemporaryFile(/tmp/multipartBody9205293946343494810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019394371,"filename":"image_14042025_08_55_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351561827","file1":"1351561802","file0":"1351561757","file4":"1351561882","file5":"1351561925","file3":"1351561850"},"map_files_photo_id_array":[{"photo_id":"1351561925","filename":"file5"},{"photo_id":"1351561827","filename":"file2"},{"photo_id":"1351561882","filename":"file4"},{"photo_id":"1351561802","filename":"file1"},{"photo_id":"1351561757","filename":"file0"},{"photo_id":"1351561850","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351561827":["hashtag1","hashtag2"]},{"1351561757":["hashtag1","hashtag2"]},{"1351561850":["hashtag1","hashtag2"]},{"1351561925":["hashtag1","hashtag2"]},{"1351561802":["hashtag1","hashtag2"]},{"1351561882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351561827, 1351561757, 1351561850, 1351561925, 1351561802, 1351561882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32694482803345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:36:33.002197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_46_10385.jpg', '/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_55_9355.jpg', '/home/pi/Desktop/images/14042025/08/55/image_14042025_08_56_05_10349.jpg', '/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_15_9342.jpg', '/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_25_10473.jpg', '/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_36_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_46_10385.jpg
/home/pi/Desktop/images/14042025/08/55/image_14042025_08_55_55_9355.jpg
/home/pi/Desktop/images/14042025/08/55/image_14042025_08_56_05_10349.jpg
/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_15_9342.jpg
/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_25_10473.jpg
/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_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":["1351562267","1351562078","1351562051","1351562402","1351562146","1351562044"],"photo_ids_order":["1351562044","1351562051","1351562078","1351562146","1351562267","1351562402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90fb6aa8730e0b0acc25dc372eb84c26.jpg","text":"TemporaryFile(/tmp/multipartBody4291029369966901470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019454685,"filename":"image_14042025_08_56_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/19/8a2bebb3dd797973119bdc7a4aae36b5.jpg","text":"TemporaryFile(/tmp/multipartBody4789639675495267322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019454685,"filename":"image_14042025_08_56_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e21cc9f7b872df2bfafc79c1b9b99b4.jpg","text":"TemporaryFile(/tmp/multipartBody2657980886868629067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019454685,"filename":"image_14042025_08_55_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64e2c25b3d0d5012ad9727eca861c4dd.jpg","text":"TemporaryFile(/tmp/multipartBody3345946148763874955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019454685,"filename":"image_14042025_08_56_36_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/19/b7c6d08d893eff02a605c11b4e0c030e.jpg","text":"TemporaryFile(/tmp/multipartBody1583617078474487338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019454685,"filename":"image_14042025_08_56_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/19/6cf535eb70dbabb1c14a34140e5ac36d.jpg","text":"TemporaryFile(/tmp/multipartBody2273810463255135240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019454685,"filename":"image_14042025_08_55_46_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351562078","file1":"1351562051","file0":"1351562044","file4":"1351562267","file5":"1351562402","file3":"1351562146"},"map_files_photo_id_array":[{"photo_id":"1351562402","filename":"file5"},{"photo_id":"1351562078","filename":"file2"},{"photo_id":"1351562267","filename":"file4"},{"photo_id":"1351562051","filename":"file1"},{"photo_id":"1351562044","filename":"file0"},{"photo_id":"1351562146","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351562267":["hashtag1","hashtag2"]},{"1351562078":["hashtag1","hashtag2"]},{"1351562051":["hashtag1","hashtag2"]},{"1351562402":["hashtag1","hashtag2"]},{"1351562146":["hashtag1","hashtag2"]},{"1351562044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351562267, 1351562078, 1351562051, 1351562402, 1351562146, 1351562044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87993144989014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:37:32.252058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_45_9515.jpg', '/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_56_10432.jpg', '/home/pi/Desktop/images/14042025/08/56/image_14042025_08_57_05_9427.jpg', '/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_15_10369.jpg', '/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_25_9447.jpg', '/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_35_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_45_9515.jpg
/home/pi/Desktop/images/14042025/08/56/image_14042025_08_56_56_10432.jpg
/home/pi/Desktop/images/14042025/08/56/image_14042025_08_57_05_9427.jpg
/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_15_10369.jpg
/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_25_9447.jpg
/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_35_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351562817","1351562762","1351562986","1351562929","1351562911","1351562946"],"photo_ids_order":["1351562762","1351562817","1351562911","1351562929","1351562946","1351562986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56c5275efb8036f54a038f795cf3ff48.jpg","text":"TemporaryFile(/tmp/multipartBody2547056952337439672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019513945,"filename":"image_14042025_08_56_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/19/96b3a7a84e212faeed9761feef19574a.jpg","text":"TemporaryFile(/tmp/multipartBody427734418175216192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019513945,"filename":"image_14042025_08_56_45_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/19/4ff3c599cc4be45f5a32512dcef5fe8f.jpg","text":"TemporaryFile(/tmp/multipartBody2591692605286071189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019513945,"filename":"image_14042025_08_57_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/19/200ca3082616388843ff72dc2966d418.jpg","text":"TemporaryFile(/tmp/multipartBody6117415833904982560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019513945,"filename":"image_14042025_08_57_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c0773f8605f1a38e5595dc98677b5c0.jpg","text":"TemporaryFile(/tmp/multipartBody1692637849539007504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019513945,"filename":"image_14042025_08_57_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/19/cc3b5a59adbb3f6d308a1b3bfd084b7c.jpg","text":"TemporaryFile(/tmp/multipartBody2395324029992725370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019513945,"filename":"image_14042025_08_57_25_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351562911","file1":"1351562817","file0":"1351562762","file4":"1351562946","file5":"1351562986","file3":"1351562929"},"map_files_photo_id_array":[{"photo_id":"1351562986","filename":"file5"},{"photo_id":"1351562911","filename":"file2"},{"photo_id":"1351562946","filename":"file4"},{"photo_id":"1351562817","filename":"file1"},{"photo_id":"1351562762","filename":"file0"},{"photo_id":"1351562929","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351562817":["hashtag1","hashtag2"]},{"1351562762":["hashtag1","hashtag2"]},{"1351562986":["hashtag1","hashtag2"]},{"1351562929":["hashtag1","hashtag2"]},{"1351562911":["hashtag1","hashtag2"]},{"1351562946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351562817, 1351562762, 1351562986, 1351562929, 1351562911, 1351562946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.675880432128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:38:32.486338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_45_10365.jpg', '/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_55_9367.jpg', '/home/pi/Desktop/images/14042025/08/57/image_14042025_08_58_05_10358.jpg', '/home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_35_10343.jpg', '/home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_45_9366.jpg', '/home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_55_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_45_10365.jpg
/home/pi/Desktop/images/14042025/08/57/image_14042025_08_57_55_9367.jpg
/home/pi/Desktop/images/14042025/08/57/image_14042025_08_58_05_10358.jpg
/home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_35_10343.jpg
/home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_45_9366.jpg
/home/pi/Desktop/images/14042025/08/58/image_14042025_08_58_55_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351564290","1351564188","1351564029","1351564533","1351564499","1351564394"],"photo_ids_order":["1351564029","1351564188","1351564290","1351564394","1351564499","1351564533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d7bf794e3b56356b04d532c98685549.jpg","text":"TemporaryFile(/tmp/multipartBody6729019071364781487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019574180,"filename":"image_14042025_08_58_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2c7b30745b40a9e691a3138c56676e20.jpg","text":"TemporaryFile(/tmp/multipartBody7092755182049064228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019574180,"filename":"image_14042025_08_57_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/19/fb57523b28f3455160cea176868706f9.jpg","text":"TemporaryFile(/tmp/multipartBody5817447008745751763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019574180,"filename":"image_14042025_08_57_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/65792153824f460781b0410bfd9e750f.jpg","text":"TemporaryFile(/tmp/multipartBody3832864854065195521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019574180,"filename":"image_14042025_08_58_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/19/6498e93a92311991d7c8c9caa36eba08.jpg","text":"TemporaryFile(/tmp/multipartBody580393511690551270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019574180,"filename":"image_14042025_08_58_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/19/03f315168cef27a90f86d4083c99085b.jpg","text":"TemporaryFile(/tmp/multipartBody2960859958732466840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019574180,"filename":"image_14042025_08_58_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351564290","file1":"1351564188","file0":"1351564029","file4":"1351564499","file5":"1351564533","file3":"1351564394"},"map_files_photo_id_array":[{"photo_id":"1351564533","filename":"file5"},{"photo_id":"1351564290","filename":"file2"},{"photo_id":"1351564499","filename":"file4"},{"photo_id":"1351564188","filename":"file1"},{"photo_id":"1351564029","filename":"file0"},{"photo_id":"1351564394","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351564290":["hashtag1","hashtag2"]},{"1351564188":["hashtag1","hashtag2"]},{"1351564029":["hashtag1","hashtag2"]},{"1351564533":["hashtag1","hashtag2"]},{"1351564499":["hashtag1","hashtag2"]},{"1351564394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351564290, 1351564188, 1351564029, 1351564533, 1351564499, 1351564394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15153384208679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:39:32.684386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/08/59/image_14042025_08_59_15_9448.jpg', '/home/pi/Desktop/images/14042025/08/59/image_14042025_08_59_25_10422.jpg', '/home/pi/Desktop/images/14042025/08/59/image_14042025_08_59_45_10363.jpg', '/home/pi/Desktop/images/14042025/09/00/image_14042025_09_00_26_10406.jpg', '/home/pi/Desktop/images/14042025/09/00/image_14042025_09_00_36_10350.jpg', '/home/pi/Desktop/images/14042025/09/00/image_14042025_09_00_56_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/08/59/image_14042025_08_59_15_9448.jpg
/home/pi/Desktop/images/14042025/08/59/image_14042025_08_59_25_10422.jpg
/home/pi/Desktop/images/14042025/08/59/image_14042025_08_59_45_10363.jpg
/home/pi/Desktop/images/14042025/09/00/image_14042025_09_00_26_10406.jpg
/home/pi/Desktop/images/14042025/09/00/image_14042025_09_00_36_10350.jpg
/home/pi/Desktop/images/14042025/09/00/image_14042025_09_00_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":["1351564585","1351564567","1351564734","1351564662","1351564781","1351564790"],"photo_ids_order":["1351564567","1351564585","1351564662","1351564734","1351564781","1351564790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6c2358bf1c7e7afe590ad15ce7d3a59b.jpg","text":"TemporaryFile(/tmp/multipartBody6435555603424358220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019634370,"filename":"image_14042025_08_59_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/33ee2cfaaec6dbb7c07567dccf2a0942.jpg","text":"TemporaryFile(/tmp/multipartBody6544671042299327724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019634370,"filename":"image_14042025_08_59_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc78e08b4f56f6ad164c41659af791cd.jpg","text":"TemporaryFile(/tmp/multipartBody877452088322037068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019634370,"filename":"image_14042025_09_00_26_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f685cded50bbfc5d7cccd18148160ab.jpg","text":"TemporaryFile(/tmp/multipartBody350769113825591680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019634370,"filename":"image_14042025_08_59_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/19/dc5342c72812ce8179b078386a4606b4.jpg","text":"TemporaryFile(/tmp/multipartBody5163756524242268871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019634370,"filename":"image_14042025_09_00_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/19/2aacb8aa6cadb76053a80e4aeab8de15.jpg","text":"TemporaryFile(/tmp/multipartBody4395642064984339449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019634370,"filename":"image_14042025_09_00_56_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351564662","file1":"1351564585","file0":"1351564567","file4":"1351564781","file5":"1351564790","file3":"1351564734"},"map_files_photo_id_array":[{"photo_id":"1351564790","filename":"file5"},{"photo_id":"1351564662","filename":"file2"},{"photo_id":"1351564781","filename":"file4"},{"photo_id":"1351564585","filename":"file1"},{"photo_id":"1351564567","filename":"file0"},{"photo_id":"1351564734","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351564585":["hashtag1","hashtag2"]},{"1351564567":["hashtag1","hashtag2"]},{"1351564734":["hashtag1","hashtag2"]},{"1351564662":["hashtag1","hashtag2"]},{"1351564781":["hashtag1","hashtag2"]},{"1351564790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351564585, 1351564567, 1351564734, 1351564662, 1351564781, 1351564790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16790747642517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:40:32.922647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_16_9399.jpg', '/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_26_10375.jpg', '/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_35_9333.jpg', '/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_56_10417.jpg', '/home/pi/Desktop/images/14042025/09/01/image_14042025_09_02_06_9414.jpg', '/home/pi/Desktop/images/14042025/09/02/image_14042025_09_02_16_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_16_9399.jpg
/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_26_10375.jpg
/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_35_9333.jpg
/home/pi/Desktop/images/14042025/09/01/image_14042025_09_01_56_10417.jpg
/home/pi/Desktop/images/14042025/09/01/image_14042025_09_02_06_9414.jpg
/home/pi/Desktop/images/14042025/09/02/image_14042025_09_02_16_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":["1351564849","1351564845","1351564842","1351564839","1351564856","1351564853"],"photo_ids_order":["1351564839","1351564842","1351564845","1351564849","1351564853","1351564856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/112fa7a9423dba3afa93aee0c87d9a43.jpg","text":"TemporaryFile(/tmp/multipartBody3734973967753846971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019694616,"filename":"image_14042025_09_01_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/26aed8e702f8732bbbd34919639f61c3.jpg","text":"TemporaryFile(/tmp/multipartBody7069439513250281501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019694616,"filename":"image_14042025_09_01_35_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/148cb15d797b03a47b2ff02fdb9e9a88.jpg","text":"TemporaryFile(/tmp/multipartBody6647016604694845185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019694616,"filename":"image_14042025_09_01_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/44891d26437c698fae79ea7ce3f0f4fc.jpg","text":"TemporaryFile(/tmp/multipartBody1943131195971783247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019694616,"filename":"image_14042025_09_01_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/19/8c575957b613a9afc8e2e8a0bc85674c.jpg","text":"TemporaryFile(/tmp/multipartBody2072879012151513321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019694616,"filename":"image_14042025_09_02_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/19/24d5864e5b9c75634841e600e1a03c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7522058702382734767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019694616,"filename":"image_14042025_09_02_06_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351564845","file1":"1351564842","file0":"1351564839","file4":"1351564853","file5":"1351564856","file3":"1351564849"},"map_files_photo_id_array":[{"photo_id":"1351564856","filename":"file5"},{"photo_id":"1351564845","filename":"file2"},{"photo_id":"1351564853","filename":"file4"},{"photo_id":"1351564842","filename":"file1"},{"photo_id":"1351564839","filename":"file0"},{"photo_id":"1351564849","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351564849":["hashtag1","hashtag2"]},{"1351564845":["hashtag1","hashtag2"]},{"1351564842":["hashtag1","hashtag2"]},{"1351564839":["hashtag1","hashtag2"]},{"1351564856":["hashtag1","hashtag2"]},{"1351564853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351564849, 1351564845, 1351564842, 1351564839, 1351564856, 1351564853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04751253128052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:41:33.198247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/02/image_14042025_09_02_36_10432.jpg', '/home/pi/Desktop/images/14042025/09/02/image_14042025_09_02_56_9499.jpg', '/home/pi/Desktop/images/14042025/09/02/image_14042025_09_03_06_10359.jpg', '/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_15_9349.jpg', '/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_26_10474.jpg', '/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/02/image_14042025_09_02_36_10432.jpg
/home/pi/Desktop/images/14042025/09/02/image_14042025_09_02_56_9499.jpg
/home/pi/Desktop/images/14042025/09/02/image_14042025_09_03_06_10359.jpg
/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_15_9349.jpg
/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_26_10474.jpg
/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_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":["1351565490","1351565340","1351565427","1351565396","1351565313","1351565368"],"photo_ids_order":["1351565313","1351565340","1351565368","1351565396","1351565427","1351565490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4875ff3411a8765b7e465df845f0148.jpg","text":"TemporaryFile(/tmp/multipartBody8513256414465229248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019754903,"filename":"image_14042025_09_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/19/f4940caa9df7825df40d38763d84b7ba.jpg","text":"TemporaryFile(/tmp/multipartBody91021810290950197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019754903,"filename":"image_14042025_09_02_56_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/19/3c5b2ffc818af31f13acbdb107dd7eef.jpg","text":"TemporaryFile(/tmp/multipartBody9034944709390706511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019754903,"filename":"image_14042025_09_03_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/19/e7d71421926a76ee94facfc33cbecce8.jpg","text":"TemporaryFile(/tmp/multipartBody5289936326399341539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019754903,"filename":"image_14042025_09_03_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/19/068a4e4a0056c3d20e26ab9a237870bd.jpg","text":"TemporaryFile(/tmp/multipartBody7563187669666278299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019754903,"filename":"image_14042025_09_02_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/19/2e3bb554c2038a432e58c7368e331d16.jpg","text":"TemporaryFile(/tmp/multipartBody1436012618883363942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019754903,"filename":"image_14042025_09_03_06_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351565368","file1":"1351565340","file0":"1351565313","file4":"1351565427","file5":"1351565490","file3":"1351565396"},"map_files_photo_id_array":[{"photo_id":"1351565490","filename":"file5"},{"photo_id":"1351565368","filename":"file2"},{"photo_id":"1351565427","filename":"file4"},{"photo_id":"1351565340","filename":"file1"},{"photo_id":"1351565313","filename":"file0"},{"photo_id":"1351565396","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351565490":["hashtag1","hashtag2"]},{"1351565340":["hashtag1","hashtag2"]},{"1351565427":["hashtag1","hashtag2"]},{"1351565396":["hashtag1","hashtag2"]},{"1351565313":["hashtag1","hashtag2"]},{"1351565368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351565490, 1351565340, 1351565427, 1351565396, 1351565313, 1351565368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.339147329330444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:42:32.308065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_46_9466.jpg', '/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_56_10362.jpg', '/home/pi/Desktop/images/14042025/09/03/image_14042025_09_04_06_9452.jpg', '/home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_16_10436.jpg', '/home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_26_10366.jpg', '/home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_36_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_46_9466.jpg
/home/pi/Desktop/images/14042025/09/03/image_14042025_09_03_56_10362.jpg
/home/pi/Desktop/images/14042025/09/03/image_14042025_09_04_06_9452.jpg
/home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_16_10436.jpg
/home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_26_10366.jpg
/home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_36_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351566381","1351566330","1351566095","1351566458","1351566367","1351566238"],"photo_ids_order":["1351566095","1351566238","1351566330","1351566367","1351566381","1351566458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61983a76f67aee2f3869ad7b8fbf4cce.jpg","text":"TemporaryFile(/tmp/multipartBody8121368063879191045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019813988,"filename":"image_14042025_09_04_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/19/7d7d20ddcd75fed60fb8315922806743.jpg","text":"TemporaryFile(/tmp/multipartBody7541326501184359306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019813988,"filename":"image_14042025_09_04_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/19/1089bdcc97c5fef2a86d73394e0593dc.jpg","text":"TemporaryFile(/tmp/multipartBody9169335835795414375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019813988,"filename":"image_14042025_09_03_46_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f0e8a5c0ada74f9c90417480784e7521.jpg","text":"TemporaryFile(/tmp/multipartBody1234253250485020050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019813988,"filename":"image_14042025_09_04_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/19/f4857576c096f31078b090b20d6ed227.jpg","text":"TemporaryFile(/tmp/multipartBody5306005796865746241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019813988,"filename":"image_14042025_09_04_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/19/a478f1b1c5e4ad99ee81dfd22025a2d2.jpg","text":"TemporaryFile(/tmp/multipartBody4970754998549377651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019813988,"filename":"image_14042025_09_03_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351566330","file1":"1351566238","file0":"1351566095","file4":"1351566381","file5":"1351566458","file3":"1351566367"},"map_files_photo_id_array":[{"photo_id":"1351566458","filename":"file5"},{"photo_id":"1351566330","filename":"file2"},{"photo_id":"1351566381","filename":"file4"},{"photo_id":"1351566238","filename":"file1"},{"photo_id":"1351566095","filename":"file0"},{"photo_id":"1351566367","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351566381":["hashtag1","hashtag2"]},{"1351566330":["hashtag1","hashtag2"]},{"1351566095":["hashtag1","hashtag2"]},{"1351566458":["hashtag1","hashtag2"]},{"1351566367":["hashtag1","hashtag2"]},{"1351566238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351566381, 1351566330, 1351566095, 1351566458, 1351566367, 1351566238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34026598930359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:43:32.709897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_56_9361.jpg', '/home/pi/Desktop/images/14042025/09/04/image_14042025_09_05_06_10347.jpg', '/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_26_9348.jpg', '/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_36_10414.jpg', '/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_46_10384.jpg', '/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_56_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/04/image_14042025_09_04_56_9361.jpg
/home/pi/Desktop/images/14042025/09/04/image_14042025_09_05_06_10347.jpg
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_26_9348.jpg
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_36_10414.jpg
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_46_10384.jpg
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_05_56_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":["1351566508","1351566572","1351566504","1351566548","1351566521","1351566506"],"photo_ids_order":["1351566504","1351566506","1351566508","1351566521","1351566548","1351566572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/73fbea74e98f9d7c4d14f25a088704f0.jpg","text":"TemporaryFile(/tmp/multipartBody8221710335812669715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019874402,"filename":"image_14042025_09_05_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/19/73635a8b6bff4573dc5e697be2ef58b0.jpg","text":"TemporaryFile(/tmp/multipartBody2066726913312952038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019874402,"filename":"image_14042025_09_05_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/19/bfb786ad06d1184821608291b396a0e7.jpg","text":"TemporaryFile(/tmp/multipartBody4057597783304837409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019874402,"filename":"image_14042025_09_04_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37705a2e275be90960e548109cedadf5.jpg","text":"TemporaryFile(/tmp/multipartBody4206605018357957356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019874402,"filename":"image_14042025_09_05_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/19/bfc8d7fff51ccf0fa97715f5a432b96e.jpg","text":"TemporaryFile(/tmp/multipartBody3014200055012307770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019874402,"filename":"image_14042025_09_05_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/19/e850f4068aca251091839f59994d7439.jpg","text":"TemporaryFile(/tmp/multipartBody8394448585824244274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019874402,"filename":"image_14042025_09_05_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351566508","file1":"1351566506","file0":"1351566504","file4":"1351566548","file5":"1351566572","file3":"1351566521"},"map_files_photo_id_array":[{"photo_id":"1351566572","filename":"file5"},{"photo_id":"1351566508","filename":"file2"},{"photo_id":"1351566548","filename":"file4"},{"photo_id":"1351566506","filename":"file1"},{"photo_id":"1351566504","filename":"file0"},{"photo_id":"1351566521","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351566508":["hashtag1","hashtag2"]},{"1351566572":["hashtag1","hashtag2"]},{"1351566504":["hashtag1","hashtag2"]},{"1351566548":["hashtag1","hashtag2"]},{"1351566521":["hashtag1","hashtag2"]},{"1351566506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351566508, 1351566572, 1351566504, 1351566548, 1351566521, 1351566506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.731624126434326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:44:32.901728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/05/image_14042025_09_06_06_10344.jpg', '/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_15_9346.jpg', '/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_26_10373.jpg', '/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_36_10342.jpg', '/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_46_9362.jpg', '/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_56_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/05/image_14042025_09_06_06_10344.jpg
/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_15_9346.jpg
/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_26_10373.jpg
/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_36_10342.jpg
/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_46_9362.jpg
/home/pi/Desktop/images/14042025/09/06/image_14042025_09_06_56_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351566936","1351566911","1351566827","1351566961","1351566883","1351566856"],"photo_ids_order":["1351566827","1351566856","1351566883","1351566911","1351566936","1351566961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba05b2dd8e45bad259060670b5b41221.jpg","text":"TemporaryFile(/tmp/multipartBody227488929511451730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019935971,"filename":"image_14042025_09_06_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/19/91a6d9862c02b6518221881059fa37ab.jpg","text":"TemporaryFile(/tmp/multipartBody548619462810359060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019935971,"filename":"image_14042025_09_06_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b27a71ffe77b2fc1ddd002abe875fc8c.jpg","text":"TemporaryFile(/tmp/multipartBody248436241648714250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019935971,"filename":"image_14042025_09_06_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/19/ed4edce6646dbfb87b8179efa4250b59.jpg","text":"TemporaryFile(/tmp/multipartBody1105733053480770807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019935971,"filename":"image_14042025_09_06_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/19/47e85263ce64175d19445d979828d97e.jpg","text":"TemporaryFile(/tmp/multipartBody985120762718360898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019935971,"filename":"image_14042025_09_06_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/19/139c12203f55489225242a3718dfe702.jpg","text":"TemporaryFile(/tmp/multipartBody8656150059876019790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019935971,"filename":"image_14042025_09_06_15_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351566883","file1":"1351566856","file0":"1351566827","file4":"1351566936","file5":"1351566961","file3":"1351566911"},"map_files_photo_id_array":[{"photo_id":"1351566961","filename":"file5"},{"photo_id":"1351566883","filename":"file2"},{"photo_id":"1351566936","filename":"file4"},{"photo_id":"1351566856","filename":"file1"},{"photo_id":"1351566827","filename":"file0"},{"photo_id":"1351566911","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351566936":["hashtag1","hashtag2"]},{"1351566911":["hashtag1","hashtag2"]},{"1351566827":["hashtag1","hashtag2"]},{"1351566961":["hashtag1","hashtag2"]},{"1351566883":["hashtag1","hashtag2"]},{"1351566856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351566936, 1351566911, 1351566827, 1351566961, 1351566883, 1351566856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.887893199920654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:45:33.151998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/06/image_14042025_09_07_06_10341.jpg', '/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_16_9402.jpg', '/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_26_10355.jpg', '/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_36_10372.jpg', '/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_46_9459.jpg', '/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_56_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/06/image_14042025_09_07_06_10341.jpg
/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_16_9402.jpg
/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_26_10355.jpg
/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_36_10372.jpg
/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_46_9459.jpg
/home/pi/Desktop/images/14042025/09/07/image_14042025_09_07_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":["1351567140","1351567056","1351567187","1351567112","1351566986","1351566991"],"photo_ids_order":["1351566986","1351566991","1351567056","1351567112","1351567140","1351567187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6b3072f616cdba3690a6b047f263e647.jpg","text":"TemporaryFile(/tmp/multipartBody8176897013432446650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019994828,"filename":"image_14042025_09_07_46_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d80b84f55e8e6acf52c6fadd89dde88.jpg","text":"TemporaryFile(/tmp/multipartBody1530659386187511283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019994828,"filename":"image_14042025_09_07_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/19/9d027b5d80f29c1db020444571849290.jpg","text":"TemporaryFile(/tmp/multipartBody3474291611840058390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019994828,"filename":"image_14042025_09_07_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e25352be7653dc4cc5e92325b84a4fc0.jpg","text":"TemporaryFile(/tmp/multipartBody443014213070707877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019994828,"filename":"image_14042025_09_07_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/19/72733cafa3baaf9f9991012028674ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5320073970017478604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019994828,"filename":"image_14042025_09_07_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/19/38d15b9c6c3efab46cea8a0ef2a95252.jpg","text":"TemporaryFile(/tmp/multipartBody7432317794483228218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745019994828,"filename":"image_14042025_09_07_16_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351567056","file1":"1351566991","file0":"1351566986","file4":"1351567140","file5":"1351567187","file3":"1351567112"},"map_files_photo_id_array":[{"photo_id":"1351567187","filename":"file5"},{"photo_id":"1351567056","filename":"file2"},{"photo_id":"1351567140","filename":"file4"},{"photo_id":"1351566991","filename":"file1"},{"photo_id":"1351566986","filename":"file0"},{"photo_id":"1351567112","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351567140":["hashtag1","hashtag2"]},{"1351567056":["hashtag1","hashtag2"]},{"1351567187":["hashtag1","hashtag2"]},{"1351567112":["hashtag1","hashtag2"]},{"1351566986":["hashtag1","hashtag2"]},{"1351566991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351567140, 1351567056, 1351567187, 1351567112, 1351566986, 1351566991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.054877758026123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:46:32.302506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/07/image_14042025_09_08_06_9334.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_16_10460.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_26_10403.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_36_9434.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_46_10487.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_56_9475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/07/image_14042025_09_08_06_9334.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_16_10460.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_26_10403.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_36_9434.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_46_10487.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_56_9475.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6075189113616943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 01:46:42.338442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/07/image_14042025_09_08_06_9334.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_16_10460.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_26_10403.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_36_9434.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_46_10487.jpg', '/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_56_9475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/07/image_14042025_09_08_06_9334.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_16_10460.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_26_10403.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_36_9434.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_46_10487.jpg
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_08_56_9475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351568117","1351568293","1351568020","1351568329","1351568235","1351568046"],"photo_ids_order":["1351568020","1351568046","1351568117","1351568235","1351568293","1351568329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a7926dd7b924a915ac3dcc37466e0db.jpg","text":"TemporaryFile(/tmp/multipartBody7929964770425621681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020063094,"filename":"image_14042025_09_08_26_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ced98dd186d66a5a7c8a31b7b82cd54.jpg","text":"TemporaryFile(/tmp/multipartBody3655286077741522987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020063094,"filename":"image_14042025_09_08_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/19/edc914528ca01161837add5ced0bf42a.jpg","text":"TemporaryFile(/tmp/multipartBody2780565789692249835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020063094,"filename":"image_14042025_09_08_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/19/178f2f0dcbbb2fde50dabc7e588612c3.jpg","text":"TemporaryFile(/tmp/multipartBody3952365048722828517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020063094,"filename":"image_14042025_09_08_56_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c61e3dc9f9664bbeb938f3e2508aa1f.jpg","text":"TemporaryFile(/tmp/multipartBody3805410546926373749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020063094,"filename":"image_14042025_09_08_36_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3c7c448b532cbe5ffa6e58bf9e72eb40.jpg","text":"TemporaryFile(/tmp/multipartBody3796001911976755425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020063094,"filename":"image_14042025_09_08_16_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351568117","file1":"1351568046","file0":"1351568020","file4":"1351568293","file5":"1351568329","file3":"1351568235"},"map_files_photo_id_array":[{"photo_id":"1351568329","filename":"file5"},{"photo_id":"1351568117","filename":"file2"},{"photo_id":"1351568293","filename":"file4"},{"photo_id":"1351568046","filename":"file1"},{"photo_id":"1351568020","filename":"file0"},{"photo_id":"1351568235","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351568117":["hashtag1","hashtag2"]},{"1351568293":["hashtag1","hashtag2"]},{"1351568020":["hashtag1","hashtag2"]},{"1351568329":["hashtag1","hashtag2"]},{"1351568235":["hashtag1","hashtag2"]},{"1351568046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351568117, 1351568293, 1351568020, 1351568329, 1351568235, 1351568046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.44906449317932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:47:32.480031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/08/image_14042025_09_09_06_10384.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_16_9363.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_26_10455.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_36_10348.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_46_9481.jpg', '/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/08/image_14042025_09_09_06_10384.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_16_9363.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_26_10455.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_36_10348.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_46_9481.jpg
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_09_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351569065","1351568996","1351568928","1351568852","1351569213","1351569138"],"photo_ids_order":["1351568852","1351568928","1351568996","1351569065","1351569138","1351569213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15f366887060ad119131916902dbac5c.jpg","text":"TemporaryFile(/tmp/multipartBody2072409755901731929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020114155,"filename":"image_14042025_09_09_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/19/4faaae3ef6db07ecffa18f82f3b6e522.jpg","text":"TemporaryFile(/tmp/multipartBody4971368456185225865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020114155,"filename":"image_14042025_09_09_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/19/117e447a9bdfbba0bd8ba46622b88edf.jpg","text":"TemporaryFile(/tmp/multipartBody6246297253596033428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020114155,"filename":"image_14042025_09_09_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/19/d9a6a638e3782054b49a2e874a34363e.jpg","text":"TemporaryFile(/tmp/multipartBody56575007627344379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020114155,"filename":"image_14042025_09_09_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/19/1e3020361e44e8059826b3a8f08abfac.jpg","text":"TemporaryFile(/tmp/multipartBody8908079495952139056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020114155,"filename":"image_14042025_09_09_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/19/9afe983929686d31d901fb483ee5ef0e.jpg","text":"TemporaryFile(/tmp/multipartBody3432994175184181384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020114155,"filename":"image_14042025_09_09_46_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351568996","file1":"1351568928","file0":"1351568852","file4":"1351569138","file5":"1351569213","file3":"1351569065"},"map_files_photo_id_array":[{"photo_id":"1351569213","filename":"file5"},{"photo_id":"1351568996","filename":"file2"},{"photo_id":"1351569138","filename":"file4"},{"photo_id":"1351568928","filename":"file1"},{"photo_id":"1351568852","filename":"file0"},{"photo_id":"1351569065","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351569065":["hashtag1","hashtag2"]},{"1351568996":["hashtag1","hashtag2"]},{"1351568928":["hashtag1","hashtag2"]},{"1351568852":["hashtag1","hashtag2"]},{"1351569213":["hashtag1","hashtag2"]},{"1351569138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351569065, 1351568996, 1351568928, 1351568852, 1351569213, 1351569138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.165711641311646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:48:32.688277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/09/image_14042025_09_10_06_9336.jpg', '/home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_16_10332.jpg', '/home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_36_9325.jpg', '/home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_46_10367.jpg', '/home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_56_10343.jpg', '/home/pi/Desktop/images/14042025/09/10/image_14042025_09_11_06_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/09/image_14042025_09_10_06_9336.jpg
/home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_16_10332.jpg
/home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_36_9325.jpg
/home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_46_10367.jpg
/home/pi/Desktop/images/14042025/09/10/image_14042025_09_10_56_10343.jpg
/home/pi/Desktop/images/14042025/09/10/image_14042025_09_11_06_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351569746","1351569548","1351569697","1351569772","1351569639","1351569600"],"photo_ids_order":["1351569548","1351569600","1351569639","1351569697","1351569746","1351569772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1b5e503d69b7fc7add27af3196393457.jpg","text":"TemporaryFile(/tmp/multipartBody6696725898755315687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020174366,"filename":"image_14042025_09_10_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/19/171c412769f8aa4ec904816afbadf822.jpg","text":"TemporaryFile(/tmp/multipartBody4460167776538225967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020174366,"filename":"image_14042025_09_10_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/19/d02cb9aa56c048d3fe3e2e9ec24bbc35.jpg","text":"TemporaryFile(/tmp/multipartBody1642878514422771244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020174366,"filename":"image_14042025_09_10_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b676295ec24b378d76a06b2698b1fb0f.jpg","text":"TemporaryFile(/tmp/multipartBody7806640474004391353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020174366,"filename":"image_14042025_09_11_06_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/19/ebaa4a9fe16e69bd5e953bb653a8555e.jpg","text":"TemporaryFile(/tmp/multipartBody747260983148884655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020174366,"filename":"image_14042025_09_10_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c47bfcc35851a3f330e5dfd2c02cc51a.jpg","text":"TemporaryFile(/tmp/multipartBody3521361300158588695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020174366,"filename":"image_14042025_09_10_16_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351569639","file1":"1351569600","file0":"1351569548","file4":"1351569746","file5":"1351569772","file3":"1351569697"},"map_files_photo_id_array":[{"photo_id":"1351569772","filename":"file5"},{"photo_id":"1351569639","filename":"file2"},{"photo_id":"1351569746","filename":"file4"},{"photo_id":"1351569600","filename":"file1"},{"photo_id":"1351569548","filename":"file0"},{"photo_id":"1351569697","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351569746":["hashtag1","hashtag2"]},{"1351569548":["hashtag1","hashtag2"]},{"1351569697":["hashtag1","hashtag2"]},{"1351569772":["hashtag1","hashtag2"]},{"1351569639":["hashtag1","hashtag2"]},{"1351569600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351569746, 1351569548, 1351569697, 1351569772, 1351569639, 1351569600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14992356300354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:49:32.996672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_16_10347.jpg', '/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_25_9345.jpg', '/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_36_10360.jpg', '/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_46_10387.jpg', '/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_56_9379.jpg', '/home/pi/Desktop/images/14042025/09/11/image_14042025_09_12_06_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_16_10347.jpg
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_25_9345.jpg
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_36_10360.jpg
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_46_10387.jpg
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_11_56_9379.jpg
/home/pi/Desktop/images/14042025/09/11/image_14042025_09_12_06_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351570298","1351570193","1351570247","1351570138","1351570033","1351570083"],"photo_ids_order":["1351570033","1351570083","1351570138","1351570193","1351570247","1351570298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/07722ebbc991d6fd7b12dfedbf9dd31e.jpg","text":"TemporaryFile(/tmp/multipartBody3652680555470392894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020234690,"filename":"image_14042025_09_12_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/19/a149b5f2bc889fe4277105e93ef9316c.jpg","text":"TemporaryFile(/tmp/multipartBody4367743089648468986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020234690,"filename":"image_14042025_09_11_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/81ee48a612061822957ce872c5e2df68.jpg","text":"TemporaryFile(/tmp/multipartBody7629812238572789330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020234690,"filename":"image_14042025_09_11_56_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a329c6e82d109305bb7385987abdebb2.jpg","text":"TemporaryFile(/tmp/multipartBody1364063521067901598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020234690,"filename":"image_14042025_09_11_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f23214757590141e6f65769a8f85b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1688321370600528724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020234690,"filename":"image_14042025_09_11_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/19/2fc2075b42196108aaebaa671a2fc7f0.jpg","text":"TemporaryFile(/tmp/multipartBody7470832890457908009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020234690,"filename":"image_14042025_09_11_25_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351570138","file1":"1351570083","file0":"1351570033","file4":"1351570247","file5":"1351570298","file3":"1351570193"},"map_files_photo_id_array":[{"photo_id":"1351570298","filename":"file5"},{"photo_id":"1351570138","filename":"file2"},{"photo_id":"1351570247","filename":"file4"},{"photo_id":"1351570083","filename":"file1"},{"photo_id":"1351570033","filename":"file0"},{"photo_id":"1351570193","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351570298":["hashtag1","hashtag2"]},{"1351570193":["hashtag1","hashtag2"]},{"1351570247":["hashtag1","hashtag2"]},{"1351570138":["hashtag1","hashtag2"]},{"1351570033":["hashtag1","hashtag2"]},{"1351570083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351570298, 1351570193, 1351570247, 1351570138, 1351570033, 1351570083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32694482803345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:50:32.308805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_16_10359.jpg', '/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_26_9469.jpg', '/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_36_10348.jpg', '/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_46_9340.jpg', '/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_56_10427.jpg', '/home/pi/Desktop/images/14042025/09/12/image_14042025_09_13_06_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_16_10359.jpg
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_26_9469.jpg
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_36_10348.jpg
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_46_9340.jpg
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_12_56_10427.jpg
/home/pi/Desktop/images/14042025/09/12/image_14042025_09_13_06_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":["1351570512","1351570496","1351570500","1351570643","1351570491","1351570593"],"photo_ids_order":["1351570491","1351570496","1351570500","1351570512","1351570593","1351570643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6edf909956f58d6b76f203cdf8b3326f.jpg","text":"TemporaryFile(/tmp/multipartBody8568625350807121804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020293974,"filename":"image_14042025_09_12_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b91f85f367d0df8fa1dcc87cd9d310a.jpg","text":"TemporaryFile(/tmp/multipartBody2423638375233014231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020293974,"filename":"image_14042025_09_12_26_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cb932da461187e7a54126ef42e92bdf0.jpg","text":"TemporaryFile(/tmp/multipartBody7677620236710532201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020293974,"filename":"image_14042025_09_12_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/19/414976d917d480d4da3dca29ab78346b.jpg","text":"TemporaryFile(/tmp/multipartBody7847345480934674594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020293974,"filename":"image_14042025_09_13_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/19/d3874a0242dbdf6951a40536de0cc3d9.jpg","text":"TemporaryFile(/tmp/multipartBody3813029680054733771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020293974,"filename":"image_14042025_09_12_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/19/6cbba4b04978d8494d2b70ae2d3a5a06.jpg","text":"TemporaryFile(/tmp/multipartBody8343700696973168181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020293974,"filename":"image_14042025_09_12_56_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351570500","file1":"1351570496","file0":"1351570491","file4":"1351570593","file5":"1351570643","file3":"1351570512"},"map_files_photo_id_array":[{"photo_id":"1351570643","filename":"file5"},{"photo_id":"1351570500","filename":"file2"},{"photo_id":"1351570593","filename":"file4"},{"photo_id":"1351570496","filename":"file1"},{"photo_id":"1351570491","filename":"file0"},{"photo_id":"1351570512","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351570512":["hashtag1","hashtag2"]},{"1351570496":["hashtag1","hashtag2"]},{"1351570500":["hashtag1","hashtag2"]},{"1351570643":["hashtag1","hashtag2"]},{"1351570491":["hashtag1","hashtag2"]},{"1351570593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351570512, 1351570496, 1351570500, 1351570643, 1351570491, 1351570593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.869595527648926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:51:32.465942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_16_9383.jpg', '/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_26_10358.jpg', '/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_36_9424.jpg', '/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_46_10468.jpg', '/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_56_10429.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_06_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_16_9383.jpg
/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_26_10358.jpg
/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_36_9424.jpg
/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_46_10468.jpg
/home/pi/Desktop/images/14042025/09/13/image_14042025_09_13_56_10429.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_06_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351571006","1351570984","1351570987","1351570969","1351570942","1351570918"],"photo_ids_order":["1351570918","1351570942","1351570969","1351570984","1351570987","1351571006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ec6ee24e233200fa3a2f29f6f7b7d90e.jpg","text":"TemporaryFile(/tmp/multipartBody7634683874243727751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020354156,"filename":"image_14042025_09_14_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/19/1c1fa942154dba007fa98ca249c60372.jpg","text":"TemporaryFile(/tmp/multipartBody2418433367930332705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020354156,"filename":"image_14042025_09_13_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/19/df0329cb53cb3f247350b7ddd7088c53.jpg","text":"TemporaryFile(/tmp/multipartBody9051863945046834569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020354156,"filename":"image_14042025_09_13_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f602279b5adaa5f348d565854166c3bf.jpg","text":"TemporaryFile(/tmp/multipartBody5671932361696764479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020354156,"filename":"image_14042025_09_13_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/19/7225cf8265c4278274ebf7553b43873d.jpg","text":"TemporaryFile(/tmp/multipartBody6341864886835830421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020354156,"filename":"image_14042025_09_13_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/19/ce1be601e85f3d196329a3cb8594792f.jpg","text":"TemporaryFile(/tmp/multipartBody8958765795357786529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020354156,"filename":"image_14042025_09_13_16_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351570969","file1":"1351570942","file0":"1351570918","file4":"1351570987","file5":"1351571006","file3":"1351570984"},"map_files_photo_id_array":[{"photo_id":"1351571006","filename":"file5"},{"photo_id":"1351570969","filename":"file2"},{"photo_id":"1351570987","filename":"file4"},{"photo_id":"1351570942","filename":"file1"},{"photo_id":"1351570918","filename":"file0"},{"photo_id":"1351570984","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351571006":["hashtag1","hashtag2"]},{"1351570984":["hashtag1","hashtag2"]},{"1351570987":["hashtag1","hashtag2"]},{"1351570969":["hashtag1","hashtag2"]},{"1351570942":["hashtag1","hashtag2"]},{"1351570918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351571006, 1351570984, 1351570987, 1351570969, 1351570942, 1351570918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69719910621643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:52:32.687312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_16_10349.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_25_9339.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_36_10342.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_46_10439.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_56_9340.jpg', '/home/pi/Desktop/images/14042025/09/14/image_14042025_09_15_06_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_16_10349.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_25_9339.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_36_10342.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_46_10439.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_14_56_9340.jpg
/home/pi/Desktop/images/14042025/09/14/image_14042025_09_15_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":["1351571651","1351571546","1351571705","1351571734","1351571676","1351571608"],"photo_ids_order":["1351571546","1351571608","1351571651","1351571676","1351571705","1351571734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c5f457eabff8fe8cd3e61ed327f445fd.jpg","text":"TemporaryFile(/tmp/multipartBody4955636152724157992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020414366,"filename":"image_14042025_09_14_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e9c1b94dfa71b54c6c2bd4ce925196f.jpg","text":"TemporaryFile(/tmp/multipartBody2102628744695032360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020414366,"filename":"image_14042025_09_14_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/19/b22e1765912d93fd52b9a16e62b8a4a1.jpg","text":"TemporaryFile(/tmp/multipartBody7329147766944962195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020414366,"filename":"image_14042025_09_14_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/19/d6782bcd63becdc7795a690780ada75f.jpg","text":"TemporaryFile(/tmp/multipartBody2005561977661327617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020414366,"filename":"image_14042025_09_15_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/19/eb73c7c11d62d5bf95313c13d8751c20.jpg","text":"TemporaryFile(/tmp/multipartBody8534848366703851010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020414366,"filename":"image_14042025_09_14_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0c89562a500c6ca6a7f989968781be16.jpg","text":"TemporaryFile(/tmp/multipartBody5523592038713528939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020414366,"filename":"image_14042025_09_14_25_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351571651","file1":"1351571608","file0":"1351571546","file4":"1351571705","file5":"1351571734","file3":"1351571676"},"map_files_photo_id_array":[{"photo_id":"1351571734","filename":"file5"},{"photo_id":"1351571651","filename":"file2"},{"photo_id":"1351571705","filename":"file4"},{"photo_id":"1351571608","filename":"file1"},{"photo_id":"1351571546","filename":"file0"},{"photo_id":"1351571676","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351571651":["hashtag1","hashtag2"]},{"1351571546":["hashtag1","hashtag2"]},{"1351571705":["hashtag1","hashtag2"]},{"1351571734":["hashtag1","hashtag2"]},{"1351571676":["hashtag1","hashtag2"]},{"1351571608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351571651, 1351571546, 1351571705, 1351571734, 1351571676, 1351571608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82987022399902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:53:32.971902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_16_10361.jpg', '/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_26_9465.jpg', '/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_36_10338.jpg', '/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_56_10462.jpg', '/home/pi/Desktop/images/14042025/09/15/image_14042025_09_16_06_10332.jpg', '/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_16_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_16_10361.jpg
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_26_9465.jpg
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_36_10338.jpg
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_15_56_10462.jpg
/home/pi/Desktop/images/14042025/09/15/image_14042025_09_16_06_10332.jpg
/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_16_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351572316","1351572325","1351572411","1351572440","1351572383","1351572338"],"photo_ids_order":["1351572316","1351572325","1351572338","1351572383","1351572411","1351572440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/06a1ffefd164e0586fa637a2bc834a34.jpg","text":"TemporaryFile(/tmp/multipartBody6480814088072960253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020474669,"filename":"image_14042025_09_15_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/19/30cbe727d7f88ad46825ecaf85e2d76c.jpg","text":"TemporaryFile(/tmp/multipartBody2322130423980869419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020474669,"filename":"image_14042025_09_15_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/19/1579b74d233235f860f7f5ebf1aeb673.jpg","text":"TemporaryFile(/tmp/multipartBody7137757703448398713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020474669,"filename":"image_14042025_09_16_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd8f9a97e79ab00f4a981e4eeb43c09d.jpg","text":"TemporaryFile(/tmp/multipartBody3477857966231809129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020474669,"filename":"image_14042025_09_16_16_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1d94ca82c3cf3756c42952d6a165138.jpg","text":"TemporaryFile(/tmp/multipartBody8975426638897734436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020474669,"filename":"image_14042025_09_15_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/486387ba112a746366e6ac6635685fc8.jpg","text":"TemporaryFile(/tmp/multipartBody375693242600436759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020474669,"filename":"image_14042025_09_15_36_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351572338","file1":"1351572325","file0":"1351572316","file4":"1351572411","file5":"1351572440","file3":"1351572383"},"map_files_photo_id_array":[{"photo_id":"1351572440","filename":"file5"},{"photo_id":"1351572338","filename":"file2"},{"photo_id":"1351572411","filename":"file4"},{"photo_id":"1351572325","filename":"file1"},{"photo_id":"1351572316","filename":"file0"},{"photo_id":"1351572383","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351572316":["hashtag1","hashtag2"]},{"1351572325":["hashtag1","hashtag2"]},{"1351572411":["hashtag1","hashtag2"]},{"1351572440":["hashtag1","hashtag2"]},{"1351572383":["hashtag1","hashtag2"]},{"1351572338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351572316, 1351572325, 1351572411, 1351572440, 1351572383, 1351572338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57767200469971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:54:32.157955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_26_10367.jpg', '/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_36_10329.jpg', '/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_46_9491.jpg', '/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_56_10390.jpg', '/home/pi/Desktop/images/14042025/09/16/image_14042025_09_17_06_9346.jpg', '/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_16_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_26_10367.jpg
/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_36_10329.jpg
/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_46_9491.jpg
/home/pi/Desktop/images/14042025/09/16/image_14042025_09_16_56_10390.jpg
/home/pi/Desktop/images/14042025/09/16/image_14042025_09_17_06_9346.jpg
/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_16_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351572598","1351572586","1351572594","1351572582","1351572590","1351572578"],"photo_ids_order":["1351572578","1351572582","1351572586","1351572590","1351572594","1351572598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9ff87f176a20a40093172ee3ba464e9.jpg","text":"TemporaryFile(/tmp/multipartBody7908006418895917989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020533856,"filename":"image_14042025_09_17_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/19/820e96ea0a612aabe6cd56d8e8bb9abd.jpg","text":"TemporaryFile(/tmp/multipartBody3171451897056429189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020533856,"filename":"image_14042025_09_16_46_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3abfc9c3b570307cd7a7d0915fdfa279.jpg","text":"TemporaryFile(/tmp/multipartBody8376132820516562390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020533856,"filename":"image_14042025_09_17_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/19/9af4cae4a789f0b171b147ccc891c33c.jpg","text":"TemporaryFile(/tmp/multipartBody4776444145406504306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020533856,"filename":"image_14042025_09_16_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7576f8af0516532baceee09c75be324.jpg","text":"TemporaryFile(/tmp/multipartBody7800465478166828919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020533856,"filename":"image_14042025_09_16_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/19/1909d60aeb2561d2f6ee63b589203df7.jpg","text":"TemporaryFile(/tmp/multipartBody1557928597188608462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020533856,"filename":"image_14042025_09_16_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351572586","file1":"1351572582","file0":"1351572578","file4":"1351572594","file5":"1351572598","file3":"1351572590"},"map_files_photo_id_array":[{"photo_id":"1351572598","filename":"file5"},{"photo_id":"1351572586","filename":"file2"},{"photo_id":"1351572594","filename":"file4"},{"photo_id":"1351572582","filename":"file1"},{"photo_id":"1351572578","filename":"file0"},{"photo_id":"1351572590","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351572598":["hashtag1","hashtag2"]},{"1351572586":["hashtag1","hashtag2"]},{"1351572594":["hashtag1","hashtag2"]},{"1351572582":["hashtag1","hashtag2"]},{"1351572590":["hashtag1","hashtag2"]},{"1351572578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351572598, 1351572586, 1351572594, 1351572582, 1351572590, 1351572578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.305970668792725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:55:32.339204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_26_10362.jpg', '/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_36_9440.jpg', '/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_46_10373.jpg', '/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_56_9500.jpg', '/home/pi/Desktop/images/14042025/09/17/image_14042025_09_18_06_10356.jpg', '/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_15_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_26_10362.jpg
/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_36_9440.jpg
/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_46_10373.jpg
/home/pi/Desktop/images/14042025/09/17/image_14042025_09_17_56_9500.jpg
/home/pi/Desktop/images/14042025/09/17/image_14042025_09_18_06_10356.jpg
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_15_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":["1351572697","1351572673","1351572640","1351572613","1351572723","1351572752"],"photo_ids_order":["1351572613","1351572640","1351572673","1351572697","1351572723","1351572752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf776603083f2f81434fb699a0a0eab4.jpg","text":"TemporaryFile(/tmp/multipartBody2717149789293706914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020594033,"filename":"image_14042025_09_17_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/19/597f717eecf8cb0bc53484d7fabab169.jpg","text":"TemporaryFile(/tmp/multipartBody3888160770378301657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020594033,"filename":"image_14042025_09_17_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e49e2a442c3e33542fea3b69b8d56e47.jpg","text":"TemporaryFile(/tmp/multipartBody7360277704395622493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020594033,"filename":"image_14042025_09_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/19/e7ef9c18d8d547b6dd79ebeb4dcb9ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8328416306762785032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020594033,"filename":"image_14042025_09_17_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/19/971db28ae53a58d3ab61ae5bf111acb8.jpg","text":"TemporaryFile(/tmp/multipartBody7043879461523297904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020594033,"filename":"image_14042025_09_18_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f4222d47d11c5b29e8e510e23c7a1d6.jpg","text":"TemporaryFile(/tmp/multipartBody7522562333377748856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020594033,"filename":"image_14042025_09_18_15_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351572673","file1":"1351572640","file0":"1351572613","file4":"1351572723","file5":"1351572752","file3":"1351572697"},"map_files_photo_id_array":[{"photo_id":"1351572752","filename":"file5"},{"photo_id":"1351572673","filename":"file2"},{"photo_id":"1351572723","filename":"file4"},{"photo_id":"1351572640","filename":"file1"},{"photo_id":"1351572613","filename":"file0"},{"photo_id":"1351572697","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351572697":["hashtag1","hashtag2"]},{"1351572673":["hashtag1","hashtag2"]},{"1351572640":["hashtag1","hashtag2"]},{"1351572613":["hashtag1","hashtag2"]},{"1351572723":["hashtag1","hashtag2"]},{"1351572752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351572697, 1351572673, 1351572640, 1351572613, 1351572723, 1351572752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27228832244873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:56:32.667601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_26_10440.jpg', '/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_36_10432.jpg', '/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_46_9457.jpg', '/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_56_10400.jpg', '/home/pi/Desktop/images/14042025/09/18/image_14042025_09_19_06_9349.jpg', '/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_36_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_26_10440.jpg
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_36_10432.jpg
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_46_9457.jpg
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_18_56_10400.jpg
/home/pi/Desktop/images/14042025/09/18/image_14042025_09_19_06_9349.jpg
/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_36_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351573234","1351573212","1351573134","1351573236","1351573178","1351573151"],"photo_ids_order":["1351573134","1351573151","1351573178","1351573212","1351573234","1351573236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/784fa427c1e9320d1f67ee3f9bca20a0.jpg","text":"TemporaryFile(/tmp/multipartBody9092857881150179986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020654361,"filename":"image_14042025_09_19_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a53833bbe6921032aef777af462610f2.jpg","text":"TemporaryFile(/tmp/multipartBody1371793213198355382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020654361,"filename":"image_14042025_09_18_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/19/8b30b1f43f299371f874e7fa19d9202e.jpg","text":"TemporaryFile(/tmp/multipartBody8613892930700326517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020654361,"filename":"image_14042025_09_18_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d96548fa5a45918738074418e2045191.jpg","text":"TemporaryFile(/tmp/multipartBody206404318774402584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020654361,"filename":"image_14042025_09_19_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7b4c529c476937fa2d2939238653908a.jpg","text":"TemporaryFile(/tmp/multipartBody5288795896891033611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020654361,"filename":"image_14042025_09_18_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/19/4e02ca7c3f54a7b635702c3488d67cc8.jpg","text":"TemporaryFile(/tmp/multipartBody6729656672761923619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020654361,"filename":"image_14042025_09_18_36_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351573178","file1":"1351573151","file0":"1351573134","file4":"1351573234","file5":"1351573236","file3":"1351573212"},"map_files_photo_id_array":[{"photo_id":"1351573236","filename":"file5"},{"photo_id":"1351573178","filename":"file2"},{"photo_id":"1351573234","filename":"file4"},{"photo_id":"1351573151","filename":"file1"},{"photo_id":"1351573134","filename":"file0"},{"photo_id":"1351573212","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351573234":["hashtag1","hashtag2"]},{"1351573212":["hashtag1","hashtag2"]},{"1351573134":["hashtag1","hashtag2"]},{"1351573236":["hashtag1","hashtag2"]},{"1351573178":["hashtag1","hashtag2"]},{"1351573151":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351573234, 1351573212, 1351573134, 1351573236, 1351573178, 1351573151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96565866470337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 01:57:32.862755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_46_10475.jpg', '/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_56_10354.jpg', '/home/pi/Desktop/images/14042025/09/19/image_14042025_09_20_06_9400.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_16_10364.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_26_9366.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_36_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_46_10475.jpg
/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_56_10354.jpg
/home/pi/Desktop/images/14042025/09/19/image_14042025_09_20_06_9400.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_16_10364.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_26_9366.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_36_10476.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-19 01:59:03.055293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_46_10475.jpg', '/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_56_10354.jpg', '/home/pi/Desktop/images/14042025/09/19/image_14042025_09_20_06_9400.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_16_10364.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_26_9366.jpg', '/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_36_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_46_10475.jpg
/home/pi/Desktop/images/14042025/09/19/image_14042025_09_19_56_10354.jpg
/home/pi/Desktop/images/14042025/09/19/image_14042025_09_20_06_9400.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_16_10364.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_26_9366.jpg
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_36_10476.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351573411","1351573414","1351573423","1351573405","1351573368","1351573419"],"photo_ids_order":["1351573368","1351573405","1351573411","1351573414","1351573419","1351573423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f2a7a90c8cefacc1cecd890fcde9a69.jpg","text":"TemporaryFile(/tmp/multipartBody6473212987710483050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020803921,"filename":"image_14042025_09_20_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/19/cbb4d4c3f470c50d20e69a4f2d52ecda.jpg","text":"TemporaryFile(/tmp/multipartBody812842629302171043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020803921,"filename":"image_14042025_09_20_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e1d94ff85375a38a9a76a911f75a4e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6257082630257315986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020803921,"filename":"image_14042025_09_20_36_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/19/15ddcaed7563e403b45b0d803bef5e88.jpg","text":"TemporaryFile(/tmp/multipartBody4204196364771513015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020803921,"filename":"image_14042025_09_19_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6bf8d4dffa1d02c7527b5842ec0baad8.jpg","text":"TemporaryFile(/tmp/multipartBody3860862569440816387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020803921,"filename":"image_14042025_09_19_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/62c00474417db9536f2c6f6bf7b5e6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8228513471467368463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020803921,"filename":"image_14042025_09_20_26_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351573411","file1":"1351573405","file0":"1351573368","file4":"1351573419","file5":"1351573423","file3":"1351573414"},"map_files_photo_id_array":[{"photo_id":"1351573423","filename":"file5"},{"photo_id":"1351573411","filename":"file2"},{"photo_id":"1351573419","filename":"file4"},{"photo_id":"1351573405","filename":"file1"},{"photo_id":"1351573368","filename":"file0"},{"photo_id":"1351573414","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351573411":["hashtag1","hashtag2"]},{"1351573414":["hashtag1","hashtag2"]},{"1351573423":["hashtag1","hashtag2"]},{"1351573405":["hashtag1","hashtag2"]},{"1351573368":["hashtag1","hashtag2"]},{"1351573419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351573411, 1351573414, 1351573423, 1351573405, 1351573368, 1351573419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44976806640625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 01:59:42.244638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_56_10440.jpg', '/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_16_9337.jpg', '/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_26_10461.jpg', '/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_36_10349.jpg', '/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_46_9463.jpg', '/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_56_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/20/image_14042025_09_20_56_10440.jpg
/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_16_9337.jpg
/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_26_10461.jpg
/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_36_10349.jpg
/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_46_9463.jpg
/home/pi/Desktop/images/14042025/09/21/image_14042025_09_21_56_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":["1351574175","1351574031","1351573659","1351574291","1351573886","1351573775"],"photo_ids_order":["1351573659","1351573775","1351573886","1351574031","1351574175","1351574291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/602deb53cc78b9fe12138645f8a8f9d9.jpg","text":"TemporaryFile(/tmp/multipartBody7782313091631795237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020843093,"filename":"image_14042025_09_21_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/19/212b16c71631089cc50f71554d1064c7.jpg","text":"TemporaryFile(/tmp/multipartBody3183048337518225713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020843093,"filename":"image_14042025_09_21_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/19/ada6a047ccc8f9f05658e7ee1f638a99.jpg","text":"TemporaryFile(/tmp/multipartBody3694692596369510711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020843093,"filename":"image_14042025_09_20_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/19/5cde53f46ebe1fef196f66c20d29238a.jpg","text":"TemporaryFile(/tmp/multipartBody7642919651262051889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020843093,"filename":"image_14042025_09_21_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/19/9038cbfb0fd97c9cd645bbe72e91b167.jpg","text":"TemporaryFile(/tmp/multipartBody2880056154286597187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020843093,"filename":"image_14042025_09_21_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/19/2b3f955c0106e62bc394072fa0741e69.jpg","text":"TemporaryFile(/tmp/multipartBody9049293698924183680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020843093,"filename":"image_14042025_09_21_16_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351573886","file1":"1351573775","file0":"1351573659","file4":"1351574175","file5":"1351574291","file3":"1351574031"},"map_files_photo_id_array":[{"photo_id":"1351574291","filename":"file5"},{"photo_id":"1351573886","filename":"file2"},{"photo_id":"1351574175","filename":"file4"},{"photo_id":"1351573775","filename":"file1"},{"photo_id":"1351573659","filename":"file0"},{"photo_id":"1351574031","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351574175":["hashtag1","hashtag2"]},{"1351574031":["hashtag1","hashtag2"]},{"1351573659":["hashtag1","hashtag2"]},{"1351574291":["hashtag1","hashtag2"]},{"1351573886":["hashtag1","hashtag2"]},{"1351573775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351574175, 1351574031, 1351573659, 1351574291, 1351573886, 1351573775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.056010484695435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:00:32.538062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_16_10337.jpg', '/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_26_10374.jpg', '/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_36_9468.jpg', '/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_46_10375.jpg', '/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_56_9359.jpg', '/home/pi/Desktop/images/14042025/09/22/image_14042025_09_23_06_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_16_10337.jpg
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_26_10374.jpg
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_36_9468.jpg
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_46_10375.jpg
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_22_56_9359.jpg
/home/pi/Desktop/images/14042025/09/22/image_14042025_09_23_06_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351574966","1351575017","1351574992","1351574875","1351574938","1351574908"],"photo_ids_order":["1351574875","1351574908","1351574938","1351574966","1351574992","1351575017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d0b4976aa7c234fb98de0d4fd749cc4b.jpg","text":"TemporaryFile(/tmp/multipartBody2835822703525579682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020894207,"filename":"image_14042025_09_22_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/19/7104777910f2f7fc1fe45533bdb4b441.jpg","text":"TemporaryFile(/tmp/multipartBody5136388787390914746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020894207,"filename":"image_14042025_09_23_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9233682aa58088bec3419377b6b5742d.jpg","text":"TemporaryFile(/tmp/multipartBody1988322465700406576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020894207,"filename":"image_14042025_09_22_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a0085bd74d073f14e8a410f6a5e8674.jpg","text":"TemporaryFile(/tmp/multipartBody5455956089043202263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020894207,"filename":"image_14042025_09_22_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/19/f6fc7b0afe895f753bd1a822e79d40eb.jpg","text":"TemporaryFile(/tmp/multipartBody8041526577948681010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020894207,"filename":"image_14042025_09_22_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/19/6a59a4d5b5c4e8608afad8d12b62ec66.jpg","text":"TemporaryFile(/tmp/multipartBody3934516213804991068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020894207,"filename":"image_14042025_09_22_26_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351574938","file1":"1351574908","file0":"1351574875","file4":"1351574992","file5":"1351575017","file3":"1351574966"},"map_files_photo_id_array":[{"photo_id":"1351575017","filename":"file5"},{"photo_id":"1351574938","filename":"file2"},{"photo_id":"1351574992","filename":"file4"},{"photo_id":"1351574908","filename":"file1"},{"photo_id":"1351574875","filename":"file0"},{"photo_id":"1351574966","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351574966":["hashtag1","hashtag2"]},{"1351575017":["hashtag1","hashtag2"]},{"1351574992":["hashtag1","hashtag2"]},{"1351574875":["hashtag1","hashtag2"]},{"1351574938":["hashtag1","hashtag2"]},{"1351574908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351574966, 1351575017, 1351574992, 1351574875, 1351574938, 1351574908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32235836982727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:01:32.821812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_16_10431.jpg', '/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_26_9487.jpg', '/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_36_10356.jpg', '/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_46_9358.jpg', '/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_56_10367.jpg', '/home/pi/Desktop/images/14042025/09/23/image_14042025_09_24_06_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_16_10431.jpg
/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_26_9487.jpg
/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_36_10356.jpg
/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_46_9358.jpg
/home/pi/Desktop/images/14042025/09/23/image_14042025_09_23_56_10367.jpg
/home/pi/Desktop/images/14042025/09/23/image_14042025_09_24_06_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":["1351575843","1351575896","1351575770","1351575653","1351575800","1351575946"],"photo_ids_order":["1351575653","1351575770","1351575800","1351575843","1351575896","1351575946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7b6e99a13b3c36530e535e9a537114e1.jpg","text":"TemporaryFile(/tmp/multipartBody4642942016081942848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020954495,"filename":"image_14042025_09_23_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/19/28c2a9f43e903fe6b80147f0d35d2ae2.jpg","text":"TemporaryFile(/tmp/multipartBody2836403361599490842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020954495,"filename":"image_14042025_09_23_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/19/2891a15ce424f81627109e8b66c1c0f0.jpg","text":"TemporaryFile(/tmp/multipartBody533482065834458088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020954495,"filename":"image_14042025_09_23_26_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d25a6abd1f09e8c81b65442b82c7282.jpg","text":"TemporaryFile(/tmp/multipartBody4539908066886416052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020954495,"filename":"image_14042025_09_23_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc6a9114076464865df65a8746087eb2.jpg","text":"TemporaryFile(/tmp/multipartBody3394124741506315505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020954495,"filename":"image_14042025_09_23_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/19/1d35b4e2a891edc9f6adb529b3fa6e22.jpg","text":"TemporaryFile(/tmp/multipartBody6628614961575793852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745020954495,"filename":"image_14042025_09_24_06_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351575800","file1":"1351575770","file0":"1351575653","file4":"1351575896","file5":"1351575946","file3":"1351575843"},"map_files_photo_id_array":[{"photo_id":"1351575946","filename":"file5"},{"photo_id":"1351575800","filename":"file2"},{"photo_id":"1351575896","filename":"file4"},{"photo_id":"1351575770","filename":"file1"},{"photo_id":"1351575653","filename":"file0"},{"photo_id":"1351575843","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351575843":["hashtag1","hashtag2"]},{"1351575896":["hashtag1","hashtag2"]},{"1351575770":["hashtag1","hashtag2"]},{"1351575653":["hashtag1","hashtag2"]},{"1351575800":["hashtag1","hashtag2"]},{"1351575946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351575843, 1351575896, 1351575770, 1351575653, 1351575800, 1351575946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.84456968307495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:02:32.995934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_16_9426.jpg', '/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_26_10385.jpg', '/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_35_9356.jpg', '/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_46_10464.jpg', '/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_56_10401.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_16_9426.jpg
/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_26_10385.jpg
/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_35_9356.jpg
/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_46_10464.jpg
/home/pi/Desktop/images/14042025/09/24/image_14042025_09_24_56_10401.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_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":["1351576886","1351576961","1351576664","1351576798","1351576721","1351576573"],"photo_ids_order":["1351576573","1351576664","1351576721","1351576798","1351576886","1351576961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c60ff5a884ec7d43cf61111869925a41.jpg","text":"TemporaryFile(/tmp/multipartBody4072494007917762172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021014681,"filename":"image_14042025_09_24_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/19/a925a337f20c114f9513ece6b35d1272.jpg","text":"TemporaryFile(/tmp/multipartBody2230430896853710196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021014681,"filename":"image_14042025_09_25_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/19/a46740293f9b22691c2396e089b48fbc.jpg","text":"TemporaryFile(/tmp/multipartBody3576296161243463739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021014681,"filename":"image_14042025_09_24_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f433848aca7a0e58e178b5995b92da54.jpg","text":"TemporaryFile(/tmp/multipartBody7415929900822853726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021014681,"filename":"image_14042025_09_24_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08006b4a1b4e4a733381e75240f57a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4135955411995200656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021014681,"filename":"image_14042025_09_24_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/19/300045fd85da8c999f82954b999c3c71.jpg","text":"TemporaryFile(/tmp/multipartBody578914220713703317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021014681,"filename":"image_14042025_09_24_16_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351576721","file1":"1351576664","file0":"1351576573","file4":"1351576886","file5":"1351576961","file3":"1351576798"},"map_files_photo_id_array":[{"photo_id":"1351576961","filename":"file5"},{"photo_id":"1351576721","filename":"file2"},{"photo_id":"1351576886","filename":"file4"},{"photo_id":"1351576664","filename":"file1"},{"photo_id":"1351576573","filename":"file0"},{"photo_id":"1351576798","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351576886":["hashtag1","hashtag2"]},{"1351576961":["hashtag1","hashtag2"]},{"1351576664":["hashtag1","hashtag2"]},{"1351576798":["hashtag1","hashtag2"]},{"1351576721":["hashtag1","hashtag2"]},{"1351576573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351576886, 1351576961, 1351576664, 1351576798, 1351576721, 1351576573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.761712789535522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:03:32.275304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_26_9364.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_36_10470.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_46_10382.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_56_9469.jpg', '/home/pi/Desktop/images/14042025/09/25/image_14042025_09_26_06_10363.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_16_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_26_9364.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_36_10470.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_46_10382.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_25_56_9469.jpg
/home/pi/Desktop/images/14042025/09/25/image_14042025_09_26_06_10363.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_16_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":["1351577909","1351578118","1351578495","1351577694","1351578338","1351577747"],"photo_ids_order":["1351577694","1351577747","1351577909","1351578118","1351578338","1351578495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/583c260b1965fc881c08292b358b7ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2005022997950818040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021073958,"filename":"image_14042025_09_25_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cb4dfed8a606dc98401b554ae3438969.jpg","text":"TemporaryFile(/tmp/multipartBody1680812553003892728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021073958,"filename":"image_14042025_09_25_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/05412d2cb4970761c5468ee74f269b25.jpg","text":"TemporaryFile(/tmp/multipartBody6621777039615073162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021073958,"filename":"image_14042025_09_26_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/19/d33e4f89d1620b7aaefe828744c5b8df.jpg","text":"TemporaryFile(/tmp/multipartBody864945374768209641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021073958,"filename":"image_14042025_09_25_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/19/c32587654b2cef7751712833a274b13d.jpg","text":"TemporaryFile(/tmp/multipartBody8332948408446791071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021073958,"filename":"image_14042025_09_26_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/19/c73f66aaa6cb4345c38c8412baa9c73f.jpg","text":"TemporaryFile(/tmp/multipartBody2655185799553137485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021073958,"filename":"image_14042025_09_25_36_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351577909","file1":"1351577747","file0":"1351577694","file4":"1351578338","file5":"1351578495","file3":"1351578118"},"map_files_photo_id_array":[{"photo_id":"1351578495","filename":"file5"},{"photo_id":"1351577909","filename":"file2"},{"photo_id":"1351578338","filename":"file4"},{"photo_id":"1351577747","filename":"file1"},{"photo_id":"1351577694","filename":"file0"},{"photo_id":"1351578118","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351577909":["hashtag1","hashtag2"]},{"1351578118":["hashtag1","hashtag2"]},{"1351578495":["hashtag1","hashtag2"]},{"1351577694":["hashtag1","hashtag2"]},{"1351578338":["hashtag1","hashtag2"]},{"1351577747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351577909, 1351578118, 1351578495, 1351577694, 1351578338, 1351577747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.39318227767944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:04:32.418973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_26_10471.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_36_10390.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_46_9476.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_56_10464.jpg', '/home/pi/Desktop/images/14042025/09/26/image_14042025_09_27_06_9372.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_16_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_26_10471.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_36_10390.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_46_9476.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_26_56_10464.jpg
/home/pi/Desktop/images/14042025/09/26/image_14042025_09_27_06_9372.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_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":["1351579062","1351579239","1351579116","1351578960","1351579292","1351579202"],"photo_ids_order":["1351578960","1351579062","1351579116","1351579202","1351579239","1351579292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/26feacace43d5c1ec54f0d3e9e0e7a73.jpg","text":"TemporaryFile(/tmp/multipartBody4403798575900535433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021134097,"filename":"image_14042025_09_26_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/19/9fa9d952f87acd3f6a2390840f99998b.jpg","text":"TemporaryFile(/tmp/multipartBody2112603697826182411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021134097,"filename":"image_14042025_09_27_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/19/623270f32c59c4841fb5ad067ec92ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3937983047767964546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021134097,"filename":"image_14042025_09_26_46_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/19/81d5be9c4c9d6aa2c6d03bde296314a3.jpg","text":"TemporaryFile(/tmp/multipartBody7241848447828751898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021134097,"filename":"image_14042025_09_26_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/19/7bc2a572ff107853ba89999a30633c08.jpg","text":"TemporaryFile(/tmp/multipartBody5897013114085462045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021134097,"filename":"image_14042025_09_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/19/b84a8b06680ab6c0a55551d6f3df6c21.jpg","text":"TemporaryFile(/tmp/multipartBody6100936373897580205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021134097,"filename":"image_14042025_09_26_56_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351579116","file1":"1351579062","file0":"1351578960","file4":"1351579239","file5":"1351579292","file3":"1351579202"},"map_files_photo_id_array":[{"photo_id":"1351579292","filename":"file5"},{"photo_id":"1351579116","filename":"file2"},{"photo_id":"1351579239","filename":"file4"},{"photo_id":"1351579062","filename":"file1"},{"photo_id":"1351578960","filename":"file0"},{"photo_id":"1351579202","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351579062":["hashtag1","hashtag2"]},{"1351579239":["hashtag1","hashtag2"]},{"1351579116":["hashtag1","hashtag2"]},{"1351578960":["hashtag1","hashtag2"]},{"1351579292":["hashtag1","hashtag2"]},{"1351579202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351579062, 1351579239, 1351579116, 1351578960, 1351579292, 1351579202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.419992446899414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:05:32.764772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_36_10457.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_46_10363.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_56_9464.jpg', '/home/pi/Desktop/images/14042025/09/27/image_14042025_09_28_06_10329.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_15_9345.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_26_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_36_10457.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_46_10363.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_27_56_9464.jpg
/home/pi/Desktop/images/14042025/09/27/image_14042025_09_28_06_10329.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_15_9345.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_26_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":["1351579636","1351579702","1351579645","1351579671","1351579668","1351579697"],"photo_ids_order":["1351579636","1351579645","1351579668","1351579671","1351579697","1351579702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d08acee45043dc8fe293c9ab26bee7c5.jpg","text":"TemporaryFile(/tmp/multipartBody9178127337657684710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021194453,"filename":"image_14042025_09_27_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/19/e36b1585e6fe0a3446ed495f3e966fb9.jpg","text":"TemporaryFile(/tmp/multipartBody1093155098154639674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021194453,"filename":"image_14042025_09_28_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/19/7b63f096dfd15b70d7eb194f3ef94893.jpg","text":"TemporaryFile(/tmp/multipartBody260106062418711957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021194453,"filename":"image_14042025_09_27_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/19/661bed5e99f8cf76b719d4d469f71626.jpg","text":"TemporaryFile(/tmp/multipartBody7090331020867862034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021194453,"filename":"image_14042025_09_28_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac00b06413ccc0ce52bcf3ec6a848442.jpg","text":"TemporaryFile(/tmp/multipartBody7532710143917397202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021194453,"filename":"image_14042025_09_27_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/19/47198d1d21cbbe1bf2a5b1dc27b3ff3d.jpg","text":"TemporaryFile(/tmp/multipartBody7829710981507303646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021194453,"filename":"image_14042025_09_28_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351579668","file1":"1351579645","file0":"1351579636","file4":"1351579697","file5":"1351579702","file3":"1351579671"},"map_files_photo_id_array":[{"photo_id":"1351579702","filename":"file5"},{"photo_id":"1351579668","filename":"file2"},{"photo_id":"1351579697","filename":"file4"},{"photo_id":"1351579645","filename":"file1"},{"photo_id":"1351579636","filename":"file0"},{"photo_id":"1351579671","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351579636":["hashtag1","hashtag2"]},{"1351579702":["hashtag1","hashtag2"]},{"1351579645":["hashtag1","hashtag2"]},{"1351579671":["hashtag1","hashtag2"]},{"1351579668":["hashtag1","hashtag2"]},{"1351579697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351579636, 1351579702, 1351579645, 1351579671, 1351579668, 1351579697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.859302043914795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:06:32.952446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_36_10347.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_46_9484.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_56_10347.jpg', '/home/pi/Desktop/images/14042025/09/28/image_14042025_09_29_05_9347.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_16_10343.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_26_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_36_10347.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_46_9484.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_28_56_10347.jpg
/home/pi/Desktop/images/14042025/09/28/image_14042025_09_29_05_9347.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_16_10343.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_26_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351579834","1351579735","1351579731","1351579778","1351579733","1351579747"],"photo_ids_order":["1351579731","1351579733","1351579735","1351579747","1351579778","1351579834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3f07f7e0decf54c33d6f617b1663be70.jpg","text":"TemporaryFile(/tmp/multipartBody2126359416845533472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021254624,"filename":"image_14042025_09_29_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/69f811c1f0537a06797b45c8c223b55d.jpg","text":"TemporaryFile(/tmp/multipartBody674209294193532481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021254624,"filename":"image_14042025_09_28_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3f2788adf20e89e4651064e82925d03c.jpg","text":"TemporaryFile(/tmp/multipartBody3196242399225529125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021254624,"filename":"image_14042025_09_28_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/977cb2fc38fdad274c2526e79fa683bf.jpg","text":"TemporaryFile(/tmp/multipartBody6846408218308553686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021254624,"filename":"image_14042025_09_29_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/19/160488f426c82841a5f2cf0e09aeb164.jpg","text":"TemporaryFile(/tmp/multipartBody8517752281395634599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021254624,"filename":"image_14042025_09_28_46_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/19/5698e1efd17006bb64de950c2bdf18c7.jpg","text":"TemporaryFile(/tmp/multipartBody3498493344738293843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021254624,"filename":"image_14042025_09_29_05_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351579735","file1":"1351579733","file0":"1351579731","file4":"1351579778","file5":"1351579834","file3":"1351579747"},"map_files_photo_id_array":[{"photo_id":"1351579834","filename":"file5"},{"photo_id":"1351579735","filename":"file2"},{"photo_id":"1351579778","filename":"file4"},{"photo_id":"1351579733","filename":"file1"},{"photo_id":"1351579731","filename":"file0"},{"photo_id":"1351579747","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351579834":["hashtag1","hashtag2"]},{"1351579735":["hashtag1","hashtag2"]},{"1351579731":["hashtag1","hashtag2"]},{"1351579778":["hashtag1","hashtag2"]},{"1351579733":["hashtag1","hashtag2"]},{"1351579747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351579834, 1351579735, 1351579731, 1351579778, 1351579733, 1351579747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.563156843185425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:07:32.192466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_36_9342.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_46_10451.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_55_9443.jpg', '/home/pi/Desktop/images/14042025/09/29/image_14042025_09_30_06_10470.jpg', '/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_16_10422.jpg', '/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_26_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_36_9342.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_46_10451.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_29_55_9443.jpg
/home/pi/Desktop/images/14042025/09/29/image_14042025_09_30_06_10470.jpg
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_16_10422.jpg
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_26_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":["1351580455","1351580481","1351580376","1351580421","1351580483","1351580306"],"photo_ids_order":["1351580306","1351580376","1351580421","1351580455","1351580481","1351580483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39d9254232250b1167c2574c66cc9406.jpg","text":"TemporaryFile(/tmp/multipartBody4384681390141491958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021313865,"filename":"image_14042025_09_30_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/19/1ff9c18bf25ee698f4f12be63ffba8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8073499071664848379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021313865,"filename":"image_14042025_09_30_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/19/42c5a2a3d2093b3f7dd29a32b45dcda5.jpg","text":"TemporaryFile(/tmp/multipartBody3203336861431770021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021313865,"filename":"image_14042025_09_29_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/19/99dea5211be4c06205414f87ded8db17.jpg","text":"TemporaryFile(/tmp/multipartBody8701394623255559193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021313865,"filename":"image_14042025_09_29_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/19/33ad396c52e4e96f93f89e5a0f4f1b86.jpg","text":"TemporaryFile(/tmp/multipartBody4220007212990822633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021313865,"filename":"image_14042025_09_30_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/19/01062aca3a447cc2fe51694922318f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4894586121351442067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021313865,"filename":"image_14042025_09_29_36_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351580421","file1":"1351580376","file0":"1351580306","file4":"1351580481","file5":"1351580483","file3":"1351580455"},"map_files_photo_id_array":[{"photo_id":"1351580483","filename":"file5"},{"photo_id":"1351580421","filename":"file2"},{"photo_id":"1351580481","filename":"file4"},{"photo_id":"1351580376","filename":"file1"},{"photo_id":"1351580306","filename":"file0"},{"photo_id":"1351580455","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351580455":["hashtag1","hashtag2"]},{"1351580481":["hashtag1","hashtag2"]},{"1351580376":["hashtag1","hashtag2"]},{"1351580421":["hashtag1","hashtag2"]},{"1351580483":["hashtag1","hashtag2"]},{"1351580306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351580455, 1351580481, 1351580376, 1351580421, 1351580483, 1351580306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.550992250442505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:08:32.464616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_36_10353.jpg', '/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_46_9404.jpg', '/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_56_10475.jpg', '/home/pi/Desktop/images/14042025/09/30/image_14042025_09_31_06_10364.jpg', '/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_16_9405.jpg', '/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_26_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_36_10353.jpg
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_46_9404.jpg
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_30_56_10475.jpg
/home/pi/Desktop/images/14042025/09/30/image_14042025_09_31_06_10364.jpg
/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_16_9405.jpg
/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_26_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":["1351580578","1351580641","1351580614","1351580574","1351580586","1351580576"],"photo_ids_order":["1351580574","1351580576","1351580578","1351580586","1351580614","1351580641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/357c1fc6889fdaa190d5f4a12403480d.jpg","text":"TemporaryFile(/tmp/multipartBody5938582202053077914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021374156,"filename":"image_14042025_09_30_56_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/19/1a0281b852614b245e79a4d0cebbd4d3.jpg","text":"TemporaryFile(/tmp/multipartBody7491686267485914471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021374156,"filename":"image_14042025_09_31_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/19/53ee794cc85262f3ee1982ac36fe795c.jpg","text":"TemporaryFile(/tmp/multipartBody4190876318373040926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021374156,"filename":"image_14042025_09_31_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/19/03681805ad55d7d38228c2ea73c4615b.jpg","text":"TemporaryFile(/tmp/multipartBody3597930850998249038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021374156,"filename":"image_14042025_09_30_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48c53727e56c4d4dd820eff5151854db.jpg","text":"TemporaryFile(/tmp/multipartBody4651123468887607169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021374156,"filename":"image_14042025_09_31_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/19/48c70232dc6ebdc67de146a123090dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4914241749727479954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021374156,"filename":"image_14042025_09_30_46_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351580578","file1":"1351580576","file0":"1351580574","file4":"1351580614","file5":"1351580641","file3":"1351580586"},"map_files_photo_id_array":[{"photo_id":"1351580641","filename":"file5"},{"photo_id":"1351580578","filename":"file2"},{"photo_id":"1351580614","filename":"file4"},{"photo_id":"1351580576","filename":"file1"},{"photo_id":"1351580574","filename":"file0"},{"photo_id":"1351580586","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351580578":["hashtag1","hashtag2"]},{"1351580641":["hashtag1","hashtag2"]},{"1351580614":["hashtag1","hashtag2"]},{"1351580574":["hashtag1","hashtag2"]},{"1351580586":["hashtag1","hashtag2"]},{"1351580576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351580578, 1351580641, 1351580614, 1351580574, 1351580586, 1351580576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.046610832214355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:09:32.760394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_36_9382.jpg', '/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_46_10387.jpg', '/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_56_10382.jpg', '/home/pi/Desktop/images/14042025/09/31/image_14042025_09_32_06_9390.jpg', '/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_16_10341.jpg', '/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_25_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_36_9382.jpg
/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_46_10387.jpg
/home/pi/Desktop/images/14042025/09/31/image_14042025_09_31_56_10382.jpg
/home/pi/Desktop/images/14042025/09/31/image_14042025_09_32_06_9390.jpg
/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_16_10341.jpg
/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_25_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351581945","1351581584","1351581501","1351581842","1351581742","1351581664"],"photo_ids_order":["1351581501","1351581584","1351581664","1351581742","1351581842","1351581945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a9227b7f2751246fbd594d61f29dd00.jpg","text":"TemporaryFile(/tmp/multipartBody1991287025685889658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021434437,"filename":"image_14042025_09_32_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/19/f09d74d8658bf3e0e686ce6334fcb116.jpg","text":"TemporaryFile(/tmp/multipartBody4386494914243497799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021434437,"filename":"image_14042025_09_31_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb75153a27be895c7570372ce178f579.jpg","text":"TemporaryFile(/tmp/multipartBody2211695268667009225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021434437,"filename":"image_14042025_09_31_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/19/17d3bb393e831f72ad1118c1684a5ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4762596039899886048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021434437,"filename":"image_14042025_09_32_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/19/b9b05f924c511bb7e559bef83888c389.jpg","text":"TemporaryFile(/tmp/multipartBody1482722684002479520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021434437,"filename":"image_14042025_09_32_06_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4eafcc8b28dbf7b0e76791fad74b1d4.jpg","text":"TemporaryFile(/tmp/multipartBody7807767719653908581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021434437,"filename":"image_14042025_09_31_56_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351581664","file1":"1351581584","file0":"1351581501","file4":"1351581842","file5":"1351581945","file3":"1351581742"},"map_files_photo_id_array":[{"photo_id":"1351581945","filename":"file5"},{"photo_id":"1351581664","filename":"file2"},{"photo_id":"1351581842","filename":"file4"},{"photo_id":"1351581584","filename":"file1"},{"photo_id":"1351581501","filename":"file0"},{"photo_id":"1351581742","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351581945":["hashtag1","hashtag2"]},{"1351581584":["hashtag1","hashtag2"]},{"1351581501":["hashtag1","hashtag2"]},{"1351581842":["hashtag1","hashtag2"]},{"1351581742":["hashtag1","hashtag2"]},{"1351581664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351581945, 1351581584, 1351581501, 1351581842, 1351581742, 1351581664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.45787525177002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:10:34.149076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_36_10352.jpg', '/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_46_10371.jpg', '/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_56_9421.jpg', '/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_16_10388.jpg', '/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_26_9423.jpg', '/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_36_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_36_10352.jpg
/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_46_10371.jpg
/home/pi/Desktop/images/14042025/09/32/image_14042025_09_32_56_9421.jpg
/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_16_10388.jpg
/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_26_9423.jpg
/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_36_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351583138","1351582850","1351582724","1351583260","1351582607","1351582999"],"photo_ids_order":["1351582607","1351582724","1351582850","1351582999","1351583138","1351583260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1f96db16ba102d70f736342ae32245f.jpg","text":"TemporaryFile(/tmp/multipartBody3898638604988963443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021495827,"filename":"image_14042025_09_33_26_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd52161cafbefc277fadceab62a3eccc.jpg","text":"TemporaryFile(/tmp/multipartBody1583816862486599459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021495827,"filename":"image_14042025_09_32_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/19/f1e44069a3bf0019b760f8583f83abb8.jpg","text":"TemporaryFile(/tmp/multipartBody2834978718031728996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021495827,"filename":"image_14042025_09_32_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/19/11c0300da30f5f734a4fafecf8e31e0c.jpg","text":"TemporaryFile(/tmp/multipartBody140417344191630201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021495827,"filename":"image_14042025_09_33_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55f0c78405ce7309d1cd15ab59064307.jpg","text":"TemporaryFile(/tmp/multipartBody3214242635110763002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021495827,"filename":"image_14042025_09_32_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/76327fc779cb4ea71faa95b96b1b07c0.jpg","text":"TemporaryFile(/tmp/multipartBody3931936684254558530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021495827,"filename":"image_14042025_09_33_16_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351582850","file1":"1351582724","file0":"1351582607","file4":"1351583138","file5":"1351583260","file3":"1351582999"},"map_files_photo_id_array":[{"photo_id":"1351583260","filename":"file5"},{"photo_id":"1351582850","filename":"file2"},{"photo_id":"1351583138","filename":"file4"},{"photo_id":"1351582724","filename":"file1"},{"photo_id":"1351582607","filename":"file0"},{"photo_id":"1351582999","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351583138":["hashtag1","hashtag2"]},{"1351582850":["hashtag1","hashtag2"]},{"1351582724":["hashtag1","hashtag2"]},{"1351583260":["hashtag1","hashtag2"]},{"1351582607":["hashtag1","hashtag2"]},{"1351582999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351583138, 1351582850, 1351582724, 1351583260, 1351582607, 1351582999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23103594779968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:11:33.175396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_46_9335.jpg', '/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_56_10454.jpg', '/home/pi/Desktop/images/14042025/09/33/image_14042025_09_34_06_10446.jpg', '/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_16_9458.jpg', '/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_26_10407.jpg', '/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_36_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_46_9335.jpg
/home/pi/Desktop/images/14042025/09/33/image_14042025_09_33_56_10454.jpg
/home/pi/Desktop/images/14042025/09/33/image_14042025_09_34_06_10446.jpg
/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_16_9458.jpg
/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_26_10407.jpg
/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_36_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351585208","1351585984","1351585552","1351585755","1351585437","1351584918"],"photo_ids_order":["1351584918","1351585208","1351585437","1351585552","1351585755","1351585984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b8c2b2217b888d1225a34f05b2b9a689.jpg","text":"TemporaryFile(/tmp/multipartBody1375952853708220543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021554849,"filename":"image_14042025_09_33_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/19/c79b05c3ec0d2dacc20524d14c201fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8203278594705346024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021554849,"filename":"image_14042025_09_34_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97ea9efc69654c7c4acf285325a4138d.jpg","text":"TemporaryFile(/tmp/multipartBody6415098635045484240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021554849,"filename":"image_14042025_09_34_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/19/c105d646d863c4e034bf6b5a397679bc.jpg","text":"TemporaryFile(/tmp/multipartBody7235430442529439976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021554849,"filename":"image_14042025_09_34_26_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/828545067928c31f166fb03230739130.jpg","text":"TemporaryFile(/tmp/multipartBody6735812920520310064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021554849,"filename":"image_14042025_09_34_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/19/fbb8d58716938b694a819dd94e803aaf.jpg","text":"TemporaryFile(/tmp/multipartBody4412263044419889273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021554849,"filename":"image_14042025_09_33_46_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351585437","file1":"1351585208","file0":"1351584918","file4":"1351585755","file5":"1351585984","file3":"1351585552"},"map_files_photo_id_array":[{"photo_id":"1351585984","filename":"file5"},{"photo_id":"1351585437","filename":"file2"},{"photo_id":"1351585755","filename":"file4"},{"photo_id":"1351585208","filename":"file1"},{"photo_id":"1351584918","filename":"file0"},{"photo_id":"1351585552","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351585208":["hashtag1","hashtag2"]},{"1351585984":["hashtag1","hashtag2"]},{"1351585552":["hashtag1","hashtag2"]},{"1351585755":["hashtag1","hashtag2"]},{"1351585437":["hashtag1","hashtag2"]},{"1351584918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351585208, 1351585984, 1351585552, 1351585755, 1351585437, 1351584918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.0537896156311 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:12:32.292807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_46_10396.jpg', '/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_56_10347.jpg', '/home/pi/Desktop/images/14042025/09/34/image_14042025_09_35_06_9385.jpg', '/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_16_10452.jpg', '/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_26_9357.jpg', '/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_36_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_46_10396.jpg
/home/pi/Desktop/images/14042025/09/34/image_14042025_09_34_56_10347.jpg
/home/pi/Desktop/images/14042025/09/34/image_14042025_09_35_06_9385.jpg
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_16_10452.jpg
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_26_9357.jpg
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_36_10455.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":["1351586365","1351586650","1351586994","1351587215","1351586942","1351586773"],"photo_ids_order":["1351586365","1351586650","1351586773","1351586942","1351586994","1351587215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7eda747af2c5a6204dba2df4e9481d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8794954386808165874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021613974,"filename":"image_14042025_09_34_46_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b70e5ce262c163c19e767d5b6165b96c.jpg","text":"TemporaryFile(/tmp/multipartBody1539341748376820074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021613974,"filename":"image_14042025_09_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/19/2863b01c89349809934a993ca66b444e.jpg","text":"TemporaryFile(/tmp/multipartBody7764019600160458697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021613974,"filename":"image_14042025_09_35_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/19/5f659c9441aaf22edefd85ba89ef5157.jpg","text":"TemporaryFile(/tmp/multipartBody5289660970743325021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021613974,"filename":"image_14042025_09_35_36_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b3b114f1e73db570e47a0a41eb8c51e7.jpg","text":"TemporaryFile(/tmp/multipartBody8995265969944637116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021613974,"filename":"image_14042025_09_35_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/19/5e32174b2b48ec7e3e0a4517d08e2cd4.jpg","text":"TemporaryFile(/tmp/multipartBody842927250510814587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021613974,"filename":"image_14042025_09_35_06_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351586773","file1":"1351586650","file0":"1351586365","file4":"1351586994","file5":"1351587215","file3":"1351586942"},"map_files_photo_id_array":[{"photo_id":"1351587215","filename":"file5"},{"photo_id":"1351586773","filename":"file2"},{"photo_id":"1351586994","filename":"file4"},{"photo_id":"1351586650","filename":"file1"},{"photo_id":"1351586365","filename":"file0"},{"photo_id":"1351586942","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351586365":["hashtag1","hashtag2"]},{"1351586650":["hashtag1","hashtag2"]},{"1351586994":["hashtag1","hashtag2"]},{"1351587215":["hashtag1","hashtag2"]},{"1351586942":["hashtag1","hashtag2"]},{"1351586773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351586365, 1351586650, 1351586994, 1351587215, 1351586942, 1351586773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.18657946586609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 02:13:42.353995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_46_10352.jpg', '/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_56_9398.jpg', '/home/pi/Desktop/images/14042025/09/35/image_14042025_09_36_06_10358.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_15_9335.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_26_10467.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_36_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_46_10352.jpg
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_35_56_9398.jpg
/home/pi/Desktop/images/14042025/09/35/image_14042025_09_36_06_10358.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_15_9335.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_26_10467.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_36_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":["1351587951","1351587939","1351587741","1351587950","1351587908","1351587949"],"photo_ids_order":["1351587741","1351587908","1351587939","1351587949","1351587950","1351587951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ddbb9924a76ea9f680f60095b29133d.jpg","text":"TemporaryFile(/tmp/multipartBody5057446159328287112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021683358,"filename":"image_14042025_09_36_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4894213e11985d4708c6fd27fc65629.jpg","text":"TemporaryFile(/tmp/multipartBody4584570863855015816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021683358,"filename":"image_14042025_09_36_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/19/3afbdc98ebf4b7ab5878673a71fcb8a9.jpg","text":"TemporaryFile(/tmp/multipartBody5661797963042920512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021683358,"filename":"image_14042025_09_35_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1bafad46f0bef74e1ae5499379fa3914.jpg","text":"TemporaryFile(/tmp/multipartBody619191930217730580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021683358,"filename":"image_14042025_09_36_26_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/19/b682ecf0a98c5d59ac906ab21077e9c5.jpg","text":"TemporaryFile(/tmp/multipartBody1662700684992221502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021683358,"filename":"image_14042025_09_35_56_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/19/c453adf561aa23af43f9278afaaacc0f.jpg","text":"TemporaryFile(/tmp/multipartBody6092553473669813832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021683358,"filename":"image_14042025_09_36_15_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351587939","file1":"1351587908","file0":"1351587741","file4":"1351587950","file5":"1351587951","file3":"1351587949"},"map_files_photo_id_array":[{"photo_id":"1351587951","filename":"file5"},{"photo_id":"1351587939","filename":"file2"},{"photo_id":"1351587950","filename":"file4"},{"photo_id":"1351587908","filename":"file1"},{"photo_id":"1351587741","filename":"file0"},{"photo_id":"1351587949","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351587951":["hashtag1","hashtag2"]},{"1351587939":["hashtag1","hashtag2"]},{"1351587741":["hashtag1","hashtag2"]},{"1351587950":["hashtag1","hashtag2"]},{"1351587908":["hashtag1","hashtag2"]},{"1351587949":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351587951, 1351587939, 1351587741, 1351587950, 1351587908, 1351587949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41370391845703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:14:32.699350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_46_9468.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_56_10382.jpg', '/home/pi/Desktop/images/14042025/09/36/image_14042025_09_37_05_9338.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_16_10440.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_26_10375.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_36_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_46_9468.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_36_56_10382.jpg
/home/pi/Desktop/images/14042025/09/36/image_14042025_09_37_05_9338.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_16_10440.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_26_10375.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_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":["1351588140","1351588298","1351588235","1351588264","1351588204","1351588179"],"photo_ids_order":["1351588140","1351588179","1351588204","1351588235","1351588264","1351588298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2775990adb447c0dfb8306f904e619b0.jpg","text":"TemporaryFile(/tmp/multipartBody8030772665134642390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021734377,"filename":"image_14042025_09_36_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/19/9a31d0a789784a17139b0d03fcc6ae93.jpg","text":"TemporaryFile(/tmp/multipartBody5955832022517282826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021734377,"filename":"image_14042025_09_37_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/19/5d0b1e5be59d0389cf8b347b857bcb49.jpg","text":"TemporaryFile(/tmp/multipartBody1450339235753737192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021734377,"filename":"image_14042025_09_37_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/19/57de77e5efdd6bebd9e15e92722acd02.jpg","text":"TemporaryFile(/tmp/multipartBody4055575423948089219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021734377,"filename":"image_14042025_09_37_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/19/6332eac0b93ee6ae8cfd3baf0995644d.jpg","text":"TemporaryFile(/tmp/multipartBody5485977865313287730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021734377,"filename":"image_14042025_09_37_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c2a53dfb2e4f6008273e2840915f510d.jpg","text":"TemporaryFile(/tmp/multipartBody7812603822699689149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021734377,"filename":"image_14042025_09_36_56_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351588204","file1":"1351588179","file0":"1351588140","file4":"1351588264","file5":"1351588298","file3":"1351588235"},"map_files_photo_id_array":[{"photo_id":"1351588298","filename":"file5"},{"photo_id":"1351588204","filename":"file2"},{"photo_id":"1351588264","filename":"file4"},{"photo_id":"1351588179","filename":"file1"},{"photo_id":"1351588140","filename":"file0"},{"photo_id":"1351588235","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351588140":["hashtag1","hashtag2"]},{"1351588298":["hashtag1","hashtag2"]},{"1351588235":["hashtag1","hashtag2"]},{"1351588264":["hashtag1","hashtag2"]},{"1351588204":["hashtag1","hashtag2"]},{"1351588179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351588140, 1351588298, 1351588235, 1351588264, 1351588204, 1351588179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.566755533218384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:15:32.917435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_46_10362.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_56_10355.jpg', '/home/pi/Desktop/images/14042025/09/37/image_14042025_09_38_06_9446.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_26_9363.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_36_10446.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_46_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_46_10362.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_37_56_10355.jpg
/home/pi/Desktop/images/14042025/09/37/image_14042025_09_38_06_9446.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_26_9363.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_36_10446.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_46_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351588980","1351588818","1351588617","1351588481","1351588999","1351588936"],"photo_ids_order":["1351588481","1351588617","1351588818","1351588936","1351588980","1351588999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9571e06c1d748c990a476b5113551d38.jpg","text":"TemporaryFile(/tmp/multipartBody4393609488338703327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021794601,"filename":"image_14042025_09_38_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/19/8f56ebb9c077aa23bdeb140b56d6d7f7.jpg","text":"TemporaryFile(/tmp/multipartBody4352889344969936718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021794601,"filename":"image_14042025_09_38_06_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a185aab2e852718c34bd6dfe60005d74.jpg","text":"TemporaryFile(/tmp/multipartBody1903939010295965077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021794601,"filename":"image_14042025_09_37_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/19/c539e2dd73e76b676523b3be1a33773a.jpg","text":"TemporaryFile(/tmp/multipartBody2697363250673258593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021794601,"filename":"image_14042025_09_37_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af7c6c927101135d3227efe4546c5900.jpg","text":"TemporaryFile(/tmp/multipartBody3988380460555758296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021794601,"filename":"image_14042025_09_38_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b04a7aef1777140f66ba9fbd50d3fe1d.jpg","text":"TemporaryFile(/tmp/multipartBody47268104087371858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021794601,"filename":"image_14042025_09_38_26_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351588818","file1":"1351588617","file0":"1351588481","file4":"1351588980","file5":"1351588999","file3":"1351588936"},"map_files_photo_id_array":[{"photo_id":"1351588999","filename":"file5"},{"photo_id":"1351588818","filename":"file2"},{"photo_id":"1351588980","filename":"file4"},{"photo_id":"1351588617","filename":"file1"},{"photo_id":"1351588481","filename":"file0"},{"photo_id":"1351588936","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351588980":["hashtag1","hashtag2"]},{"1351588818":["hashtag1","hashtag2"]},{"1351588617":["hashtag1","hashtag2"]},{"1351588481":["hashtag1","hashtag2"]},{"1351588999":["hashtag1","hashtag2"]},{"1351588936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351588980, 1351588818, 1351588617, 1351588481, 1351588999, 1351588936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58633303642273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:16:32.195783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_56_9467.jpg', '/home/pi/Desktop/images/14042025/09/38/image_14042025_09_39_06_10432.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_16_9350.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_26_10355.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_36_10375.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_46_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_38_56_9467.jpg
/home/pi/Desktop/images/14042025/09/38/image_14042025_09_39_06_10432.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_16_9350.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_26_10355.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_36_10375.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_46_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351589360","1351589339","1351589324","1351589266","1351589335","1351589295"],"photo_ids_order":["1351589266","1351589295","1351589324","1351589335","1351589339","1351589360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c111de0319b1585a4267b6a4fe234a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7889659381447575707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021853878,"filename":"image_14042025_09_39_46_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/52d5413f71f0919cf0f13bb187ca54fe.jpg","text":"TemporaryFile(/tmp/multipartBody5661028787301350488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021853878,"filename":"image_14042025_09_39_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/19/6628c6b64c22e75ef95647b956fe40e8.jpg","text":"TemporaryFile(/tmp/multipartBody2498364472027918006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021853878,"filename":"image_14042025_09_39_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/19/0e869245e3258f2fc8f8909d488a5337.jpg","text":"TemporaryFile(/tmp/multipartBody8559091782092933628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021853878,"filename":"image_14042025_09_38_56_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7390cc4dd5f55220c0d9d197116c3cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4583660833581406776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021853878,"filename":"image_14042025_09_39_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/19/e7a15ab56d2491fd80d2af55fd6e7bce.jpg","text":"TemporaryFile(/tmp/multipartBody4136142676632008755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021853878,"filename":"image_14042025_09_39_06_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351589324","file1":"1351589295","file0":"1351589266","file4":"1351589339","file5":"1351589360","file3":"1351589335"},"map_files_photo_id_array":[{"photo_id":"1351589360","filename":"file5"},{"photo_id":"1351589324","filename":"file2"},{"photo_id":"1351589339","filename":"file4"},{"photo_id":"1351589295","filename":"file1"},{"photo_id":"1351589266","filename":"file0"},{"photo_id":"1351589335","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351589360":["hashtag1","hashtag2"]},{"1351589339":["hashtag1","hashtag2"]},{"1351589324":["hashtag1","hashtag2"]},{"1351589266":["hashtag1","hashtag2"]},{"1351589335":["hashtag1","hashtag2"]},{"1351589295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351589360, 1351589339, 1351589324, 1351589266, 1351589335, 1351589295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92206573486328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:17:32.452088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_56_10351.jpg', '/home/pi/Desktop/images/14042025/09/39/image_14042025_09_40_05_9347.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_16_10454.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_26_10358.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_36_9341.jpg', '/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_46_10507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_39_56_10351.jpg
/home/pi/Desktop/images/14042025/09/39/image_14042025_09_40_05_9347.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_16_10454.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_26_10358.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_36_9341.jpg
/home/pi/Desktop/images/14042025/09/40/image_14042025_09_40_46_10507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351589570","1351589573","1351589546","1351589735","1351589510","1351589707"],"photo_ids_order":["1351589510","1351589546","1351589570","1351589573","1351589707","1351589735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a22daf879c0634ed8ee69bc85e891c0e.jpg","text":"TemporaryFile(/tmp/multipartBody5827299057326644878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021914131,"filename":"image_14042025_09_40_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/19/2dd5311567d4bb968d6e85b7cb0c1de5.jpg","text":"TemporaryFile(/tmp/multipartBody2887981213386741929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021914131,"filename":"image_14042025_09_40_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/19/6a3a0540087af4d7f54852235f7057ba.jpg","text":"TemporaryFile(/tmp/multipartBody6362258888918213737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021914131,"filename":"image_14042025_09_40_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/19/366df3dbaa6d9c2e0edcf14b62c9ff17.jpg","text":"TemporaryFile(/tmp/multipartBody5231147261733513071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021914131,"filename":"image_14042025_09_40_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/19/8ee6599cb9baa31edeb559d1d2f77203.jpg","text":"TemporaryFile(/tmp/multipartBody2359784431252484475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021914131,"filename":"image_14042025_09_39_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/19/1344ec914859cd928e29105be62155b4.jpg","text":"TemporaryFile(/tmp/multipartBody8645059191529090624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021914131,"filename":"image_14042025_09_40_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351589570","file1":"1351589546","file0":"1351589510","file4":"1351589707","file5":"1351589735","file3":"1351589573"},"map_files_photo_id_array":[{"photo_id":"1351589735","filename":"file5"},{"photo_id":"1351589570","filename":"file2"},{"photo_id":"1351589707","filename":"file4"},{"photo_id":"1351589546","filename":"file1"},{"photo_id":"1351589510","filename":"file0"},{"photo_id":"1351589573","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351589570":["hashtag1","hashtag2"]},{"1351589573":["hashtag1","hashtag2"]},{"1351589546":["hashtag1","hashtag2"]},{"1351589735":["hashtag1","hashtag2"]},{"1351589510":["hashtag1","hashtag2"]},{"1351589707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351589570, 1351589573, 1351589546, 1351589735, 1351589510, 1351589707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.269232988357544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:18:32.790747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_16_10352.jpg', '/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_26_9370.jpg', '/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_36_10350.jpg', '/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_56_9475.jpg', '/home/pi/Desktop/images/14042025/09/41/image_14042025_09_42_06_10434.jpg', '/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_16_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_16_10352.jpg
/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_26_9370.jpg
/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_36_10350.jpg
/home/pi/Desktop/images/14042025/09/41/image_14042025_09_41_56_9475.jpg
/home/pi/Desktop/images/14042025/09/41/image_14042025_09_42_06_10434.jpg
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_16_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":["1351590179","1351590102","1351590071","1351590235","1351590136","1351590043"],"photo_ids_order":["1351590043","1351590071","1351590102","1351590136","1351590179","1351590235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1fe484f12033a86db0ee99de3d20c7e1.jpg","text":"TemporaryFile(/tmp/multipartBody51733887106738671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021974472,"filename":"image_14042025_09_42_06_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cbd0f38da102f3dd195555fde5f309d.jpg","text":"TemporaryFile(/tmp/multipartBody8482991036126441736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021974472,"filename":"image_14042025_09_41_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/19/a6d8ff8067ae4cd6a22e73b88144ea17.jpg","text":"TemporaryFile(/tmp/multipartBody1990821109575585560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021974472,"filename":"image_14042025_09_41_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/19/3d06950f3680866ffce04176f7d50833.jpg","text":"TemporaryFile(/tmp/multipartBody6329629333257442658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021974472,"filename":"image_14042025_09_42_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/19/5d29c4ef5657c7f7d2afdcbcecdf5c51.jpg","text":"TemporaryFile(/tmp/multipartBody5865389082162966662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021974472,"filename":"image_14042025_09_41_56_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9ad0f8cb78aa0c54e757757d0a575b1.jpg","text":"TemporaryFile(/tmp/multipartBody766625098809722266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745021974472,"filename":"image_14042025_09_41_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351590102","file1":"1351590071","file0":"1351590043","file4":"1351590179","file5":"1351590235","file3":"1351590136"},"map_files_photo_id_array":[{"photo_id":"1351590235","filename":"file5"},{"photo_id":"1351590102","filename":"file2"},{"photo_id":"1351590179","filename":"file4"},{"photo_id":"1351590071","filename":"file1"},{"photo_id":"1351590043","filename":"file0"},{"photo_id":"1351590136","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351590179":["hashtag1","hashtag2"]},{"1351590102":["hashtag1","hashtag2"]},{"1351590071":["hashtag1","hashtag2"]},{"1351590235":["hashtag1","hashtag2"]},{"1351590136":["hashtag1","hashtag2"]},{"1351590043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351590179, 1351590102, 1351590071, 1351590235, 1351590136, 1351590043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.792985916137695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:19:33.003750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_36_10341.jpg', '/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_46_9479.jpg', '/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_56_10371.jpg', '/home/pi/Desktop/images/14042025/09/42/image_14042025_09_43_06_9335.jpg', '/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_16_10457.jpg', '/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_26_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_36_10341.jpg
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_46_9479.jpg
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_42_56_10371.jpg
/home/pi/Desktop/images/14042025/09/42/image_14042025_09_43_06_9335.jpg
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_16_10457.jpg
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_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":["1351590693","1351590738","1351590770","1351590665","1351590631","1351590585"],"photo_ids_order":["1351590585","1351590631","1351590665","1351590693","1351590738","1351590770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b27d1ffd36e3927115f9818ae2bbc30.jpg","text":"TemporaryFile(/tmp/multipartBody1798462577437739401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022034709,"filename":"image_14042025_09_43_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/19/f68a28654e16d5595464a4364bf7e67c.jpg","text":"TemporaryFile(/tmp/multipartBody7114634785740576898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022034709,"filename":"image_14042025_09_43_16_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/53f40080ff65479fbb289e3cb275b557.jpg","text":"TemporaryFile(/tmp/multipartBody8323974463567599419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022034709,"filename":"image_14042025_09_43_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/19/49946ab97fba5f9edb027f6325d534a9.jpg","text":"TemporaryFile(/tmp/multipartBody7274605442989551370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022034709,"filename":"image_14042025_09_42_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/19/7349cb7f7866fd597f3b3e4ed7c639b5.jpg","text":"TemporaryFile(/tmp/multipartBody7563769187062716020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022034709,"filename":"image_14042025_09_42_46_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1662ad26cc4c615831cd83c13d479996.jpg","text":"TemporaryFile(/tmp/multipartBody1658186888147454009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022034709,"filename":"image_14042025_09_42_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351590665","file1":"1351590631","file0":"1351590585","file4":"1351590738","file5":"1351590770","file3":"1351590693"},"map_files_photo_id_array":[{"photo_id":"1351590770","filename":"file5"},{"photo_id":"1351590665","filename":"file2"},{"photo_id":"1351590738","filename":"file4"},{"photo_id":"1351590631","filename":"file1"},{"photo_id":"1351590585","filename":"file0"},{"photo_id":"1351590693","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351590693":["hashtag1","hashtag2"]},{"1351590738":["hashtag1","hashtag2"]},{"1351590770":["hashtag1","hashtag2"]},{"1351590665":["hashtag1","hashtag2"]},{"1351590631":["hashtag1","hashtag2"]},{"1351590585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351590693, 1351590738, 1351590770, 1351590665, 1351590631, 1351590585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32167053222656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:20:32.155815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_46_10369.jpg', '/home/pi/Desktop/images/14042025/09/43/image_14042025_09_44_06_10352.jpg', '/home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_26_9506.jpg', '/home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_46_9411.jpg', '/home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_56_10444.jpg', '/home/pi/Desktop/images/14042025/09/44/image_14042025_09_45_06_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_43_46_10369.jpg
/home/pi/Desktop/images/14042025/09/43/image_14042025_09_44_06_10352.jpg
/home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_26_9506.jpg
/home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_46_9411.jpg
/home/pi/Desktop/images/14042025/09/44/image_14042025_09_44_56_10444.jpg
/home/pi/Desktop/images/14042025/09/44/image_14042025_09_45_06_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351591262","1351591321","1351591111","1351591185","1351591392","1351591362"],"photo_ids_order":["1351591111","1351591185","1351591262","1351591321","1351591362","1351591392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1190c47f08f90175d80c8621e1c484a5.jpg","text":"TemporaryFile(/tmp/multipartBody8265887988799472013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022093828,"filename":"image_14042025_09_44_26_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/19/4531bbe66ccfe82ed109da6f72f413c1.jpg","text":"TemporaryFile(/tmp/multipartBody5898050654126235903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022093828,"filename":"image_14042025_09_44_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/19/8a42b63d383a30545b2e6f773862c422.jpg","text":"TemporaryFile(/tmp/multipartBody2285886492963011896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022093828,"filename":"image_14042025_09_43_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/19/5262a2996fee812e717e2fe36aa7e59a.jpg","text":"TemporaryFile(/tmp/multipartBody5188170679268581988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022093828,"filename":"image_14042025_09_44_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/19/3ae2431f7b012d2778c60551f4e49799.jpg","text":"TemporaryFile(/tmp/multipartBody6958864282077882495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022093828,"filename":"image_14042025_09_45_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a2c7cd2d4e7bda2327f65fb3a6e6db4b.jpg","text":"TemporaryFile(/tmp/multipartBody7428322163959964421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022093828,"filename":"image_14042025_09_44_56_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351591262","file1":"1351591185","file0":"1351591111","file4":"1351591362","file5":"1351591392","file3":"1351591321"},"map_files_photo_id_array":[{"photo_id":"1351591392","filename":"file5"},{"photo_id":"1351591262","filename":"file2"},{"photo_id":"1351591362","filename":"file4"},{"photo_id":"1351591185","filename":"file1"},{"photo_id":"1351591111","filename":"file0"},{"photo_id":"1351591321","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351591262":["hashtag1","hashtag2"]},{"1351591321":["hashtag1","hashtag2"]},{"1351591111":["hashtag1","hashtag2"]},{"1351591185":["hashtag1","hashtag2"]},{"1351591392":["hashtag1","hashtag2"]},{"1351591362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351591262, 1351591321, 1351591111, 1351591185, 1351591392, 1351591362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19665861129761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:21:32.512598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_16_9387.jpg', '/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_26_10380.jpg', '/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_36_9342.jpg', '/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_46_10491.jpg', '/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_56_10347.jpg', '/home/pi/Desktop/images/14042025/09/45/image_14042025_09_46_06_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_16_9387.jpg
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_26_10380.jpg
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_36_9342.jpg
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_46_10491.jpg
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_45_56_10347.jpg
/home/pi/Desktop/images/14042025/09/45/image_14042025_09_46_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":["1351592255","1351592135","1351592278","1351592271","1351592229","1351592267"],"photo_ids_order":["1351592135","1351592229","1351592255","1351592267","1351592271","1351592278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6f633dd1e3c7850e33613989ceaaff61.jpg","text":"TemporaryFile(/tmp/multipartBody7785694330258174195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022154210,"filename":"image_14042025_09_45_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/19/8dfeabd413252e01589ba89c190368c1.jpg","text":"TemporaryFile(/tmp/multipartBody5843332583081927269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022154210,"filename":"image_14042025_09_45_16_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a941f7d145337bb95ba70c49a4f1150.jpg","text":"TemporaryFile(/tmp/multipartBody241695478825374266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022154210,"filename":"image_14042025_09_46_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/19/ecd6b0d3f3011abef2e1be2c9038b9fc.jpg","text":"TemporaryFile(/tmp/multipartBody2099501972855330474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022154210,"filename":"image_14042025_09_45_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/19/99ae685b505280ef2760a680b2ea69ab.jpg","text":"TemporaryFile(/tmp/multipartBody1297593569440175068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022154210,"filename":"image_14042025_09_45_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/19/c875c8066ddf40a481fd768bd4a7c8d9.jpg","text":"TemporaryFile(/tmp/multipartBody7885944407841143506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022154210,"filename":"image_14042025_09_45_46_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351592255","file1":"1351592229","file0":"1351592135","file4":"1351592271","file5":"1351592278","file3":"1351592267"},"map_files_photo_id_array":[{"photo_id":"1351592278","filename":"file5"},{"photo_id":"1351592255","filename":"file2"},{"photo_id":"1351592271","filename":"file4"},{"photo_id":"1351592229","filename":"file1"},{"photo_id":"1351592135","filename":"file0"},{"photo_id":"1351592267","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351592255":["hashtag1","hashtag2"]},{"1351592135":["hashtag1","hashtag2"]},{"1351592278":["hashtag1","hashtag2"]},{"1351592271":["hashtag1","hashtag2"]},{"1351592229":["hashtag1","hashtag2"]},{"1351592267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351592255, 1351592135, 1351592278, 1351592271, 1351592229, 1351592267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38434147834778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:22:32.693994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_16_10360.jpg', '/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_26_9361.jpg', '/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_36_10372.jpg', '/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_46_10383.jpg', '/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_56_9368.jpg', '/home/pi/Desktop/images/14042025/09/46/image_14042025_09_47_06_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_16_10360.jpg
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_26_9361.jpg
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_36_10372.jpg
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_46_10383.jpg
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_46_56_9368.jpg
/home/pi/Desktop/images/14042025/09/46/image_14042025_09_47_06_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":["1351592516","1351592624","1351592506","1351592536","1351592565","1351592594"],"photo_ids_order":["1351592506","1351592516","1351592536","1351592565","1351592594","1351592624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f2953d3e850f6b3cc49b07445150d770.jpg","text":"TemporaryFile(/tmp/multipartBody943224307645266465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022214370,"filename":"image_14042025_09_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/19/11c4dca9b6dee3c5e6c460afe54f42fb.jpg","text":"TemporaryFile(/tmp/multipartBody6130413662260369922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022214370,"filename":"image_14042025_09_47_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/19/ef1b02c63afdd60debe1d9a097c9eb66.jpg","text":"TemporaryFile(/tmp/multipartBody4435762213367651900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022214370,"filename":"image_14042025_09_46_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d8fff07d77dc351da57553a8f7629c9.jpg","text":"TemporaryFile(/tmp/multipartBody7899050447225114765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022214370,"filename":"image_14042025_09_46_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/19/be06ca2472b027f2a834de064521439b.jpg","text":"TemporaryFile(/tmp/multipartBody4207472820944391999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022214370,"filename":"image_14042025_09_46_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e32861c6f98e5fb43d1720c580031a8.jpg","text":"TemporaryFile(/tmp/multipartBody8742346518724074348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022214370,"filename":"image_14042025_09_46_56_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351592536","file1":"1351592516","file0":"1351592506","file4":"1351592594","file5":"1351592624","file3":"1351592565"},"map_files_photo_id_array":[{"photo_id":"1351592624","filename":"file5"},{"photo_id":"1351592536","filename":"file2"},{"photo_id":"1351592594","filename":"file4"},{"photo_id":"1351592516","filename":"file1"},{"photo_id":"1351592506","filename":"file0"},{"photo_id":"1351592565","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351592516":["hashtag1","hashtag2"]},{"1351592624":["hashtag1","hashtag2"]},{"1351592506":["hashtag1","hashtag2"]},{"1351592536":["hashtag1","hashtag2"]},{"1351592565":["hashtag1","hashtag2"]},{"1351592594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351592516, 1351592624, 1351592506, 1351592536, 1351592565, 1351592594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5237295627594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:23:32.911593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_16_10383.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_26_9534.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_36_10339.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_46_9357.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_56_10368.jpg', '/home/pi/Desktop/images/14042025/09/47/image_14042025_09_48_06_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_16_10383.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_26_9534.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_36_10339.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_46_9357.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_47_56_10368.jpg
/home/pi/Desktop/images/14042025/09/47/image_14042025_09_48_06_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":["1351593580","1351593607","1351593508","1351593415","1351593639","1351593318"],"photo_ids_order":["1351593318","1351593415","1351593508","1351593580","1351593607","1351593639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e55411a160abf45c366e549faac513d9.jpg","text":"TemporaryFile(/tmp/multipartBody6890710282463544524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022274602,"filename":"image_14042025_09_47_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/19/32e34f11bdfddcfb5962c85a9ace13e2.jpg","text":"TemporaryFile(/tmp/multipartBody8887339423266088854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022274602,"filename":"image_14042025_09_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/19/64c1e5253ff43a5bf733d949fdf06f89.jpg","text":"TemporaryFile(/tmp/multipartBody8042176458404852274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022274602,"filename":"image_14042025_09_47_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b114c1ca9a419d8d26094b838865563b.jpg","text":"TemporaryFile(/tmp/multipartBody7439477562461631590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022274602,"filename":"image_14042025_09_47_26_9534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/10d3b5ec550798dc03e4d0226693f213.jpg","text":"TemporaryFile(/tmp/multipartBody7648979638984983330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022274602,"filename":"image_14042025_09_48_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/19/db3d0ac5beb7669ca7c0a9703cd488bf.jpg","text":"TemporaryFile(/tmp/multipartBody8221294336711874218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022274602,"filename":"image_14042025_09_47_16_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351593508","file1":"1351593415","file0":"1351593318","file4":"1351593607","file5":"1351593639","file3":"1351593580"},"map_files_photo_id_array":[{"photo_id":"1351593639","filename":"file5"},{"photo_id":"1351593508","filename":"file2"},{"photo_id":"1351593607","filename":"file4"},{"photo_id":"1351593415","filename":"file1"},{"photo_id":"1351593318","filename":"file0"},{"photo_id":"1351593580","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351593580":["hashtag1","hashtag2"]},{"1351593607":["hashtag1","hashtag2"]},{"1351593508":["hashtag1","hashtag2"]},{"1351593415":["hashtag1","hashtag2"]},{"1351593639":["hashtag1","hashtag2"]},{"1351593318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351593580, 1351593607, 1351593508, 1351593415, 1351593639, 1351593318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.699471473693848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:24:33.066813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_16_9501.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_26_10374.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_36_9345.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_46_10365.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_56_10358.jpg', '/home/pi/Desktop/images/14042025/09/48/image_14042025_09_49_06_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_16_9501.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_26_10374.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_36_9345.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_46_10365.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_48_56_10358.jpg
/home/pi/Desktop/images/14042025/09/48/image_14042025_09_49_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":["1351594563","1351594479","1351594373","1351594311","1351594166","1351594235"],"photo_ids_order":["1351594166","1351594235","1351594311","1351594373","1351594479","1351594563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1af6129c56fb5366ea1216885b65ca1f.jpg","text":"TemporaryFile(/tmp/multipartBody4828948880296056966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022334744,"filename":"image_14042025_09_49_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/19/0da346469c8b47418429563d213b47b2.jpg","text":"TemporaryFile(/tmp/multipartBody6098474014764128498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022334744,"filename":"image_14042025_09_48_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/19/13b0458d3be77d9010b542bf6d392c61.jpg","text":"TemporaryFile(/tmp/multipartBody7078663324637962650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022334744,"filename":"image_14042025_09_48_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/19/a93afb1eca528763210afc69f7754be6.jpg","text":"TemporaryFile(/tmp/multipartBody7262926440500002401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022334744,"filename":"image_14042025_09_48_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/19/0643ad6a752b095ccac5e3e13bac7b66.jpg","text":"TemporaryFile(/tmp/multipartBody5291555383189125017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022334744,"filename":"image_14042025_09_48_16_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/19/6538aab114be7b0fe750314912615494.jpg","text":"TemporaryFile(/tmp/multipartBody2538220978382590869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022334744,"filename":"image_14042025_09_48_26_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351594311","file1":"1351594235","file0":"1351594166","file4":"1351594479","file5":"1351594563","file3":"1351594373"},"map_files_photo_id_array":[{"photo_id":"1351594563","filename":"file5"},{"photo_id":"1351594311","filename":"file2"},{"photo_id":"1351594479","filename":"file4"},{"photo_id":"1351594235","filename":"file1"},{"photo_id":"1351594166","filename":"file0"},{"photo_id":"1351594373","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351594563":["hashtag1","hashtag2"]},{"1351594479":["hashtag1","hashtag2"]},{"1351594373":["hashtag1","hashtag2"]},{"1351594311":["hashtag1","hashtag2"]},{"1351594166":["hashtag1","hashtag2"]},{"1351594235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351594563, 1351594479, 1351594373, 1351594311, 1351594166, 1351594235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05439758300781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:25:32.249723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_16_10346.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_26_10364.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_36_9425.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_46_10391.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_56_9336.jpg', '/home/pi/Desktop/images/14042025/09/49/image_14042025_09_50_06_10841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_16_10346.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_26_10364.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_36_9425.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_46_10391.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_49_56_9336.jpg
/home/pi/Desktop/images/14042025/09/49/image_14042025_09_50_06_10841.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":["1351594759","1351594930","1351595043","1351594742","1351594739","1351594795"],"photo_ids_order":["1351594739","1351594742","1351594759","1351594795","1351594930","1351595043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4f18bfaf9a0c4ac013037c5be212c072.jpg","text":"TemporaryFile(/tmp/multipartBody8371284986727686262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022393953,"filename":"image_14042025_09_49_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e4f3c1849e6dc2cf4f8ab4b419e44d4.jpg","text":"TemporaryFile(/tmp/multipartBody7550623805673679972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022393953,"filename":"image_14042025_09_49_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/19/aa7f3476d99c0d7c8a9cb1eb7e5f0bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3237963261628527468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022393953,"filename":"image_14042025_09_50_06_10841.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/21423024ba07a74c650f50faff834769.jpg","text":"TemporaryFile(/tmp/multipartBody2591764821098896925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022393953,"filename":"image_14042025_09_49_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/19/c0c9f3009332d9e921bd2d1d79848572.jpg","text":"TemporaryFile(/tmp/multipartBody6389871790681014943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022393953,"filename":"image_14042025_09_49_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c95864f4f794203e607cd37b137075fb.jpg","text":"TemporaryFile(/tmp/multipartBody884050050285648899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022393953,"filename":"image_14042025_09_49_46_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351594759","file1":"1351594742","file0":"1351594739","file4":"1351594930","file5":"1351595043","file3":"1351594795"},"map_files_photo_id_array":[{"photo_id":"1351595043","filename":"file5"},{"photo_id":"1351594759","filename":"file2"},{"photo_id":"1351594930","filename":"file4"},{"photo_id":"1351594742","filename":"file1"},{"photo_id":"1351594739","filename":"file0"},{"photo_id":"1351594795","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351594759":["hashtag1","hashtag2"]},{"1351594930":["hashtag1","hashtag2"]},{"1351595043":["hashtag1","hashtag2"]},{"1351594742":["hashtag1","hashtag2"]},{"1351594739":["hashtag1","hashtag2"]},{"1351594795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351594759, 1351594930, 1351595043, 1351594742, 1351594739, 1351594795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.116100549697876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 02:26:42.518585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_16_9360.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_26_10342.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_35_9338.jpg', '/home/pi/Desktop/images/14042025/09/50/image_14042025_09_51_06_9395.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_16_10360.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_36_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_16_9360.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_26_10342.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_50_35_9338.jpg
/home/pi/Desktop/images/14042025/09/50/image_14042025_09_51_06_9395.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_16_10360.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_36_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351595715","1351595517","1351595774","1351595747","1351595636","1351595578"],"photo_ids_order":["1351595517","1351595578","1351595636","1351595715","1351595747","1351595774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fa60c4389818d1080b200b54955b13a0.jpg","text":"TemporaryFile(/tmp/multipartBody5288198182451980117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022463352,"filename":"image_14042025_09_51_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e16e76171282934fab95d14ce43c65b.jpg","text":"TemporaryFile(/tmp/multipartBody669321705682872337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022463352,"filename":"image_14042025_09_50_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/19/928b7838e67fbad66052276d438be06a.jpg","text":"TemporaryFile(/tmp/multipartBody4722242053669064374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022463352,"filename":"image_14042025_09_51_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/19/fc3b026173556b4f39ca7b7cae250443.jpg","text":"TemporaryFile(/tmp/multipartBody8159740817962844145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022463352,"filename":"image_14042025_09_51_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/19/61701cdeb07d587a1bebb4b2f4adadc8.jpg","text":"TemporaryFile(/tmp/multipartBody5892451860798279800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022463352,"filename":"image_14042025_09_50_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/19/9d64cee8086541a9b7ec8898f95bb9c7.jpg","text":"TemporaryFile(/tmp/multipartBody5006067403632671240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022463352,"filename":"image_14042025_09_50_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351595636","file1":"1351595578","file0":"1351595517","file4":"1351595747","file5":"1351595774","file3":"1351595715"},"map_files_photo_id_array":[{"photo_id":"1351595774","filename":"file5"},{"photo_id":"1351595636","filename":"file2"},{"photo_id":"1351595747","filename":"file4"},{"photo_id":"1351595578","filename":"file1"},{"photo_id":"1351595517","filename":"file0"},{"photo_id":"1351595715","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351595715":["hashtag1","hashtag2"]},{"1351595517":["hashtag1","hashtag2"]},{"1351595774":["hashtag1","hashtag2"]},{"1351595747":["hashtag1","hashtag2"]},{"1351595636":["hashtag1","hashtag2"]},{"1351595578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351595715, 1351595517, 1351595774, 1351595747, 1351595636, 1351595578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12074661254883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:27:32.698577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_46_10455.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_56_9344.jpg', '/home/pi/Desktop/images/14042025/09/51/image_14042025_09_52_06_10327.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_16_10454.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_26_9399.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_36_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_46_10455.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_51_56_9344.jpg
/home/pi/Desktop/images/14042025/09/51/image_14042025_09_52_06_10327.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_16_10454.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_26_9399.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_36_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351596018","1351596077","1351595888","1351595912","1351596067","1351595959"],"photo_ids_order":["1351595888","1351595912","1351595959","1351596018","1351596067","1351596077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd863368ee65a3fe2099cdeb8543173e.jpg","text":"TemporaryFile(/tmp/multipartBody7467994155403146999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022514382,"filename":"image_14042025_09_52_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/19/7fe6d84d672179e3983b52efc5f29969.jpg","text":"TemporaryFile(/tmp/multipartBody584504090960522143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022514382,"filename":"image_14042025_09_52_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/19/7166e8c6a72c41952f9c745ba1b25cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7416584452207573719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022514382,"filename":"image_14042025_09_51_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/19/91863ce7a1d940b4bc8a8cf70c07693d.jpg","text":"TemporaryFile(/tmp/multipartBody7520414508632315478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022514382,"filename":"image_14042025_09_51_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/19/4b6f669e14cb9800350fc72155e88d70.jpg","text":"TemporaryFile(/tmp/multipartBody7530688910673348499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022514382,"filename":"image_14042025_09_52_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/19/1229abb88f0c93390fa480e0657b9987.jpg","text":"TemporaryFile(/tmp/multipartBody2848162991650856672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022514382,"filename":"image_14042025_09_52_06_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351595959","file1":"1351595912","file0":"1351595888","file4":"1351596067","file5":"1351596077","file3":"1351596018"},"map_files_photo_id_array":[{"photo_id":"1351596077","filename":"file5"},{"photo_id":"1351595959","filename":"file2"},{"photo_id":"1351596067","filename":"file4"},{"photo_id":"1351595912","filename":"file1"},{"photo_id":"1351595888","filename":"file0"},{"photo_id":"1351596018","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351596018":["hashtag1","hashtag2"]},{"1351596077":["hashtag1","hashtag2"]},{"1351595888":["hashtag1","hashtag2"]},{"1351595912":["hashtag1","hashtag2"]},{"1351596067":["hashtag1","hashtag2"]},{"1351595959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351596018, 1351596077, 1351595888, 1351595912, 1351596067, 1351595959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.352185010910034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:28:32.904657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_46_9364.jpg', '/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_56_10448.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_16_9424.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_26_10443.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_36_9350.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_46_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_46_9364.jpg
/home/pi/Desktop/images/14042025/09/52/image_14042025_09_52_56_10448.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_16_9424.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_26_10443.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_36_9350.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_46_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351596165","1351596129","1351596098","1351596095","1351596101","1351596106"],"photo_ids_order":["1351596095","1351596098","1351596101","1351596106","1351596129","1351596165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/31a5b57e3d4034bf64eb7325eab8689d.jpg","text":"TemporaryFile(/tmp/multipartBody6055453590750862838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022574581,"filename":"image_14042025_09_53_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/19/32b476a9af969bea1e04d1184a1d272d.jpg","text":"TemporaryFile(/tmp/multipartBody1316245734887093018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022574581,"filename":"image_14042025_09_53_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6f995e5a526b94a7fa1c156d2474da3.jpg","text":"TemporaryFile(/tmp/multipartBody394459736245902209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022574581,"filename":"image_14042025_09_52_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/19/809695cb28cfc0470216eb04d829cde6.jpg","text":"TemporaryFile(/tmp/multipartBody9082585999982204946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022574581,"filename":"image_14042025_09_52_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/add1751626dd2939f67e4e017fc4f4f8.jpg","text":"TemporaryFile(/tmp/multipartBody5414267572620335757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022574581,"filename":"image_14042025_09_53_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/19/2d57d994fa7077295f0b20ce93023e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3105170430667744566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022574581,"filename":"image_14042025_09_53_26_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351596101","file1":"1351596098","file0":"1351596095","file4":"1351596129","file5":"1351596165","file3":"1351596106"},"map_files_photo_id_array":[{"photo_id":"1351596165","filename":"file5"},{"photo_id":"1351596101","filename":"file2"},{"photo_id":"1351596129","filename":"file4"},{"photo_id":"1351596098","filename":"file1"},{"photo_id":"1351596095","filename":"file0"},{"photo_id":"1351596106","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351596165":["hashtag1","hashtag2"]},{"1351596129":["hashtag1","hashtag2"]},{"1351596098":["hashtag1","hashtag2"]},{"1351596095":["hashtag1","hashtag2"]},{"1351596101":["hashtag1","hashtag2"]},{"1351596106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351596165, 1351596129, 1351596098, 1351596095, 1351596101, 1351596106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68224549293518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:29:33.147170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_56_10343.jpg', '/home/pi/Desktop/images/14042025/09/53/image_14042025_09_54_06_9430.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_16_10419.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_26_9393.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_36_10429.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_53_56_10343.jpg
/home/pi/Desktop/images/14042025/09/53/image_14042025_09_54_06_9430.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_16_10419.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_26_9393.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_36_10429.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_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":["1351596330","1351596572","1351596617","1351596545","1351596431","1351596487"],"photo_ids_order":["1351596330","1351596431","1351596487","1351596545","1351596572","1351596617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b0d168cd1eb0a9791bd394990633d788.jpg","text":"TemporaryFile(/tmp/multipartBody1868431319293253808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022635094,"filename":"image_14042025_09_53_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/19/2d4c71e4d95ae80444c0c28f5678ad93.jpg","text":"TemporaryFile(/tmp/multipartBody7212134659224190750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022635094,"filename":"image_14042025_09_54_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/19/2d133cd07b105a056536cf6cfc060229.jpg","text":"TemporaryFile(/tmp/multipartBody1934982404298159305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022635094,"filename":"image_14042025_09_54_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/19/eb7bb1b815850fc70cfd575826f06d05.jpg","text":"TemporaryFile(/tmp/multipartBody4458244413459043324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022635094,"filename":"image_14042025_09_54_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/19/3ff0719a8d2734e735c6305959df92ce.jpg","text":"TemporaryFile(/tmp/multipartBody3703292449320899802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022635094,"filename":"image_14042025_09_54_06_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86ee737d075053370bf61f491be07651.jpg","text":"TemporaryFile(/tmp/multipartBody1542227051791029556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022635094,"filename":"image_14042025_09_54_16_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351596487","file1":"1351596431","file0":"1351596330","file4":"1351596572","file5":"1351596617","file3":"1351596545"},"map_files_photo_id_array":[{"photo_id":"1351596617","filename":"file5"},{"photo_id":"1351596487","filename":"file2"},{"photo_id":"1351596572","filename":"file4"},{"photo_id":"1351596431","filename":"file1"},{"photo_id":"1351596330","filename":"file0"},{"photo_id":"1351596545","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351596330":["hashtag1","hashtag2"]},{"1351596572":["hashtag1","hashtag2"]},{"1351596617":["hashtag1","hashtag2"]},{"1351596545":["hashtag1","hashtag2"]},{"1351596431":["hashtag1","hashtag2"]},{"1351596487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351596330, 1351596572, 1351596617, 1351596545, 1351596431, 1351596487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.13085699081421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:30:32.355241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_56_9477.jpg', '/home/pi/Desktop/images/14042025/09/54/image_14042025_09_55_06_10344.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_16_9411.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_26_10410.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_36_10410.jpg', '/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_56_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_54_56_9477.jpg
/home/pi/Desktop/images/14042025/09/54/image_14042025_09_55_06_10344.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_16_9411.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_26_10410.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_36_10410.jpg
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_55_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":["1351597064","1351596899","1351597090","1351596833","1351596923","1351596871"],"photo_ids_order":["1351596833","1351596871","1351596899","1351596923","1351597064","1351597090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b932b0c82562a8c05e43d09df8c2a70f.jpg","text":"TemporaryFile(/tmp/multipartBody4273208509893703499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022694064,"filename":"image_14042025_09_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/19/9279ff3b6ea4584de20839ae8198d519.jpg","text":"TemporaryFile(/tmp/multipartBody4023456328592132135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022694064,"filename":"image_14042025_09_55_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/19/b48fb12d69bc05afac6d503272eede37.jpg","text":"TemporaryFile(/tmp/multipartBody4772806630958652068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022694064,"filename":"image_14042025_09_55_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/19/97f921c3e4958d50654662ce00d6b07c.jpg","text":"TemporaryFile(/tmp/multipartBody503803021448121799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022694064,"filename":"image_14042025_09_54_56_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/666af4646bd5f9176f1407b705e9c1ae.jpg","text":"TemporaryFile(/tmp/multipartBody3112415445806749625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022694064,"filename":"image_14042025_09_55_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/19/51b69794090676174d5673bf8300e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody1015937925708797528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022694064,"filename":"image_14042025_09_55_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351596899","file1":"1351596871","file0":"1351596833","file4":"1351597064","file5":"1351597090","file3":"1351596923"},"map_files_photo_id_array":[{"photo_id":"1351597090","filename":"file5"},{"photo_id":"1351596899","filename":"file2"},{"photo_id":"1351597064","filename":"file4"},{"photo_id":"1351596871","filename":"file1"},{"photo_id":"1351596833","filename":"file0"},{"photo_id":"1351596923","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351597064":["hashtag1","hashtag2"]},{"1351596899":["hashtag1","hashtag2"]},{"1351597090":["hashtag1","hashtag2"]},{"1351596833":["hashtag1","hashtag2"]},{"1351596923":["hashtag1","hashtag2"]},{"1351596871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351597064, 1351596899, 1351597090, 1351596833, 1351596923, 1351596871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.41388154029846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:31:32.556751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/55/image_14042025_09_56_06_9345.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_16_10360.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_26_10362.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_36_9449.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_46_10424.jpg', '/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_56_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/55/image_14042025_09_56_06_9345.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_16_10360.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_26_10362.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_36_9449.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_46_10424.jpg
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_56_56_9343.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":["1351597867","1351597702","1351598232","1351598028","1351597482","1351597461"],"photo_ids_order":["1351597461","1351597482","1351597702","1351597867","1351598028","1351598232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a16ebbfa01532ba65e4413bf6e80f825.jpg","text":"TemporaryFile(/tmp/multipartBody8577389648096383853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022754229,"filename":"image_14042025_09_56_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/19/5c8124906bf5c4d3eaa94a3f41f506b4.jpg","text":"TemporaryFile(/tmp/multipartBody6656116062773143071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022754229,"filename":"image_14042025_09_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/19/df7cb19f88771d460b8681fba61e4cec.jpg","text":"TemporaryFile(/tmp/multipartBody2528202733703656212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022754229,"filename":"image_14042025_09_56_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a0f1fe79a1043439e3fc4ca95a07926.jpg","text":"TemporaryFile(/tmp/multipartBody8950653699026038054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022754229,"filename":"image_14042025_09_56_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/19/23eeceea73ce4dd51eda691d0f55d64b.jpg","text":"TemporaryFile(/tmp/multipartBody4103707439387637102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022754229,"filename":"image_14042025_09_56_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e9349e8fb5409f3d45729ada885b6f6d.jpg","text":"TemporaryFile(/tmp/multipartBody2471714153332921873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022754229,"filename":"image_14042025_09_56_06_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351597702","file1":"1351597482","file0":"1351597461","file4":"1351598028","file5":"1351598232","file3":"1351597867"},"map_files_photo_id_array":[{"photo_id":"1351598232","filename":"file5"},{"photo_id":"1351597702","filename":"file2"},{"photo_id":"1351598028","filename":"file4"},{"photo_id":"1351597482","filename":"file1"},{"photo_id":"1351597461","filename":"file0"},{"photo_id":"1351597867","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351597867":["hashtag1","hashtag2"]},{"1351597702":["hashtag1","hashtag2"]},{"1351598232":["hashtag1","hashtag2"]},{"1351598028":["hashtag1","hashtag2"]},{"1351597482":["hashtag1","hashtag2"]},{"1351597461":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351597867, 1351597702, 1351598232, 1351598028, 1351597482, 1351597461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.56822204589844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 02:32:42.720189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/56/image_14042025_09_57_06_10448.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_16_10352.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_26_9457.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_45_9366.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_56_10450.jpg', '/home/pi/Desktop/images/14042025/09/57/image_14042025_09_58_06_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/56/image_14042025_09_57_06_10448.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_16_10352.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_26_9457.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_45_9366.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_57_56_10450.jpg
/home/pi/Desktop/images/14042025/09/57/image_14042025_09_58_06_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":["1351599526","1351599121","1351599384","1351598994","1351598874","1351599275"],"photo_ids_order":["1351598874","1351598994","1351599121","1351599275","1351599384","1351599526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ea4b033840095465500491249856f46.jpg","text":"TemporaryFile(/tmp/multipartBody557804509513504710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022823544,"filename":"image_14042025_09_58_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/19/de7df17a791704761c9e191575661e66.jpg","text":"TemporaryFile(/tmp/multipartBody1911943770030238493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022823544,"filename":"image_14042025_09_57_26_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a45e7ae17bb3192386f27c01b476cce4.jpg","text":"TemporaryFile(/tmp/multipartBody6217308841375031797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022823544,"filename":"image_14042025_09_57_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/19/4718ef8191ad8b58675531d077c6b293.jpg","text":"TemporaryFile(/tmp/multipartBody3916842526676486721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022823544,"filename":"image_14042025_09_57_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e69579b06cd68f71d7b1e5b193af93d.jpg","text":"TemporaryFile(/tmp/multipartBody4039109116293529987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022823544,"filename":"image_14042025_09_57_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/19/725aab7f93b0a25d97d90ca9cd98d13e.jpg","text":"TemporaryFile(/tmp/multipartBody83166063872290170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022823544,"filename":"image_14042025_09_57_45_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351599121","file1":"1351598994","file0":"1351598874","file4":"1351599384","file5":"1351599526","file3":"1351599275"},"map_files_photo_id_array":[{"photo_id":"1351599526","filename":"file5"},{"photo_id":"1351599121","filename":"file2"},{"photo_id":"1351599384","filename":"file4"},{"photo_id":"1351598994","filename":"file1"},{"photo_id":"1351598874","filename":"file0"},{"photo_id":"1351599275","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351599526":["hashtag1","hashtag2"]},{"1351599121":["hashtag1","hashtag2"]},{"1351599384":["hashtag1","hashtag2"]},{"1351598994":["hashtag1","hashtag2"]},{"1351598874":["hashtag1","hashtag2"]},{"1351599275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351599526, 1351599121, 1351599384, 1351598994, 1351598874, 1351599275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84564018249512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:33:32.895590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_16_9414.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_26_10384.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_35_9349.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_46_10453.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_56_10363.jpg', '/home/pi/Desktop/images/14042025/09/58/image_14042025_09_59_06_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_16_9414.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_26_10384.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_35_9349.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_46_10453.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_58_56_10363.jpg
/home/pi/Desktop/images/14042025/09/58/image_14042025_09_59_06_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":["1351600101","1351600011","1351600064","1351600031","1351600189","1351600015"],"photo_ids_order":["1351600011","1351600015","1351600031","1351600064","1351600101","1351600189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/69bac4b65eed5b5b1758e68ab794d7c7.jpg","text":"TemporaryFile(/tmp/multipartBody1207937183076183254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022874578,"filename":"image_14042025_09_58_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/19/7dffd2444f05816819bef1d84514b991.jpg","text":"TemporaryFile(/tmp/multipartBody8646118900796101376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022874578,"filename":"image_14042025_09_58_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/19/ff7e7d50a239451e4c43c1b48d76ef0b.jpg","text":"TemporaryFile(/tmp/multipartBody7919683944430361132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022874578,"filename":"image_14042025_09_58_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/19/4bb4d0ce1df97eb71271e9848d882b49.jpg","text":"TemporaryFile(/tmp/multipartBody2289560022108997936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022874578,"filename":"image_14042025_09_58_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/19/332728537929522795baaf13ea82cf43.jpg","text":"TemporaryFile(/tmp/multipartBody1864733785832564109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022874578,"filename":"image_14042025_09_59_06_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b8d3bc1eaaf0d271ce71d684c1365cb.jpg","text":"TemporaryFile(/tmp/multipartBody1866990681249572737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022874578,"filename":"image_14042025_09_58_26_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351600031","file1":"1351600015","file0":"1351600011","file4":"1351600101","file5":"1351600189","file3":"1351600064"},"map_files_photo_id_array":[{"photo_id":"1351600189","filename":"file5"},{"photo_id":"1351600031","filename":"file2"},{"photo_id":"1351600101","filename":"file4"},{"photo_id":"1351600015","filename":"file1"},{"photo_id":"1351600011","filename":"file0"},{"photo_id":"1351600064","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351600101":["hashtag1","hashtag2"]},{"1351600011":["hashtag1","hashtag2"]},{"1351600064":["hashtag1","hashtag2"]},{"1351600031":["hashtag1","hashtag2"]},{"1351600189":["hashtag1","hashtag2"]},{"1351600015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351600101, 1351600011, 1351600064, 1351600031, 1351600189, 1351600015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90421938896179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:34:33.208426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_16_10364.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_25_9392.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_36_10420.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_46_10369.jpg', '/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_56_9362.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_16_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_16_10364.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_25_9392.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_36_10420.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_46_10369.jpg
/home/pi/Desktop/images/14042025/09/59/image_14042025_09_59_56_9362.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_16_10068.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351600534","1351600857","1351600593","1351600517","1351600774","1351600522"],"photo_ids_order":["1351600517","1351600522","1351600534","1351600593","1351600774","1351600857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f3db1dbf0c47451bd342fb0a60272dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2171515625878518538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022934885,"filename":"image_14042025_09_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/19/ff2b2c2bcb7ecdf53190eac50c2d7470.jpg","text":"TemporaryFile(/tmp/multipartBody9204105652841520901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022934885,"filename":"image_14042025_10_00_16_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/19/c30bab5a20feca12ca782750f41918d0.jpg","text":"TemporaryFile(/tmp/multipartBody5376348774874198818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022934885,"filename":"image_14042025_09_59_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/19/dd4108bf9edd1e6fb431eca9e93c08f0.jpg","text":"TemporaryFile(/tmp/multipartBody4976783369724118488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022934885,"filename":"image_14042025_09_59_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/19/9cffad31812004a47cb08d6b090041a6.jpg","text":"TemporaryFile(/tmp/multipartBody4786067645078764495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022934885,"filename":"image_14042025_09_59_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/19/cda7adad7e5f1b074c338ba2270fa331.jpg","text":"TemporaryFile(/tmp/multipartBody511187008021924915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022934885,"filename":"image_14042025_09_59_25_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351600534","file1":"1351600522","file0":"1351600517","file4":"1351600774","file5":"1351600857","file3":"1351600593"},"map_files_photo_id_array":[{"photo_id":"1351600857","filename":"file5"},{"photo_id":"1351600534","filename":"file2"},{"photo_id":"1351600774","filename":"file4"},{"photo_id":"1351600522","filename":"file1"},{"photo_id":"1351600517","filename":"file0"},{"photo_id":"1351600593","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351600534":["hashtag1","hashtag2"]},{"1351600857":["hashtag1","hashtag2"]},{"1351600593":["hashtag1","hashtag2"]},{"1351600517":["hashtag1","hashtag2"]},{"1351600774":["hashtag1","hashtag2"]},{"1351600522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351600534, 1351600857, 1351600593, 1351600517, 1351600774, 1351600522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.531144857406616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:35:32.342220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_27_10641.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_36_9391.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_47_10349.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_57_10370.jpg', '/home/pi/Desktop/images/14042025/10/00/image_14042025_10_01_06_9394.jpg', '/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_17_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_27_10641.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_36_9391.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_47_10349.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_00_57_10370.jpg
/home/pi/Desktop/images/14042025/10/00/image_14042025_10_01_06_9394.jpg
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_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":["1351601115","1351601264","1351600982","1351601174","1351601453","1351601029"],"photo_ids_order":["1351600982","1351601029","1351601115","1351601174","1351601264","1351601453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d3ac94f8af5c420c4cdaad31222b672a.jpg","text":"TemporaryFile(/tmp/multipartBody8133673637081261545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022994016,"filename":"image_14042025_10_00_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/19/243d40e6155d258ca72ccb7d5b0acd42.jpg","text":"TemporaryFile(/tmp/multipartBody8521334025673995952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022994016,"filename":"image_14042025_10_01_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/19/414b638308600b976d35220009e6e7a1.jpg","text":"TemporaryFile(/tmp/multipartBody4954704043080558732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022994016,"filename":"image_14042025_10_00_27_10641.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/878f1d5e9623c8081877ef4edfd70d95.jpg","text":"TemporaryFile(/tmp/multipartBody2154124117774505960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022994016,"filename":"image_14042025_10_00_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3336f871e970cf2910911c8bb5628c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4782022360577568291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022994016,"filename":"image_14042025_10_01_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/19/20e893dcdfd735436bfcb331d4c442e6.jpg","text":"TemporaryFile(/tmp/multipartBody3267606895201994395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745022994016,"filename":"image_14042025_10_00_36_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351601115","file1":"1351601029","file0":"1351600982","file4":"1351601264","file5":"1351601453","file3":"1351601174"},"map_files_photo_id_array":[{"photo_id":"1351601453","filename":"file5"},{"photo_id":"1351601115","filename":"file2"},{"photo_id":"1351601264","filename":"file4"},{"photo_id":"1351601029","filename":"file1"},{"photo_id":"1351600982","filename":"file0"},{"photo_id":"1351601174","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351601115":["hashtag1","hashtag2"]},{"1351601264":["hashtag1","hashtag2"]},{"1351600982":["hashtag1","hashtag2"]},{"1351601174":["hashtag1","hashtag2"]},{"1351601453":["hashtag1","hashtag2"]},{"1351601029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351601115, 1351601264, 1351600982, 1351601174, 1351601453, 1351601029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.692814350128174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:36:32.628795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_27_10362.jpg', '/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_36_9330.jpg', '/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_47_10364.jpg', '/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_56_9421.jpg', '/home/pi/Desktop/images/14042025/10/01/image_14042025_10_02_07_10334.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_17_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_27_10362.jpg
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_36_9330.jpg
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_47_10364.jpg
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_01_56_9421.jpg
/home/pi/Desktop/images/14042025/10/01/image_14042025_10_02_07_10334.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_17_10416.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":["1351602138","1351602275","1351602527","1351602413","1351602343","1351602603"],"photo_ids_order":["1351602138","1351602275","1351602343","1351602413","1351602527","1351602603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64caf01d2f08ee621af0b8e89cfa4d55.jpg","text":"TemporaryFile(/tmp/multipartBody726610782693309093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023054301,"filename":"image_14042025_10_01_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c712c1fc6d7c3b6fa6a78b21fa778d12.jpg","text":"TemporaryFile(/tmp/multipartBody3215437248833685279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023054301,"filename":"image_14042025_10_01_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d3b48cb6dd28ec2c6e82066f66e2345a.jpg","text":"TemporaryFile(/tmp/multipartBody6962896544477735465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023054301,"filename":"image_14042025_10_02_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c27415aeae8dcf3f2958a74abcb9fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8876598619065371591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023054301,"filename":"image_14042025_10_01_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/19/ba475f979c363fb7207ac8dad2aa2d76.jpg","text":"TemporaryFile(/tmp/multipartBody5382708334442699974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023054301,"filename":"image_14042025_10_01_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/19/2ab7ffdd2ea2fa12aa45c739387cf2db.jpg","text":"TemporaryFile(/tmp/multipartBody6397266173418622348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023054301,"filename":"image_14042025_10_02_17_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351602343","file1":"1351602275","file0":"1351602138","file4":"1351602527","file5":"1351602603","file3":"1351602413"},"map_files_photo_id_array":[{"photo_id":"1351602603","filename":"file5"},{"photo_id":"1351602343","filename":"file2"},{"photo_id":"1351602527","filename":"file4"},{"photo_id":"1351602275","filename":"file1"},{"photo_id":"1351602138","filename":"file0"},{"photo_id":"1351602413","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351602138":["hashtag1","hashtag2"]},{"1351602275":["hashtag1","hashtag2"]},{"1351602527":["hashtag1","hashtag2"]},{"1351602413":["hashtag1","hashtag2"]},{"1351602343":["hashtag1","hashtag2"]},{"1351602603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351602138, 1351602275, 1351602527, 1351602413, 1351602343, 1351602603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.867618560791016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 02:37:42.846625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_26_9391.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_37_10401.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_47_10350.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_57_9443.jpg', '/home/pi/Desktop/images/14042025/10/02/image_14042025_10_03_07_10345.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_16_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_26_9391.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_37_10401.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_47_10350.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_02_57_9443.jpg
/home/pi/Desktop/images/14042025/10/02/image_14042025_10_03_07_10345.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_16_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":["1351602770","1351602758","1351602767","1351602722","1351602763","1351602751"],"photo_ids_order":["1351602722","1351602751","1351602758","1351602763","1351602767","1351602770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/93313d1f56cec1c92b86cd27e67ba47c.jpg","text":"TemporaryFile(/tmp/multipartBody6496569386321630231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023123662,"filename":"image_14042025_10_03_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/19/259d5493f6ba4579c90b352e5dcef701.jpg","text":"TemporaryFile(/tmp/multipartBody1384902133932059942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023123662,"filename":"image_14042025_10_02_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/447ad96918cc56598634111cfc39fefe.jpg","text":"TemporaryFile(/tmp/multipartBody6530811502333256751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023123662,"filename":"image_14042025_10_03_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/19/474d994b75062b9317e0228660e07be8.jpg","text":"TemporaryFile(/tmp/multipartBody7311693605968439796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023123662,"filename":"image_14042025_10_02_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/19/7780cfbd7c5c37fbb89bc56edae66df3.jpg","text":"TemporaryFile(/tmp/multipartBody4211024691727216636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023123662,"filename":"image_14042025_10_02_57_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/19/6d42c90114fb1bb795a31a07cb346a00.jpg","text":"TemporaryFile(/tmp/multipartBody1418940367951065585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023123662,"filename":"image_14042025_10_02_37_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351602758","file1":"1351602751","file0":"1351602722","file4":"1351602767","file5":"1351602770","file3":"1351602763"},"map_files_photo_id_array":[{"photo_id":"1351602770","filename":"file5"},{"photo_id":"1351602758","filename":"file2"},{"photo_id":"1351602767","filename":"file4"},{"photo_id":"1351602751","filename":"file1"},{"photo_id":"1351602722","filename":"file0"},{"photo_id":"1351602763","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351602770":["hashtag1","hashtag2"]},{"1351602758":["hashtag1","hashtag2"]},{"1351602767":["hashtag1","hashtag2"]},{"1351602722":["hashtag1","hashtag2"]},{"1351602763":["hashtag1","hashtag2"]},{"1351602751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351602770, 1351602758, 1351602767, 1351602722, 1351602763, 1351602751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.59699821472168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:38:33.073046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_27_10340.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_37_10352.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_46_9358.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_57_10453.jpg', '/home/pi/Desktop/images/14042025/10/03/image_14042025_10_04_07_10338.jpg', '/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_16_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_27_10340.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_37_10352.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_46_9358.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_03_57_10453.jpg
/home/pi/Desktop/images/14042025/10/03/image_14042025_10_04_07_10338.jpg
/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_16_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351602804","1351602791","1351602785","1351602779","1351602800","1351602796"],"photo_ids_order":["1351602779","1351602785","1351602791","1351602796","1351602800","1351602804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc1781bbc04258288347258ce7a73b14.jpg","text":"TemporaryFile(/tmp/multipartBody3548311767539023608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023174735,"filename":"image_14042025_10_04_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/78e4666d56e894525be3326053e807a0.jpg","text":"TemporaryFile(/tmp/multipartBody3793328110967096130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023174735,"filename":"image_14042025_10_03_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/19/4f98f42674ba25b45ee1550532cd42b2.jpg","text":"TemporaryFile(/tmp/multipartBody1199151029396120824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023174735,"filename":"image_14042025_10_03_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/19/95fb804b420625a556a13cdad47b378d.jpg","text":"TemporaryFile(/tmp/multipartBody3071552633183128755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023174735,"filename":"image_14042025_10_03_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5122ae5587d1b187454e61733a1b11e4.jpg","text":"TemporaryFile(/tmp/multipartBody2972002334286667019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023174735,"filename":"image_14042025_10_04_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/19/50c837031a7dacf92036d64fd62f6ce1.jpg","text":"TemporaryFile(/tmp/multipartBody9048344071535536992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023174735,"filename":"image_14042025_10_03_57_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351602791","file1":"1351602785","file0":"1351602779","file4":"1351602800","file5":"1351602804","file3":"1351602796"},"map_files_photo_id_array":[{"photo_id":"1351602804","filename":"file5"},{"photo_id":"1351602791","filename":"file2"},{"photo_id":"1351602800","filename":"file4"},{"photo_id":"1351602785","filename":"file1"},{"photo_id":"1351602779","filename":"file0"},{"photo_id":"1351602796","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351602804":["hashtag1","hashtag2"]},{"1351602791":["hashtag1","hashtag2"]},{"1351602785":["hashtag1","hashtag2"]},{"1351602779":["hashtag1","hashtag2"]},{"1351602800":["hashtag1","hashtag2"]},{"1351602796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351602804, 1351602791, 1351602785, 1351602779, 1351602800, 1351602796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78165292739868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:39:32.353939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_27_10443.jpg', '/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_36_9343.jpg', '/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_47_10341.jpg', '/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_57_10424.jpg', '/home/pi/Desktop/images/14042025/10/04/image_14042025_10_05_06_9349.jpg', '/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_17_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_27_10443.jpg
/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_36_9343.jpg
/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_47_10341.jpg
/home/pi/Desktop/images/14042025/10/04/image_14042025_10_04_57_10424.jpg
/home/pi/Desktop/images/14042025/10/04/image_14042025_10_05_06_9349.jpg
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_17_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":["1351603082","1351603055","1351603142","1351603205","1351602997","1351603024"],"photo_ids_order":["1351602997","1351603024","1351603055","1351603082","1351603142","1351603205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b9e5d03b91f0d6b9f5ef4ba9d18fc64.jpg","text":"TemporaryFile(/tmp/multipartBody2600206665335721600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023234048,"filename":"image_14042025_10_04_57_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/677aa7ea6c2f88db837e62cb0d53f319.jpg","text":"TemporaryFile(/tmp/multipartBody6350124462733632213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023234048,"filename":"image_14042025_10_04_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a387f48f733fd9389627691a3f9e1a26.jpg","text":"TemporaryFile(/tmp/multipartBody5205446074900892442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023234048,"filename":"image_14042025_10_05_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/19/76d03a51e072b05f0b3f8db5bc103562.jpg","text":"TemporaryFile(/tmp/multipartBody3898790547636143990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023234048,"filename":"image_14042025_10_05_17_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f82251a104e88d8c510dc69c162549b.jpg","text":"TemporaryFile(/tmp/multipartBody2737439563382636246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023234048,"filename":"image_14042025_10_04_27_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/40774f52aecc50c475b3114429c7117b.jpg","text":"TemporaryFile(/tmp/multipartBody3699549383036131845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023234048,"filename":"image_14042025_10_04_36_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351603055","file1":"1351603024","file0":"1351602997","file4":"1351603142","file5":"1351603205","file3":"1351603082"},"map_files_photo_id_array":[{"photo_id":"1351603205","filename":"file5"},{"photo_id":"1351603055","filename":"file2"},{"photo_id":"1351603142","filename":"file4"},{"photo_id":"1351603024","filename":"file1"},{"photo_id":"1351602997","filename":"file0"},{"photo_id":"1351603082","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351603082":["hashtag1","hashtag2"]},{"1351603055":["hashtag1","hashtag2"]},{"1351603142":["hashtag1","hashtag2"]},{"1351603205":["hashtag1","hashtag2"]},{"1351602997":["hashtag1","hashtag2"]},{"1351603024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351603082, 1351603055, 1351603142, 1351603205, 1351602997, 1351603024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.935030460357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:40:32.608834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_26_9382.jpg', '/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_36_10337.jpg', '/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_47_10367.jpg', '/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_56_9364.jpg', '/home/pi/Desktop/images/14042025/10/05/image_14042025_10_06_07_10385.jpg', '/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_17_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_26_9382.jpg
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_36_10337.jpg
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_47_10367.jpg
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_05_56_9364.jpg
/home/pi/Desktop/images/14042025/10/05/image_14042025_10_06_07_10385.jpg
/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_17_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":["1351603934","1351603571","1351603646","1351603616","1351603729","1351603827"],"photo_ids_order":["1351603571","1351603616","1351603646","1351603729","1351603827","1351603934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/72163f26fa5a9ce1833deb322f64249f.jpg","text":"TemporaryFile(/tmp/multipartBody2209319376666554031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023294319,"filename":"image_14042025_10_06_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7a692f09f07166b465c618e3f2922a1.jpg","text":"TemporaryFile(/tmp/multipartBody3482145590130181781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023294319,"filename":"image_14042025_10_05_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/19/f1e3cc357bc9ecde70fa2c49bea8281b.jpg","text":"TemporaryFile(/tmp/multipartBody6252954483761600354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023294319,"filename":"image_14042025_10_05_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/19/b507c8eb73913e7d5bc0a67791cf0b97.jpg","text":"TemporaryFile(/tmp/multipartBody3046902488754155772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023294319,"filename":"image_14042025_10_05_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86ac94323bc6ff3b1a4e7ae10139da48.jpg","text":"TemporaryFile(/tmp/multipartBody23766821781995355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023294319,"filename":"image_14042025_10_05_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/19/a94a38eda1b91d9d9d9f9b6066aa50cd.jpg","text":"TemporaryFile(/tmp/multipartBody3292652357549067009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023294319,"filename":"image_14042025_10_06_07_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351603646","file1":"1351603616","file0":"1351603571","file4":"1351603827","file5":"1351603934","file3":"1351603729"},"map_files_photo_id_array":[{"photo_id":"1351603934","filename":"file5"},{"photo_id":"1351603646","filename":"file2"},{"photo_id":"1351603827","filename":"file4"},{"photo_id":"1351603616","filename":"file1"},{"photo_id":"1351603571","filename":"file0"},{"photo_id":"1351603729","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351603934":["hashtag1","hashtag2"]},{"1351603571":["hashtag1","hashtag2"]},{"1351603646":["hashtag1","hashtag2"]},{"1351603616":["hashtag1","hashtag2"]},{"1351603729":["hashtag1","hashtag2"]},{"1351603827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351603934, 1351603571, 1351603646, 1351603616, 1351603729, 1351603827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06418538093567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:41:32.715485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_26_9332.jpg', '/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_56_9341.jpg', '/home/pi/Desktop/images/14042025/10/06/image_14042025_10_07_07_10351.jpg', '/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_16_9392.jpg', '/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_27_10438.jpg', '/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_37_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_26_9332.jpg
/home/pi/Desktop/images/14042025/10/06/image_14042025_10_06_56_9341.jpg
/home/pi/Desktop/images/14042025/10/06/image_14042025_10_07_07_10351.jpg
/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_16_9392.jpg
/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_27_10438.jpg
/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_37_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":["1351604674","1351604578","1351604464","1351604608","1351604515","1351604637"],"photo_ids_order":["1351604464","1351604515","1351604578","1351604608","1351604637","1351604674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/556d453b49d29344acc122ef1f72142e.jpg","text":"TemporaryFile(/tmp/multipartBody6015374597421242127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023354362,"filename":"image_14042025_10_07_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28f3cb505fec2360c1e51097d1f4e8cb.jpg","text":"TemporaryFile(/tmp/multipartBody9186707163547583425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023354362,"filename":"image_14042025_10_07_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/19/289674e0c4d4f562fe8977a91442a093.jpg","text":"TemporaryFile(/tmp/multipartBody6864241858914692847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023354362,"filename":"image_14042025_10_06_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9cef2d175c7b32c6d7a0133e843f232.jpg","text":"TemporaryFile(/tmp/multipartBody2043972218479190608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023354362,"filename":"image_14042025_10_07_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/19/ac81e1cad9c4e5b8d3022baaf7a8a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody8016282989952649063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023354362,"filename":"image_14042025_10_06_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/831f2e593160f424537124d7d9599caf.jpg","text":"TemporaryFile(/tmp/multipartBody3932481583371307427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023354362,"filename":"image_14042025_10_07_27_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351604578","file1":"1351604515","file0":"1351604464","file4":"1351604637","file5":"1351604674","file3":"1351604608"},"map_files_photo_id_array":[{"photo_id":"1351604674","filename":"file5"},{"photo_id":"1351604578","filename":"file2"},{"photo_id":"1351604637","filename":"file4"},{"photo_id":"1351604515","filename":"file1"},{"photo_id":"1351604464","filename":"file0"},{"photo_id":"1351604608","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351604674":["hashtag1","hashtag2"]},{"1351604578":["hashtag1","hashtag2"]},{"1351604464":["hashtag1","hashtag2"]},{"1351604608":["hashtag1","hashtag2"]},{"1351604515":["hashtag1","hashtag2"]},{"1351604637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351604674, 1351604578, 1351604464, 1351604608, 1351604515, 1351604637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24601769447327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:42:33.030106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_46_9377.jpg', '/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_57_10411.jpg', '/home/pi/Desktop/images/14042025/10/07/image_14042025_10_08_07_10334.jpg', '/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_16_9402.jpg', '/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_27_10341.jpg', '/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_36_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_46_9377.jpg
/home/pi/Desktop/images/14042025/10/07/image_14042025_10_07_57_10411.jpg
/home/pi/Desktop/images/14042025/10/07/image_14042025_10_08_07_10334.jpg
/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_16_9402.jpg
/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_27_10341.jpg
/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_36_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351605181","1351605241","1351605150","1351605213","1351605083","1351605119"],"photo_ids_order":["1351605083","1351605119","1351605150","1351605181","1351605213","1351605241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/901dbf1d3ca3eeea57d63e3b61d0c2fe.jpg","text":"TemporaryFile(/tmp/multipartBody7710177246041001416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023414702,"filename":"image_14042025_10_08_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/19/143dfddd6ca405248db667b48a00ffdc.jpg","text":"TemporaryFile(/tmp/multipartBody3612330693065620425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023414702,"filename":"image_14042025_10_08_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/19/a4e967c4c1784a8ba5a0e397c6b9d493.jpg","text":"TemporaryFile(/tmp/multipartBody8967361352849460773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023414702,"filename":"image_14042025_10_08_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b84fa8317350278924e02b2dad4ca29.jpg","text":"TemporaryFile(/tmp/multipartBody4137881942623775893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023414702,"filename":"image_14042025_10_08_27_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2b509df8e21b770a20fd845d3bf63c85.jpg","text":"TemporaryFile(/tmp/multipartBody5677301332695587510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023414702,"filename":"image_14042025_10_07_46_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b10cabfb182d9b8c12cdc17fe91f9e5.jpg","text":"TemporaryFile(/tmp/multipartBody3036761685740996317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023414702,"filename":"image_14042025_10_07_57_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351605150","file1":"1351605119","file0":"1351605083","file4":"1351605213","file5":"1351605241","file3":"1351605181"},"map_files_photo_id_array":[{"photo_id":"1351605241","filename":"file5"},{"photo_id":"1351605150","filename":"file2"},{"photo_id":"1351605213","filename":"file4"},{"photo_id":"1351605119","filename":"file1"},{"photo_id":"1351605083","filename":"file0"},{"photo_id":"1351605181","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351605181":["hashtag1","hashtag2"]},{"1351605241":["hashtag1","hashtag2"]},{"1351605150":["hashtag1","hashtag2"]},{"1351605213":["hashtag1","hashtag2"]},{"1351605083":["hashtag1","hashtag2"]},{"1351605119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351605181, 1351605241, 1351605150, 1351605213, 1351605083, 1351605119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86110591888428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:43:32.247508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_47_10371.jpg', '/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_57_10429.jpg', '/home/pi/Desktop/images/14042025/10/08/image_14042025_10_09_06_9326.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_17_10411.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_27_10359.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_36_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_47_10371.jpg
/home/pi/Desktop/images/14042025/10/08/image_14042025_10_08_57_10429.jpg
/home/pi/Desktop/images/14042025/10/08/image_14042025_10_09_06_9326.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_17_10411.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_27_10359.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_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":["1351605559","1351605564","1351605516","1351605531","1351605525","1351605491"],"photo_ids_order":["1351605491","1351605516","1351605525","1351605531","1351605559","1351605564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6f3e902b59056dd4117b19292c9a2f5.jpg","text":"TemporaryFile(/tmp/multipartBody1022828288351078886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023473921,"filename":"image_14042025_10_09_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/19/7611f64e9039f2df2c4ca6786715c5fe.jpg","text":"TemporaryFile(/tmp/multipartBody8233317180096856255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023473921,"filename":"image_14042025_10_09_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/19/2a4ec4e9f6e3b11980fa930f9c2dd409.jpg","text":"TemporaryFile(/tmp/multipartBody8843485760491843522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023473921,"filename":"image_14042025_10_08_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4455b7972b2b93a569ac657f30378765.jpg","text":"TemporaryFile(/tmp/multipartBody3255338153994707338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023473921,"filename":"image_14042025_10_09_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12c6a3060385f72d585f470abd953687.jpg","text":"TemporaryFile(/tmp/multipartBody348058054453430795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023473921,"filename":"image_14042025_10_09_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a87be41f7fe34ccb165ac2cf7ed1b6de.jpg","text":"TemporaryFile(/tmp/multipartBody3222398761005782555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023473921,"filename":"image_14042025_10_08_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351605525","file1":"1351605516","file0":"1351605491","file4":"1351605559","file5":"1351605564","file3":"1351605531"},"map_files_photo_id_array":[{"photo_id":"1351605564","filename":"file5"},{"photo_id":"1351605525","filename":"file2"},{"photo_id":"1351605559","filename":"file4"},{"photo_id":"1351605516","filename":"file1"},{"photo_id":"1351605491","filename":"file0"},{"photo_id":"1351605531","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351605559":["hashtag1","hashtag2"]},{"1351605564":["hashtag1","hashtag2"]},{"1351605516":["hashtag1","hashtag2"]},{"1351605531":["hashtag1","hashtag2"]},{"1351605525":["hashtag1","hashtag2"]},{"1351605491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351605559, 1351605564, 1351605516, 1351605531, 1351605525, 1351605491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84880352020264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:44:32.441985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_47_10442.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_56_9350.jpg', '/home/pi/Desktop/images/14042025/10/09/image_14042025_10_10_07_10325.jpg', '/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_17_10399.jpg', '/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_26_9347.jpg', '/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_47_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_47_10442.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_09_56_9350.jpg
/home/pi/Desktop/images/14042025/10/09/image_14042025_10_10_07_10325.jpg
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_17_10399.jpg
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_26_9347.jpg
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_47_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":["1351605724","1351605811","1351605783","1351605753","1351605819","1351605815"],"photo_ids_order":["1351605724","1351605753","1351605783","1351605811","1351605815","1351605819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee0ae57e1be3e6f341a9dec391d52953.jpg","text":"TemporaryFile(/tmp/multipartBody1658396010855373108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023534105,"filename":"image_14042025_10_09_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99ccd1215c31568df6b0027bd60dd5f0.jpg","text":"TemporaryFile(/tmp/multipartBody3918201718846272095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023534105,"filename":"image_14042025_10_10_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/19/16d5526a83409b8ddf5f0ce88f77e24b.jpg","text":"TemporaryFile(/tmp/multipartBody7151830678615661263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023534105,"filename":"image_14042025_10_10_07_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55e4fd774b078aafa60a61d01f97d43f.jpg","text":"TemporaryFile(/tmp/multipartBody9160238987103935707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023534105,"filename":"image_14042025_10_09_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/19/80310a7d6a2cdbfeaa1ea9001297c647.jpg","text":"TemporaryFile(/tmp/multipartBody1826089836852957672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023534105,"filename":"image_14042025_10_10_47_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/19/2f086f4930c4c317e8ceba2fe96870a7.jpg","text":"TemporaryFile(/tmp/multipartBody5787261320540171230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023534105,"filename":"image_14042025_10_10_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351605783","file1":"1351605753","file0":"1351605724","file4":"1351605815","file5":"1351605819","file3":"1351605811"},"map_files_photo_id_array":[{"photo_id":"1351605819","filename":"file5"},{"photo_id":"1351605783","filename":"file2"},{"photo_id":"1351605815","filename":"file4"},{"photo_id":"1351605753","filename":"file1"},{"photo_id":"1351605724","filename":"file0"},{"photo_id":"1351605811","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351605724":["hashtag1","hashtag2"]},{"1351605811":["hashtag1","hashtag2"]},{"1351605783":["hashtag1","hashtag2"]},{"1351605753":["hashtag1","hashtag2"]},{"1351605819":["hashtag1","hashtag2"]},{"1351605815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351605724, 1351605811, 1351605783, 1351605753, 1351605819, 1351605815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71207284927368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:45:32.745494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_56_9402.jpg', '/home/pi/Desktop/images/14042025/10/10/image_14042025_10_11_07_10374.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_17_10352.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_26_9337.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_37_10333.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_46_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_10_56_9402.jpg
/home/pi/Desktop/images/14042025/10/10/image_14042025_10_11_07_10374.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_17_10352.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_26_9337.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_37_10333.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_46_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351605841","1351605849","1351605837","1351605845","1351605830","1351605833"],"photo_ids_order":["1351605830","1351605833","1351605837","1351605841","1351605845","1351605849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7176fe421511b5fa64727e0619ae26b3.jpg","text":"TemporaryFile(/tmp/multipartBody7177075584353074396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023594419,"filename":"image_14042025_10_11_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd50e59a49311e17dda2b922ef689ab1.jpg","text":"TemporaryFile(/tmp/multipartBody2919125577259531656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023594419,"filename":"image_14042025_10_11_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/19/8248d25843546be8d156b816f48760bd.jpg","text":"TemporaryFile(/tmp/multipartBody4776505796060012153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023594419,"filename":"image_14042025_10_11_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/19/4937ab6e973653b7c87a38cf18d2af5f.jpg","text":"TemporaryFile(/tmp/multipartBody4883498060094149788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023594419,"filename":"image_14042025_10_11_37_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/486736a32ccfed716467d63a05633e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1903481563173670693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023594419,"filename":"image_14042025_10_10_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/19/9a5ce1bf8b9ebcd2aa49d4d9c4e52ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5073804240848077195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023594419,"filename":"image_14042025_10_11_07_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351605837","file1":"1351605833","file0":"1351605830","file4":"1351605845","file5":"1351605849","file3":"1351605841"},"map_files_photo_id_array":[{"photo_id":"1351605849","filename":"file5"},{"photo_id":"1351605837","filename":"file2"},{"photo_id":"1351605845","filename":"file4"},{"photo_id":"1351605833","filename":"file1"},{"photo_id":"1351605830","filename":"file0"},{"photo_id":"1351605841","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351605841":["hashtag1","hashtag2"]},{"1351605849":["hashtag1","hashtag2"]},{"1351605837":["hashtag1","hashtag2"]},{"1351605845":["hashtag1","hashtag2"]},{"1351605830":["hashtag1","hashtag2"]},{"1351605833":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351605841, 1351605849, 1351605837, 1351605845, 1351605830, 1351605833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.349141359329224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:46:32.834306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_57_10335.jpg', '/home/pi/Desktop/images/14042025/10/11/image_14042025_10_12_07_10339.jpg', '/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_16_9336.jpg', '/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_27_10350.jpg', '/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_37_10325.jpg', '/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_46_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_11_57_10335.jpg
/home/pi/Desktop/images/14042025/10/11/image_14042025_10_12_07_10339.jpg
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_16_9336.jpg
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_27_10350.jpg
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_37_10325.jpg
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_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":["1351606006","1351605916","1351606071","1351605975","1351605945","1351605884"],"photo_ids_order":["1351605884","1351605916","1351605945","1351605975","1351606006","1351606071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c2d5bc266848f02e35d3ee89aa33eaf.jpg","text":"TemporaryFile(/tmp/multipartBody5221092485969548939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023654492,"filename":"image_14042025_10_12_37_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f2c3697b70cb7fe32fce89e0bc0e19b.jpg","text":"TemporaryFile(/tmp/multipartBody2057761866111703409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023654492,"filename":"image_14042025_10_12_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/19/2d179ef59c13b09a92a023905c97933f.jpg","text":"TemporaryFile(/tmp/multipartBody679866719606513331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023654492,"filename":"image_14042025_10_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/19/0f88bbabc2e2be18edd7c378fdfed182.jpg","text":"TemporaryFile(/tmp/multipartBody778961252035220903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023654492,"filename":"image_14042025_10_12_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d08d5a74d1afbd91e27daba661b5450d.jpg","text":"TemporaryFile(/tmp/multipartBody6225868331955505154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023654492,"filename":"image_14042025_10_12_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d6c4f627691b59030ab0b8b03c80983.jpg","text":"TemporaryFile(/tmp/multipartBody3283704533971684842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023654492,"filename":"image_14042025_10_11_57_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351605945","file1":"1351605916","file0":"1351605884","file4":"1351606006","file5":"1351606071","file3":"1351605975"},"map_files_photo_id_array":[{"photo_id":"1351606071","filename":"file5"},{"photo_id":"1351605945","filename":"file2"},{"photo_id":"1351606006","filename":"file4"},{"photo_id":"1351605916","filename":"file1"},{"photo_id":"1351605884","filename":"file0"},{"photo_id":"1351605975","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351606006":["hashtag1","hashtag2"]},{"1351605916":["hashtag1","hashtag2"]},{"1351606071":["hashtag1","hashtag2"]},{"1351605975":["hashtag1","hashtag2"]},{"1351605945":["hashtag1","hashtag2"]},{"1351605884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351606006, 1351605916, 1351606071, 1351605975, 1351605945, 1351605884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.562562227249146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:47:33.007738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_57_10344.jpg', '/home/pi/Desktop/images/14042025/10/12/image_14042025_10_13_07_10332.jpg', '/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_16_9342.jpg', '/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_27_10470.jpg', '/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_37_10446.jpg', '/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_12_57_10344.jpg
/home/pi/Desktop/images/14042025/10/12/image_14042025_10_13_07_10332.jpg
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_16_9342.jpg
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_27_10470.jpg
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_37_10446.jpg
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_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":["1351607028","1351606997","1351607330","1351607105","1351607338","1351607295"],"photo_ids_order":["1351606997","1351607028","1351607105","1351607295","1351607330","1351607338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/94e75c01e4c81d23445091e356c42831.jpg","text":"TemporaryFile(/tmp/multipartBody6551802445782923876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023714672,"filename":"image_14042025_10_13_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da32201ff4a7229b6696c25efdb35b38.jpg","text":"TemporaryFile(/tmp/multipartBody8781927368622370613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023714672,"filename":"image_14042025_10_12_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/68af3c7753bc7446b4c12326eed2d896.jpg","text":"TemporaryFile(/tmp/multipartBody5271226008498206303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023714672,"filename":"image_14042025_10_13_37_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/67e7f2ffc02f67ed1d8887351491a65b.jpg","text":"TemporaryFile(/tmp/multipartBody6913859959230086952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023714672,"filename":"image_14042025_10_13_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/19/f7bf8f39f62c122fc6ed43c9514a528a.jpg","text":"TemporaryFile(/tmp/multipartBody1325338398219402538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023714672,"filename":"image_14042025_10_13_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/19/55386770119768e8922d6cd8c1f24ab6.jpg","text":"TemporaryFile(/tmp/multipartBody994199591613888049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023714672,"filename":"image_14042025_10_13_27_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351607105","file1":"1351607028","file0":"1351606997","file4":"1351607330","file5":"1351607338","file3":"1351607295"},"map_files_photo_id_array":[{"photo_id":"1351607338","filename":"file5"},{"photo_id":"1351607105","filename":"file2"},{"photo_id":"1351607330","filename":"file4"},{"photo_id":"1351607028","filename":"file1"},{"photo_id":"1351606997","filename":"file0"},{"photo_id":"1351607295","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351607028":["hashtag1","hashtag2"]},{"1351606997":["hashtag1","hashtag2"]},{"1351607330":["hashtag1","hashtag2"]},{"1351607105":["hashtag1","hashtag2"]},{"1351607338":["hashtag1","hashtag2"]},{"1351607295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351607028, 1351606997, 1351607330, 1351607105, 1351607338, 1351607295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67490768432617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:48:32.223097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_57_10409.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_17_10330.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_27_10350.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_36_9358.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_47_10417.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_57_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_57_10409.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_17_10330.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_27_10350.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_36_9358.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_47_10417.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_57_10424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5807688236236572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 02:48:42.188837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_57_10409.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_17_10330.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_27_10350.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_36_9358.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_47_10417.jpg', '/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_57_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/13/image_14042025_10_13_57_10409.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_17_10330.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_27_10350.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_36_9358.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_47_10417.jpg
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_14_57_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351607690","1351607695","1351607680","1351607761","1351607722","1351607685"],"photo_ids_order":["1351607680","1351607685","1351607690","1351607695","1351607722","1351607761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad16ce32d1172de9a7aa461c803a61e0.jpg","text":"TemporaryFile(/tmp/multipartBody3376852942381069759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023782936,"filename":"image_14042025_10_14_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b1ee8770d5a4bafb88cda222719b59e.jpg","text":"TemporaryFile(/tmp/multipartBody8945729505681113400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023782936,"filename":"image_14042025_10_14_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/19/8e3746d68275cef718d2fec38abd1e78.jpg","text":"TemporaryFile(/tmp/multipartBody3178174495383226492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023782936,"filename":"image_14042025_10_13_57_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e09a105483b1f2474517f52c713ecda5.jpg","text":"TemporaryFile(/tmp/multipartBody3043619336902782259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023782936,"filename":"image_14042025_10_14_57_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3628c3dd02928a64c99b1de5760e9cdc.jpg","text":"TemporaryFile(/tmp/multipartBody58533086526661390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023782936,"filename":"image_14042025_10_14_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da47100ae4675de078f9f48f6accbb47.jpg","text":"TemporaryFile(/tmp/multipartBody7895076691441519544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023782936,"filename":"image_14042025_10_14_17_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351607690","file1":"1351607685","file0":"1351607680","file4":"1351607722","file5":"1351607761","file3":"1351607695"},"map_files_photo_id_array":[{"photo_id":"1351607761","filename":"file5"},{"photo_id":"1351607690","filename":"file2"},{"photo_id":"1351607722","filename":"file4"},{"photo_id":"1351607685","filename":"file1"},{"photo_id":"1351607680","filename":"file0"},{"photo_id":"1351607695","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351607690":["hashtag1","hashtag2"]},{"1351607695":["hashtag1","hashtag2"]},{"1351607680":["hashtag1","hashtag2"]},{"1351607761":["hashtag1","hashtag2"]},{"1351607722":["hashtag1","hashtag2"]},{"1351607685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351607690, 1351607695, 1351607680, 1351607761, 1351607722, 1351607685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.341123342514038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:49:32.471315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/14/image_14042025_10_15_06_9360.jpg', '/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_17_10424.jpg', '/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_26_9416.jpg', '/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_37_10434.jpg', '/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_47_10357.jpg', '/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_56_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/14/image_14042025_10_15_06_9360.jpg
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_17_10424.jpg
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_26_9416.jpg
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_37_10434.jpg
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_47_10357.jpg
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_15_56_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351608233","1351608008","1351608101","1351608058","1351608139","1351608264"],"photo_ids_order":["1351608008","1351608058","1351608101","1351608139","1351608233","1351608264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a3656868d56d39a78ed0e79b6aeb8c6.jpg","text":"TemporaryFile(/tmp/multipartBody3598060686568916921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023834136,"filename":"image_14042025_10_15_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/19/51f75d37e98d1a6ead3e0ca2a7e2ece5.jpg","text":"TemporaryFile(/tmp/multipartBody111615503495534411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023834136,"filename":"image_14042025_10_15_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/19/795a68c1ccf1547413dd1799b4f8ada6.jpg","text":"TemporaryFile(/tmp/multipartBody2656688406433322758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023834136,"filename":"image_14042025_10_15_26_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/79161165b2cc45d3a75d1f580b91c829.jpg","text":"TemporaryFile(/tmp/multipartBody4532616197906025065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023834136,"filename":"image_14042025_10_15_17_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e427a84d6673f4cd3a678dcc0e8dee0.jpg","text":"TemporaryFile(/tmp/multipartBody4090471888651914096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023834136,"filename":"image_14042025_10_15_37_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d1c1969d05dbfad9dd5569beb1d3b8e.jpg","text":"TemporaryFile(/tmp/multipartBody6869267472206185251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023834136,"filename":"image_14042025_10_15_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351608101","file1":"1351608058","file0":"1351608008","file4":"1351608233","file5":"1351608264","file3":"1351608139"},"map_files_photo_id_array":[{"photo_id":"1351608264","filename":"file5"},{"photo_id":"1351608101","filename":"file2"},{"photo_id":"1351608233","filename":"file4"},{"photo_id":"1351608058","filename":"file1"},{"photo_id":"1351608008","filename":"file0"},{"photo_id":"1351608139","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351608233":["hashtag1","hashtag2"]},{"1351608008":["hashtag1","hashtag2"]},{"1351608101":["hashtag1","hashtag2"]},{"1351608058":["hashtag1","hashtag2"]},{"1351608139":["hashtag1","hashtag2"]},{"1351608264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351608233, 1351608008, 1351608101, 1351608058, 1351608139, 1351608264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72811198234558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:50:32.630476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/15/image_14042025_10_16_07_10416.jpg', '/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_16_9344.jpg', '/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_27_10348.jpg', '/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_37_10416.jpg', '/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_46_9344.jpg', '/home/pi/Desktop/images/14042025/10/16/image_14042025_10_17_06_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/15/image_14042025_10_16_07_10416.jpg
/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_16_9344.jpg
/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_27_10348.jpg
/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_37_10416.jpg
/home/pi/Desktop/images/14042025/10/16/image_14042025_10_16_46_9344.jpg
/home/pi/Desktop/images/14042025/10/16/image_14042025_10_17_06_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":["1351608833","1351608716","1351608649","1351608622","1351608783","1351608593"],"photo_ids_order":["1351608593","1351608622","1351608649","1351608716","1351608783","1351608833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc142c7b4dfafb3b16f1596a39cf5bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6455090087132467645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023894293,"filename":"image_14042025_10_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/19/02c4405b1166aff41efed3e01bf76e3c.jpg","text":"TemporaryFile(/tmp/multipartBody4666535601406569346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023894293,"filename":"image_14042025_10_16_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/19/31e463d60396bd3eb1dc56dadf425216.jpg","text":"TemporaryFile(/tmp/multipartBody5852943173676106132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023894293,"filename":"image_14042025_10_16_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5b0af3627b6ada9ad0274f62743bf828.jpg","text":"TemporaryFile(/tmp/multipartBody7729726400447120998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023894293,"filename":"image_14042025_10_16_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/19/e180729d473ae61f52cdbcae3821db5c.jpg","text":"TemporaryFile(/tmp/multipartBody6455231183659962418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023894293,"filename":"image_14042025_10_16_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e57717c8ccf96f1d0886ab12a804cf4.jpg","text":"TemporaryFile(/tmp/multipartBody1415596746694680324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023894293,"filename":"image_14042025_10_16_07_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351608649","file1":"1351608622","file0":"1351608593","file4":"1351608783","file5":"1351608833","file3":"1351608716"},"map_files_photo_id_array":[{"photo_id":"1351608833","filename":"file5"},{"photo_id":"1351608649","filename":"file2"},{"photo_id":"1351608783","filename":"file4"},{"photo_id":"1351608622","filename":"file1"},{"photo_id":"1351608593","filename":"file0"},{"photo_id":"1351608716","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351608833":["hashtag1","hashtag2"]},{"1351608716":["hashtag1","hashtag2"]},{"1351608649":["hashtag1","hashtag2"]},{"1351608622":["hashtag1","hashtag2"]},{"1351608783":["hashtag1","hashtag2"]},{"1351608593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351608833, 1351608716, 1351608649, 1351608622, 1351608783, 1351608593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33013105392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:51:32.899402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_17_10347.jpg', '/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_27_10420.jpg', '/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_36_9330.jpg', '/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_47_10474.jpg', '/home/pi/Desktop/images/14042025/10/17/image_14042025_10_18_06_9338.jpg', '/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_17_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_17_10347.jpg
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_27_10420.jpg
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_36_9330.jpg
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_17_47_10474.jpg
/home/pi/Desktop/images/14042025/10/17/image_14042025_10_18_06_9338.jpg
/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_17_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351609270","1351609165","1351609318","1351609305","1351609289","1351609292"],"photo_ids_order":["1351609165","1351609270","1351609289","1351609292","1351609305","1351609318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5dee0c0a45660f2de8e709376bfb6408.jpg","text":"TemporaryFile(/tmp/multipartBody1813311581970169791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023954572,"filename":"image_14042025_10_17_27_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b5b9122c69cec470bfb6c5017ced45a8.jpg","text":"TemporaryFile(/tmp/multipartBody2997852868751444122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023954572,"filename":"image_14042025_10_17_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/19/c9d3c786bbe1f7a386d4beb81096cd74.jpg","text":"TemporaryFile(/tmp/multipartBody3869630443471136579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023954572,"filename":"image_14042025_10_18_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/21ea5918def91b2c2f345f273237c348.jpg","text":"TemporaryFile(/tmp/multipartBody7416700437652713241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023954572,"filename":"image_14042025_10_18_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/19/749e7a5541afcb3c76ed1c96edb8e850.jpg","text":"TemporaryFile(/tmp/multipartBody809937958088197022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023954572,"filename":"image_14042025_10_17_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e7d394228585fe82774eb631d6159a9.jpg","text":"TemporaryFile(/tmp/multipartBody1369159101132765594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745023954572,"filename":"image_14042025_10_17_47_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351609289","file1":"1351609270","file0":"1351609165","file4":"1351609305","file5":"1351609318","file3":"1351609292"},"map_files_photo_id_array":[{"photo_id":"1351609318","filename":"file5"},{"photo_id":"1351609289","filename":"file2"},{"photo_id":"1351609305","filename":"file4"},{"photo_id":"1351609270","filename":"file1"},{"photo_id":"1351609165","filename":"file0"},{"photo_id":"1351609292","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351609270":["hashtag1","hashtag2"]},{"1351609165":["hashtag1","hashtag2"]},{"1351609318":["hashtag1","hashtag2"]},{"1351609305":["hashtag1","hashtag2"]},{"1351609289":["hashtag1","hashtag2"]},{"1351609292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351609270, 1351609165, 1351609318, 1351609305, 1351609289, 1351609292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09598183631897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:52:33.138224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_26_9356.jpg', '/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_37_10334.jpg', '/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_47_10417.jpg', '/home/pi/Desktop/images/14042025/10/18/image_14042025_10_19_07_10329.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_17_10404.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_26_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_26_9356.jpg
/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_37_10334.jpg
/home/pi/Desktop/images/14042025/10/18/image_14042025_10_18_47_10417.jpg
/home/pi/Desktop/images/14042025/10/18/image_14042025_10_19_07_10329.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_17_10404.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_26_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351609957","1351609819","1351609788","1351609638","1351609812","1351609748"],"photo_ids_order":["1351609638","1351609748","1351609788","1351609812","1351609819","1351609957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b5f49b15619026641e262ed1ae3e7274.jpg","text":"TemporaryFile(/tmp/multipartBody2596624459983052201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024014815,"filename":"image_14042025_10_19_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/19/ed144740aefd3f0f0688035d019443d5.jpg","text":"TemporaryFile(/tmp/multipartBody53533601448711737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024014815,"filename":"image_14042025_10_19_17_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/02f37dfaef8bcf722ec657c45cecac8b.jpg","text":"TemporaryFile(/tmp/multipartBody6352017339763972653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024014815,"filename":"image_14042025_10_18_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/135313adc37d1f4d86d2588d637b4d65.jpg","text":"TemporaryFile(/tmp/multipartBody3702820470272355841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024014815,"filename":"image_14042025_10_18_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/19/24980916e77395f72090a10b6ef3ecca.jpg","text":"TemporaryFile(/tmp/multipartBody6572121419529472153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024014815,"filename":"image_14042025_10_19_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a31fa78b658077907019a275c30b1d37.jpg","text":"TemporaryFile(/tmp/multipartBody7614510621003420065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024014815,"filename":"image_14042025_10_18_37_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351609788","file1":"1351609748","file0":"1351609638","file4":"1351609819","file5":"1351609957","file3":"1351609812"},"map_files_photo_id_array":[{"photo_id":"1351609957","filename":"file5"},{"photo_id":"1351609788","filename":"file2"},{"photo_id":"1351609819","filename":"file4"},{"photo_id":"1351609748","filename":"file1"},{"photo_id":"1351609638","filename":"file0"},{"photo_id":"1351609812","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351609957":["hashtag1","hashtag2"]},{"1351609819":["hashtag1","hashtag2"]},{"1351609788":["hashtag1","hashtag2"]},{"1351609638":["hashtag1","hashtag2"]},{"1351609812":["hashtag1","hashtag2"]},{"1351609748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351609957, 1351609819, 1351609788, 1351609638, 1351609812, 1351609748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90809631347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:53:32.222403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_47_10362.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_56_9342.jpg', '/home/pi/Desktop/images/14042025/10/19/image_14042025_10_20_07_10414.jpg', '/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_16_9346.jpg', '/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_37_10466.jpg', '/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_46_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_47_10362.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_19_56_9342.jpg
/home/pi/Desktop/images/14042025/10/19/image_14042025_10_20_07_10414.jpg
/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_16_9346.jpg
/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_37_10466.jpg
/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_46_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351610237","1351610165","1351610111","1351610083","1351610289","1351610055"],"photo_ids_order":["1351610055","1351610083","1351610111","1351610165","1351610237","1351610289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ec86b8f4edf8fa2b96d2c2effbd91a32.jpg","text":"TemporaryFile(/tmp/multipartBody4355507891272913104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024073896,"filename":"image_14042025_10_20_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/19/31293cb2c2592170fe327bb1f73be4f1.jpg","text":"TemporaryFile(/tmp/multipartBody867946533693159919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024073896,"filename":"image_14042025_10_20_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/19/884b4afe33287096bebba1a4f45ead23.jpg","text":"TemporaryFile(/tmp/multipartBody5411927054352675184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024073896,"filename":"image_14042025_10_20_07_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/19/91e3a2aa55a49bce9c3cae036c1346e8.jpg","text":"TemporaryFile(/tmp/multipartBody3876725975189748959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024073896,"filename":"image_14042025_10_19_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c00791d33cacd064d6c3aa3b7d8ca2d.jpg","text":"TemporaryFile(/tmp/multipartBody3800590370042623318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024073896,"filename":"image_14042025_10_20_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/19/b7094a8928ead83aa61dfd9cb550d512.jpg","text":"TemporaryFile(/tmp/multipartBody6591801156907983681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024073896,"filename":"image_14042025_10_19_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351610111","file1":"1351610083","file0":"1351610055","file4":"1351610237","file5":"1351610289","file3":"1351610165"},"map_files_photo_id_array":[{"photo_id":"1351610289","filename":"file5"},{"photo_id":"1351610111","filename":"file2"},{"photo_id":"1351610237","filename":"file4"},{"photo_id":"1351610083","filename":"file1"},{"photo_id":"1351610055","filename":"file0"},{"photo_id":"1351610165","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351610237":["hashtag1","hashtag2"]},{"1351610165":["hashtag1","hashtag2"]},{"1351610111":["hashtag1","hashtag2"]},{"1351610083":["hashtag1","hashtag2"]},{"1351610289":["hashtag1","hashtag2"]},{"1351610055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351610237, 1351610165, 1351610111, 1351610083, 1351610289, 1351610055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.733640909194946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:54:32.502341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_57_10441.jpg', '/home/pi/Desktop/images/14042025/10/20/image_14042025_10_21_06_9334.jpg', '/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_17_10360.jpg', '/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_27_10431.jpg', '/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_36_9407.jpg', '/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_56_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/20/image_14042025_10_20_57_10441.jpg
/home/pi/Desktop/images/14042025/10/20/image_14042025_10_21_06_9334.jpg
/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_17_10360.jpg
/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_27_10431.jpg
/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_36_9407.jpg
/home/pi/Desktop/images/14042025/10/21/image_14042025_10_21_56_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351610552","1351610546","1351610555","1351610549","1351610541","1351610544"],"photo_ids_order":["1351610541","1351610544","1351610546","1351610549","1351610552","1351610555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/777ad6a2f72013ebbec3f073e034b802.jpg","text":"TemporaryFile(/tmp/multipartBody2765355057377082668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024134193,"filename":"image_14042025_10_21_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/19/fd365498784f78742112e73efa538368.jpg","text":"TemporaryFile(/tmp/multipartBody2653644233359103892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024134193,"filename":"image_14042025_10_21_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/19/5856cbbc359c8401d3c2daace442e186.jpg","text":"TemporaryFile(/tmp/multipartBody629528234244694103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024134193,"filename":"image_14042025_10_21_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/075a1ac8b277e3dea8bd134181793bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3844792935551734886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024134193,"filename":"image_14042025_10_21_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/19/6a117487ceb26745d816ca956b07ebee.jpg","text":"TemporaryFile(/tmp/multipartBody957190957017953275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024134193,"filename":"image_14042025_10_20_57_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf2a84e02f5026376d1c3c410e41ae95.jpg","text":"TemporaryFile(/tmp/multipartBody8478475863617531284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024134193,"filename":"image_14042025_10_21_06_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351610546","file1":"1351610544","file0":"1351610541","file4":"1351610552","file5":"1351610555","file3":"1351610549"},"map_files_photo_id_array":[{"photo_id":"1351610555","filename":"file5"},{"photo_id":"1351610546","filename":"file2"},{"photo_id":"1351610552","filename":"file4"},{"photo_id":"1351610544","filename":"file1"},{"photo_id":"1351610541","filename":"file0"},{"photo_id":"1351610549","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351610552":["hashtag1","hashtag2"]},{"1351610546":["hashtag1","hashtag2"]},{"1351610555":["hashtag1","hashtag2"]},{"1351610549":["hashtag1","hashtag2"]},{"1351610541":["hashtag1","hashtag2"]},{"1351610544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351610552, 1351610546, 1351610555, 1351610549, 1351610541, 1351610544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.411579608917236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:55:32.709236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/21/image_14042025_10_22_07_10407.jpg', '/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_17_10419.jpg', '/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_26_9340.jpg', '/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_37_10436.jpg', '/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_47_10362.jpg', '/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_56_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/21/image_14042025_10_22_07_10407.jpg
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_17_10419.jpg
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_26_9340.jpg
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_37_10436.jpg
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_47_10362.jpg
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_22_56_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351610723","1351610767","1351610908","1351610871","1351610931","1351610904"],"photo_ids_order":["1351610723","1351610767","1351610871","1351610904","1351610908","1351610931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90ae240a86d694f36f745332baf6958c.jpg","text":"TemporaryFile(/tmp/multipartBody2403871102674811153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024194392,"filename":"image_14042025_10_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/19/06d1b877664a42b6a22a948a2e0f5cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5689375733717291542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024194392,"filename":"image_14042025_10_22_17_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/19/2e7f3f39743355273b14f11b0668c8fc.jpg","text":"TemporaryFile(/tmp/multipartBody451469006309788181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024194392,"filename":"image_14042025_10_22_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/19/4fec97fc7496fdab6ee06afaae91b249.jpg","text":"TemporaryFile(/tmp/multipartBody9170917181140671012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024194392,"filename":"image_14042025_10_22_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6fb713b06325a596e8dcbbb448916eb4.jpg","text":"TemporaryFile(/tmp/multipartBody1765634358818540228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024194392,"filename":"image_14042025_10_22_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87ffecf598c0220eeacb5ef6794e2a3e.jpg","text":"TemporaryFile(/tmp/multipartBody8062525008385786765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024194392,"filename":"image_14042025_10_22_37_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351610871","file1":"1351610767","file0":"1351610723","file4":"1351610908","file5":"1351610931","file3":"1351610904"},"map_files_photo_id_array":[{"photo_id":"1351610931","filename":"file5"},{"photo_id":"1351610871","filename":"file2"},{"photo_id":"1351610908","filename":"file4"},{"photo_id":"1351610767","filename":"file1"},{"photo_id":"1351610723","filename":"file0"},{"photo_id":"1351610904","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351610723":["hashtag1","hashtag2"]},{"1351610767":["hashtag1","hashtag2"]},{"1351610908":["hashtag1","hashtag2"]},{"1351610871":["hashtag1","hashtag2"]},{"1351610931":["hashtag1","hashtag2"]},{"1351610904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351610723, 1351610767, 1351610908, 1351610871, 1351610931, 1351610904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.516028881073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:56:32.919997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/22/image_14042025_10_23_07_10396.jpg', '/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_16_9353.jpg', '/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_27_10364.jpg', '/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_37_10393.jpg', '/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_46_9361.jpg', '/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_57_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/22/image_14042025_10_23_07_10396.jpg
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_16_9353.jpg
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_27_10364.jpg
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_37_10393.jpg
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_46_9361.jpg
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_23_57_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":["1351611052","1351611115","1351611141","1351611021","1351610988","1351611083"],"photo_ids_order":["1351610988","1351611021","1351611052","1351611083","1351611115","1351611141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4cfd7f7f95ead084ffa5386e60832a8b.jpg","text":"TemporaryFile(/tmp/multipartBody4617780149947005486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024254593,"filename":"image_14042025_10_23_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/19/1274c369104b14d29be68a31ffe1934d.jpg","text":"TemporaryFile(/tmp/multipartBody861617894616005819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024254593,"filename":"image_14042025_10_23_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/19/53c7593b78c1f10b44658ead1364b9db.jpg","text":"TemporaryFile(/tmp/multipartBody1327306114685559515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024254593,"filename":"image_14042025_10_23_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/19/74d0ae249754e3cb7c9fbfd895947c32.jpg","text":"TemporaryFile(/tmp/multipartBody1621433133757773634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024254593,"filename":"image_14042025_10_23_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/19/4b374691ecde8669c5f834f601108722.jpg","text":"TemporaryFile(/tmp/multipartBody1013480210350487294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024254593,"filename":"image_14042025_10_23_07_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/686cad445ecc1b1c459c47c93031a742.jpg","text":"TemporaryFile(/tmp/multipartBody641320528338431985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024254593,"filename":"image_14042025_10_23_37_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351611052","file1":"1351611021","file0":"1351610988","file4":"1351611115","file5":"1351611141","file3":"1351611083"},"map_files_photo_id_array":[{"photo_id":"1351611141","filename":"file5"},{"photo_id":"1351611052","filename":"file2"},{"photo_id":"1351611115","filename":"file4"},{"photo_id":"1351611021","filename":"file1"},{"photo_id":"1351610988","filename":"file0"},{"photo_id":"1351611083","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351611052":["hashtag1","hashtag2"]},{"1351611115":["hashtag1","hashtag2"]},{"1351611141":["hashtag1","hashtag2"]},{"1351611021":["hashtag1","hashtag2"]},{"1351610988":["hashtag1","hashtag2"]},{"1351611083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351611052, 1351611115, 1351611141, 1351611021, 1351610988, 1351611083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6572163105011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 02:57:32.186652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/23/image_14042025_10_24_07_10338.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_16_9357.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_27_10406.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_36_9378.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_47_10491.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_57_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_24_07_10338.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_16_9357.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_27_10406.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_36_9378.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_47_10491.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_57_10349.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-19 02:59:03.429625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/23/image_14042025_10_24_07_10338.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_16_9357.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_27_10406.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_36_9378.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_47_10491.jpg', '/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_57_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/23/image_14042025_10_24_07_10338.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_16_9357.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_27_10406.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_36_9378.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_47_10491.jpg
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_24_57_10349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351612039","1351611847","1351612149","1351611972","1351612088","1351611909"],"photo_ids_order":["1351611847","1351611909","1351611972","1351612039","1351612088","1351612149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/92de5fa7ba6b1c6589b6dafd0cacac57.jpg","text":"TemporaryFile(/tmp/multipartBody4700179482412680336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024405625,"filename":"image_14042025_10_24_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/19/84ebcf4f995d4197d370f26d9b8af213.jpg","text":"TemporaryFile(/tmp/multipartBody4764499590071075518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024405625,"filename":"image_14042025_10_24_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/19/2e5fd142d29432390bc924c4f62e65ec.jpg","text":"TemporaryFile(/tmp/multipartBody1218053182225915275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024405625,"filename":"image_14042025_10_24_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/19/981925f17ed6df4f19e7a3a013c01482.jpg","text":"TemporaryFile(/tmp/multipartBody8394297772826253622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024405625,"filename":"image_14042025_10_24_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/19/ed73adc5d97c3d99e5bfc38e518334c5.jpg","text":"TemporaryFile(/tmp/multipartBody4752590657081471931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024405625,"filename":"image_14042025_10_24_47_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/19/327c9428862681bdf4a3c110f84a9259.jpg","text":"TemporaryFile(/tmp/multipartBody6855495548509492228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024405625,"filename":"image_14042025_10_24_16_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351611972","file1":"1351611909","file0":"1351611847","file4":"1351612088","file5":"1351612149","file3":"1351612039"},"map_files_photo_id_array":[{"photo_id":"1351612149","filename":"file5"},{"photo_id":"1351611972","filename":"file2"},{"photo_id":"1351612088","filename":"file4"},{"photo_id":"1351611909","filename":"file1"},{"photo_id":"1351611847","filename":"file0"},{"photo_id":"1351612039","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351612039":["hashtag1","hashtag2"]},{"1351611847":["hashtag1","hashtag2"]},{"1351612149":["hashtag1","hashtag2"]},{"1351611972":["hashtag1","hashtag2"]},{"1351612088":["hashtag1","hashtag2"]},{"1351611909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351612039, 1351611847, 1351612149, 1351611972, 1351612088, 1351611909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00335764884949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 02:59:42.605766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/24/image_14042025_10_25_07_9543.jpg', '/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_17_10461.jpg', '/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_26_9369.jpg', '/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_37_10456.jpg', '/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_46_9368.jpg', '/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_57_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/24/image_14042025_10_25_07_9543.jpg
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_17_10461.jpg
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_26_9369.jpg
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_37_10456.jpg
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_46_9368.jpg
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_25_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":["1351612549","1351612441","1351612330","1351612496","1351612271","1351612384"],"photo_ids_order":["1351612271","1351612330","1351612384","1351612441","1351612496","1351612549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b0e719d35071dfdb730904b93f3177d0.jpg","text":"TemporaryFile(/tmp/multipartBody6509467627067360676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024443430,"filename":"image_14042025_10_25_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/19/60945381e0221ea17fb4e53f2f1d0433.jpg","text":"TemporaryFile(/tmp/multipartBody3719684133706092880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024443430,"filename":"image_14042025_10_25_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71b429e97c405061192ccbc2acbc87cd.jpg","text":"TemporaryFile(/tmp/multipartBody1584869977755254056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024443430,"filename":"image_14042025_10_25_17_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e762715edd4ef79dcc2b01c734193b4.jpg","text":"TemporaryFile(/tmp/multipartBody832410157472972817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024443430,"filename":"image_14042025_10_25_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cb19178188e03b952b8ca44866921609.jpg","text":"TemporaryFile(/tmp/multipartBody4942960875380125521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024443430,"filename":"image_14042025_10_25_07_9543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2bec6afa667225fa5c88a02d8f0d3cbf.jpg","text":"TemporaryFile(/tmp/multipartBody7832800045393415714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024443430,"filename":"image_14042025_10_25_26_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351612384","file1":"1351612330","file0":"1351612271","file4":"1351612496","file5":"1351612549","file3":"1351612441"},"map_files_photo_id_array":[{"photo_id":"1351612549","filename":"file5"},{"photo_id":"1351612384","filename":"file2"},{"photo_id":"1351612496","filename":"file4"},{"photo_id":"1351612330","filename":"file1"},{"photo_id":"1351612271","filename":"file0"},{"photo_id":"1351612441","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351612549":["hashtag1","hashtag2"]},{"1351612441":["hashtag1","hashtag2"]},{"1351612330":["hashtag1","hashtag2"]},{"1351612496":["hashtag1","hashtag2"]},{"1351612271":["hashtag1","hashtag2"]},{"1351612384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351612549, 1351612441, 1351612330, 1351612496, 1351612271, 1351612384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30138826370239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:00:32.864788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/25/image_14042025_10_26_07_10364.jpg', '/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_16_9373.jpg', '/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_27_10422.jpg', '/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_36_9428.jpg', '/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_47_10512.jpg', '/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_56_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/25/image_14042025_10_26_07_10364.jpg
/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_16_9373.jpg
/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_27_10422.jpg
/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_36_9428.jpg
/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_47_10512.jpg
/home/pi/Desktop/images/14042025/10/26/image_14042025_10_26_56_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351613295","1351613193","1351613384","1351613423","1351613126","1351613251"],"photo_ids_order":["1351613126","1351613193","1351613251","1351613295","1351613384","1351613423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/055566087dc8008debddd6ec30db894d.jpg","text":"TemporaryFile(/tmp/multipartBody6211367350510993280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024494551,"filename":"image_14042025_10_26_36_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e6efb4a787bee3b02f091bf50d09ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6102173025905692632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024494551,"filename":"image_14042025_10_26_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/19/1577e05b54aaf92e24b7614e5c43f4da.jpg","text":"TemporaryFile(/tmp/multipartBody5507327087740841094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024494551,"filename":"image_14042025_10_26_47_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/19/945a1e80e6a46f8de6a0f7f5dc083bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3520149814792485960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024494551,"filename":"image_14042025_10_26_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87fa04aa53830bf960040bd48b72b5ee.jpg","text":"TemporaryFile(/tmp/multipartBody5771721406715875452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024494551,"filename":"image_14042025_10_26_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/19/cd18222a921cb11320ea767df926f7ec.jpg","text":"TemporaryFile(/tmp/multipartBody4601803042250218921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024494551,"filename":"image_14042025_10_26_27_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351613251","file1":"1351613193","file0":"1351613126","file4":"1351613384","file5":"1351613423","file3":"1351613295"},"map_files_photo_id_array":[{"photo_id":"1351613423","filename":"file5"},{"photo_id":"1351613251","filename":"file2"},{"photo_id":"1351613384","filename":"file4"},{"photo_id":"1351613193","filename":"file1"},{"photo_id":"1351613126","filename":"file0"},{"photo_id":"1351613295","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351613295":["hashtag1","hashtag2"]},{"1351613193":["hashtag1","hashtag2"]},{"1351613384":["hashtag1","hashtag2"]},{"1351613423":["hashtag1","hashtag2"]},{"1351613126":["hashtag1","hashtag2"]},{"1351613251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351613295, 1351613193, 1351613384, 1351613423, 1351613126, 1351613251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.741628646850586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:01:33.274993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/26/image_14042025_10_27_07_10358.jpg', '/home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_37_10436.jpg', '/home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_47_10373.jpg', '/home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_57_9439.jpg', '/home/pi/Desktop/images/14042025/10/27/image_14042025_10_28_07_10433.jpg', '/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_16_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/26/image_14042025_10_27_07_10358.jpg
/home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_37_10436.jpg
/home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_47_10373.jpg
/home/pi/Desktop/images/14042025/10/27/image_14042025_10_27_57_9439.jpg
/home/pi/Desktop/images/14042025/10/27/image_14042025_10_28_07_10433.jpg
/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_16_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":["1351614204","1351614120","1351613916","1351614050","1351613996","1351614268"],"photo_ids_order":["1351613916","1351613996","1351614050","1351614120","1351614204","1351614268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4d53661a3fea5434992f7777dfd5f817.jpg","text":"TemporaryFile(/tmp/multipartBody3986252739517368851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024555019,"filename":"image_14042025_10_28_07_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3addbef0e0bccd89cf63144a3079fff3.jpg","text":"TemporaryFile(/tmp/multipartBody1489498281201664240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024555019,"filename":"image_14042025_10_27_57_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/19/4f8494f4d7c0cc7acfd0402fefd789d6.jpg","text":"TemporaryFile(/tmp/multipartBody4653637635385516391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024555019,"filename":"image_14042025_10_27_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/19/b4986000fb909c15919637dd4721eda2.jpg","text":"TemporaryFile(/tmp/multipartBody5089311733760996363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024555019,"filename":"image_14042025_10_27_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/19/ac28209d79a2a0e2e8c3701e42abc1b1.jpg","text":"TemporaryFile(/tmp/multipartBody7416971675104887403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024555019,"filename":"image_14042025_10_27_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/19/51be32d356abcf88314e717d30727746.jpg","text":"TemporaryFile(/tmp/multipartBody1667405563366691783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024555019,"filename":"image_14042025_10_28_16_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351614050","file1":"1351613996","file0":"1351613916","file4":"1351614204","file5":"1351614268","file3":"1351614120"},"map_files_photo_id_array":[{"photo_id":"1351614268","filename":"file5"},{"photo_id":"1351614050","filename":"file2"},{"photo_id":"1351614204","filename":"file4"},{"photo_id":"1351613996","filename":"file1"},{"photo_id":"1351613916","filename":"file0"},{"photo_id":"1351614120","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351614204":["hashtag1","hashtag2"]},{"1351614120":["hashtag1","hashtag2"]},{"1351613916":["hashtag1","hashtag2"]},{"1351614050":["hashtag1","hashtag2"]},{"1351613996":["hashtag1","hashtag2"]},{"1351614268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351614204, 1351614120, 1351613916, 1351614050, 1351613996, 1351614268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32639026641846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:02:32.184122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_27_10455.jpg', '/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_37_10357.jpg', '/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_46_9349.jpg', '/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_57_10356.jpg', '/home/pi/Desktop/images/14042025/10/28/image_14042025_10_29_06_9404.jpg', '/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_17_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_27_10455.jpg
/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_37_10357.jpg
/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_46_9349.jpg
/home/pi/Desktop/images/14042025/10/28/image_14042025_10_28_57_10356.jpg
/home/pi/Desktop/images/14042025/10/28/image_14042025_10_29_06_9404.jpg
/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_17_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351614680","1351614650","1351614693","1351614631","1351614625","1351614628"],"photo_ids_order":["1351614625","1351614628","1351614631","1351614650","1351614680","1351614693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3a0c8bd63f2d2c90f1ef389a7a4814a8.jpg","text":"TemporaryFile(/tmp/multipartBody6730947043171457433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024613865,"filename":"image_14042025_10_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/19/97620bf082056f1e655b39e19e6103e6.jpg","text":"TemporaryFile(/tmp/multipartBody6392691428249710565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024613865,"filename":"image_14042025_10_28_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d3b29edafac8a3edb93772429a532774.jpg","text":"TemporaryFile(/tmp/multipartBody6970399065683429996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024613865,"filename":"image_14042025_10_29_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2e1bede8b08b88440665b812a8b4a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5744524333124880870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024613865,"filename":"image_14042025_10_28_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/19/53ee8a61b9a02154cc55512d60f8d778.jpg","text":"TemporaryFile(/tmp/multipartBody3517266307403191492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024613865,"filename":"image_14042025_10_28_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d7a9a516cf87a49009caee8dded8828.jpg","text":"TemporaryFile(/tmp/multipartBody1835059941857288965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024613865,"filename":"image_14042025_10_28_37_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351614631","file1":"1351614628","file0":"1351614625","file4":"1351614680","file5":"1351614693","file3":"1351614650"},"map_files_photo_id_array":[{"photo_id":"1351614693","filename":"file5"},{"photo_id":"1351614631","filename":"file2"},{"photo_id":"1351614680","filename":"file4"},{"photo_id":"1351614628","filename":"file1"},{"photo_id":"1351614625","filename":"file0"},{"photo_id":"1351614650","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351614680":["hashtag1","hashtag2"]},{"1351614650":["hashtag1","hashtag2"]},{"1351614693":["hashtag1","hashtag2"]},{"1351614631":["hashtag1","hashtag2"]},{"1351614625":["hashtag1","hashtag2"]},{"1351614628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351614680, 1351614650, 1351614693, 1351614631, 1351614625, 1351614628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30004620552063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:03:32.408402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_27_10429.jpg', '/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_36_9390.jpg', '/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_47_10378.jpg', '/home/pi/Desktop/images/14042025/10/29/image_14042025_10_30_07_10353.jpg', '/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_17_10357.jpg', '/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_26_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_27_10429.jpg
/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_36_9390.jpg
/home/pi/Desktop/images/14042025/10/29/image_14042025_10_29_47_10378.jpg
/home/pi/Desktop/images/14042025/10/29/image_14042025_10_30_07_10353.jpg
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_17_10357.jpg
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_26_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":["1351614738","1351614747","1351614741","1351614740","1351614743","1351614751"],"photo_ids_order":["1351614738","1351614740","1351614741","1351614743","1351614747","1351614751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6976fc24f2845b740410c0635bab9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody1947310220890190517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024674102,"filename":"image_14042025_10_29_27_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/19/351d5f5964b897fd8ce01d8ce8f2dd40.jpg","text":"TemporaryFile(/tmp/multipartBody7815711104991899178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024674102,"filename":"image_14042025_10_30_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/19/b8364e4a03348b1689437166b34d3c77.jpg","text":"TemporaryFile(/tmp/multipartBody4753001374630649096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024674102,"filename":"image_14042025_10_29_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/19/e16da86af4ef0baefb5317d171726e8a.jpg","text":"TemporaryFile(/tmp/multipartBody7915411733338109483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024674102,"filename":"image_14042025_10_29_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/19/8e8ad5d48ca02ae7930e90277d57d68a.jpg","text":"TemporaryFile(/tmp/multipartBody3578494309664204735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024674102,"filename":"image_14042025_10_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/19/e0b8450b040940f83cbef6dcbf4faad4.jpg","text":"TemporaryFile(/tmp/multipartBody7148688368182505322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024674102,"filename":"image_14042025_10_30_26_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351614741","file1":"1351614740","file0":"1351614738","file4":"1351614747","file5":"1351614751","file3":"1351614743"},"map_files_photo_id_array":[{"photo_id":"1351614751","filename":"file5"},{"photo_id":"1351614741","filename":"file2"},{"photo_id":"1351614747","filename":"file4"},{"photo_id":"1351614740","filename":"file1"},{"photo_id":"1351614738","filename":"file0"},{"photo_id":"1351614743","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351614738":["hashtag1","hashtag2"]},{"1351614747":["hashtag1","hashtag2"]},{"1351614741":["hashtag1","hashtag2"]},{"1351614740":["hashtag1","hashtag2"]},{"1351614743":["hashtag1","hashtag2"]},{"1351614751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351614738, 1351614747, 1351614741, 1351614740, 1351614743, 1351614751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96989297866821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:04:32.627073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_37_10443.jpg', '/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_46_9406.jpg', '/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_57_10430.jpg', '/home/pi/Desktop/images/14042025/10/30/image_14042025_10_31_07_10361.jpg', '/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_16_9485.jpg', '/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_27_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_37_10443.jpg
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_46_9406.jpg
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_30_57_10430.jpg
/home/pi/Desktop/images/14042025/10/30/image_14042025_10_31_07_10361.jpg
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_16_9485.jpg
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_27_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":["1351614849","1351614986","1351614854","1351615019","1351614934","1351614904"],"photo_ids_order":["1351614849","1351614854","1351614904","1351614934","1351614986","1351615019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6090b6093aebf702c2d9bf0c1901543.jpg","text":"TemporaryFile(/tmp/multipartBody8363752284186685453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024734308,"filename":"image_14042025_10_30_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/19/3ede50320675be64efb3bbbf1085f36b.jpg","text":"TemporaryFile(/tmp/multipartBody3818362963729807529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024734308,"filename":"image_14042025_10_31_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/19/c44d3d82e8101db2700e091eff4aaf29.jpg","text":"TemporaryFile(/tmp/multipartBody1670522779510811284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024734308,"filename":"image_14042025_10_30_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/19/03b952c337e97198a765de1514961b8d.jpg","text":"TemporaryFile(/tmp/multipartBody7294797656062894178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024734308,"filename":"image_14042025_10_31_27_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc838a10ae86b3d54c99bf85b0059c1d.jpg","text":"TemporaryFile(/tmp/multipartBody5658366719172921427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024734308,"filename":"image_14042025_10_31_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a39fcfd8c187c8345b5291b231e49a31.jpg","text":"TemporaryFile(/tmp/multipartBody3610273582853184262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024734308,"filename":"image_14042025_10_30_57_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351614904","file1":"1351614854","file0":"1351614849","file4":"1351614986","file5":"1351615019","file3":"1351614934"},"map_files_photo_id_array":[{"photo_id":"1351615019","filename":"file5"},{"photo_id":"1351614904","filename":"file2"},{"photo_id":"1351614986","filename":"file4"},{"photo_id":"1351614854","filename":"file1"},{"photo_id":"1351614849","filename":"file0"},{"photo_id":"1351614934","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351614849":["hashtag1","hashtag2"]},{"1351614986":["hashtag1","hashtag2"]},{"1351614854":["hashtag1","hashtag2"]},{"1351615019":["hashtag1","hashtag2"]},{"1351614934":["hashtag1","hashtag2"]},{"1351614904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351614849, 1351614986, 1351614854, 1351615019, 1351614934, 1351614904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.659104108810425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:05:32.864472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_36_9398.jpg', '/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_47_10445.jpg', '/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_57_10390.jpg', '/home/pi/Desktop/images/14042025/10/31/image_14042025_10_32_07_9365.jpg', '/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_17_10441.jpg', '/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_26_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_36_9398.jpg
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_47_10445.jpg
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_31_57_10390.jpg
/home/pi/Desktop/images/14042025/10/31/image_14042025_10_32_07_9365.jpg
/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_17_10441.jpg
/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_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":["1351615323","1351615357","1351615222","1351615225","1351615219","1351615275"],"photo_ids_order":["1351615219","1351615222","1351615225","1351615275","1351615323","1351615357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/60a02cd8347cecb06ce34b9f398eff37.jpg","text":"TemporaryFile(/tmp/multipartBody5277690339317351966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024794524,"filename":"image_14042025_10_32_17_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/173e0a9e415f558f35d41354882b7389.jpg","text":"TemporaryFile(/tmp/multipartBody4266481851321919641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024794524,"filename":"image_14042025_10_32_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/19/2653a9ecadc7443ee85746105509f516.jpg","text":"TemporaryFile(/tmp/multipartBody8712641797890159730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024794524,"filename":"image_14042025_10_31_47_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dbc196df971671dd460143218b693253.jpg","text":"TemporaryFile(/tmp/multipartBody381634723076282362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024794524,"filename":"image_14042025_10_31_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/19/62c1c4f61b187d8de878d9ea6c0c0dee.jpg","text":"TemporaryFile(/tmp/multipartBody8995938510441555080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024794524,"filename":"image_14042025_10_31_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/19/739f83a00792fa29e3ee3ad028513320.jpg","text":"TemporaryFile(/tmp/multipartBody4008589557983933588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024794524,"filename":"image_14042025_10_32_07_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351615225","file1":"1351615222","file0":"1351615219","file4":"1351615323","file5":"1351615357","file3":"1351615275"},"map_files_photo_id_array":[{"photo_id":"1351615357","filename":"file5"},{"photo_id":"1351615225","filename":"file2"},{"photo_id":"1351615323","filename":"file4"},{"photo_id":"1351615222","filename":"file1"},{"photo_id":"1351615219","filename":"file0"},{"photo_id":"1351615275","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351615323":["hashtag1","hashtag2"]},{"1351615357":["hashtag1","hashtag2"]},{"1351615222":["hashtag1","hashtag2"]},{"1351615225":["hashtag1","hashtag2"]},{"1351615219":["hashtag1","hashtag2"]},{"1351615275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351615323, 1351615357, 1351615222, 1351615225, 1351615219, 1351615275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41642928123474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:06:33.150263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_37_10456.jpg', '/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_47_10346.jpg', '/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_57_9409.jpg', '/home/pi/Desktop/images/14042025/10/32/image_14042025_10_33_07_10443.jpg', '/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_16_9333.jpg', '/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_27_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_37_10456.jpg
/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_47_10346.jpg
/home/pi/Desktop/images/14042025/10/32/image_14042025_10_32_57_9409.jpg
/home/pi/Desktop/images/14042025/10/32/image_14042025_10_33_07_10443.jpg
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_16_9333.jpg
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_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":["1351615632","1351615661","1351615511","1351615601","1351615570","1351615540"],"photo_ids_order":["1351615511","1351615540","1351615570","1351615601","1351615632","1351615661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cef60261862444f7ca0d2e63f662c329.jpg","text":"TemporaryFile(/tmp/multipartBody8272394004170193970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024854833,"filename":"image_14042025_10_33_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d19300c6e9acd02dd9c89e1f47cab2ac.jpg","text":"TemporaryFile(/tmp/multipartBody3308022877410048219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024854833,"filename":"image_14042025_10_33_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/19/7814ead49608edf1ea9d03289a5fbb4c.jpg","text":"TemporaryFile(/tmp/multipartBody6987293285284892232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024854833,"filename":"image_14042025_10_32_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7743baca6c4836a439b6bd5ff1516f1.jpg","text":"TemporaryFile(/tmp/multipartBody528154482423712945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024854833,"filename":"image_14042025_10_33_07_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fee9ef8089dd913cf141d4962b3f05dc.jpg","text":"TemporaryFile(/tmp/multipartBody2398042913727683914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024854833,"filename":"image_14042025_10_32_57_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/19/7a05c9993a14b67baa1d48c07e327f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3116537902592137217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024854833,"filename":"image_14042025_10_32_47_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351615570","file1":"1351615540","file0":"1351615511","file4":"1351615632","file5":"1351615661","file3":"1351615601"},"map_files_photo_id_array":[{"photo_id":"1351615661","filename":"file5"},{"photo_id":"1351615570","filename":"file2"},{"photo_id":"1351615632","filename":"file4"},{"photo_id":"1351615540","filename":"file1"},{"photo_id":"1351615511","filename":"file0"},{"photo_id":"1351615601","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351615632":["hashtag1","hashtag2"]},{"1351615661":["hashtag1","hashtag2"]},{"1351615511":["hashtag1","hashtag2"]},{"1351615601":["hashtag1","hashtag2"]},{"1351615570":["hashtag1","hashtag2"]},{"1351615540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351615632, 1351615661, 1351615511, 1351615601, 1351615570, 1351615540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.731696367263794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:07:32.269993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_37_10349.jpg', '/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_46_9337.jpg', '/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_57_10356.jpg', '/home/pi/Desktop/images/14042025/10/33/image_14042025_10_34_07_10351.jpg', '/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_16_9329.jpg', '/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_27_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_37_10349.jpg
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_46_9337.jpg
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_33_57_10356.jpg
/home/pi/Desktop/images/14042025/10/33/image_14042025_10_34_07_10351.jpg
/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_16_9329.jpg
/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_27_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351615796","1351615853","1351615826","1351615856","1351615786","1351615782"],"photo_ids_order":["1351615782","1351615786","1351615796","1351615826","1351615853","1351615856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba7079965eb486bf6b4ec0304fdab507.jpg","text":"TemporaryFile(/tmp/multipartBody8419912061842563879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024913936,"filename":"image_14042025_10_33_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0533158000722b4223d61c54df441c08.jpg","text":"TemporaryFile(/tmp/multipartBody4751109224894813839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024913936,"filename":"image_14042025_10_34_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c18be34062034e6074957e7a2907d485.jpg","text":"TemporaryFile(/tmp/multipartBody6213964034198218731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024913936,"filename":"image_14042025_10_34_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e18885465e7657da7a00b8bebf77ca98.jpg","text":"TemporaryFile(/tmp/multipartBody668527107398158079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024913936,"filename":"image_14042025_10_34_27_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aff026a5d1c1dfacd62b451145e7bc78.jpg","text":"TemporaryFile(/tmp/multipartBody6474168900553642860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024913936,"filename":"image_14042025_10_33_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/19/1c5f60f18332388c9d2e1b5a370f2183.jpg","text":"TemporaryFile(/tmp/multipartBody8299729792821783895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024913936,"filename":"image_14042025_10_33_37_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351615796","file1":"1351615786","file0":"1351615782","file4":"1351615853","file5":"1351615856","file3":"1351615826"},"map_files_photo_id_array":[{"photo_id":"1351615856","filename":"file5"},{"photo_id":"1351615796","filename":"file2"},{"photo_id":"1351615853","filename":"file4"},{"photo_id":"1351615786","filename":"file1"},{"photo_id":"1351615782","filename":"file0"},{"photo_id":"1351615826","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351615796":["hashtag1","hashtag2"]},{"1351615853":["hashtag1","hashtag2"]},{"1351615826":["hashtag1","hashtag2"]},{"1351615856":["hashtag1","hashtag2"]},{"1351615786":["hashtag1","hashtag2"]},{"1351615782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351615796, 1351615853, 1351615826, 1351615856, 1351615786, 1351615782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09163951873779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:08:32.540020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_36_9330.jpg', '/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_47_10428.jpg', '/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_57_10385.jpg', '/home/pi/Desktop/images/14042025/10/34/image_14042025_10_35_06_9332.jpg', '/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_17_10410.jpg', '/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_26_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_36_9330.jpg
/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_47_10428.jpg
/home/pi/Desktop/images/14042025/10/34/image_14042025_10_34_57_10385.jpg
/home/pi/Desktop/images/14042025/10/34/image_14042025_10_35_06_9332.jpg
/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_17_10410.jpg
/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_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":["1351616180","1351616153","1351616125","1351616097","1351616070","1351616040"],"photo_ids_order":["1351616040","1351616070","1351616097","1351616125","1351616153","1351616180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9a611b97e4be1533a7e61e829f68af1.jpg","text":"TemporaryFile(/tmp/multipartBody6521877568628396571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024974217,"filename":"image_14042025_10_35_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/19/90dd8f6522481277a67e16048a95b6ad.jpg","text":"TemporaryFile(/tmp/multipartBody575267838307661632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024974217,"filename":"image_14042025_10_35_17_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/19/5dc2a283e1323ee67b3ae2c5dc4bbdcf.jpg","text":"TemporaryFile(/tmp/multipartBody8458596725114243243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024974217,"filename":"image_14042025_10_35_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/abaf006e23d38cd8f3fbd360f83a58fe.jpg","text":"TemporaryFile(/tmp/multipartBody239875010989336753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024974217,"filename":"image_14042025_10_34_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91b1817b3ec9140598cd04ce7ab5d76c.jpg","text":"TemporaryFile(/tmp/multipartBody8620852494659557773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024974217,"filename":"image_14042025_10_34_47_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5c6f264da88886821bb4989cd3602c59.jpg","text":"TemporaryFile(/tmp/multipartBody3194729718652465544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745024974217,"filename":"image_14042025_10_34_36_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351616097","file1":"1351616070","file0":"1351616040","file4":"1351616153","file5":"1351616180","file3":"1351616125"},"map_files_photo_id_array":[{"photo_id":"1351616180","filename":"file5"},{"photo_id":"1351616097","filename":"file2"},{"photo_id":"1351616153","filename":"file4"},{"photo_id":"1351616070","filename":"file1"},{"photo_id":"1351616040","filename":"file0"},{"photo_id":"1351616125","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351616180":["hashtag1","hashtag2"]},{"1351616153":["hashtag1","hashtag2"]},{"1351616125":["hashtag1","hashtag2"]},{"1351616097":["hashtag1","hashtag2"]},{"1351616070":["hashtag1","hashtag2"]},{"1351616040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351616180, 1351616153, 1351616125, 1351616097, 1351616070, 1351616040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49717712402344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:09:32.746132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_37_10337.jpg', '/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_47_10424.jpg', '/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_56_9337.jpg', '/home/pi/Desktop/images/14042025/10/35/image_14042025_10_36_07_10322.jpg', '/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_17_10420.jpg', '/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_26_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_37_10337.jpg
/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_47_10424.jpg
/home/pi/Desktop/images/14042025/10/35/image_14042025_10_35_56_9337.jpg
/home/pi/Desktop/images/14042025/10/35/image_14042025_10_36_07_10322.jpg
/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_17_10420.jpg
/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_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":["1351616342","1351616374","1351616407","1351616496","1351616550","1351616445"],"photo_ids_order":["1351616342","1351616374","1351616407","1351616445","1351616496","1351616550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/330eb63b650e7aa6e061543af6125ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3486611224849675770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025034430,"filename":"image_14042025_10_35_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/536181536b61bec0bb4bc0373fd1d97d.jpg","text":"TemporaryFile(/tmp/multipartBody8574655083464325078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025034430,"filename":"image_14042025_10_35_47_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5167603f6783f90a4b7a45daa3c1728.jpg","text":"TemporaryFile(/tmp/multipartBody986501735907142848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025034430,"filename":"image_14042025_10_35_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d061e6c245ef389c942c57cb7466fb8a.jpg","text":"TemporaryFile(/tmp/multipartBody6830117913973151856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025034430,"filename":"image_14042025_10_36_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/19/1bd020b8e7bb841ca9b99463599dabe2.jpg","text":"TemporaryFile(/tmp/multipartBody620140806190236736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025034430,"filename":"image_14042025_10_36_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/19/f39136a59a459de1aec41a1026ee100f.jpg","text":"TemporaryFile(/tmp/multipartBody7780533868991785945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025034430,"filename":"image_14042025_10_36_07_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351616407","file1":"1351616374","file0":"1351616342","file4":"1351616496","file5":"1351616550","file3":"1351616445"},"map_files_photo_id_array":[{"photo_id":"1351616550","filename":"file5"},{"photo_id":"1351616407","filename":"file2"},{"photo_id":"1351616496","filename":"file4"},{"photo_id":"1351616374","filename":"file1"},{"photo_id":"1351616342","filename":"file0"},{"photo_id":"1351616445","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351616342":["hashtag1","hashtag2"]},{"1351616374":["hashtag1","hashtag2"]},{"1351616407":["hashtag1","hashtag2"]},{"1351616496":["hashtag1","hashtag2"]},{"1351616550":["hashtag1","hashtag2"]},{"1351616445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351616342, 1351616374, 1351616407, 1351616496, 1351616550, 1351616445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.835108280181885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:10:32.983895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_37_10437.jpg', '/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_46_9421.jpg', '/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_57_10350.jpg', '/home/pi/Desktop/images/14042025/10/36/image_14042025_10_37_07_10428.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_17_9961.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_26_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_37_10437.jpg
/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_46_9421.jpg
/home/pi/Desktop/images/14042025/10/36/image_14042025_10_36_57_10350.jpg
/home/pi/Desktop/images/14042025/10/36/image_14042025_10_37_07_10428.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_17_9961.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_26_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351616810","1351616779","1351616863","1351616806","1351616775","1351616891"],"photo_ids_order":["1351616775","1351616779","1351616806","1351616810","1351616863","1351616891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f659a07e9e7a7e6769b738696bf7d65b.jpg","text":"TemporaryFile(/tmp/multipartBody4924444983796790604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025094686,"filename":"image_14042025_10_37_07_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc785758d3b97f6a4a65de71c95dca48.jpg","text":"TemporaryFile(/tmp/multipartBody972484530993931768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025094686,"filename":"image_14042025_10_36_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/19/49556bb3722d4a541ec8bee9f8bfcb55.jpg","text":"TemporaryFile(/tmp/multipartBody6674870759169945386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025094686,"filename":"image_14042025_10_37_17_9961.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/06b67b1f8f3eb60a245d518d1be85af0.jpg","text":"TemporaryFile(/tmp/multipartBody3531087409121848940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025094686,"filename":"image_14042025_10_36_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/19/be00009b06ce040f77012cc3cef8b1a3.jpg","text":"TemporaryFile(/tmp/multipartBody912938078983453830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025094686,"filename":"image_14042025_10_36_37_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f4892752e65812911cae4e15153f7df8.jpg","text":"TemporaryFile(/tmp/multipartBody3662825873217453081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025094686,"filename":"image_14042025_10_37_26_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351616806","file1":"1351616779","file0":"1351616775","file4":"1351616863","file5":"1351616891","file3":"1351616810"},"map_files_photo_id_array":[{"photo_id":"1351616891","filename":"file5"},{"photo_id":"1351616806","filename":"file2"},{"photo_id":"1351616863","filename":"file4"},{"photo_id":"1351616779","filename":"file1"},{"photo_id":"1351616775","filename":"file0"},{"photo_id":"1351616810","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351616810":["hashtag1","hashtag2"]},{"1351616779":["hashtag1","hashtag2"]},{"1351616863":["hashtag1","hashtag2"]},{"1351616806":["hashtag1","hashtag2"]},{"1351616775":["hashtag1","hashtag2"]},{"1351616891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351616810, 1351616779, 1351616863, 1351616806, 1351616775, 1351616891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.86365294456482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:11:32.236544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_37_10386.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_46_9671.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_57_10425.jpg', '/home/pi/Desktop/images/14042025/10/37/image_14042025_10_38_06_9319.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_17_10349.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_27_10486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_37_10386.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_46_9671.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_37_57_10425.jpg
/home/pi/Desktop/images/14042025/10/37/image_14042025_10_38_06_9319.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_17_10349.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_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":["1351617137","1351617196","1351617214","1351617217","1351617240","1351617165"],"photo_ids_order":["1351617137","1351617165","1351617196","1351617214","1351617217","1351617240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/750c6e066d58d3e3472fae69ce878e44.jpg","text":"TemporaryFile(/tmp/multipartBody806728933875426480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025153939,"filename":"image_14042025_10_37_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/19/d35dedd245f898fcaedf63d735f5ebc9.jpg","text":"TemporaryFile(/tmp/multipartBody1246905232353270839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025153939,"filename":"image_14042025_10_37_57_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bb18e82db31fde3a417a110e1e293632.jpg","text":"TemporaryFile(/tmp/multipartBody7807348635152811944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025153939,"filename":"image_14042025_10_38_06_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/19/1a01aa7d4759fa41d4fbcdb67410e2b7.jpg","text":"TemporaryFile(/tmp/multipartBody3012398590062515024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025153939,"filename":"image_14042025_10_38_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/19/7c54d7a33bfe74187eb9dd4553e36749.jpg","text":"TemporaryFile(/tmp/multipartBody2613152893683091879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025153939,"filename":"image_14042025_10_38_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/19/bddf13110773b46904cb182fcdd2f53b.jpg","text":"TemporaryFile(/tmp/multipartBody3907928940545699134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025153939,"filename":"image_14042025_10_37_46_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351617196","file1":"1351617165","file0":"1351617137","file4":"1351617217","file5":"1351617240","file3":"1351617214"},"map_files_photo_id_array":[{"photo_id":"1351617240","filename":"file5"},{"photo_id":"1351617196","filename":"file2"},{"photo_id":"1351617217","filename":"file4"},{"photo_id":"1351617165","filename":"file1"},{"photo_id":"1351617137","filename":"file0"},{"photo_id":"1351617214","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351617137":["hashtag1","hashtag2"]},{"1351617196":["hashtag1","hashtag2"]},{"1351617214":["hashtag1","hashtag2"]},{"1351617217":["hashtag1","hashtag2"]},{"1351617240":["hashtag1","hashtag2"]},{"1351617165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351617137, 1351617196, 1351617214, 1351617217, 1351617240, 1351617165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.655956029891968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:12:32.637393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_47_10414.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_57_10342.jpg', '/home/pi/Desktop/images/14042025/10/38/image_14042025_10_39_06_9350.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_17_10444.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_27_9694.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_37_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_47_10414.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_38_57_10342.jpg
/home/pi/Desktop/images/14042025/10/38/image_14042025_10_39_06_9350.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_17_10444.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_27_9694.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_37_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":["1351617379","1351617576","1351617429","1351617606","1351617563","1351617350"],"photo_ids_order":["1351617350","1351617379","1351617429","1351617563","1351617576","1351617606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7303a00b4b6ff8a960943af82b82d52c.jpg","text":"TemporaryFile(/tmp/multipartBody7210078867612232397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025214325,"filename":"image_14042025_10_38_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/88fb529663a443a0865172341fc8af95.jpg","text":"TemporaryFile(/tmp/multipartBody7037485498686132563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025214325,"filename":"image_14042025_10_39_27_9694.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/036a3c324813f01659463c42cfb03a40.jpg","text":"TemporaryFile(/tmp/multipartBody3828107174033600548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025214325,"filename":"image_14042025_10_39_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/19/de3b1e5a547ea1e62ba76386332df7c4.jpg","text":"TemporaryFile(/tmp/multipartBody3322763906167334324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025214325,"filename":"image_14042025_10_39_37_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fcddd6ec3d114fed9f43cd185129bb1b.jpg","text":"TemporaryFile(/tmp/multipartBody8306440987100122484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025214325,"filename":"image_14042025_10_39_17_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/19/34552238dad235b2b8be74a40e9c020a.jpg","text":"TemporaryFile(/tmp/multipartBody9003403759448350093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025214325,"filename":"image_14042025_10_38_47_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351617429","file1":"1351617379","file0":"1351617350","file4":"1351617576","file5":"1351617606","file3":"1351617563"},"map_files_photo_id_array":[{"photo_id":"1351617606","filename":"file5"},{"photo_id":"1351617429","filename":"file2"},{"photo_id":"1351617576","filename":"file4"},{"photo_id":"1351617379","filename":"file1"},{"photo_id":"1351617350","filename":"file0"},{"photo_id":"1351617563","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351617379":["hashtag1","hashtag2"]},{"1351617576":["hashtag1","hashtag2"]},{"1351617429":["hashtag1","hashtag2"]},{"1351617606":["hashtag1","hashtag2"]},{"1351617563":["hashtag1","hashtag2"]},{"1351617350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351617379, 1351617576, 1351617429, 1351617606, 1351617563, 1351617350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.098793506622314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:13:32.903553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_46_9355.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_57_10427.jpg', '/home/pi/Desktop/images/14042025/10/39/image_14042025_10_40_06_9331.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_17_10399.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_27_10355.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_36_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_46_9355.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_39_57_10427.jpg
/home/pi/Desktop/images/14042025/10/39/image_14042025_10_40_06_9331.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_17_10399.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_27_10355.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_36_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351617889","1351617806","1351617843","1351617884","1351617893","1351617872"],"photo_ids_order":["1351617806","1351617843","1351617872","1351617884","1351617889","1351617893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a09b3cfabc698c75d42c2a7ff5de0dbf.jpg","text":"TemporaryFile(/tmp/multipartBody138235308128893472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025274577,"filename":"image_14042025_10_40_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/19/e52aacb85345941b193e6117cdcdc6c3.jpg","text":"TemporaryFile(/tmp/multipartBody302416468711431428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025274577,"filename":"image_14042025_10_39_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/19/23f4cdc7c7f28a3cf6047b0497bcc9de.jpg","text":"TemporaryFile(/tmp/multipartBody7449553937780407891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025274577,"filename":"image_14042025_10_39_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/19/528c6e2f680e5264fe271162ddeae5e5.jpg","text":"TemporaryFile(/tmp/multipartBody5723575765064578180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025274577,"filename":"image_14042025_10_40_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/19/78aef270c01b4f6d733c3be9bae96d3b.jpg","text":"TemporaryFile(/tmp/multipartBody1178147317190451950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025274577,"filename":"image_14042025_10_40_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0569b901bfc0a8d6cca8a693d450a55e.jpg","text":"TemporaryFile(/tmp/multipartBody4996548706548507913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025274577,"filename":"image_14042025_10_40_06_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351617872","file1":"1351617843","file0":"1351617806","file4":"1351617889","file5":"1351617893","file3":"1351617884"},"map_files_photo_id_array":[{"photo_id":"1351617893","filename":"file5"},{"photo_id":"1351617872","filename":"file2"},{"photo_id":"1351617889","filename":"file4"},{"photo_id":"1351617843","filename":"file1"},{"photo_id":"1351617806","filename":"file0"},{"photo_id":"1351617884","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351617889":["hashtag1","hashtag2"]},{"1351617806":["hashtag1","hashtag2"]},{"1351617843":["hashtag1","hashtag2"]},{"1351617884":["hashtag1","hashtag2"]},{"1351617893":["hashtag1","hashtag2"]},{"1351617872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351617889, 1351617806, 1351617843, 1351617884, 1351617893, 1351617872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39754772186279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:14:33.032844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_47_10491.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_57_10343.jpg', '/home/pi/Desktop/images/14042025/10/40/image_14042025_10_41_06_9398.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_17_10435.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_26_9350.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_37_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_47_10491.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_40_57_10343.jpg
/home/pi/Desktop/images/14042025/10/40/image_14042025_10_41_06_9398.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_17_10435.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_26_9350.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_37_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351618007","1351618012","1351618021","1351618003","1351617999","1351618017"],"photo_ids_order":["1351617999","1351618003","1351618007","1351618012","1351618017","1351618021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c5874785db91b7a0b92c3a81c2e2e5c.jpg","text":"TemporaryFile(/tmp/multipartBody5238082910856589007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025334704,"filename":"image_14042025_10_41_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/19/b98e129f3816e6097ab4f7e483bc52c0.jpg","text":"TemporaryFile(/tmp/multipartBody5423962393710906042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025334704,"filename":"image_14042025_10_41_17_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/812a2b00e9aeee693074c61d923761dd.jpg","text":"TemporaryFile(/tmp/multipartBody7558475625544971025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025334704,"filename":"image_14042025_10_41_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/19/9098ebe3ac549f4051b126cd3ff0666f.jpg","text":"TemporaryFile(/tmp/multipartBody5726138328698095528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025334704,"filename":"image_14042025_10_40_57_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bab4b8326d8dbfe1eebb412192117bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8375057903146021775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025334704,"filename":"image_14042025_10_40_47_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/19/4306cc5ba24c564f7891023601303ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6884548002232511829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025334704,"filename":"image_14042025_10_41_26_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351618007","file1":"1351618003","file0":"1351617999","file4":"1351618017","file5":"1351618021","file3":"1351618012"},"map_files_photo_id_array":[{"photo_id":"1351618021","filename":"file5"},{"photo_id":"1351618007","filename":"file2"},{"photo_id":"1351618017","filename":"file4"},{"photo_id":"1351618003","filename":"file1"},{"photo_id":"1351617999","filename":"file0"},{"photo_id":"1351618012","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351618007":["hashtag1","hashtag2"]},{"1351618012":["hashtag1","hashtag2"]},{"1351618021":["hashtag1","hashtag2"]},{"1351618003":["hashtag1","hashtag2"]},{"1351617999":["hashtag1","hashtag2"]},{"1351618017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351618007, 1351618012, 1351618021, 1351618003, 1351617999, 1351618017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.774308919906616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:15:32.270091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_47_10369.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_57_9431.jpg', '/home/pi/Desktop/images/14042025/10/41/image_14042025_10_42_07_10430.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_16_9345.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_27_10432.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_37_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_47_10369.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_41_57_9431.jpg
/home/pi/Desktop/images/14042025/10/41/image_14042025_10_42_07_10430.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_16_9345.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_27_10432.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_37_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351618207","1351618218","1351618211","1351618220","1351618214","1351618217"],"photo_ids_order":["1351618207","1351618211","1351618214","1351618217","1351618218","1351618220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1768591d142943a821928a62cebb39cd.jpg","text":"TemporaryFile(/tmp/multipartBody9053353991818659207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025393954,"filename":"image_14042025_10_41_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/19/0f0fb0f21c5d85867f7c2ec8c94a608b.jpg","text":"TemporaryFile(/tmp/multipartBody6837319355584263972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025393954,"filename":"image_14042025_10_42_27_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/19/8349ef8af9ab524fecebefda3f3fb21d.jpg","text":"TemporaryFile(/tmp/multipartBody5771455405186822872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025393954,"filename":"image_14042025_10_41_57_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f6df3c1458edfbee146b2cfdeab041e.jpg","text":"TemporaryFile(/tmp/multipartBody263614363435282817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025393954,"filename":"image_14042025_10_42_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/19/545387d10741e3434a09eb163eb138b5.jpg","text":"TemporaryFile(/tmp/multipartBody6602754997168712753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025393954,"filename":"image_14042025_10_42_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/19/a6a27ca9049d9936d588771e7807e86a.jpg","text":"TemporaryFile(/tmp/multipartBody6597629146141717176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025393954,"filename":"image_14042025_10_42_16_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351618214","file1":"1351618211","file0":"1351618207","file4":"1351618218","file5":"1351618220","file3":"1351618217"},"map_files_photo_id_array":[{"photo_id":"1351618220","filename":"file5"},{"photo_id":"1351618214","filename":"file2"},{"photo_id":"1351618218","filename":"file4"},{"photo_id":"1351618211","filename":"file1"},{"photo_id":"1351618207","filename":"file0"},{"photo_id":"1351618217","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351618207":["hashtag1","hashtag2"]},{"1351618218":["hashtag1","hashtag2"]},{"1351618211":["hashtag1","hashtag2"]},{"1351618220":["hashtag1","hashtag2"]},{"1351618214":["hashtag1","hashtag2"]},{"1351618217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351618207, 1351618218, 1351618211, 1351618220, 1351618214, 1351618217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.515721559524536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:16:32.562997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_46_9345.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_57_10390.jpg', '/home/pi/Desktop/images/14042025/10/42/image_14042025_10_43_06_9395.jpg', '/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_36_9350.jpg', '/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_47_10430.jpg', '/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_37_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_46_9345.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_42_57_10390.jpg
/home/pi/Desktop/images/14042025/10/42/image_14042025_10_43_06_9395.jpg
/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_36_9350.jpg
/home/pi/Desktop/images/14042025/10/43/image_14042025_10_43_47_10430.jpg
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_37_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":["1351618351","1351618375","1351618333","1351618356","1351618275","1351618305"],"photo_ids_order":["1351618275","1351618305","1351618333","1351618351","1351618356","1351618375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/faa390c01e0c4cf8150e028063450081.jpg","text":"TemporaryFile(/tmp/multipartBody703540755017578462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025454240,"filename":"image_14042025_10_43_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/19/7b4b99e0de1d8f54ff8097bcd397fd20.jpg","text":"TemporaryFile(/tmp/multipartBody3124959302569032097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025454240,"filename":"image_14042025_10_44_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2370d3ae299e0cf4b037db815cad8317.jpg","text":"TemporaryFile(/tmp/multipartBody6551476182490295550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025454240,"filename":"image_14042025_10_43_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bb585878c8c143d1194ebb216f630330.jpg","text":"TemporaryFile(/tmp/multipartBody55062953356871244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025454240,"filename":"image_14042025_10_43_47_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f6c92c88bef04cb5c28f4f6d45027c7f.jpg","text":"TemporaryFile(/tmp/multipartBody8710098430830478005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025454240,"filename":"image_14042025_10_42_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/19/cea53b3a7e1913840e5aa08ae4ae00f9.jpg","text":"TemporaryFile(/tmp/multipartBody8232491172659933493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025454240,"filename":"image_14042025_10_42_57_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351618333","file1":"1351618305","file0":"1351618275","file4":"1351618356","file5":"1351618375","file3":"1351618351"},"map_files_photo_id_array":[{"photo_id":"1351618375","filename":"file5"},{"photo_id":"1351618333","filename":"file2"},{"photo_id":"1351618356","filename":"file4"},{"photo_id":"1351618305","filename":"file1"},{"photo_id":"1351618275","filename":"file0"},{"photo_id":"1351618351","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351618351":["hashtag1","hashtag2"]},{"1351618375":["hashtag1","hashtag2"]},{"1351618333":["hashtag1","hashtag2"]},{"1351618356":["hashtag1","hashtag2"]},{"1351618275":["hashtag1","hashtag2"]},{"1351618305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351618351, 1351618375, 1351618333, 1351618356, 1351618275, 1351618305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.556145668029785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:17:32.786837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_47_10411.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_26_9335.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_37_10446.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_57_10352.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_16_9358.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_27_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_47_10411.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_26_9335.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_37_10446.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_57_10352.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_16_9358.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_27_10462.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5813896656036377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 03:17:42.770117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_47_10411.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_26_9335.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_37_10446.jpg', '/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_57_10352.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_16_9358.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_27_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/44/image_14042025_10_44_47_10411.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_26_9335.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_37_10446.jpg
/home/pi/Desktop/images/14042025/10/45/image_14042025_10_45_57_10352.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_16_9358.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_27_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":["1351619104","1351618939","1351619130","1351619073","1351618971","1351619156"],"photo_ids_order":["1351618939","1351618971","1351619073","1351619104","1351619130","1351619156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f102df0b3843b4f16e8df60e9892037.jpg","text":"TemporaryFile(/tmp/multipartBody7058068380523602319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025523516,"filename":"image_14042025_10_45_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f2640ed776c2772e06d906022f8cd593.jpg","text":"TemporaryFile(/tmp/multipartBody4427348543354259858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025523516,"filename":"image_14042025_10_44_47_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d8f4405dc0a0f45928e56fb557cce68.jpg","text":"TemporaryFile(/tmp/multipartBody4589743036815718636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025523516,"filename":"image_14042025_10_46_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/19/f7ca38fd0331db02fbe0d63b6fcfbc44.jpg","text":"TemporaryFile(/tmp/multipartBody5768507048057699657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025523516,"filename":"image_14042025_10_45_37_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f8d1a13b5092dd71b7d1f33e2e66576a.jpg","text":"TemporaryFile(/tmp/multipartBody5541608012098740888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025523516,"filename":"image_14042025_10_45_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0c6c72958329420cdecba16d016ec382.jpg","text":"TemporaryFile(/tmp/multipartBody2050059267116062667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025523516,"filename":"image_14042025_10_46_27_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619073","file1":"1351618971","file0":"1351618939","file4":"1351619130","file5":"1351619156","file3":"1351619104"},"map_files_photo_id_array":[{"photo_id":"1351619156","filename":"file5"},{"photo_id":"1351619073","filename":"file2"},{"photo_id":"1351619130","filename":"file4"},{"photo_id":"1351618971","filename":"file1"},{"photo_id":"1351618939","filename":"file0"},{"photo_id":"1351619104","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351619104":["hashtag1","hashtag2"]},{"1351618939":["hashtag1","hashtag2"]},{"1351619130":["hashtag1","hashtag2"]},{"1351619073":["hashtag1","hashtag2"]},{"1351618971":["hashtag1","hashtag2"]},{"1351619156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351619104, 1351618939, 1351619130, 1351619073, 1351618971, 1351619156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.588704586029053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:18:33.096817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_36_9343.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_47_10341.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_57_10335.jpg', '/home/pi/Desktop/images/14042025/10/46/image_14042025_10_47_06_9387.jpg', '/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_17_10344.jpg', '/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_27_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_36_9343.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_47_10341.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_46_57_10335.jpg
/home/pi/Desktop/images/14042025/10/46/image_14042025_10_47_06_9387.jpg
/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_17_10344.jpg
/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_27_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":["1351619404","1351619273","1351619303","1351619380","1351619266","1351619269"],"photo_ids_order":["1351619266","1351619269","1351619273","1351619303","1351619380","1351619404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fa0849bc78d387339e2a47b5c61e7d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2523939785086481962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025574745,"filename":"image_14042025_10_47_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/19/f67979147b8ebea9f8795c73ffcf4a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1901049893491804175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025574745,"filename":"image_14042025_10_46_57_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7fbd59000a99ce88bc17b543177bd8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8258374649725192285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025574745,"filename":"image_14042025_10_47_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/19/37fc4dd62886c44e741c02edb95e3746.jpg","text":"TemporaryFile(/tmp/multipartBody1155483305531498266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025574745,"filename":"image_14042025_10_47_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/19/74ad6a3736763889afb23fbf58b2484b.jpg","text":"TemporaryFile(/tmp/multipartBody3749759442432116304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025574745,"filename":"image_14042025_10_46_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/19/8306af7bb46c4fe9acf9c6a216ea8012.jpg","text":"TemporaryFile(/tmp/multipartBody4235279981598529157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025574745,"filename":"image_14042025_10_46_47_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619273","file1":"1351619269","file0":"1351619266","file4":"1351619380","file5":"1351619404","file3":"1351619303"},"map_files_photo_id_array":[{"photo_id":"1351619404","filename":"file5"},{"photo_id":"1351619273","filename":"file2"},{"photo_id":"1351619380","filename":"file4"},{"photo_id":"1351619269","filename":"file1"},{"photo_id":"1351619266","filename":"file0"},{"photo_id":"1351619303","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351619404":["hashtag1","hashtag2"]},{"1351619273":["hashtag1","hashtag2"]},{"1351619303":["hashtag1","hashtag2"]},{"1351619380":["hashtag1","hashtag2"]},{"1351619266":["hashtag1","hashtag2"]},{"1351619269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351619404, 1351619273, 1351619303, 1351619380, 1351619266, 1351619269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39776563644409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:19:32.361051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_36_9299.jpg', '/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_47_10324.jpg', '/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_57_10401.jpg', '/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_17_10412.jpg', '/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_27_10353.jpg', '/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_36_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_36_9299.jpg
/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_47_10324.jpg
/home/pi/Desktop/images/14042025/10/47/image_14042025_10_47_57_10401.jpg
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_17_10412.jpg
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_27_10353.jpg
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_36_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":["1351619611","1351619565","1351619619","1351619621","1351619593","1351619536"],"photo_ids_order":["1351619536","1351619565","1351619593","1351619611","1351619619","1351619621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32a950d5c18252720d940086d0e43903.jpg","text":"TemporaryFile(/tmp/multipartBody8516390957487293132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025634017,"filename":"image_14042025_10_48_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/19/744ed3e5017b927be4534d888426b018.jpg","text":"TemporaryFile(/tmp/multipartBody7403024787454291910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025634017,"filename":"image_14042025_10_47_47_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/19/38eba11fe6ef2cf6c9316f12f790254e.jpg","text":"TemporaryFile(/tmp/multipartBody3989495506294836611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025634017,"filename":"image_14042025_10_48_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/19/fc2e2a741e544ae46a133454286297cc.jpg","text":"TemporaryFile(/tmp/multipartBody3821100540525591252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025634017,"filename":"image_14042025_10_48_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/19/d61f367f9d66809d4728c7f5381ce79e.jpg","text":"TemporaryFile(/tmp/multipartBody5155239834492730730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025634017,"filename":"image_14042025_10_47_57_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4435484fcc1b41a59b3f5b89a8bdb66f.jpg","text":"TemporaryFile(/tmp/multipartBody3248809706702625346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025634017,"filename":"image_14042025_10_47_36_9299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619593","file1":"1351619565","file0":"1351619536","file4":"1351619619","file5":"1351619621","file3":"1351619611"},"map_files_photo_id_array":[{"photo_id":"1351619621","filename":"file5"},{"photo_id":"1351619593","filename":"file2"},{"photo_id":"1351619619","filename":"file4"},{"photo_id":"1351619565","filename":"file1"},{"photo_id":"1351619536","filename":"file0"},{"photo_id":"1351619611","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351619611":["hashtag1","hashtag2"]},{"1351619565":["hashtag1","hashtag2"]},{"1351619619":["hashtag1","hashtag2"]},{"1351619621":["hashtag1","hashtag2"]},{"1351619593":["hashtag1","hashtag2"]},{"1351619536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351619611, 1351619565, 1351619619, 1351619621, 1351619593, 1351619536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03053522109985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:20:32.607786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_47_10383.jpg', '/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_57_10350.jpg', '/home/pi/Desktop/images/14042025/10/48/image_14042025_10_49_06_9340.jpg', '/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_17_10421.jpg', '/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_26_9328.jpg', '/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_37_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_47_10383.jpg
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_48_57_10350.jpg
/home/pi/Desktop/images/14042025/10/48/image_14042025_10_49_06_9340.jpg
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_17_10421.jpg
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_26_9328.jpg
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_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":["1351619793","1351619704","1351619790","1351619757","1351619730","1351619786"],"photo_ids_order":["1351619704","1351619730","1351619757","1351619786","1351619790","1351619793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7920bf7e8e1a411ab97248eda51adb0a.jpg","text":"TemporaryFile(/tmp/multipartBody8354932270070927368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025694284,"filename":"image_14042025_10_49_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/19/d4c7d2abd905bf7dd20fd274b598a77b.jpg","text":"TemporaryFile(/tmp/multipartBody7014007210393947466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025694284,"filename":"image_14042025_10_48_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fbdefa0670ada9491cbf6f5e15ce4ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8603113577052354335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025694284,"filename":"image_14042025_10_49_26_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7df0b5b4b2b6ad370e75845e26feb23c.jpg","text":"TemporaryFile(/tmp/multipartBody3967550252539131150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025694284,"filename":"image_14042025_10_49_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ea07b557136c60a02b2a37e02e2f1fa2.jpg","text":"TemporaryFile(/tmp/multipartBody798720756169044660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025694284,"filename":"image_14042025_10_48_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/19/617958c3aec0dbba9de6b463035703c7.jpg","text":"TemporaryFile(/tmp/multipartBody9142007690467423781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025694284,"filename":"image_14042025_10_49_17_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619757","file1":"1351619730","file0":"1351619704","file4":"1351619790","file5":"1351619793","file3":"1351619786"},"map_files_photo_id_array":[{"photo_id":"1351619793","filename":"file5"},{"photo_id":"1351619757","filename":"file2"},{"photo_id":"1351619790","filename":"file4"},{"photo_id":"1351619730","filename":"file1"},{"photo_id":"1351619704","filename":"file0"},{"photo_id":"1351619786","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351619793":["hashtag1","hashtag2"]},{"1351619704":["hashtag1","hashtag2"]},{"1351619790":["hashtag1","hashtag2"]},{"1351619757":["hashtag1","hashtag2"]},{"1351619730":["hashtag1","hashtag2"]},{"1351619786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351619793, 1351619704, 1351619790, 1351619757, 1351619730, 1351619786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.548805475234985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:21:32.828305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_47_10388.jpg', '/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_56_9318.jpg', '/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_17_10347.jpg', '/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_26_9329.jpg', '/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_37_10412.jpg', '/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_47_10388.jpg
/home/pi/Desktop/images/14042025/10/49/image_14042025_10_49_56_9318.jpg
/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_17_10347.jpg
/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_26_9329.jpg
/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_37_10412.jpg
/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_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":["1351619839","1351619830","1351619824","1351619818","1351619835","1351619843"],"photo_ids_order":["1351619818","1351619824","1351619830","1351619835","1351619839","1351619843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/33ef3c5f4345c56e22dabf39b91bb071.jpg","text":"TemporaryFile(/tmp/multipartBody5901568968420505426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025754495,"filename":"image_14042025_10_50_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/19/37faeb12e3a25862a248b8e1b8917723.jpg","text":"TemporaryFile(/tmp/multipartBody408831225718459774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025754495,"filename":"image_14042025_10_50_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/19/52ba3608cfbfb838fb164f76394aa18c.jpg","text":"TemporaryFile(/tmp/multipartBody3891596390608018693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025754495,"filename":"image_14042025_10_49_56_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7b774374faf390d90da37a57816d626f.jpg","text":"TemporaryFile(/tmp/multipartBody1430031969080920341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025754495,"filename":"image_14042025_10_49_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/19/a998eabf944355f00a88c950632b652e.jpg","text":"TemporaryFile(/tmp/multipartBody2883688857937270724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025754495,"filename":"image_14042025_10_50_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/82fc8ceba69f7845dd8337d75d558165.jpg","text":"TemporaryFile(/tmp/multipartBody5347416447791542213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025754495,"filename":"image_14042025_10_50_46_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619830","file1":"1351619824","file0":"1351619818","file4":"1351619839","file5":"1351619843","file3":"1351619835"},"map_files_photo_id_array":[{"photo_id":"1351619843","filename":"file5"},{"photo_id":"1351619830","filename":"file2"},{"photo_id":"1351619839","filename":"file4"},{"photo_id":"1351619824","filename":"file1"},{"photo_id":"1351619818","filename":"file0"},{"photo_id":"1351619835","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351619839":["hashtag1","hashtag2"]},{"1351619830":["hashtag1","hashtag2"]},{"1351619824":["hashtag1","hashtag2"]},{"1351619818":["hashtag1","hashtag2"]},{"1351619835":["hashtag1","hashtag2"]},{"1351619843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351619839, 1351619830, 1351619824, 1351619818, 1351619835, 1351619843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90196132659912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:22:33.172636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_57_10407.jpg', '/home/pi/Desktop/images/14042025/10/50/image_14042025_10_51_07_10360.jpg', '/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_16_9322.jpg', '/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_37_10449.jpg', '/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_46_9338.jpg', '/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_57_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/50/image_14042025_10_50_57_10407.jpg
/home/pi/Desktop/images/14042025/10/50/image_14042025_10_51_07_10360.jpg
/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_16_9322.jpg
/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_37_10449.jpg
/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_46_9338.jpg
/home/pi/Desktop/images/14042025/10/51/image_14042025_10_51_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":["1351619877","1351619885","1351619867","1351619864","1351619881","1351619869"],"photo_ids_order":["1351619864","1351619867","1351619869","1351619877","1351619881","1351619885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba2339be7ca8714e075f8c47b9be9d34.jpg","text":"TemporaryFile(/tmp/multipartBody2003961864872948593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025814844,"filename":"image_14042025_10_51_37_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9131607dd021af947db1905be05adadd.jpg","text":"TemporaryFile(/tmp/multipartBody313800081619928377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025814844,"filename":"image_14042025_10_51_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/19/271477d22a279e35e262080b191b3ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7206278501004440575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025814844,"filename":"image_14042025_10_51_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/19/7813c4947c785f56bc13b0ffa29da0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3930984896028059985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025814844,"filename":"image_14042025_10_50_57_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/371e9a48affb72310d44945c68d4ca11.jpg","text":"TemporaryFile(/tmp/multipartBody3803188495338511228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025814844,"filename":"image_14042025_10_51_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/376061c16035edca3a3777f7207c4b68.jpg","text":"TemporaryFile(/tmp/multipartBody2433484089807678723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025814844,"filename":"image_14042025_10_51_16_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619869","file1":"1351619867","file0":"1351619864","file4":"1351619881","file5":"1351619885","file3":"1351619877"},"map_files_photo_id_array":[{"photo_id":"1351619885","filename":"file5"},{"photo_id":"1351619869","filename":"file2"},{"photo_id":"1351619881","filename":"file4"},{"photo_id":"1351619867","filename":"file1"},{"photo_id":"1351619864","filename":"file0"},{"photo_id":"1351619877","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351619877":["hashtag1","hashtag2"]},{"1351619885":["hashtag1","hashtag2"]},{"1351619867":["hashtag1","hashtag2"]},{"1351619864":["hashtag1","hashtag2"]},{"1351619881":["hashtag1","hashtag2"]},{"1351619869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351619877, 1351619885, 1351619867, 1351619864, 1351619881, 1351619869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48969531059265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:23:32.242149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/51/image_14042025_10_52_06_9442.jpg', '/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_17_10486.jpg', '/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_27_10420.jpg', '/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_36_9331.jpg', '/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_47_10436.jpg', '/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_56_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/51/image_14042025_10_52_06_9442.jpg
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_17_10486.jpg
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_27_10420.jpg
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_36_9331.jpg
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_47_10436.jpg
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_52_56_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":["1351619905","1351619910","1351619901","1351620006","1351619903","1351620080"],"photo_ids_order":["1351619901","1351619903","1351619905","1351619910","1351620006","1351620080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb0503c0544995d3841186c34f479b65.jpg","text":"TemporaryFile(/tmp/multipartBody6108458072780142228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025873933,"filename":"image_14042025_10_52_27_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1863e5dcf65e1a16fac1fb62dc160369.jpg","text":"TemporaryFile(/tmp/multipartBody145763195234605668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025873933,"filename":"image_14042025_10_52_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/19/a2ea043ef82e504460bcf45c67bc3eab.jpg","text":"TemporaryFile(/tmp/multipartBody1874586178683793116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025873933,"filename":"image_14042025_10_52_06_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f39876a31c0684ebee277d50551ea73.jpg","text":"TemporaryFile(/tmp/multipartBody7133101246477271722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025873933,"filename":"image_14042025_10_52_47_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4cda39c8f9668bb35f5191ad0fcb3a00.jpg","text":"TemporaryFile(/tmp/multipartBody2119003995112882679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025873933,"filename":"image_14042025_10_52_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/19/d79b143e0f96001043cd4592cc5fe986.jpg","text":"TemporaryFile(/tmp/multipartBody6103106116141958023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025873933,"filename":"image_14042025_10_52_56_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619905","file1":"1351619903","file0":"1351619901","file4":"1351620006","file5":"1351620080","file3":"1351619910"},"map_files_photo_id_array":[{"photo_id":"1351620080","filename":"file5"},{"photo_id":"1351619905","filename":"file2"},{"photo_id":"1351620006","filename":"file4"},{"photo_id":"1351619903","filename":"file1"},{"photo_id":"1351619901","filename":"file0"},{"photo_id":"1351619910","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351619905":["hashtag1","hashtag2"]},{"1351619910":["hashtag1","hashtag2"]},{"1351619901":["hashtag1","hashtag2"]},{"1351620006":["hashtag1","hashtag2"]},{"1351619903":["hashtag1","hashtag2"]},{"1351620080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351619905, 1351619910, 1351619901, 1351620006, 1351619903, 1351620080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23354411125183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:24:32.551648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/52/image_14042025_10_53_07_10403.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_17_10410.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_26_9406.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_37_10445.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_46_9361.jpg', '/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_57_10499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/52/image_14042025_10_53_07_10403.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_17_10410.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_26_9406.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_37_10445.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_46_9361.jpg
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_53_57_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":["1351620628","1351620517","1351620684","1351620453","1351620713","1351620592"],"photo_ids_order":["1351620453","1351620517","1351620592","1351620628","1351620684","1351620713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ce01ff8ddaaffd8053dbc6ac09ca66d.jpg","text":"TemporaryFile(/tmp/multipartBody3665005662252947480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025934273,"filename":"image_14042025_10_53_37_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ed232ff9de589f70558256eb5676c821.jpg","text":"TemporaryFile(/tmp/multipartBody6233929174490852382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025934273,"filename":"image_14042025_10_53_17_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/19/1e858d84f93d466900ce615bb5c470fc.jpg","text":"TemporaryFile(/tmp/multipartBody9069453753715973082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025934273,"filename":"image_14042025_10_53_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/19/6e179e2379ae17d26c00fc7d4f8eb236.jpg","text":"TemporaryFile(/tmp/multipartBody8390140806809375460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025934273,"filename":"image_14042025_10_53_07_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4600e8290fc402bc2e33dd7b0d96c3f2.jpg","text":"TemporaryFile(/tmp/multipartBody5493037985180765144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025934273,"filename":"image_14042025_10_53_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/19/8e388e347e21365d15dd9633f03b0806.jpg","text":"TemporaryFile(/tmp/multipartBody7151016620765189732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025934273,"filename":"image_14042025_10_53_26_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351620592","file1":"1351620517","file0":"1351620453","file4":"1351620684","file5":"1351620713","file3":"1351620628"},"map_files_photo_id_array":[{"photo_id":"1351620713","filename":"file5"},{"photo_id":"1351620592","filename":"file2"},{"photo_id":"1351620684","filename":"file4"},{"photo_id":"1351620517","filename":"file1"},{"photo_id":"1351620453","filename":"file0"},{"photo_id":"1351620628","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351620628":["hashtag1","hashtag2"]},{"1351620517":["hashtag1","hashtag2"]},{"1351620684":["hashtag1","hashtag2"]},{"1351620453":["hashtag1","hashtag2"]},{"1351620713":["hashtag1","hashtag2"]},{"1351620592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351620628, 1351620517, 1351620684, 1351620453, 1351620713, 1351620592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45003938674927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:25:32.878963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/53/image_14042025_10_54_06_9353.jpg', '/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_17_10349.jpg', '/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_27_10403.jpg', '/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_36_9325.jpg', '/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_47_10353.jpg', '/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_57_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/53/image_14042025_10_54_06_9353.jpg
/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_17_10349.jpg
/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_27_10403.jpg
/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_36_9325.jpg
/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_47_10353.jpg
/home/pi/Desktop/images/14042025/10/54/image_14042025_10_54_57_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351621543","1351621246","1351621428","1351621480","1351621342","1351621159"],"photo_ids_order":["1351621159","1351621246","1351621342","1351621428","1351621480","1351621543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b09317b2c978db600b0906a9f8d5ef1e.jpg","text":"TemporaryFile(/tmp/multipartBody688634506513822783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025994555,"filename":"image_14042025_10_54_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/19/031255d279801674b57b51221c3fd732.jpg","text":"TemporaryFile(/tmp/multipartBody6067456379996355444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025994555,"filename":"image_14042025_10_54_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/19/4211e37c1e7aa50615047311135ddcbf.jpg","text":"TemporaryFile(/tmp/multipartBody2890839852608882376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025994555,"filename":"image_14042025_10_54_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2dac050cfe16a830422eab56622db3e.jpg","text":"TemporaryFile(/tmp/multipartBody3584869003170535781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025994555,"filename":"image_14042025_10_54_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/19/c75452cb6a43bbfeee0ea1cad548b5ee.jpg","text":"TemporaryFile(/tmp/multipartBody8301212735906551545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025994555,"filename":"image_14042025_10_54_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/19/90e8e8950e9a9ab047494c3c9304cd2c.jpg","text":"TemporaryFile(/tmp/multipartBody4465582468846740662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745025994555,"filename":"image_14042025_10_54_06_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351621342","file1":"1351621246","file0":"1351621159","file4":"1351621480","file5":"1351621543","file3":"1351621428"},"map_files_photo_id_array":[{"photo_id":"1351621543","filename":"file5"},{"photo_id":"1351621342","filename":"file2"},{"photo_id":"1351621480","filename":"file4"},{"photo_id":"1351621246","filename":"file1"},{"photo_id":"1351621159","filename":"file0"},{"photo_id":"1351621428","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351621543":["hashtag1","hashtag2"]},{"1351621246":["hashtag1","hashtag2"]},{"1351621428":["hashtag1","hashtag2"]},{"1351621480":["hashtag1","hashtag2"]},{"1351621342":["hashtag1","hashtag2"]},{"1351621159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351621543, 1351621246, 1351621428, 1351621480, 1351621342, 1351621159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.077367067337036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:26:33.054159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/54/image_14042025_10_55_06_9333.jpg', '/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_17_10444.jpg', '/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_26_9404.jpg', '/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_37_10343.jpg', '/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_47_10354.jpg', '/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_56_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/54/image_14042025_10_55_06_9333.jpg
/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_17_10444.jpg
/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_26_9404.jpg
/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_37_10343.jpg
/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_47_10354.jpg
/home/pi/Desktop/images/14042025/10/55/image_14042025_10_55_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":["1351622403","1351622369","1351622342","1351622476","1351622545","1351622446"],"photo_ids_order":["1351622342","1351622369","1351622403","1351622446","1351622476","1351622545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c45b852a49b75fd9f2939b36eb70a797.jpg","text":"TemporaryFile(/tmp/multipartBody7846391636965169412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026054721,"filename":"image_14042025_10_55_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/19/8e0d4ba9d5c6e2167be05c1d5b1b578c.jpg","text":"TemporaryFile(/tmp/multipartBody1916514400320573658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026054721,"filename":"image_14042025_10_55_17_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/19/efbc2a0f3d3d9e106403262111320a63.jpg","text":"TemporaryFile(/tmp/multipartBody7929894661534238413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026054721,"filename":"image_14042025_10_55_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fbfc3a4104db2430dd4dd7f1e033203b.jpg","text":"TemporaryFile(/tmp/multipartBody6242172315199853523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026054721,"filename":"image_14042025_10_55_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/19/92396652847730039c2ccf5450e62597.jpg","text":"TemporaryFile(/tmp/multipartBody3404990812082547963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026054721,"filename":"image_14042025_10_55_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1817e12ca530043edcd831f1d4181d0b.jpg","text":"TemporaryFile(/tmp/multipartBody458148010559180938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026054721,"filename":"image_14042025_10_55_37_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351622403","file1":"1351622369","file0":"1351622342","file4":"1351622476","file5":"1351622545","file3":"1351622446"},"map_files_photo_id_array":[{"photo_id":"1351622545","filename":"file5"},{"photo_id":"1351622403","filename":"file2"},{"photo_id":"1351622476","filename":"file4"},{"photo_id":"1351622369","filename":"file1"},{"photo_id":"1351622342","filename":"file0"},{"photo_id":"1351622446","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351622403":["hashtag1","hashtag2"]},{"1351622369":["hashtag1","hashtag2"]},{"1351622342":["hashtag1","hashtag2"]},{"1351622476":["hashtag1","hashtag2"]},{"1351622545":["hashtag1","hashtag2"]},{"1351622446":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351622403, 1351622369, 1351622342, 1351622476, 1351622545, 1351622446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85676622390747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:27:32.253385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/55/image_14042025_10_56_07_10346.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_17_10334.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_26_9356.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_37_10349.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_47_10464.jpg', '/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_56_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/55/image_14042025_10_56_07_10346.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_17_10334.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_26_9356.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_37_10349.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_47_10464.jpg
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_56_56_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351622870","1351622906","1351623106","1351623013","1351623234","1351622961"],"photo_ids_order":["1351622870","1351622906","1351622961","1351623013","1351623106","1351623234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6b22b55266cf6c44712e4d13d0098f91.jpg","text":"TemporaryFile(/tmp/multipartBody4543199091677828274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026113909,"filename":"image_14042025_10_56_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/19/d0a3a964a845e563aa8278cf6a1d625c.jpg","text":"TemporaryFile(/tmp/multipartBody456953438654163902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026113909,"filename":"image_14042025_10_56_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/19/4c79712be4572221fb07aef66dcbab63.jpg","text":"TemporaryFile(/tmp/multipartBody4027198615505926965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026113909,"filename":"image_14042025_10_56_47_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/19/dfe99814a1133a677c1926a69ac50cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3511517473632690920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026113909,"filename":"image_14042025_10_56_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/19/52bfdefa282ebbcb2c73235f89253ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3118553345051739231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026113909,"filename":"image_14042025_10_56_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/19/8106b53e3528aac2a09f80f0eb30ab1c.jpg","text":"TemporaryFile(/tmp/multipartBody8612587112790062348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026113909,"filename":"image_14042025_10_56_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351622961","file1":"1351622906","file0":"1351622870","file4":"1351623106","file5":"1351623234","file3":"1351623013"},"map_files_photo_id_array":[{"photo_id":"1351623234","filename":"file5"},{"photo_id":"1351622961","filename":"file2"},{"photo_id":"1351623106","filename":"file4"},{"photo_id":"1351622906","filename":"file1"},{"photo_id":"1351622870","filename":"file0"},{"photo_id":"1351623013","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351622870":["hashtag1","hashtag2"]},{"1351622906":["hashtag1","hashtag2"]},{"1351623106":["hashtag1","hashtag2"]},{"1351623013":["hashtag1","hashtag2"]},{"1351623234":["hashtag1","hashtag2"]},{"1351622961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351622870, 1351622906, 1351623106, 1351623013, 1351623234, 1351622961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86410903930664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:28:32.489508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/56/image_14042025_10_57_07_10383.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_16_9380.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_26_10345.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_37_10325.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_46_9343.jpg', '/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_57_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/56/image_14042025_10_57_07_10383.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_16_9380.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_26_10345.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_37_10325.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_46_9343.jpg
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_57_57_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351623863","1351623635","1351623812","1351623706","1351623759","1351623666"],"photo_ids_order":["1351623635","1351623666","1351623706","1351623759","1351623812","1351623863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ecb1e50f9b276619ef3b31bd863131be.jpg","text":"TemporaryFile(/tmp/multipartBody370512429100265907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026174152,"filename":"image_14042025_10_57_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/19/cbf449121f28ef2ba98cd778a04b6dd2.jpg","text":"TemporaryFile(/tmp/multipartBody4429864986667048039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026174152,"filename":"image_14042025_10_57_07_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b527bd9dec2690c4aca3055a0322318a.jpg","text":"TemporaryFile(/tmp/multipartBody9083432759200129473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026174152,"filename":"image_14042025_10_57_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/19/96465a73c11822badf978efef706ec53.jpg","text":"TemporaryFile(/tmp/multipartBody7379962007431631342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026174152,"filename":"image_14042025_10_57_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3f452deaa8ef585006c10a48baefc71.jpg","text":"TemporaryFile(/tmp/multipartBody7453370677525785268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026174152,"filename":"image_14042025_10_57_37_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4cf7a032eb378986d7375fd1b4b2cc11.jpg","text":"TemporaryFile(/tmp/multipartBody1641946374036938190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026174152,"filename":"image_14042025_10_57_16_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351623706","file1":"1351623666","file0":"1351623635","file4":"1351623812","file5":"1351623863","file3":"1351623759"},"map_files_photo_id_array":[{"photo_id":"1351623863","filename":"file5"},{"photo_id":"1351623706","filename":"file2"},{"photo_id":"1351623812","filename":"file4"},{"photo_id":"1351623666","filename":"file1"},{"photo_id":"1351623635","filename":"file0"},{"photo_id":"1351623759","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351623863":["hashtag1","hashtag2"]},{"1351623635":["hashtag1","hashtag2"]},{"1351623812":["hashtag1","hashtag2"]},{"1351623706":["hashtag1","hashtag2"]},{"1351623759":["hashtag1","hashtag2"]},{"1351623666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351623863, 1351623635, 1351623812, 1351623706, 1351623759, 1351623666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.203166007995605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:29:32.911430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/57/image_14042025_10_58_07_10361.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_16_9321.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_27_10354.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_37_10444.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_46_9432.jpg', '/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_57_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/57/image_14042025_10_58_07_10361.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_16_9321.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_27_10354.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_37_10444.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_46_9432.jpg
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_58_57_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351624247","1351624516","1351624293","1351624371","1351624467","1351624221"],"photo_ids_order":["1351624221","1351624247","1351624293","1351624371","1351624467","1351624516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b0bdcda6c97c2600564611e05f5bb5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4546165211986325180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026234573,"filename":"image_14042025_10_58_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04ab06f3f32733feee00500fefdee4c9.jpg","text":"TemporaryFile(/tmp/multipartBody7816120783482446954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026234573,"filename":"image_14042025_10_58_57_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32940666a4e68f6ffd324976afa19814.jpg","text":"TemporaryFile(/tmp/multipartBody1308681586515399589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026234573,"filename":"image_14042025_10_58_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/19/30eac1bbbc275d6911e12b49e98db746.jpg","text":"TemporaryFile(/tmp/multipartBody6312757348318486723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026234573,"filename":"image_14042025_10_58_37_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/19/f969950e5b44ebe08c64b9a55e73b2d1.jpg","text":"TemporaryFile(/tmp/multipartBody3880547819993321578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026234573,"filename":"image_14042025_10_58_46_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/553f067d2cecc28d150e71f1241ffb9f.jpg","text":"TemporaryFile(/tmp/multipartBody1364121059385363349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026234573,"filename":"image_14042025_10_58_07_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351624293","file1":"1351624247","file0":"1351624221","file4":"1351624467","file5":"1351624516","file3":"1351624371"},"map_files_photo_id_array":[{"photo_id":"1351624516","filename":"file5"},{"photo_id":"1351624293","filename":"file2"},{"photo_id":"1351624467","filename":"file4"},{"photo_id":"1351624247","filename":"file1"},{"photo_id":"1351624221","filename":"file0"},{"photo_id":"1351624371","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351624247":["hashtag1","hashtag2"]},{"1351624516":["hashtag1","hashtag2"]},{"1351624293":["hashtag1","hashtag2"]},{"1351624371":["hashtag1","hashtag2"]},{"1351624467":["hashtag1","hashtag2"]},{"1351624221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351624247, 1351624516, 1351624293, 1351624371, 1351624467, 1351624221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77194094657898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:30:32.920431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/10/58/image_14042025_10_59_06_9317.jpg', '/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_17_10356.jpg', '/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_27_10361.jpg', '/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_36_9333.jpg', '/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_47_10356.jpg', '/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_57_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/10/58/image_14042025_10_59_06_9317.jpg
/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_17_10356.jpg
/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_27_10361.jpg
/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_36_9333.jpg
/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_47_10356.jpg
/home/pi/Desktop/images/14042025/10/59/image_14042025_10_59_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":["1351625338","1351625116","1351625172","1351625067","1351625285","1351625234"],"photo_ids_order":["1351625067","1351625116","1351625172","1351625234","1351625285","1351625338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae30a66c1cc392207a991a621b546512.jpg","text":"TemporaryFile(/tmp/multipartBody8369182976950531754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026294579,"filename":"image_14042025_10_59_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/19/57d5d7a5df8a1e03e2cc232b0867b3ea.jpg","text":"TemporaryFile(/tmp/multipartBody3270416325554538910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026294579,"filename":"image_14042025_10_59_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/19/ad082f58f9b13a81b3fef0b22c7bc7d0.jpg","text":"TemporaryFile(/tmp/multipartBody8120279422518004244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026294579,"filename":"image_14042025_10_59_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/19/d8a4897d9ec36c8eebdfb64298c77cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2346726076387460619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026294579,"filename":"image_14042025_10_59_06_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/19/d186d9ca9e5feb1527313343a331a572.jpg","text":"TemporaryFile(/tmp/multipartBody2657230702387019293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026294579,"filename":"image_14042025_10_59_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/19/6bb72c39de667bae4d2afa99774e2345.jpg","text":"TemporaryFile(/tmp/multipartBody9215276349981649620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026294579,"filename":"image_14042025_10_59_36_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351625172","file1":"1351625116","file0":"1351625067","file4":"1351625285","file5":"1351625338","file3":"1351625234"},"map_files_photo_id_array":[{"photo_id":"1351625338","filename":"file5"},{"photo_id":"1351625172","filename":"file2"},{"photo_id":"1351625285","filename":"file4"},{"photo_id":"1351625116","filename":"file1"},{"photo_id":"1351625067","filename":"file0"},{"photo_id":"1351625234","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351625338":["hashtag1","hashtag2"]},{"1351625116":["hashtag1","hashtag2"]},{"1351625172":["hashtag1","hashtag2"]},{"1351625067":["hashtag1","hashtag2"]},{"1351625285":["hashtag1","hashtag2"]},{"1351625234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351625338, 1351625116, 1351625172, 1351625067, 1351625285, 1351625234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1219048500061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:31:32.261292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_15_10073.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_26_10452.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_36_10412.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_46_9339.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_56_10407.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_01_05_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_15_10073.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_26_10452.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_36_10412.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_46_9339.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_56_10407.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_01_05_9429.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5821599960327148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 03:31:42.299170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_15_10073.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_26_10452.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_36_10412.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_46_9339.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_56_10407.jpg', '/home/pi/Desktop/images/14042025/11/00/image_14042025_11_01_05_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_15_10073.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_26_10452.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_36_10412.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_46_9339.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_00_56_10407.jpg
/home/pi/Desktop/images/14042025/11/00/image_14042025_11_01_05_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351626079","1351626043","1351626240","1351626359","1351626128","1351626014"],"photo_ids_order":["1351626014","1351626043","1351626079","1351626128","1351626240","1351626359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f33f5a8004e658ce9e4e33226cd50928.jpg","text":"TemporaryFile(/tmp/multipartBody8312107100369071384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026363041,"filename":"image_14042025_11_00_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/19/55d3c17a4dc3e4f6d97867db9697c064.jpg","text":"TemporaryFile(/tmp/multipartBody9038747869635762457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026363041,"filename":"image_14042025_11_00_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d78b8a5c1519802fccf6bf7cdbd81d51.jpg","text":"TemporaryFile(/tmp/multipartBody5846378789715520790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026363041,"filename":"image_14042025_11_00_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/19/9c979e9b558259bc56f4a1e063f122de.jpg","text":"TemporaryFile(/tmp/multipartBody8066126693803786062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026363041,"filename":"image_14042025_11_01_05_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3aa18240d638dfd765777f5e77a41298.jpg","text":"TemporaryFile(/tmp/multipartBody440098809342869440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026363041,"filename":"image_14042025_11_00_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ec8644545d51d46082762f1078a6e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody5048081551477757226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026363041,"filename":"image_14042025_11_00_15_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351626079","file1":"1351626043","file0":"1351626014","file4":"1351626240","file5":"1351626359","file3":"1351626128"},"map_files_photo_id_array":[{"photo_id":"1351626359","filename":"file5"},{"photo_id":"1351626079","filename":"file2"},{"photo_id":"1351626240","filename":"file4"},{"photo_id":"1351626043","filename":"file1"},{"photo_id":"1351626014","filename":"file0"},{"photo_id":"1351626128","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351626079":["hashtag1","hashtag2"]},{"1351626043":["hashtag1","hashtag2"]},{"1351626240":["hashtag1","hashtag2"]},{"1351626359":["hashtag1","hashtag2"]},{"1351626128":["hashtag1","hashtag2"]},{"1351626014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351626079, 1351626043, 1351626240, 1351626359, 1351626128, 1351626014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3140606880188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:32:32.451324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_16_10350.jpg', '/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_26_10352.jpg', '/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_36_9339.jpg', '/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_46_10464.jpg', '/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_56_10351.jpg', '/home/pi/Desktop/images/14042025/11/01/image_14042025_11_02_06_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_16_10350.jpg
/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_26_10352.jpg
/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_36_9339.jpg
/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_46_10464.jpg
/home/pi/Desktop/images/14042025/11/01/image_14042025_11_01_56_10351.jpg
/home/pi/Desktop/images/14042025/11/01/image_14042025_11_02_06_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":["1351626610","1351626594","1351626596","1351626638","1351626589","1351626592"],"photo_ids_order":["1351626589","1351626592","1351626594","1351626596","1351626610","1351626638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48b86d7cfeda1a948e7de141ed34c1b3.jpg","text":"TemporaryFile(/tmp/multipartBody1561656675117835569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026414129,"filename":"image_14042025_11_01_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/19/bace15c06606b5391961030eada10b19.jpg","text":"TemporaryFile(/tmp/multipartBody271941120914378816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026414129,"filename":"image_14042025_11_01_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86aaa49d459e1c37e20bdb40f005f47e.jpg","text":"TemporaryFile(/tmp/multipartBody9031785366355361056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026414129,"filename":"image_14042025_11_01_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/667f014ec7f755891372f758e8bf15f5.jpg","text":"TemporaryFile(/tmp/multipartBody3870932870725364287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026414129,"filename":"image_14042025_11_02_06_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af80d86776604c2dd16105870cbabb39.jpg","text":"TemporaryFile(/tmp/multipartBody3737964271696110137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026414129,"filename":"image_14042025_11_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/19/5ea2c3d98adc8b98211dc254acaa30f9.jpg","text":"TemporaryFile(/tmp/multipartBody8434002927484182964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026414129,"filename":"image_14042025_11_01_26_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351626594","file1":"1351626592","file0":"1351626589","file4":"1351626610","file5":"1351626638","file3":"1351626596"},"map_files_photo_id_array":[{"photo_id":"1351626638","filename":"file5"},{"photo_id":"1351626594","filename":"file2"},{"photo_id":"1351626610","filename":"file4"},{"photo_id":"1351626592","filename":"file1"},{"photo_id":"1351626589","filename":"file0"},{"photo_id":"1351626596","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351626610":["hashtag1","hashtag2"]},{"1351626594":["hashtag1","hashtag2"]},{"1351626596":["hashtag1","hashtag2"]},{"1351626638":["hashtag1","hashtag2"]},{"1351626589":["hashtag1","hashtag2"]},{"1351626592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351626610, 1351626594, 1351626596, 1351626638, 1351626589, 1351626592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40327334403992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:33:32.599131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_16_10349.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_25_9351.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_36_10411.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_46_10381.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_56_9404.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_03_06_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_16_10349.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_25_9351.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_36_10411.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_46_10381.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_56_9404.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_03_06_10398.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5964560508728027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 03:33:42.709895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_16_10349.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_25_9351.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_36_10411.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_46_10381.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_56_9404.jpg', '/home/pi/Desktop/images/14042025/11/02/image_14042025_11_03_06_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_16_10349.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_25_9351.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_36_10411.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_46_10381.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_02_56_9404.jpg
/home/pi/Desktop/images/14042025/11/02/image_14042025_11_03_06_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351627210","1351627281","1351627182","1351627233","1351627119","1351627241"],"photo_ids_order":["1351627119","1351627182","1351627210","1351627233","1351627241","1351627281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/430f6874a08e475243c0bde315e5bb14.jpg","text":"TemporaryFile(/tmp/multipartBody7802475348282833256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026483468,"filename":"image_14042025_11_02_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/19/29df46a6b38a3cea6387d0067ad2c1e8.jpg","text":"TemporaryFile(/tmp/multipartBody5746345253485433786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026483468,"filename":"image_14042025_11_03_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/19/c9b5a0dbfd47e971d22d1cc1590893ce.jpg","text":"TemporaryFile(/tmp/multipartBody209612985035345547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026483468,"filename":"image_14042025_11_02_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b0d0ef04c24f661f22e6ea6bac2b8149.jpg","text":"TemporaryFile(/tmp/multipartBody3215256048278042950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026483468,"filename":"image_14042025_11_02_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/19/efd8957090a4755db62f899e5b8ffde9.jpg","text":"TemporaryFile(/tmp/multipartBody5663577968291005525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026483468,"filename":"image_14042025_11_02_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/19/fd549862bb62c566802b75f7be47d3fd.jpg","text":"TemporaryFile(/tmp/multipartBody2121313558498426131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026483468,"filename":"image_14042025_11_02_56_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351627210","file1":"1351627182","file0":"1351627119","file4":"1351627241","file5":"1351627281","file3":"1351627233"},"map_files_photo_id_array":[{"photo_id":"1351627281","filename":"file5"},{"photo_id":"1351627210","filename":"file2"},{"photo_id":"1351627241","filename":"file4"},{"photo_id":"1351627182","filename":"file1"},{"photo_id":"1351627119","filename":"file0"},{"photo_id":"1351627233","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351627210":["hashtag1","hashtag2"]},{"1351627281":["hashtag1","hashtag2"]},{"1351627182":["hashtag1","hashtag2"]},{"1351627233":["hashtag1","hashtag2"]},{"1351627119":["hashtag1","hashtag2"]},{"1351627241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351627210, 1351627281, 1351627182, 1351627233, 1351627119, 1351627241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33657217025757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:34:32.873606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_26_10444.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_36_10366.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_46_9390.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_56_10462.jpg', '/home/pi/Desktop/images/14042025/11/03/image_14042025_11_04_05_9321.jpg', '/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_16_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_26_10444.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_36_10366.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_46_9390.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_03_56_10462.jpg
/home/pi/Desktop/images/14042025/11/03/image_14042025_11_04_05_9321.jpg
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_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":["1351627665","1351627581","1351627554","1351627521","1351627610","1351627636"],"photo_ids_order":["1351627521","1351627554","1351627581","1351627610","1351627636","1351627665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f623d3e00edef3f11486cdfe22bc8387.jpg","text":"TemporaryFile(/tmp/multipartBody8823730369253949208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026534564,"filename":"image_14042025_11_04_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/19/52008ec268cb71bc7f53d2797ad7f591.jpg","text":"TemporaryFile(/tmp/multipartBody4151134095568403751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026534564,"filename":"image_14042025_11_03_46_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/967ad681f14549422ccec2bd1d0773ab.jpg","text":"TemporaryFile(/tmp/multipartBody7839561089230220609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026534564,"filename":"image_14042025_11_03_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/19/5bc4ce79c7dc0aaafbadda5e4421865f.jpg","text":"TemporaryFile(/tmp/multipartBody6922764543982639912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026534564,"filename":"image_14042025_11_03_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/19/1e3767adee35ed2a4f0889108b460c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1703054673846547909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026534564,"filename":"image_14042025_11_03_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd5e7ea70a7ab98aa14ad6d37fa79a5c.jpg","text":"TemporaryFile(/tmp/multipartBody991631979335384810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026534564,"filename":"image_14042025_11_04_05_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351627581","file1":"1351627554","file0":"1351627521","file4":"1351627636","file5":"1351627665","file3":"1351627610"},"map_files_photo_id_array":[{"photo_id":"1351627665","filename":"file5"},{"photo_id":"1351627581","filename":"file2"},{"photo_id":"1351627636","filename":"file4"},{"photo_id":"1351627554","filename":"file1"},{"photo_id":"1351627521","filename":"file0"},{"photo_id":"1351627610","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351627665":["hashtag1","hashtag2"]},{"1351627581":["hashtag1","hashtag2"]},{"1351627554":["hashtag1","hashtag2"]},{"1351627521":["hashtag1","hashtag2"]},{"1351627610":["hashtag1","hashtag2"]},{"1351627636":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351627665, 1351627581, 1351627554, 1351627521, 1351627610, 1351627636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75954723358154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:35:33.079681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_26_10353.jpg', '/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_35_9324.jpg', '/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_46_10483.jpg', '/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_56_10418.jpg', '/home/pi/Desktop/images/14042025/11/04/image_14042025_11_05_06_9435.jpg', '/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_16_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_26_10353.jpg
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_35_9324.jpg
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_46_10483.jpg
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_04_56_10418.jpg
/home/pi/Desktop/images/14042025/11/04/image_14042025_11_05_06_9435.jpg
/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_16_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351628439","1351628474","1351628307","1351628459","1351628335","1351628416"],"photo_ids_order":["1351628307","1351628335","1351628416","1351628439","1351628459","1351628474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f913427d05d876af4975e8b1d6613041.jpg","text":"TemporaryFile(/tmp/multipartBody3404923703034846969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026594751,"filename":"image_14042025_11_04_56_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4293accfd77a0f33b7d9ab363b5bae90.jpg","text":"TemporaryFile(/tmp/multipartBody4953860597939001983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026594751,"filename":"image_14042025_11_05_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/19/4ceb9fad6e0069697b8371c8d323cca9.jpg","text":"TemporaryFile(/tmp/multipartBody4782930830850945764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026594751,"filename":"image_14042025_11_04_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/19/45253ccadda75111907d2294567237a5.jpg","text":"TemporaryFile(/tmp/multipartBody8795701929975439120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026594751,"filename":"image_14042025_11_05_06_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bfa702e8a2631b7250ee215b63e3d7ff.jpg","text":"TemporaryFile(/tmp/multipartBody1229221577460674394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026594751,"filename":"image_14042025_11_04_35_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/906648f351ad6d537dadddb3d7342f78.jpg","text":"TemporaryFile(/tmp/multipartBody2811556456498610161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026594751,"filename":"image_14042025_11_04_46_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351628416","file1":"1351628335","file0":"1351628307","file4":"1351628459","file5":"1351628474","file3":"1351628439"},"map_files_photo_id_array":[{"photo_id":"1351628474","filename":"file5"},{"photo_id":"1351628416","filename":"file2"},{"photo_id":"1351628459","filename":"file4"},{"photo_id":"1351628335","filename":"file1"},{"photo_id":"1351628307","filename":"file0"},{"photo_id":"1351628439","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351628439":["hashtag1","hashtag2"]},{"1351628474":["hashtag1","hashtag2"]},{"1351628307":["hashtag1","hashtag2"]},{"1351628459":["hashtag1","hashtag2"]},{"1351628335":["hashtag1","hashtag2"]},{"1351628416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351628439, 1351628474, 1351628307, 1351628459, 1351628335, 1351628416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.27679181098938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:36:32.189134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_26_9353.jpg', '/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_36_10451.jpg', '/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_46_10362.jpg', '/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_56_9391.jpg', '/home/pi/Desktop/images/14042025/11/05/image_14042025_11_06_06_10400.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_16_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_26_9353.jpg
/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_36_10451.jpg
/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_46_10362.jpg
/home/pi/Desktop/images/14042025/11/05/image_14042025_11_05_56_9391.jpg
/home/pi/Desktop/images/14042025/11/05/image_14042025_11_06_06_10400.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_16_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":["1351628864","1351628817","1351628718","1351628747","1351628668","1351628778"],"photo_ids_order":["1351628668","1351628718","1351628747","1351628778","1351628817","1351628864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4751620a4b592de2ab05209bf2c4db5d.jpg","text":"TemporaryFile(/tmp/multipartBody8107128625185529526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026653851,"filename":"image_14042025_11_06_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/19/f293b062cc8090883036e6fbb30cf35b.jpg","text":"TemporaryFile(/tmp/multipartBody1228672155920622997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026653851,"filename":"image_14042025_11_06_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/19/5ab8bf65d4cc3bbbe2ce46f2f8c2c8aa.jpg","text":"TemporaryFile(/tmp/multipartBody5695829080256456867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026653851,"filename":"image_14042025_11_05_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/19/0f0e7dd96c1d12e6042c8f9e0048af06.jpg","text":"TemporaryFile(/tmp/multipartBody5208834090662601505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026653851,"filename":"image_14042025_11_05_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b210004ef84c6980046fb8799e0764d3.jpg","text":"TemporaryFile(/tmp/multipartBody5310001294144381367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026653851,"filename":"image_14042025_11_05_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5c7e5e825268a8695062c9dce6c29bef.jpg","text":"TemporaryFile(/tmp/multipartBody1304276212515634119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026653851,"filename":"image_14042025_11_05_56_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351628747","file1":"1351628718","file0":"1351628668","file4":"1351628817","file5":"1351628864","file3":"1351628778"},"map_files_photo_id_array":[{"photo_id":"1351628864","filename":"file5"},{"photo_id":"1351628747","filename":"file2"},{"photo_id":"1351628817","filename":"file4"},{"photo_id":"1351628718","filename":"file1"},{"photo_id":"1351628668","filename":"file0"},{"photo_id":"1351628778","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351628864":["hashtag1","hashtag2"]},{"1351628817":["hashtag1","hashtag2"]},{"1351628718":["hashtag1","hashtag2"]},{"1351628747":["hashtag1","hashtag2"]},{"1351628668":["hashtag1","hashtag2"]},{"1351628778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351628864, 1351628817, 1351628718, 1351628747, 1351628668, 1351628778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.867443323135376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:37:32.502527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_26_10416.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_36_10341.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_46_9400.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_56_10395.jpg', '/home/pi/Desktop/images/14042025/11/06/image_14042025_11_07_05_9313.jpg', '/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_16_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_26_10416.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_36_10341.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_46_9400.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_06_56_10395.jpg
/home/pi/Desktop/images/14042025/11/06/image_14042025_11_07_05_9313.jpg
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_16_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351629449","1351629524","1351629589","1351629154","1351629553","1351629606"],"photo_ids_order":["1351629154","1351629449","1351629524","1351629553","1351629589","1351629606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d0c7bd39d1859a2e875065016b74a8db.jpg","text":"TemporaryFile(/tmp/multipartBody500272706275800622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026714172,"filename":"image_14042025_11_06_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/19/36b435e558038d96bc9bcafebe86b539.jpg","text":"TemporaryFile(/tmp/multipartBody5103008856207066593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026714172,"filename":"image_14042025_11_06_46_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f660d96a3ba526245be45d6546cb6f68.jpg","text":"TemporaryFile(/tmp/multipartBody2643204340844150615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026714172,"filename":"image_14042025_11_07_05_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cbc6d819df1d36263b4d5aa8ed09b55d.jpg","text":"TemporaryFile(/tmp/multipartBody4354357880482528892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026714172,"filename":"image_14042025_11_06_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/19/1b82daefde7287d0ba38f38cc9ebcc98.jpg","text":"TemporaryFile(/tmp/multipartBody6175971715288006370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026714172,"filename":"image_14042025_11_06_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84f9d1ffa2eb819cc06d858755c75e57.jpg","text":"TemporaryFile(/tmp/multipartBody1518595822316376255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026714172,"filename":"image_14042025_11_07_16_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351629524","file1":"1351629449","file0":"1351629154","file4":"1351629589","file5":"1351629606","file3":"1351629553"},"map_files_photo_id_array":[{"photo_id":"1351629606","filename":"file5"},{"photo_id":"1351629524","filename":"file2"},{"photo_id":"1351629589","filename":"file4"},{"photo_id":"1351629449","filename":"file1"},{"photo_id":"1351629154","filename":"file0"},{"photo_id":"1351629553","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351629449":["hashtag1","hashtag2"]},{"1351629524":["hashtag1","hashtag2"]},{"1351629589":["hashtag1","hashtag2"]},{"1351629154":["hashtag1","hashtag2"]},{"1351629553":["hashtag1","hashtag2"]},{"1351629606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351629449, 1351629524, 1351629589, 1351629154, 1351629553, 1351629606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.69300889968872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:38:32.649563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_26_10360.jpg', '/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_36_9392.jpg', '/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_46_10369.jpg', '/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_56_10394.jpg', '/home/pi/Desktop/images/14042025/11/07/image_14042025_11_08_06_9382.jpg', '/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_16_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_26_10360.jpg
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_36_9392.jpg
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_46_10369.jpg
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_07_56_10394.jpg
/home/pi/Desktop/images/14042025/11/07/image_14042025_11_08_06_9382.jpg
/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_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":["1351629857","1351629883","1351629766","1351629808","1351629828","1351629804"],"photo_ids_order":["1351629766","1351629804","1351629808","1351629828","1351629857","1351629883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5688a31c884a93a326e06ad1b58ed404.jpg","text":"TemporaryFile(/tmp/multipartBody8906011926431164515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026774313,"filename":"image_14042025_11_08_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/19/d3ec7a70aed7b107585de3f0961e99ee.jpg","text":"TemporaryFile(/tmp/multipartBody1876184936283639543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026774313,"filename":"image_14042025_11_08_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/19/8ec35bce6d76fa23dc6dd049115661e8.jpg","text":"TemporaryFile(/tmp/multipartBody7331686359391593152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026774313,"filename":"image_14042025_11_07_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/19/1b58af1250f2bcc044b1d27c2373493f.jpg","text":"TemporaryFile(/tmp/multipartBody4491982743014121282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026774313,"filename":"image_14042025_11_07_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/19/2ad9b6dd8df5509745356d22f3f6503d.jpg","text":"TemporaryFile(/tmp/multipartBody791122540787711607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026774313,"filename":"image_14042025_11_07_56_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/27011bf4f685e514c3aa8ec51e151f37.jpg","text":"TemporaryFile(/tmp/multipartBody3352308022713220668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026774313,"filename":"image_14042025_11_07_36_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351629808","file1":"1351629804","file0":"1351629766","file4":"1351629857","file5":"1351629883","file3":"1351629828"},"map_files_photo_id_array":[{"photo_id":"1351629883","filename":"file5"},{"photo_id":"1351629808","filename":"file2"},{"photo_id":"1351629857","filename":"file4"},{"photo_id":"1351629804","filename":"file1"},{"photo_id":"1351629766","filename":"file0"},{"photo_id":"1351629828","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351629857":["hashtag1","hashtag2"]},{"1351629883":["hashtag1","hashtag2"]},{"1351629766":["hashtag1","hashtag2"]},{"1351629808":["hashtag1","hashtag2"]},{"1351629828":["hashtag1","hashtag2"]},{"1351629804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351629857, 1351629883, 1351629766, 1351629808, 1351629828, 1351629804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.364906787872314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:39:33.009673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_25_9419.jpg', '/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_36_10352.jpg', '/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_46_10365.jpg', '/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_56_9336.jpg', '/home/pi/Desktop/images/14042025/11/08/image_14042025_11_09_06_10404.jpg', '/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_26_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_25_9419.jpg
/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_36_10352.jpg
/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_46_10365.jpg
/home/pi/Desktop/images/14042025/11/08/image_14042025_11_08_56_9336.jpg
/home/pi/Desktop/images/14042025/11/08/image_14042025_11_09_06_10404.jpg
/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_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":["1351629947","1351629952","1351629949","1351629943","1351629978","1351629957"],"photo_ids_order":["1351629943","1351629947","1351629949","1351629952","1351629957","1351629978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e75e2e8ce55e548b3a844a9a43d0dba3.jpg","text":"TemporaryFile(/tmp/multipartBody6554974978814056077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026834672,"filename":"image_14042025_11_08_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/893e794ba8c57df8516d8eb1938c8f6c.jpg","text":"TemporaryFile(/tmp/multipartBody9017155914443242193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026834672,"filename":"image_14042025_11_08_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/19/1fd22f10bfb02cc8b5ffb9ff356e5d93.jpg","text":"TemporaryFile(/tmp/multipartBody2160264117869375738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026834672,"filename":"image_14042025_11_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/19/11dd7a4b19b147940fedb97cdc51e9d5.jpg","text":"TemporaryFile(/tmp/multipartBody6845517204986085215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026834672,"filename":"image_14042025_11_08_25_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c8a8f639b4002d2dee2323b29409a8b5.jpg","text":"TemporaryFile(/tmp/multipartBody5855679321929988149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026834672,"filename":"image_14042025_11_09_26_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b83fd62308f8faea0718286b3efc4235.jpg","text":"TemporaryFile(/tmp/multipartBody8896945771516199265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026834672,"filename":"image_14042025_11_09_06_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351629949","file1":"1351629947","file0":"1351629943","file4":"1351629957","file5":"1351629978","file3":"1351629952"},"map_files_photo_id_array":[{"photo_id":"1351629978","filename":"file5"},{"photo_id":"1351629949","filename":"file2"},{"photo_id":"1351629957","filename":"file4"},{"photo_id":"1351629947","filename":"file1"},{"photo_id":"1351629943","filename":"file0"},{"photo_id":"1351629952","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351629947":["hashtag1","hashtag2"]},{"1351629952":["hashtag1","hashtag2"]},{"1351629949":["hashtag1","hashtag2"]},{"1351629943":["hashtag1","hashtag2"]},{"1351629978":["hashtag1","hashtag2"]},{"1351629957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351629947, 1351629952, 1351629949, 1351629943, 1351629978, 1351629957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8741934299469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:40:33.046786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_36_10344.jpg', '/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_45_9356.jpg', '/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_56_10396.jpg', '/home/pi/Desktop/images/14042025/11/09/image_14042025_11_10_06_10372.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_16_9909.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_25_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_36_10344.jpg
/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_45_9356.jpg
/home/pi/Desktop/images/14042025/11/09/image_14042025_11_09_56_10396.jpg
/home/pi/Desktop/images/14042025/11/09/image_14042025_11_10_06_10372.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_16_9909.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_25_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":["1351630053","1351630062","1351630060","1351630063","1351630057","1351630050"],"photo_ids_order":["1351630050","1351630053","1351630057","1351630060","1351630062","1351630063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/592d7c2640e9a534e6a7a7a1f3390963.jpg","text":"TemporaryFile(/tmp/multipartBody4596517294308123366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026894740,"filename":"image_14042025_11_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/19/440dcf2fc95a5aef66f9f0c4e963d5dc.jpg","text":"TemporaryFile(/tmp/multipartBody4790977203847174462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026894740,"filename":"image_14042025_11_10_16_9909.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3457b437e2b541916dff8ae9a7c5d2ad.jpg","text":"TemporaryFile(/tmp/multipartBody2935530049811548622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026894740,"filename":"image_14042025_11_10_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/19/bf39d4970952b815de28570c6cc53762.jpg","text":"TemporaryFile(/tmp/multipartBody4769753903855431503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026894740,"filename":"image_14042025_11_10_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ffbff26c5c17c4531069229eeedc671.jpg","text":"TemporaryFile(/tmp/multipartBody6170703879946820358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026894740,"filename":"image_14042025_11_09_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/843cde8c2657683ca233754d8ed20854.jpg","text":"TemporaryFile(/tmp/multipartBody2938412047137017121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026894740,"filename":"image_14042025_11_09_36_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351630057","file1":"1351630053","file0":"1351630050","file4":"1351630062","file5":"1351630063","file3":"1351630060"},"map_files_photo_id_array":[{"photo_id":"1351630063","filename":"file5"},{"photo_id":"1351630057","filename":"file2"},{"photo_id":"1351630062","filename":"file4"},{"photo_id":"1351630053","filename":"file1"},{"photo_id":"1351630050","filename":"file0"},{"photo_id":"1351630060","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351630053":["hashtag1","hashtag2"]},{"1351630062":["hashtag1","hashtag2"]},{"1351630060":["hashtag1","hashtag2"]},{"1351630063":["hashtag1","hashtag2"]},{"1351630057":["hashtag1","hashtag2"]},{"1351630050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351630053, 1351630062, 1351630060, 1351630063, 1351630057, 1351630050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11219334602356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:41:32.197857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_36_10348.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_46_10371.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_56_9433.jpg', '/home/pi/Desktop/images/14042025/11/10/image_14042025_11_11_06_10332.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_16_9728.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_26_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_36_10348.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_46_10371.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_10_56_9433.jpg
/home/pi/Desktop/images/14042025/11/10/image_14042025_11_11_06_10332.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_16_9728.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_26_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":["1351630305","1351630320","1351630224","1351630288","1351630252","1351630354"],"photo_ids_order":["1351630224","1351630252","1351630288","1351630305","1351630320","1351630354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7d9f8b6b669352d309a3ffceb361173e.jpg","text":"TemporaryFile(/tmp/multipartBody3602420300368572228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026953880,"filename":"image_14042025_11_11_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91e16eed6b5b33d015ba5b16253d1b3f.jpg","text":"TemporaryFile(/tmp/multipartBody4041668352629132097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026953880,"filename":"image_14042025_11_11_16_9728.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fa28da3c57eee59403cbb39a3eebeba9.jpg","text":"TemporaryFile(/tmp/multipartBody5207117573586976106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026953880,"filename":"image_14042025_11_10_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/19/a41b3323f0048e271f16d24b2b173783.jpg","text":"TemporaryFile(/tmp/multipartBody7653879926674857687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026953880,"filename":"image_14042025_11_10_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/19/436acf509d38ded26ad641ba7eddab89.jpg","text":"TemporaryFile(/tmp/multipartBody188079911749638140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026953880,"filename":"image_14042025_11_10_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4070d2a6b5f9632d2f3afcc5f522366a.jpg","text":"TemporaryFile(/tmp/multipartBody1275043676178987578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745026953880,"filename":"image_14042025_11_11_26_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351630288","file1":"1351630252","file0":"1351630224","file4":"1351630320","file5":"1351630354","file3":"1351630305"},"map_files_photo_id_array":[{"photo_id":"1351630354","filename":"file5"},{"photo_id":"1351630288","filename":"file2"},{"photo_id":"1351630320","filename":"file4"},{"photo_id":"1351630252","filename":"file1"},{"photo_id":"1351630224","filename":"file0"},{"photo_id":"1351630305","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351630305":["hashtag1","hashtag2"]},{"1351630320":["hashtag1","hashtag2"]},{"1351630224":["hashtag1","hashtag2"]},{"1351630288":["hashtag1","hashtag2"]},{"1351630252":["hashtag1","hashtag2"]},{"1351630354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351630305, 1351630320, 1351630224, 1351630288, 1351630252, 1351630354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.349194765090942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:42:32.314987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_36_10345.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_46_9402.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_56_10469.jpg', '/home/pi/Desktop/images/14042025/11/11/image_14042025_11_12_06_9336.jpg', '/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_16_10437.jpg', '/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_25_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_36_10345.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_46_9402.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_11_56_10469.jpg
/home/pi/Desktop/images/14042025/11/11/image_14042025_11_12_06_9336.jpg
/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_16_10437.jpg
/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_25_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351631004","1351630994","1351630964","1351630907","1351631002","1351630936"],"photo_ids_order":["1351630907","1351630936","1351630964","1351630994","1351631002","1351631004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fad372d5aba2a2bb27968bf71fde5d36.jpg","text":"TemporaryFile(/tmp/multipartBody2729139040727216134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027013998,"filename":"image_14042025_11_12_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b843801e2f035e8d6f79f47dffb5dbea.jpg","text":"TemporaryFile(/tmp/multipartBody1212763588035670353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027013998,"filename":"image_14042025_11_12_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/19/9bc4f909d56faf16acc897cf02a72aee.jpg","text":"TemporaryFile(/tmp/multipartBody2215095791788363117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027013998,"filename":"image_14042025_11_11_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/19/319ee0f4db4f499c29a46cdf9ac19645.jpg","text":"TemporaryFile(/tmp/multipartBody4802321415369115107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027013998,"filename":"image_14042025_11_11_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/19/5aff6c5f3b35ee4b58ba0de57bb5bb20.jpg","text":"TemporaryFile(/tmp/multipartBody7185014789426508432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027013998,"filename":"image_14042025_11_12_16_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a5853b25716de22787a5189a14c876a3.jpg","text":"TemporaryFile(/tmp/multipartBody2889795884772585239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027013998,"filename":"image_14042025_11_11_46_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351630964","file1":"1351630936","file0":"1351630907","file4":"1351631002","file5":"1351631004","file3":"1351630994"},"map_files_photo_id_array":[{"photo_id":"1351631004","filename":"file5"},{"photo_id":"1351630964","filename":"file2"},{"photo_id":"1351631002","filename":"file4"},{"photo_id":"1351630936","filename":"file1"},{"photo_id":"1351630907","filename":"file0"},{"photo_id":"1351630994","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351631004":["hashtag1","hashtag2"]},{"1351630994":["hashtag1","hashtag2"]},{"1351630964":["hashtag1","hashtag2"]},{"1351630907":["hashtag1","hashtag2"]},{"1351631002":["hashtag1","hashtag2"]},{"1351630936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351631004, 1351630994, 1351630964, 1351630907, 1351631002, 1351630936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67629528045654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:43:32.604417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_36_10442.jpg', '/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_46_10358.jpg', '/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_56_9351.jpg', '/home/pi/Desktop/images/14042025/11/12/image_14042025_11_13_06_10322.jpg', '/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_16_10373.jpg', '/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_26_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_36_10442.jpg
/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_46_10358.jpg
/home/pi/Desktop/images/14042025/11/12/image_14042025_11_12_56_9351.jpg
/home/pi/Desktop/images/14042025/11/12/image_14042025_11_13_06_10322.jpg
/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_16_10373.jpg
/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_26_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":["1351631396","1351631258","1351631560","1351631362","1351631506","1351631442"],"photo_ids_order":["1351631258","1351631362","1351631396","1351631442","1351631506","1351631560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b6d07cfa70a1ac763fbb0de399aa3184.jpg","text":"TemporaryFile(/tmp/multipartBody1178918603622162379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027074266,"filename":"image_14042025_11_12_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/19/b38e138d10ff0baafa7c0793efd69ea7.jpg","text":"TemporaryFile(/tmp/multipartBody3707957362828652195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027074266,"filename":"image_14042025_11_12_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/19/d45b8dfe823e8317d06ef285b9f60365.jpg","text":"TemporaryFile(/tmp/multipartBody8027691896221857613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027074266,"filename":"image_14042025_11_13_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/139afe4f796b468274924fd7955ab216.jpg","text":"TemporaryFile(/tmp/multipartBody6813643849957067660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027074266,"filename":"image_14042025_11_12_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f34b936f792f69e8742c03e79e12f32.jpg","text":"TemporaryFile(/tmp/multipartBody1859795130066801760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027074266,"filename":"image_14042025_11_13_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/000d7b57e36392ad0457ce3d33c75d28.jpg","text":"TemporaryFile(/tmp/multipartBody7035327866694517294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027074266,"filename":"image_14042025_11_13_06_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351631396","file1":"1351631362","file0":"1351631258","file4":"1351631506","file5":"1351631560","file3":"1351631442"},"map_files_photo_id_array":[{"photo_id":"1351631560","filename":"file5"},{"photo_id":"1351631396","filename":"file2"},{"photo_id":"1351631506","filename":"file4"},{"photo_id":"1351631362","filename":"file1"},{"photo_id":"1351631258","filename":"file0"},{"photo_id":"1351631442","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351631396":["hashtag1","hashtag2"]},{"1351631258":["hashtag1","hashtag2"]},{"1351631560":["hashtag1","hashtag2"]},{"1351631362":["hashtag1","hashtag2"]},{"1351631506":["hashtag1","hashtag2"]},{"1351631442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351631396, 1351631258, 1351631560, 1351631362, 1351631506, 1351631442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.155144453048706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:44:32.891178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_36_10408.jpg', '/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_45_9401.jpg', '/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_56_10399.jpg', '/home/pi/Desktop/images/14042025/11/13/image_14042025_11_14_06_10397.jpg', '/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_15_9339.jpg', '/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_26_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_36_10408.jpg
/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_45_9401.jpg
/home/pi/Desktop/images/14042025/11/13/image_14042025_11_13_56_10399.jpg
/home/pi/Desktop/images/14042025/11/13/image_14042025_11_14_06_10397.jpg
/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_15_9339.jpg
/home/pi/Desktop/images/14042025/11/14/image_14042025_11_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":["1351631927","1351631909","1351631938","1351631812","1351631920","1351631949"],"photo_ids_order":["1351631812","1351631909","1351631920","1351631927","1351631938","1351631949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b7f5421d4a0ab5e9755281f7dde3799.jpg","text":"TemporaryFile(/tmp/multipartBody8782355319842411419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027134588,"filename":"image_14042025_11_14_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/19/81672e2629b78ba88277767eab6a8ba4.jpg","text":"TemporaryFile(/tmp/multipartBody5911445476636581430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027134588,"filename":"image_14042025_11_13_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/19/a4098d91abc48eb955ef36ba72beff11.jpg","text":"TemporaryFile(/tmp/multipartBody4495599275348374824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027134588,"filename":"image_14042025_11_14_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/19/dbf32899af5d703803d1d49d544819cb.jpg","text":"TemporaryFile(/tmp/multipartBody3920787762393120752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027134588,"filename":"image_14042025_11_13_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/19/2f62bda434b23c77e1266377f36334cc.jpg","text":"TemporaryFile(/tmp/multipartBody6601726156798548273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027134588,"filename":"image_14042025_11_13_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/19/7ba0a4084ad6944a43ca009356719ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3075966094009033546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027134588,"filename":"image_14042025_11_14_26_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351631920","file1":"1351631909","file0":"1351631812","file4":"1351631938","file5":"1351631949","file3":"1351631927"},"map_files_photo_id_array":[{"photo_id":"1351631949","filename":"file5"},{"photo_id":"1351631920","filename":"file2"},{"photo_id":"1351631938","filename":"file4"},{"photo_id":"1351631909","filename":"file1"},{"photo_id":"1351631812","filename":"file0"},{"photo_id":"1351631927","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351631927":["hashtag1","hashtag2"]},{"1351631909":["hashtag1","hashtag2"]},{"1351631938":["hashtag1","hashtag2"]},{"1351631812":["hashtag1","hashtag2"]},{"1351631920":["hashtag1","hashtag2"]},{"1351631949":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351631927, 1351631909, 1351631938, 1351631812, 1351631920, 1351631949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29816651344299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:45:33.089436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_36_10336.jpg', '/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_46_9336.jpg', '/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_56_10355.jpg', '/home/pi/Desktop/images/14042025/11/14/image_14042025_11_15_05_9435.jpg', '/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_16_10442.jpg', '/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_26_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_36_10336.jpg
/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_46_9336.jpg
/home/pi/Desktop/images/14042025/11/14/image_14042025_11_14_56_10355.jpg
/home/pi/Desktop/images/14042025/11/14/image_14042025_11_15_05_9435.jpg
/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_16_10442.jpg
/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_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":["1351631962","1351631965","1351631959","1351632087","1351632030","1351631964"],"photo_ids_order":["1351631959","1351631962","1351631964","1351631965","1351632030","1351632087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f2d55951c25697b460cb408e773727ca.jpg","text":"TemporaryFile(/tmp/multipartBody6738857742770496508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027194760,"filename":"image_14042025_11_14_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/19/9c606939fb54ff6ff27b7f9e166ca4da.jpg","text":"TemporaryFile(/tmp/multipartBody3873527376989766810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027194760,"filename":"image_14042025_11_15_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b44a7d640438856da164101f9a1a97d2.jpg","text":"TemporaryFile(/tmp/multipartBody9206336554292026448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027194760,"filename":"image_14042025_11_14_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ab23566d2e54db5762cfe50c89e2909a.jpg","text":"TemporaryFile(/tmp/multipartBody247050418413040425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027194760,"filename":"image_14042025_11_15_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/19/2c1e87db79dee4511e7131067f4d50d9.jpg","text":"TemporaryFile(/tmp/multipartBody3887831271738380034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027194760,"filename":"image_14042025_11_15_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e4dec2230d9d2af2cdb08bf2ab775027.jpg","text":"TemporaryFile(/tmp/multipartBody3373137385511134297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027194760,"filename":"image_14042025_11_14_56_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351631964","file1":"1351631962","file0":"1351631959","file4":"1351632030","file5":"1351632087","file3":"1351631965"},"map_files_photo_id_array":[{"photo_id":"1351632087","filename":"file5"},{"photo_id":"1351631964","filename":"file2"},{"photo_id":"1351632030","filename":"file4"},{"photo_id":"1351631962","filename":"file1"},{"photo_id":"1351631959","filename":"file0"},{"photo_id":"1351631965","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351631962":["hashtag1","hashtag2"]},{"1351631965":["hashtag1","hashtag2"]},{"1351631959":["hashtag1","hashtag2"]},{"1351632087":["hashtag1","hashtag2"]},{"1351632030":["hashtag1","hashtag2"]},{"1351631964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351631962, 1351631965, 1351631959, 1351632087, 1351632030, 1351631964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33117437362671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:46:32.304916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_36_9321.jpg', '/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_46_10438.jpg', '/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_55_9428.jpg', '/home/pi/Desktop/images/14042025/11/15/image_14042025_11_16_06_10370.jpg', '/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_16_10338.jpg', '/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_25_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_36_9321.jpg
/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_46_10438.jpg
/home/pi/Desktop/images/14042025/11/15/image_14042025_11_15_55_9428.jpg
/home/pi/Desktop/images/14042025/11/15/image_14042025_11_16_06_10370.jpg
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_16_10338.jpg
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_25_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351632364","1351632361","1351632409","1351632366","1351632368","1351632356"],"photo_ids_order":["1351632356","1351632361","1351632364","1351632366","1351632368","1351632409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ad0d6e31a80ffaaa90cc9885e5078be.jpg","text":"TemporaryFile(/tmp/multipartBody5318116772505491842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027253974,"filename":"image_14042025_11_15_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a0eb399b512cb46e57b8e4f44cbf19b.jpg","text":"TemporaryFile(/tmp/multipartBody398673159570199778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027253974,"filename":"image_14042025_11_15_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/19/4771c2221df3a5101f04f04eeca69ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4580676922304105971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027253974,"filename":"image_14042025_11_16_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c09a3c9dc984b7161f1f2b5d2212333a.jpg","text":"TemporaryFile(/tmp/multipartBody6115039807958596270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027253974,"filename":"image_14042025_11_16_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/19/72c6002e93eadea76b1a6fea4927a85d.jpg","text":"TemporaryFile(/tmp/multipartBody628071145116288589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027253974,"filename":"image_14042025_11_16_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/49ef9e8d965cd4616a997187aeccd281.jpg","text":"TemporaryFile(/tmp/multipartBody8511718095312293849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027253974,"filename":"image_14042025_11_15_36_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351632364","file1":"1351632361","file0":"1351632356","file4":"1351632368","file5":"1351632409","file3":"1351632366"},"map_files_photo_id_array":[{"photo_id":"1351632409","filename":"file5"},{"photo_id":"1351632364","filename":"file2"},{"photo_id":"1351632368","filename":"file4"},{"photo_id":"1351632361","filename":"file1"},{"photo_id":"1351632356","filename":"file0"},{"photo_id":"1351632366","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351632364":["hashtag1","hashtag2"]},{"1351632361":["hashtag1","hashtag2"]},{"1351632409":["hashtag1","hashtag2"]},{"1351632366":["hashtag1","hashtag2"]},{"1351632368":["hashtag1","hashtag2"]},{"1351632356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351632364, 1351632361, 1351632409, 1351632366, 1351632368, 1351632356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57825207710266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:47:32.585674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_36_10394.jpg', '/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_46_10352.jpg', '/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_56_9340.jpg', '/home/pi/Desktop/images/14042025/11/16/image_14042025_11_17_06_10419.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_16_10339.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_26_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_36_10394.jpg
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_46_10352.jpg
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_16_56_9340.jpg
/home/pi/Desktop/images/14042025/11/16/image_14042025_11_17_06_10419.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_16_10339.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_26_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":["1351632681","1351632675","1351632729","1351632723","1351632708","1351632839"],"photo_ids_order":["1351632675","1351632681","1351632708","1351632723","1351632729","1351632839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84f4cc9f03c209d66db02167d57f23cf.jpg","text":"TemporaryFile(/tmp/multipartBody1054224260016533010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027314250,"filename":"image_14042025_11_16_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/19/47bf71c906517ec792d49db320f0306d.jpg","text":"TemporaryFile(/tmp/multipartBody6915209710771000172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027314250,"filename":"image_14042025_11_16_36_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6dbb0bdec6371e25f1157c70b435214.jpg","text":"TemporaryFile(/tmp/multipartBody2115340044085022488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027314250,"filename":"image_14042025_11_17_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd0c2c7d40603c40834ddc89e124938d.jpg","text":"TemporaryFile(/tmp/multipartBody5922086463415192800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027314250,"filename":"image_14042025_11_17_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/19/481643fa7db8dad04d5d606ce82c9e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6970867362996192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027314250,"filename":"image_14042025_11_16_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/19/989977c47b02df5f300704402ebd8813.jpg","text":"TemporaryFile(/tmp/multipartBody9172353228588735849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027314250,"filename":"image_14042025_11_17_26_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351632708","file1":"1351632681","file0":"1351632675","file4":"1351632729","file5":"1351632839","file3":"1351632723"},"map_files_photo_id_array":[{"photo_id":"1351632839","filename":"file5"},{"photo_id":"1351632708","filename":"file2"},{"photo_id":"1351632729","filename":"file4"},{"photo_id":"1351632681","filename":"file1"},{"photo_id":"1351632675","filename":"file0"},{"photo_id":"1351632723","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351632681":["hashtag1","hashtag2"]},{"1351632675":["hashtag1","hashtag2"]},{"1351632729":["hashtag1","hashtag2"]},{"1351632723":["hashtag1","hashtag2"]},{"1351632708":["hashtag1","hashtag2"]},{"1351632839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351632681, 1351632675, 1351632729, 1351632723, 1351632708, 1351632839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12007927894592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:48:32.764126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_36_10340.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_45_9363.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_56_10477.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_18_06_10410.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_16_9470.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_26_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_36_10340.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_45_9363.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_56_10477.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_18_06_10410.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_16_9470.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_26_10346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5990967750549316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 03:48:42.774051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_36_10340.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_45_9363.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_56_10477.jpg', '/home/pi/Desktop/images/14042025/11/17/image_14042025_11_18_06_10410.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_16_9470.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_26_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_36_10340.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_45_9363.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_17_56_10477.jpg
/home/pi/Desktop/images/14042025/11/17/image_14042025_11_18_06_10410.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_16_9470.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_26_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351633505","1351633512","1351633509","1351633500","1351633526","1351633591"],"photo_ids_order":["1351633500","1351633505","1351633509","1351633512","1351633526","1351633591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1eb370392bda2e82fc84e30d81d70c51.jpg","text":"TemporaryFile(/tmp/multipartBody4129800290209586110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027383523,"filename":"image_14042025_11_17_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/19/628cdcac88ec6c4dd5f12a28042006fb.jpg","text":"TemporaryFile(/tmp/multipartBody2542487473616598751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027383523,"filename":"image_14042025_11_18_06_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f2d54699a0e66a95e4556fe9e7745d70.jpg","text":"TemporaryFile(/tmp/multipartBody3670300342865072166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027383523,"filename":"image_14042025_11_17_56_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b202cf8319e82c1708149c1117fd2cec.jpg","text":"TemporaryFile(/tmp/multipartBody3036235182635193235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027383523,"filename":"image_14042025_11_17_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/53577e31a23b26539999de2e0a1e6920.jpg","text":"TemporaryFile(/tmp/multipartBody8937364070492013052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027383523,"filename":"image_14042025_11_18_16_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d94aac49368a7219e3db5c2462b33b8d.jpg","text":"TemporaryFile(/tmp/multipartBody8382839945069385550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027383523,"filename":"image_14042025_11_18_26_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351633509","file1":"1351633505","file0":"1351633500","file4":"1351633526","file5":"1351633591","file3":"1351633512"},"map_files_photo_id_array":[{"photo_id":"1351633591","filename":"file5"},{"photo_id":"1351633509","filename":"file2"},{"photo_id":"1351633526","filename":"file4"},{"photo_id":"1351633505","filename":"file1"},{"photo_id":"1351633500","filename":"file0"},{"photo_id":"1351633512","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351633505":["hashtag1","hashtag2"]},{"1351633512":["hashtag1","hashtag2"]},{"1351633509":["hashtag1","hashtag2"]},{"1351633500":["hashtag1","hashtag2"]},{"1351633526":["hashtag1","hashtag2"]},{"1351633591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351633505, 1351633512, 1351633509, 1351633500, 1351633526, 1351633591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.465640544891357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:49:32.981636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_35_9367.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_46_10410.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_56_10366.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_19_06_9428.jpg', '/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_16_10339.jpg', '/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_26_9511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_35_9367.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_46_10410.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_56_10366.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_19_06_9428.jpg
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_16_10339.jpg
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_26_9511.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6079909801483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 03:49:43.028511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_35_9367.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_46_10410.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_56_10366.jpg', '/home/pi/Desktop/images/14042025/11/18/image_14042025_11_19_06_9428.jpg', '/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_16_10339.jpg', '/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_26_9511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_35_9367.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_46_10410.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_18_56_10366.jpg
/home/pi/Desktop/images/14042025/11/18/image_14042025_11_19_06_9428.jpg
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_16_10339.jpg
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_26_9511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351633888","1351633927","1351633935","1351633704","1351633877","1351633922"],"photo_ids_order":["1351633704","1351633877","1351633888","1351633922","1351633927","1351633935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b2f5e3bf5f0dddf2cb15af2c8bfeb1a.jpg","text":"TemporaryFile(/tmp/multipartBody2695544484604675842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027443777,"filename":"image_14042025_11_18_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/19/5c83ea722a3fa7779120273c3649f187.jpg","text":"TemporaryFile(/tmp/multipartBody8615315548853588853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027443777,"filename":"image_14042025_11_19_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/19/e1f281f854dbeb5dd5d67d803a7fcad6.jpg","text":"TemporaryFile(/tmp/multipartBody6408783672428192064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027443777,"filename":"image_14042025_11_19_26_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/19/0fff8ad56ed84784847552092a80f2ce.jpg","text":"TemporaryFile(/tmp/multipartBody1006358667032773393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027443777,"filename":"image_14042025_11_18_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fffbc79ee281fe3887406c0ed51531c1.jpg","text":"TemporaryFile(/tmp/multipartBody820890383553152126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027443777,"filename":"image_14042025_11_18_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/19/7058c15f43f932f92311c8b73149affd.jpg","text":"TemporaryFile(/tmp/multipartBody725523563373434439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027443777,"filename":"image_14042025_11_19_06_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351633888","file1":"1351633877","file0":"1351633704","file4":"1351633927","file5":"1351633935","file3":"1351633922"},"map_files_photo_id_array":[{"photo_id":"1351633935","filename":"file5"},{"photo_id":"1351633888","filename":"file2"},{"photo_id":"1351633927","filename":"file4"},{"photo_id":"1351633877","filename":"file1"},{"photo_id":"1351633704","filename":"file0"},{"photo_id":"1351633922","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351633888":["hashtag1","hashtag2"]},{"1351633927":["hashtag1","hashtag2"]},{"1351633935":["hashtag1","hashtag2"]},{"1351633704":["hashtag1","hashtag2"]},{"1351633877":["hashtag1","hashtag2"]},{"1351633922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351633888, 1351633927, 1351633935, 1351633704, 1351633877, 1351633922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00434136390686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:50:32.217789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_36_10405.jpg', '/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_45_9469.jpg', '/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_56_10410.jpg', '/home/pi/Desktop/images/14042025/11/19/image_14042025_11_20_06_10429.jpg', '/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_16_9330.jpg', '/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_26_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_36_10405.jpg
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_45_9469.jpg
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_19_56_10410.jpg
/home/pi/Desktop/images/14042025/11/19/image_14042025_11_20_06_10429.jpg
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_16_9330.jpg
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_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":["1351634094","1351634097","1351634090","1351634087","1351634092","1351633996"],"photo_ids_order":["1351633996","1351634087","1351634090","1351634092","1351634094","1351634097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/108c70c738e23c729f8a31c611d34d83.jpg","text":"TemporaryFile(/tmp/multipartBody2414295370057330989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027493890,"filename":"image_14042025_11_20_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3de86805f5efe54d8ec0c6c9effd68c.jpg","text":"TemporaryFile(/tmp/multipartBody6004029746784814090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027493890,"filename":"image_14042025_11_20_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/19/03df1860dcf1d331cabd2d747b335785.jpg","text":"TemporaryFile(/tmp/multipartBody7306975541183617681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027493890,"filename":"image_14042025_11_19_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/19/bba7a52b046cf11f5d72ffd9fbb4feea.jpg","text":"TemporaryFile(/tmp/multipartBody842863647145828632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027493890,"filename":"image_14042025_11_19_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/19/27e02eaa27b4979942c0d394aa601bde.jpg","text":"TemporaryFile(/tmp/multipartBody5708755696402061488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027493890,"filename":"image_14042025_11_20_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/19/015fa3e7aaf88bf44a784d47d4d890b5.jpg","text":"TemporaryFile(/tmp/multipartBody4625528033163466011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027493890,"filename":"image_14042025_11_19_36_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351634090","file1":"1351634087","file0":"1351633996","file4":"1351634094","file5":"1351634097","file3":"1351634092"},"map_files_photo_id_array":[{"photo_id":"1351634097","filename":"file5"},{"photo_id":"1351634090","filename":"file2"},{"photo_id":"1351634094","filename":"file4"},{"photo_id":"1351634087","filename":"file1"},{"photo_id":"1351633996","filename":"file0"},{"photo_id":"1351634092","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351634094":["hashtag1","hashtag2"]},{"1351634097":["hashtag1","hashtag2"]},{"1351634090":["hashtag1","hashtag2"]},{"1351634087":["hashtag1","hashtag2"]},{"1351634092":["hashtag1","hashtag2"]},{"1351633996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351634094, 1351634097, 1351634090, 1351634087, 1351634092, 1351633996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54102444648743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:51:32.495435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_36_10345.jpg', '/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_46_9413.jpg', '/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_56_10362.jpg', '/home/pi/Desktop/images/14042025/11/20/image_14042025_11_21_05_9330.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_16_10337.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_36_10345.jpg
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_46_9413.jpg
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_20_56_10362.jpg
/home/pi/Desktop/images/14042025/11/20/image_14042025_11_21_05_9330.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_16_10337.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_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":["1351634215","1351634196","1351634202","1351634208","1351634213","1351634210"],"photo_ids_order":["1351634196","1351634202","1351634208","1351634210","1351634213","1351634215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4afa23be0795ff96f2652d0b73c8f3e2.jpg","text":"TemporaryFile(/tmp/multipartBody8434056188809540908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027554167,"filename":"image_14042025_11_21_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1899a08845989f1234c6c153dca194fb.jpg","text":"TemporaryFile(/tmp/multipartBody107057318298447775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027554167,"filename":"image_14042025_11_20_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/19/b27c06db1b4ea8994ae3f547011aa132.jpg","text":"TemporaryFile(/tmp/multipartBody7644170708775299071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027554167,"filename":"image_14042025_11_20_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/19/29052e96ebd76dae24d250d3a00505f2.jpg","text":"TemporaryFile(/tmp/multipartBody2202265174357960910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027554167,"filename":"image_14042025_11_20_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/19/da86ced5de98539579c8e90fb75ce3bd.jpg","text":"TemporaryFile(/tmp/multipartBody5487233041812507417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027554167,"filename":"image_14042025_11_21_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/19/db7dbc608264257fbbe7573430177c54.jpg","text":"TemporaryFile(/tmp/multipartBody4412948544642463045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027554167,"filename":"image_14042025_11_21_05_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351634208","file1":"1351634202","file0":"1351634196","file4":"1351634213","file5":"1351634215","file3":"1351634210"},"map_files_photo_id_array":[{"photo_id":"1351634215","filename":"file5"},{"photo_id":"1351634208","filename":"file2"},{"photo_id":"1351634213","filename":"file4"},{"photo_id":"1351634202","filename":"file1"},{"photo_id":"1351634196","filename":"file0"},{"photo_id":"1351634210","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351634215":["hashtag1","hashtag2"]},{"1351634196":["hashtag1","hashtag2"]},{"1351634202":["hashtag1","hashtag2"]},{"1351634208":["hashtag1","hashtag2"]},{"1351634213":["hashtag1","hashtag2"]},{"1351634210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351634215, 1351634196, 1351634202, 1351634208, 1351634213, 1351634210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16791319847107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:52:32.685147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_35_9328.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_46_10447.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_56_10378.jpg', '/home/pi/Desktop/images/14042025/11/21/image_14042025_11_22_06_9427.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_16_10372.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_25_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_35_9328.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_46_10447.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_21_56_10378.jpg
/home/pi/Desktop/images/14042025/11/21/image_14042025_11_22_06_9427.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_16_10372.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_25_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":["1351634436","1351634358","1351634315","1351634485","1351634395","1351634284"],"photo_ids_order":["1351634284","1351634315","1351634358","1351634395","1351634436","1351634485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef3b9ec93fc2c3bb3b76cf93a4003a61.jpg","text":"TemporaryFile(/tmp/multipartBody5141464075094016150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027614353,"filename":"image_14042025_11_22_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/19/6f923374e82dfe1e0f5d1211161070ba.jpg","text":"TemporaryFile(/tmp/multipartBody5024903500698739448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027614353,"filename":"image_14042025_11_21_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/19/ef3b6fe8626c32b6e5bcb0b0f5e36f33.jpg","text":"TemporaryFile(/tmp/multipartBody6576847071869332809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027614353,"filename":"image_14042025_11_21_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/19/dfdd1d6e58d2431ff8e3cabeb6a882db.jpg","text":"TemporaryFile(/tmp/multipartBody5570800559995484472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027614353,"filename":"image_14042025_11_22_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e12ec9e57dd74ea81c58c67473bf2cd7.jpg","text":"TemporaryFile(/tmp/multipartBody70764464928884711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027614353,"filename":"image_14042025_11_22_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6216867f3cb5d5bb1532883ad5eb38c.jpg","text":"TemporaryFile(/tmp/multipartBody2343200704600758463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027614353,"filename":"image_14042025_11_21_35_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351634358","file1":"1351634315","file0":"1351634284","file4":"1351634436","file5":"1351634485","file3":"1351634395"},"map_files_photo_id_array":[{"photo_id":"1351634485","filename":"file5"},{"photo_id":"1351634358","filename":"file2"},{"photo_id":"1351634436","filename":"file4"},{"photo_id":"1351634315","filename":"file1"},{"photo_id":"1351634284","filename":"file0"},{"photo_id":"1351634395","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351634436":["hashtag1","hashtag2"]},{"1351634358":["hashtag1","hashtag2"]},{"1351634315":["hashtag1","hashtag2"]},{"1351634485":["hashtag1","hashtag2"]},{"1351634395":["hashtag1","hashtag2"]},{"1351634284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351634436, 1351634358, 1351634315, 1351634485, 1351634395, 1351634284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20704483985901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:53:32.903777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_36_10420.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_46_10366.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_56_9457.jpg', '/home/pi/Desktop/images/14042025/11/22/image_14042025_11_23_06_10396.jpg', '/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_15_9334.jpg', '/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_26_10534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_36_10420.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_46_10366.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_22_56_9457.jpg
/home/pi/Desktop/images/14042025/11/22/image_14042025_11_23_06_10396.jpg
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_15_9334.jpg
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_26_10534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351634781","1351634835","1351634838","1351634832","1351634808","1351634830"],"photo_ids_order":["1351634781","1351634808","1351634830","1351634832","1351634835","1351634838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a4278f799a00b5d46a48968cfe612eb.jpg","text":"TemporaryFile(/tmp/multipartBody8231294694598409191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027674590,"filename":"image_14042025_11_22_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/19/ff102b669fba21bbb32cddee67c76f9d.jpg","text":"TemporaryFile(/tmp/multipartBody7900848892590611271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027674590,"filename":"image_14042025_11_23_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/96c282cd2507b13ac4988efab3d17704.jpg","text":"TemporaryFile(/tmp/multipartBody2666519979652066925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027674590,"filename":"image_14042025_11_23_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/19/5cff1d5617b2472821869d4aa3324afe.jpg","text":"TemporaryFile(/tmp/multipartBody4666248272208976502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027674590,"filename":"image_14042025_11_23_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35b8bb2d55bcab43d3ba9c9c38f50c21.jpg","text":"TemporaryFile(/tmp/multipartBody2095356807476630418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027674590,"filename":"image_14042025_11_22_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/19/0487fe66d75b32dc31606ee2afc87663.jpg","text":"TemporaryFile(/tmp/multipartBody9171273941144633158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027674590,"filename":"image_14042025_11_22_56_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351634830","file1":"1351634808","file0":"1351634781","file4":"1351634835","file5":"1351634838","file3":"1351634832"},"map_files_photo_id_array":[{"photo_id":"1351634838","filename":"file5"},{"photo_id":"1351634830","filename":"file2"},{"photo_id":"1351634835","filename":"file4"},{"photo_id":"1351634808","filename":"file1"},{"photo_id":"1351634781","filename":"file0"},{"photo_id":"1351634832","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351634781":["hashtag1","hashtag2"]},{"1351634835":["hashtag1","hashtag2"]},{"1351634838":["hashtag1","hashtag2"]},{"1351634832":["hashtag1","hashtag2"]},{"1351634808":["hashtag1","hashtag2"]},{"1351634830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351634781, 1351634835, 1351634838, 1351634832, 1351634808, 1351634830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.957702159881592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:54:33.143749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_36_9609.jpg', '/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_46_10529.jpg', '/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_55_9351.jpg', '/home/pi/Desktop/images/14042025/11/23/image_14042025_11_24_06_10415.jpg', '/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_16_10345.jpg', '/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_26_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_36_9609.jpg
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_46_10529.jpg
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_23_55_9351.jpg
/home/pi/Desktop/images/14042025/11/23/image_14042025_11_24_06_10415.jpg
/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_16_10345.jpg
/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_26_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351634860","1351634853","1351634856","1351634850","1351634901","1351634872"],"photo_ids_order":["1351634850","1351634853","1351634856","1351634860","1351634872","1351634901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/36daebcca12f43731bb5d3fdb5cb9fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8313236632351043706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027734831,"filename":"image_14042025_11_24_06_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7631940696ab7693c29a8e047b8273d.jpg","text":"TemporaryFile(/tmp/multipartBody1242028084863201367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027734831,"filename":"image_14042025_11_23_46_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/19/1b84675305d397975c3227aacfa7398f.jpg","text":"TemporaryFile(/tmp/multipartBody4024905343810391512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027734831,"filename":"image_14042025_11_23_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/19/09dccf2061eb1ee1c2f889badfa08c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4907264370214432704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027734831,"filename":"image_14042025_11_23_36_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/19/f547587c39b29cf9e832c29cc08bf5d5.jpg","text":"TemporaryFile(/tmp/multipartBody651228814010542083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027734831,"filename":"image_14042025_11_24_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f334b36b62743b3660881d6feaf926de.jpg","text":"TemporaryFile(/tmp/multipartBody8650406599740967334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027734831,"filename":"image_14042025_11_24_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351634856","file1":"1351634853","file0":"1351634850","file4":"1351634872","file5":"1351634901","file3":"1351634860"},"map_files_photo_id_array":[{"photo_id":"1351634901","filename":"file5"},{"photo_id":"1351634856","filename":"file2"},{"photo_id":"1351634872","filename":"file4"},{"photo_id":"1351634853","filename":"file1"},{"photo_id":"1351634850","filename":"file0"},{"photo_id":"1351634860","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351634860":["hashtag1","hashtag2"]},{"1351634853":["hashtag1","hashtag2"]},{"1351634856":["hashtag1","hashtag2"]},{"1351634850":["hashtag1","hashtag2"]},{"1351634901":["hashtag1","hashtag2"]},{"1351634872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351634860, 1351634853, 1351634856, 1351634850, 1351634901, 1351634872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.981305599212646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:55:32.298041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_36_10349.jpg', '/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_46_10366.jpg', '/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_56_9337.jpg', '/home/pi/Desktop/images/14042025/11/24/image_14042025_11_25_06_10438.jpg', '/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_15_9342.jpg', '/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_26_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_36_10349.jpg
/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_46_10366.jpg
/home/pi/Desktop/images/14042025/11/24/image_14042025_11_24_56_9337.jpg
/home/pi/Desktop/images/14042025/11/24/image_14042025_11_25_06_10438.jpg
/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_15_9342.jpg
/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_26_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":["1351635099","1351635090","1351635093","1351635086","1351635088","1351635096"],"photo_ids_order":["1351635086","1351635088","1351635090","1351635093","1351635096","1351635099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ea01059a53f1f99f11e13bfe2a3c2d1.jpg","text":"TemporaryFile(/tmp/multipartBody1987998535252734146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027793986,"filename":"image_14042025_11_25_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e31571ad82759d7557ea1c018893312.jpg","text":"TemporaryFile(/tmp/multipartBody5208378220935498215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027793986,"filename":"image_14042025_11_24_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/19/52fcf6c07552ae354a4a0a7139544131.jpg","text":"TemporaryFile(/tmp/multipartBody5210189031041225914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027793986,"filename":"image_14042025_11_25_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/19/44b152d069194e863c8cd4385c0dc97f.jpg","text":"TemporaryFile(/tmp/multipartBody1074258248226845385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027793986,"filename":"image_14042025_11_24_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/19/78c0b7edc62e6e53b435b545230a81e1.jpg","text":"TemporaryFile(/tmp/multipartBody5125337736371684200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027793986,"filename":"image_14042025_11_24_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/19/7747add1e13e54d4c66202ca29f639cc.jpg","text":"TemporaryFile(/tmp/multipartBody7978730925245690149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027793986,"filename":"image_14042025_11_25_15_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351635090","file1":"1351635088","file0":"1351635086","file4":"1351635096","file5":"1351635099","file3":"1351635093"},"map_files_photo_id_array":[{"photo_id":"1351635099","filename":"file5"},{"photo_id":"1351635090","filename":"file2"},{"photo_id":"1351635096","filename":"file4"},{"photo_id":"1351635088","filename":"file1"},{"photo_id":"1351635086","filename":"file0"},{"photo_id":"1351635093","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351635099":["hashtag1","hashtag2"]},{"1351635090":["hashtag1","hashtag2"]},{"1351635093":["hashtag1","hashtag2"]},{"1351635086":["hashtag1","hashtag2"]},{"1351635088":["hashtag1","hashtag2"]},{"1351635096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351635099, 1351635090, 1351635093, 1351635086, 1351635088, 1351635096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.363368272781372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:56:32.509322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_36_10408.jpg', '/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_46_9337.jpg', '/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_56_10421.jpg', '/home/pi/Desktop/images/14042025/11/25/image_14042025_11_26_05_9343.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_16_10474.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_26_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_36_10408.jpg
/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_46_9337.jpg
/home/pi/Desktop/images/14042025/11/25/image_14042025_11_25_56_10421.jpg
/home/pi/Desktop/images/14042025/11/25/image_14042025_11_26_05_9343.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_16_10474.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_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":["1351635511","1351635362","1351635556","1351635391","1351635421","1351635331"],"photo_ids_order":["1351635331","1351635362","1351635391","1351635421","1351635511","1351635556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a7e653807842ffb675e632b5aaa59fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6767808952087220879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027854188,"filename":"image_14042025_11_26_16_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b64a0cdf5350d4b39c8d8c99ec01052d.jpg","text":"TemporaryFile(/tmp/multipartBody8460736544775465417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027854188,"filename":"image_14042025_11_25_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/19/378e9b9b1242c7af64366e1f9acacbd9.jpg","text":"TemporaryFile(/tmp/multipartBody1211037971006637926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027854188,"filename":"image_14042025_11_26_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/19/fa3c6ede0892cdcd7d4df63ffb4bc120.jpg","text":"TemporaryFile(/tmp/multipartBody2857894634385856449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027854188,"filename":"image_14042025_11_25_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/19/7ab3b9fccb75be4067e30bfe38b36173.jpg","text":"TemporaryFile(/tmp/multipartBody3238235645832963509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027854188,"filename":"image_14042025_11_26_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/19/820136b9eaea290ec66b14dca7fb3cff.jpg","text":"TemporaryFile(/tmp/multipartBody4549815548290302146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745027854188,"filename":"image_14042025_11_25_36_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351635391","file1":"1351635362","file0":"1351635331","file4":"1351635511","file5":"1351635556","file3":"1351635421"},"map_files_photo_id_array":[{"photo_id":"1351635556","filename":"file5"},{"photo_id":"1351635391","filename":"file2"},{"photo_id":"1351635511","filename":"file4"},{"photo_id":"1351635362","filename":"file1"},{"photo_id":"1351635331","filename":"file0"},{"photo_id":"1351635421","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351635511":["hashtag1","hashtag2"]},{"1351635362":["hashtag1","hashtag2"]},{"1351635556":["hashtag1","hashtag2"]},{"1351635391":["hashtag1","hashtag2"]},{"1351635421":["hashtag1","hashtag2"]},{"1351635331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351635511, 1351635362, 1351635556, 1351635391, 1351635421, 1351635331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.686891794204712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 03:57:32.661832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
SELECT 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 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_36_9421.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_46_10458.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_55_9374.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_27_06_10425.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_16_10344.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_26_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_36_9421.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_46_10458.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_55_9374.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_27_06_10425.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_16_10344.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_26_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-19 03:59:04.100702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local ASC LIMIT 6;
  port_id : 22162759
  datou_current_id : 2733328
in upload_from_sqlite, uploading in 22162759
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_36_9421.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_46_10458.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_55_9374.jpg', '/home/pi/Desktop/images/14042025/11/26/image_14042025_11_27_06_10425.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_16_10344.jpg', '/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_26_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733328&datou=0
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_36_9421.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_46_10458.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_26_55_9374.jpg
/home/pi/Desktop/images/14042025/11/26/image_14042025_11_27_06_10425.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_16_10344.jpg
/home/pi/Desktop/images/14042025/11/27/image_14042025_11_27_26_9351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351636833","1351636799","1351636856","1351636847","1351636852","1351636768"],"photo_ids_order":["1351636768","1351636799","1351636833","1351636847","1351636852","1351636856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d2386e2609b6085b61762f4db989c119.jpg","text":"TemporaryFile(/tmp/multipartBody918745533928078612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028004994,"filename":"image_14042025_11_26_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/149ad708770e16a2cd8076465dac46fc.jpg","text":"TemporaryFile(/tmp/multipartBody2943733812720863615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028004994,"filename":"image_14042025_11_26_46_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25ca1391b3672f088bf04b104f247527.jpg","text":"TemporaryFile(/tmp/multipartBody8540365492828504715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028004994,"filename":"image_14042025_11_27_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/19/692bde88a2bf9432a22c779d3e396ae7.jpg","text":"TemporaryFile(/tmp/multipartBody8215638018813102715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028004994,"filename":"image_14042025_11_27_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/19/e9088898bfd24e417119f9090120fd7a.jpg","text":"TemporaryFile(/tmp/multipartBody6675500574129460655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028004994,"filename":"image_14042025_11_27_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/19/25af157c6847eb33aa8047fb628f3152.jpg","text":"TemporaryFile(/tmp/multipartBody4387945052803325867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028004994,"filename":"image_14042025_11_26_36_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351636833","file1":"1351636799","file0":"1351636768","file4":"1351636852","file5":"1351636856","file3":"1351636847"},"map_files_photo_id_array":[{"photo_id":"1351636856","filename":"file5"},{"photo_id":"1351636833","filename":"file2"},{"photo_id":"1351636852","filename":"file4"},{"photo_id":"1351636799","filename":"file1"},{"photo_id":"1351636768","filename":"file0"},{"photo_id":"1351636847","filename":"file3"}],"portfolio_id":22162759,"hashtag_by_photo_ids":[{"1351636833":["hashtag1","hashtag2"]},{"1351636799":["hashtag1","hashtag2"]},{"1351636856":["hashtag1","hashtag2"]},{"1351636847":["hashtag1","hashtag2"]},{"1351636852":["hashtag1","hashtag2"]},{"1351636768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22162759 used, photo_id : ArrayBuffer(1351636833, 1351636799, 1351636856, 1351636847, 1351636852, 1351636768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98407554626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 03:59:43.102995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 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_19042025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 22238626, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1745028043000}
4310
2739534
4310
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_15_10067.jpg', '/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_25_10335.jpg', '/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_36_10363.jpg', '/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_45_9340.jpg', '/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_55_10344.jpg', '/home/pi/Desktop/images/19042025/00/00/image_19042025_00_01_06_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_15_10067.jpg
/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_25_10335.jpg
/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_36_10363.jpg
/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_45_9340.jpg
/home/pi/Desktop/images/19042025/00/00/image_19042025_00_00_55_10344.jpg
/home/pi/Desktop/images/19042025/00/00/image_19042025_00_01_06_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351636973","1351636951","1351636921","1351636962","1351636965","1351636959"],"photo_ids_order":["1351636921","1351636951","1351636959","1351636962","1351636965","1351636973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/03f9bc57a22a5440a34425a29dc8bf9a.jpg","text":"TemporaryFile(/tmp/multipartBody7222112523633494523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028044475,"filename":"image_19042025_00_01_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f16cf32f859f9aff9a7e5962b312073.jpg","text":"TemporaryFile(/tmp/multipartBody4004853426710050124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028044475,"filename":"image_19042025_00_00_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/76d294a53fcb850bb61caed1801e9440.jpg","text":"TemporaryFile(/tmp/multipartBody3598295488190807643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028044475,"filename":"image_19042025_00_00_15_10067.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/50a50d3dfa1074603d02f29d4687b242.jpg","text":"TemporaryFile(/tmp/multipartBody5195173187862912666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028044475,"filename":"image_19042025_00_00_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/19/b34634bbe92f873c5adbca17c26f9e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1292732395167718974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028044475,"filename":"image_19042025_00_00_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/19/806bc1e4b58f8d1b8c2641f0a7c5ce95.jpg","text":"TemporaryFile(/tmp/multipartBody391716845167000448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028044475,"filename":"image_19042025_00_00_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351636959","file1":"1351636951","file0":"1351636921","file4":"1351636965","file5":"1351636973","file3":"1351636962"},"map_files_photo_id_array":[{"photo_id":"1351636973","filename":"file5"},{"photo_id":"1351636959","filename":"file2"},{"photo_id":"1351636965","filename":"file4"},{"photo_id":"1351636951","filename":"file1"},{"photo_id":"1351636921","filename":"file0"},{"photo_id":"1351636962","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351636973":["hashtag1","hashtag2"]},{"1351636951":["hashtag1","hashtag2"]},{"1351636921":["hashtag1","hashtag2"]},{"1351636962":["hashtag1","hashtag2"]},{"1351636965":["hashtag1","hashtag2"]},{"1351636959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351636973, 1351636951, 1351636921, 1351636962, 1351636965, 1351636959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.391050577163696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:00:32.290164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/01/image_19042025_00_01_26_10455.jpg', '/home/pi/Desktop/images/19042025/00/01/image_19042025_00_01_46_10461.jpg', '/home/pi/Desktop/images/19042025/00/01/image_19042025_00_01_55_9323.jpg', '/home/pi/Desktop/images/19042025/00/01/image_19042025_00_02_05_10351.jpg', '/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_15_9393.jpg', '/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_25_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/01/image_19042025_00_01_26_10455.jpg
/home/pi/Desktop/images/19042025/00/01/image_19042025_00_01_46_10461.jpg
/home/pi/Desktop/images/19042025/00/01/image_19042025_00_01_55_9323.jpg
/home/pi/Desktop/images/19042025/00/01/image_19042025_00_02_05_10351.jpg
/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_15_9393.jpg
/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_25_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351637369","1351637378","1351637278","1351637365","1351637350","1351637409"],"photo_ids_order":["1351637278","1351637350","1351637365","1351637369","1351637378","1351637409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b1470bd4321ca79ebb39c60d895b733.jpg","text":"TemporaryFile(/tmp/multipartBody2441151552372662287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028092759,"filename":"image_19042025_00_02_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf58861166ea2317bc1a16ff43f66f57.jpg","text":"TemporaryFile(/tmp/multipartBody6911961627970044905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028092759,"filename":"image_19042025_00_02_15_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/02380c8577aba5f989495e23014c71c0.jpg","text":"TemporaryFile(/tmp/multipartBody1256435268573066840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028092759,"filename":"image_19042025_00_01_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/19/9459b9fe23346ec385b179dc876a0ff5.jpg","text":"TemporaryFile(/tmp/multipartBody8656164141593600745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028092759,"filename":"image_19042025_00_01_55_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/abb7abf36e1f68f65d37cb6e7d53b47d.jpg","text":"TemporaryFile(/tmp/multipartBody7491243882404018514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028092759,"filename":"image_19042025_00_01_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/19/94fa58a5421b885ae8d3ecb0aa0cc1b6.jpg","text":"TemporaryFile(/tmp/multipartBody2569822931970084461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028092759,"filename":"image_19042025_00_02_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351637365","file1":"1351637350","file0":"1351637278","file4":"1351637378","file5":"1351637409","file3":"1351637369"},"map_files_photo_id_array":[{"photo_id":"1351637409","filename":"file5"},{"photo_id":"1351637365","filename":"file2"},{"photo_id":"1351637378","filename":"file4"},{"photo_id":"1351637350","filename":"file1"},{"photo_id":"1351637278","filename":"file0"},{"photo_id":"1351637369","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351637369":["hashtag1","hashtag2"]},{"1351637378":["hashtag1","hashtag2"]},{"1351637278":["hashtag1","hashtag2"]},{"1351637365":["hashtag1","hashtag2"]},{"1351637350":["hashtag1","hashtag2"]},{"1351637409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351637369, 1351637378, 1351637278, 1351637365, 1351637350, 1351637409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66737508773804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:01:32.579255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_36_10457.jpg', '/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_45_9413.jpg', '/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_55_10354.jpg', '/home/pi/Desktop/images/19042025/00/02/image_19042025_00_03_06_10390.jpg', '/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_15_9342.jpg', '/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_25_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_36_10457.jpg
/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_45_9413.jpg
/home/pi/Desktop/images/19042025/00/02/image_19042025_00_02_55_10354.jpg
/home/pi/Desktop/images/19042025/00/02/image_19042025_00_03_06_10390.jpg
/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_15_9342.jpg
/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_25_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":["1351637872","1351637836","1351637809","1351637722","1351637781","1351637751"],"photo_ids_order":["1351637722","1351637751","1351637781","1351637809","1351637836","1351637872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/483e59473f9e9e4aad0f81fbe1972951.jpg","text":"TemporaryFile(/tmp/multipartBody4556466500856088806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028153045,"filename":"image_19042025_00_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/19/fb1eaaff11d52233779a18d1eb6a7923.jpg","text":"TemporaryFile(/tmp/multipartBody8910676851216038766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028153045,"filename":"image_19042025_00_03_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/19/9dcc037b0bf3d637e4794e615188f104.jpg","text":"TemporaryFile(/tmp/multipartBody1052323247310638749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028153045,"filename":"image_19042025_00_03_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/19/5a1f0167778a4c76eb55adf90c836794.jpg","text":"TemporaryFile(/tmp/multipartBody6027180085814615654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028153045,"filename":"image_19042025_00_02_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/19/10a890476fa8e4ed4503b2ac3b33fdd6.jpg","text":"TemporaryFile(/tmp/multipartBody6115646020177583001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028153045,"filename":"image_19042025_00_02_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/19/4b5425943799261c403f61494253e2ef.jpg","text":"TemporaryFile(/tmp/multipartBody6946485600608138193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028153045,"filename":"image_19042025_00_02_45_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351637781","file1":"1351637751","file0":"1351637722","file4":"1351637836","file5":"1351637872","file3":"1351637809"},"map_files_photo_id_array":[{"photo_id":"1351637872","filename":"file5"},{"photo_id":"1351637781","filename":"file2"},{"photo_id":"1351637836","filename":"file4"},{"photo_id":"1351637751","filename":"file1"},{"photo_id":"1351637722","filename":"file0"},{"photo_id":"1351637809","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351637872":["hashtag1","hashtag2"]},{"1351637836":["hashtag1","hashtag2"]},{"1351637809":["hashtag1","hashtag2"]},{"1351637722":["hashtag1","hashtag2"]},{"1351637781":["hashtag1","hashtag2"]},{"1351637751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351637872, 1351637836, 1351637809, 1351637722, 1351637781, 1351637751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.704352140426636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:02:32.916965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_35_9366.jpg', '/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_45_10410.jpg', '/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_56_10359.jpg', '/home/pi/Desktop/images/19042025/00/03/image_19042025_00_04_05_9425.jpg', '/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_15_10335.jpg', '/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_25_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_35_9366.jpg
/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_45_10410.jpg
/home/pi/Desktop/images/19042025/00/03/image_19042025_00_03_56_10359.jpg
/home/pi/Desktop/images/19042025/00/03/image_19042025_00_04_05_9425.jpg
/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_15_10335.jpg
/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_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":["1351638113","1351638049","1351638168","1351638255","1351638222","1351638281"],"photo_ids_order":["1351638049","1351638113","1351638168","1351638222","1351638255","1351638281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7758ecba14dd18e76d0fa0f67d2c0cbc.jpg","text":"TemporaryFile(/tmp/multipartBody4551349907229622758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028213379,"filename":"image_19042025_00_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/19/c172452ff9b595a004003809e6b88dee.jpg","text":"TemporaryFile(/tmp/multipartBody7336056098772219696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028213379,"filename":"image_19042025_00_03_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3cbfd1f9ff1ef4f8ec2bacffb8d9bb51.jpg","text":"TemporaryFile(/tmp/multipartBody202026912298632905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028213379,"filename":"image_19042025_00_03_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/19/3554954ae4dfe435ee7cd22b10fdd1c6.jpg","text":"TemporaryFile(/tmp/multipartBody1412586952147521615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028213379,"filename":"image_19042025_00_04_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/19/b0a3052465c4a509876ae9b41af6e3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5692605222546969021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028213379,"filename":"image_19042025_00_04_05_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf095b976a664b422ca3653af8a15032.jpg","text":"TemporaryFile(/tmp/multipartBody8560724480059039621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028213379,"filename":"image_19042025_00_04_25_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351638168","file1":"1351638113","file0":"1351638049","file4":"1351638255","file5":"1351638281","file3":"1351638222"},"map_files_photo_id_array":[{"photo_id":"1351638281","filename":"file5"},{"photo_id":"1351638168","filename":"file2"},{"photo_id":"1351638255","filename":"file4"},{"photo_id":"1351638113","filename":"file1"},{"photo_id":"1351638049","filename":"file0"},{"photo_id":"1351638222","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351638113":["hashtag1","hashtag2"]},{"1351638049":["hashtag1","hashtag2"]},{"1351638168":["hashtag1","hashtag2"]},{"1351638255":["hashtag1","hashtag2"]},{"1351638222":["hashtag1","hashtag2"]},{"1351638281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351638113, 1351638049, 1351638168, 1351638255, 1351638222, 1351638281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.639153718948364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:03:33.010296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_35_10353.jpg', '/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_46_10346.jpg', '/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_55_9340.jpg', '/home/pi/Desktop/images/19042025/00/04/image_19042025_00_05_05_10341.jpg', '/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_16_10356.jpg', '/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_25_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_35_10353.jpg
/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_46_10346.jpg
/home/pi/Desktop/images/19042025/00/04/image_19042025_00_04_55_9340.jpg
/home/pi/Desktop/images/19042025/00/04/image_19042025_00_05_05_10341.jpg
/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_16_10356.jpg
/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_25_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":["1351638688","1351638646","1351638610","1351638712","1351638776","1351638743"],"photo_ids_order":["1351638610","1351638646","1351638688","1351638712","1351638743","1351638776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bef7791dbeddd0dcf18aedeee05232c7.jpg","text":"TemporaryFile(/tmp/multipartBody4916427763034803939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028273472,"filename":"image_19042025_00_04_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/661f325d9876e41eef1ae1585fe04ec5.jpg","text":"TemporaryFile(/tmp/multipartBody9162586420958858571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028273472,"filename":"image_19042025_00_04_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8fa0838b4fb1ede4c46fecf06e949593.jpg","text":"TemporaryFile(/tmp/multipartBody2530487156002389184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028273472,"filename":"image_19042025_00_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/19/4ef863df3de913b8758e2041687d5e3e.jpg","text":"TemporaryFile(/tmp/multipartBody7339215039633702238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028273472,"filename":"image_19042025_00_05_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f50738607ae38b510606d1453c519828.jpg","text":"TemporaryFile(/tmp/multipartBody5113654099798688336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028273472,"filename":"image_19042025_00_05_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e61926793cb94c52bf6aa162d8433854.jpg","text":"TemporaryFile(/tmp/multipartBody9079787323248089126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028273472,"filename":"image_19042025_00_05_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351638688","file1":"1351638646","file0":"1351638610","file4":"1351638743","file5":"1351638776","file3":"1351638712"},"map_files_photo_id_array":[{"photo_id":"1351638776","filename":"file5"},{"photo_id":"1351638688","filename":"file2"},{"photo_id":"1351638743","filename":"file4"},{"photo_id":"1351638646","filename":"file1"},{"photo_id":"1351638610","filename":"file0"},{"photo_id":"1351638712","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351638688":["hashtag1","hashtag2"]},{"1351638646":["hashtag1","hashtag2"]},{"1351638610":["hashtag1","hashtag2"]},{"1351638712":["hashtag1","hashtag2"]},{"1351638776":["hashtag1","hashtag2"]},{"1351638743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351638688, 1351638646, 1351638610, 1351638712, 1351638776, 1351638743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.015130281448364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:04:32.253892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_35_10368.jpg', '/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_55_10362.jpg', '/home/pi/Desktop/images/19042025/00/05/image_19042025_00_06_06_10360.jpg', '/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_15_9359.jpg', '/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_25_10361.jpg', '/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_36_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_35_10368.jpg
/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_55_10362.jpg
/home/pi/Desktop/images/19042025/00/05/image_19042025_00_06_06_10360.jpg
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_15_9359.jpg
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_25_10361.jpg
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_36_10383.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38228940963745117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 04:04:42.192680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_35_10368.jpg', '/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_55_10362.jpg', '/home/pi/Desktop/images/19042025/00/05/image_19042025_00_06_06_10360.jpg', '/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_15_9359.jpg', '/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_25_10361.jpg', '/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_36_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_35_10368.jpg
/home/pi/Desktop/images/19042025/00/05/image_19042025_00_05_55_10362.jpg
/home/pi/Desktop/images/19042025/00/05/image_19042025_00_06_06_10360.jpg
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_15_9359.jpg
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_25_10361.jpg
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_36_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351639381","1351639324","1351639411","1351639497","1351639455","1351639244"],"photo_ids_order":["1351639244","1351639324","1351639381","1351639411","1351639455","1351639497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4788c9e362d68f2cd1193e6ad77de649.jpg","text":"TemporaryFile(/tmp/multipartBody7121169974336540363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028342674,"filename":"image_19042025_00_06_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64a4239f4eaae927cb54e04c1cc7e191.jpg","text":"TemporaryFile(/tmp/multipartBody4076520586356235099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028342674,"filename":"image_19042025_00_05_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/19/faa674425bb2928a84ad10e4d1125ace.jpg","text":"TemporaryFile(/tmp/multipartBody5190737130247583571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028342674,"filename":"image_19042025_00_06_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/19/c5a0a933d861c896ea1f6a28deaba24c.jpg","text":"TemporaryFile(/tmp/multipartBody8250719161202230900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028342674,"filename":"image_19042025_00_06_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/19/53493a04d6ee3ae549081bf10359e038.jpg","text":"TemporaryFile(/tmp/multipartBody5296446963436060149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028342674,"filename":"image_19042025_00_06_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/19/87e974bea1c64dcd3ecd9622c8ebf357.jpg","text":"TemporaryFile(/tmp/multipartBody2855349022629343819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028342674,"filename":"image_19042025_00_05_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351639381","file1":"1351639324","file0":"1351639244","file4":"1351639455","file5":"1351639497","file3":"1351639411"},"map_files_photo_id_array":[{"photo_id":"1351639497","filename":"file5"},{"photo_id":"1351639381","filename":"file2"},{"photo_id":"1351639455","filename":"file4"},{"photo_id":"1351639324","filename":"file1"},{"photo_id":"1351639244","filename":"file0"},{"photo_id":"1351639411","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351639381":["hashtag1","hashtag2"]},{"1351639324":["hashtag1","hashtag2"]},{"1351639411":["hashtag1","hashtag2"]},{"1351639497":["hashtag1","hashtag2"]},{"1351639455":["hashtag1","hashtag2"]},{"1351639244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351639381, 1351639324, 1351639411, 1351639497, 1351639455, 1351639244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.784411907196045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:05:32.478182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_45_9359.jpg', '/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_55_10342.jpg', '/home/pi/Desktop/images/19042025/00/06/image_19042025_00_07_05_9457.jpg', '/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_15_10347.jpg', '/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_25_10349.jpg', '/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_35_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_45_9359.jpg
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_06_55_10342.jpg
/home/pi/Desktop/images/19042025/00/06/image_19042025_00_07_05_9457.jpg
/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_15_10347.jpg
/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_25_10349.jpg
/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_35_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":["1351639573","1351639716","1351639667","1351639568","1351639571","1351639565"],"photo_ids_order":["1351639565","1351639568","1351639571","1351639573","1351639667","1351639716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fab5a2342009c7ff43ba70182e6d2048.jpg","text":"TemporaryFile(/tmp/multipartBody9012653699729097517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028392948,"filename":"image_19042025_00_07_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/53107813c7657efeabde5791366248da.jpg","text":"TemporaryFile(/tmp/multipartBody5440910072587952513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028392948,"filename":"image_19042025_00_07_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/19/d7da9cfbe73f3e9b90ca9222a3b9a5a4.jpg","text":"TemporaryFile(/tmp/multipartBody6358021258959268805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028392948,"filename":"image_19042025_00_07_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/19/970f82fe01b030e5427c9f76e7f5bb49.jpg","text":"TemporaryFile(/tmp/multipartBody1745807330941413921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028392948,"filename":"image_19042025_00_06_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2bdaaa56724ee514298733f0c4fa4a04.jpg","text":"TemporaryFile(/tmp/multipartBody2694167404777716200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028392948,"filename":"image_19042025_00_07_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/19/3b8aab0d9ba9f51a8fe737e2aff59d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8012531059712023318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028392948,"filename":"image_19042025_00_06_45_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351639571","file1":"1351639568","file0":"1351639565","file4":"1351639667","file5":"1351639716","file3":"1351639573"},"map_files_photo_id_array":[{"photo_id":"1351639716","filename":"file5"},{"photo_id":"1351639571","filename":"file2"},{"photo_id":"1351639667","filename":"file4"},{"photo_id":"1351639568","filename":"file1"},{"photo_id":"1351639565","filename":"file0"},{"photo_id":"1351639573","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351639573":["hashtag1","hashtag2"]},{"1351639716":["hashtag1","hashtag2"]},{"1351639667":["hashtag1","hashtag2"]},{"1351639568":["hashtag1","hashtag2"]},{"1351639571":["hashtag1","hashtag2"]},{"1351639565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351639573, 1351639716, 1351639667, 1351639568, 1351639571, 1351639565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.146166801452637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:06:32.684775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_45_10357.jpg', '/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_56_10357.jpg', '/home/pi/Desktop/images/19042025/00/07/image_19042025_00_08_05_9353.jpg', '/home/pi/Desktop/images/19042025/00/08/image_19042025_00_08_26_10352.jpg', '/home/pi/Desktop/images/19042025/00/08/image_19042025_00_08_35_9418.jpg', '/home/pi/Desktop/images/19042025/00/08/image_19042025_00_08_45_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_45_10357.jpg
/home/pi/Desktop/images/19042025/00/07/image_19042025_00_07_56_10357.jpg
/home/pi/Desktop/images/19042025/00/07/image_19042025_00_08_05_9353.jpg
/home/pi/Desktop/images/19042025/00/08/image_19042025_00_08_26_10352.jpg
/home/pi/Desktop/images/19042025/00/08/image_19042025_00_08_35_9418.jpg
/home/pi/Desktop/images/19042025/00/08/image_19042025_00_08_45_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351639824","1351639932","1351639982","1351640103","1351640046","1351639880"],"photo_ids_order":["1351639824","1351639880","1351639932","1351639982","1351640046","1351640103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce51cb6958900ca246a99ad74df445cd.jpg","text":"TemporaryFile(/tmp/multipartBody7496095708612017162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028453145,"filename":"image_19042025_00_07_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/74f1f2b2b87e9c7285b4293eb0d1e575.jpg","text":"TemporaryFile(/tmp/multipartBody4436557932226752886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028453145,"filename":"image_19042025_00_08_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/19/7bc3ce9e5737aa7349dcf772a83d83b0.jpg","text":"TemporaryFile(/tmp/multipartBody1086796475811925733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028453145,"filename":"image_19042025_00_08_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/19/d5d93aac30050542b1ae4edc8403d839.jpg","text":"TemporaryFile(/tmp/multipartBody9207559703317864543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028453145,"filename":"image_19042025_00_08_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/19/232cb0e287a13f98717d754feabbea65.jpg","text":"TemporaryFile(/tmp/multipartBody7920274304510858503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028453145,"filename":"image_19042025_00_08_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/896460b60647a1c2ed94790b407d52d6.jpg","text":"TemporaryFile(/tmp/multipartBody4668376186826564290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028453145,"filename":"image_19042025_00_07_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351639932","file1":"1351639880","file0":"1351639824","file4":"1351640046","file5":"1351640103","file3":"1351639982"},"map_files_photo_id_array":[{"photo_id":"1351640103","filename":"file5"},{"photo_id":"1351639932","filename":"file2"},{"photo_id":"1351640046","filename":"file4"},{"photo_id":"1351639880","filename":"file1"},{"photo_id":"1351639824","filename":"file0"},{"photo_id":"1351639982","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351639824":["hashtag1","hashtag2"]},{"1351639932":["hashtag1","hashtag2"]},{"1351639982":["hashtag1","hashtag2"]},{"1351640103":["hashtag1","hashtag2"]},{"1351640046":["hashtag1","hashtag2"]},{"1351639880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351639824, 1351639932, 1351639982, 1351640103, 1351640046, 1351639880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44555974006653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:07:32.924086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/08/image_19042025_00_08_55_9399.jpg', '/home/pi/Desktop/images/19042025/00/08/image_19042025_00_09_05_10336.jpg', '/home/pi/Desktop/images/19042025/00/09/image_19042025_00_09_16_10419.jpg', '/home/pi/Desktop/images/19042025/00/09/image_19042025_00_09_25_9361.jpg', '/home/pi/Desktop/images/19042025/00/09/image_19042025_00_09_46_10359.jpg', '/home/pi/Desktop/images/19042025/00/09/image_19042025_00_09_55_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/08/image_19042025_00_08_55_9399.jpg
/home/pi/Desktop/images/19042025/00/08/image_19042025_00_09_05_10336.jpg
/home/pi/Desktop/images/19042025/00/09/image_19042025_00_09_16_10419.jpg
/home/pi/Desktop/images/19042025/00/09/image_19042025_00_09_25_9361.jpg
/home/pi/Desktop/images/19042025/00/09/image_19042025_00_09_46_10359.jpg
/home/pi/Desktop/images/19042025/00/09/image_19042025_00_09_55_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":["1351640618","1351640563","1351640479","1351640644","1351640532","1351640591"],"photo_ids_order":["1351640479","1351640532","1351640563","1351640591","1351640618","1351640644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee9f91a0cbc6d32d617ba6fc7410f4c9.jpg","text":"TemporaryFile(/tmp/multipartBody7557040376074042405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028513388,"filename":"image_19042025_00_09_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/19/42f3938f143245c0aaf79bec9cb26da4.jpg","text":"TemporaryFile(/tmp/multipartBody1313978575497826534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028513388,"filename":"image_19042025_00_09_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/19/ff5b4611e1c6a95fb0144e249dde6564.jpg","text":"TemporaryFile(/tmp/multipartBody4239217762294217753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028513388,"filename":"image_19042025_00_08_55_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95ea8bb201cdfa4e483dca91aae6b648.jpg","text":"TemporaryFile(/tmp/multipartBody7087792265852388704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028513388,"filename":"image_19042025_00_09_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/19/76d6071601a8664a031b86b9156b2014.jpg","text":"TemporaryFile(/tmp/multipartBody5933387094757120153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028513388,"filename":"image_19042025_00_09_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90aa810c971933f0db7400ae31cfb5b4.jpg","text":"TemporaryFile(/tmp/multipartBody8714673746679033307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028513388,"filename":"image_19042025_00_09_25_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351640563","file1":"1351640532","file0":"1351640479","file4":"1351640618","file5":"1351640644","file3":"1351640591"},"map_files_photo_id_array":[{"photo_id":"1351640644","filename":"file5"},{"photo_id":"1351640563","filename":"file2"},{"photo_id":"1351640618","filename":"file4"},{"photo_id":"1351640532","filename":"file1"},{"photo_id":"1351640479","filename":"file0"},{"photo_id":"1351640591","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351640618":["hashtag1","hashtag2"]},{"1351640563":["hashtag1","hashtag2"]},{"1351640479":["hashtag1","hashtag2"]},{"1351640644":["hashtag1","hashtag2"]},{"1351640532":["hashtag1","hashtag2"]},{"1351640591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351640618, 1351640563, 1351640479, 1351640644, 1351640532, 1351640591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.032411098480225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:08:33.104361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/09/image_19042025_00_10_05_10363.jpg', '/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_15_9393.jpg', '/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_25_10366.jpg', '/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_36_10375.jpg', '/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_45_9332.jpg', '/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_55_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/09/image_19042025_00_10_05_10363.jpg
/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_15_9393.jpg
/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_25_10366.jpg
/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_36_10375.jpg
/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_45_9332.jpg
/home/pi/Desktop/images/19042025/00/10/image_19042025_00_10_55_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":["1351641487","1351641436","1351641195","1351641228","1351641380","1351641278"],"photo_ids_order":["1351641195","1351641228","1351641278","1351641380","1351641436","1351641487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2a9ddfd5d59ff9af6257f95a6d286dc.jpg","text":"TemporaryFile(/tmp/multipartBody1307875771572777858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028573570,"filename":"image_19042025_00_10_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/19/73fb2349982564749f2eeb8063e52b28.jpg","text":"TemporaryFile(/tmp/multipartBody3496642924933631856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028573570,"filename":"image_19042025_00_10_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3cacea03a4735a9c712f9fd98b053a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8772080099849372998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028573570,"filename":"image_19042025_00_10_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/19/8025bde9cf6cae34dbdf77305df1a319.jpg","text":"TemporaryFile(/tmp/multipartBody1543885706579527381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028573570,"filename":"image_19042025_00_10_15_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/715cd7707ae31d1f13cb62f6e0c433c6.jpg","text":"TemporaryFile(/tmp/multipartBody3274785589028544173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028573570,"filename":"image_19042025_00_10_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/19/74c9c49e7a07c7d185a37667d89c1fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5761465018791782524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028573570,"filename":"image_19042025_00_10_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351641278","file1":"1351641228","file0":"1351641195","file4":"1351641436","file5":"1351641487","file3":"1351641380"},"map_files_photo_id_array":[{"photo_id":"1351641487","filename":"file5"},{"photo_id":"1351641278","filename":"file2"},{"photo_id":"1351641436","filename":"file4"},{"photo_id":"1351641228","filename":"file1"},{"photo_id":"1351641195","filename":"file0"},{"photo_id":"1351641380","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351641487":["hashtag1","hashtag2"]},{"1351641436":["hashtag1","hashtag2"]},{"1351641195":["hashtag1","hashtag2"]},{"1351641228":["hashtag1","hashtag2"]},{"1351641380":["hashtag1","hashtag2"]},{"1351641278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351641487, 1351641436, 1351641195, 1351641228, 1351641380, 1351641278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83955979347229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:09:32.312972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/10/image_19042025_00_11_06_10502.jpg', '/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_15_9353.jpg', '/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_25_10344.jpg', '/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_35_9433.jpg', '/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_45_10335.jpg', '/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_56_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/10/image_19042025_00_11_06_10502.jpg
/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_15_9353.jpg
/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_25_10344.jpg
/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_35_9433.jpg
/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_45_10335.jpg
/home/pi/Desktop/images/19042025/00/11/image_19042025_00_11_56_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351642036","1351641952","1351641901","1351642038","1351641984","1351642010"],"photo_ids_order":["1351641901","1351641952","1351641984","1351642010","1351642036","1351642038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7276e0508e90f163386b36bb16144ca5.jpg","text":"TemporaryFile(/tmp/multipartBody32959365911656952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028632786,"filename":"image_19042025_00_11_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/226351693311980ec885c3fc0492d933.jpg","text":"TemporaryFile(/tmp/multipartBody9222907958852731768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028632786,"filename":"image_19042025_00_11_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7be36d391c7c037b4367954e163c0a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4348160915859250434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028632786,"filename":"image_19042025_00_11_06_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/19/23b05baaf5235a80376feadabd95b3e1.jpg","text":"TemporaryFile(/tmp/multipartBody6503307638291002489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028632786,"filename":"image_19042025_00_11_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/19/40caadfe4761f7d30610dc325cb2ee21.jpg","text":"TemporaryFile(/tmp/multipartBody8872235889017450434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028632786,"filename":"image_19042025_00_11_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/19/deea1e670f487a3519b4011fa724bc50.jpg","text":"TemporaryFile(/tmp/multipartBody9132694008456555054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028632786,"filename":"image_19042025_00_11_35_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351641984","file1":"1351641952","file0":"1351641901","file4":"1351642036","file5":"1351642038","file3":"1351642010"},"map_files_photo_id_array":[{"photo_id":"1351642038","filename":"file5"},{"photo_id":"1351641984","filename":"file2"},{"photo_id":"1351642036","filename":"file4"},{"photo_id":"1351641952","filename":"file1"},{"photo_id":"1351641901","filename":"file0"},{"photo_id":"1351642010","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351642036":["hashtag1","hashtag2"]},{"1351641952":["hashtag1","hashtag2"]},{"1351641901":["hashtag1","hashtag2"]},{"1351642038":["hashtag1","hashtag2"]},{"1351641984":["hashtag1","hashtag2"]},{"1351642010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351642036, 1351641952, 1351641901, 1351642038, 1351641984, 1351642010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19504427909851 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:10:33.932427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/11/image_19042025_00_12_05_9392.jpg', '/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_15_10353.jpg', '/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_26_10349.jpg', '/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_35_9338.jpg', '/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_45_10358.jpg', '/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_55_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/11/image_19042025_00_12_05_9392.jpg
/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_15_10353.jpg
/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_26_10349.jpg
/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_35_9338.jpg
/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_45_10358.jpg
/home/pi/Desktop/images/19042025/00/12/image_19042025_00_12_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":["1351642182","1351642077","1351642179","1351642172","1351642175","1351642061"],"photo_ids_order":["1351642061","1351642077","1351642172","1351642175","1351642179","1351642182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1b96cb9f1ff8cd78a9ba5a28ad03da17.jpg","text":"TemporaryFile(/tmp/multipartBody6325563049060697344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028694396,"filename":"image_19042025_00_12_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/19/41d5f52ca2013f651e7a196c609b27e3.jpg","text":"TemporaryFile(/tmp/multipartBody4757036182081824260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028694396,"filename":"image_19042025_00_12_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/19/c8fe2ff9ce21fd8a25c1feda34cbb6db.jpg","text":"TemporaryFile(/tmp/multipartBody7356163284131247897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028694396,"filename":"image_19042025_00_12_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/19/978485843f71f8288f5867e87498a5a1.jpg","text":"TemporaryFile(/tmp/multipartBody533904888210084241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028694396,"filename":"image_19042025_00_12_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cf2460bc9f00e5eb8e7a49be63a0c29.jpg","text":"TemporaryFile(/tmp/multipartBody3270558911895698956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028694396,"filename":"image_19042025_00_12_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/19/b9ef2fe5706dc025af0cf3ae86c8af7f.jpg","text":"TemporaryFile(/tmp/multipartBody4351760979547582911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028694396,"filename":"image_19042025_00_12_05_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351642172","file1":"1351642077","file0":"1351642061","file4":"1351642179","file5":"1351642182","file3":"1351642175"},"map_files_photo_id_array":[{"photo_id":"1351642182","filename":"file5"},{"photo_id":"1351642172","filename":"file2"},{"photo_id":"1351642179","filename":"file4"},{"photo_id":"1351642077","filename":"file1"},{"photo_id":"1351642061","filename":"file0"},{"photo_id":"1351642175","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351642182":["hashtag1","hashtag2"]},{"1351642077":["hashtag1","hashtag2"]},{"1351642179":["hashtag1","hashtag2"]},{"1351642172":["hashtag1","hashtag2"]},{"1351642175":["hashtag1","hashtag2"]},{"1351642061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351642182, 1351642077, 1351642179, 1351642172, 1351642175, 1351642061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.820221185684204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:11:32.750213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/12/image_19042025_00_13_05_10350.jpg', '/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_16_10357.jpg', '/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_25_9458.jpg', '/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_35_10375.jpg', '/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_45_9438.jpg', '/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/12/image_19042025_00_13_05_10350.jpg
/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_16_10357.jpg
/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_25_9458.jpg
/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_35_10375.jpg
/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_45_9438.jpg
/home/pi/Desktop/images/19042025/00/13/image_19042025_00_13_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351643052","1351642942","1351643118","1351643177","1351643213","1351642999"],"photo_ids_order":["1351642942","1351642999","1351643052","1351643118","1351643177","1351643213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/edb6d37fe6748a9cb183914213d8f8a5.jpg","text":"TemporaryFile(/tmp/multipartBody9032210311408769333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028753209,"filename":"image_19042025_00_13_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/19/23042018766845320036300d5a3792e1.jpg","text":"TemporaryFile(/tmp/multipartBody1136692769006604283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028753209,"filename":"image_19042025_00_13_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/19/cfc30771d8927f9a21a18f02f10811df.jpg","text":"TemporaryFile(/tmp/multipartBody6244247675422594716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028753209,"filename":"image_19042025_00_13_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/19/f19f1df3de615c5e80593a16d2f5ffc7.jpg","text":"TemporaryFile(/tmp/multipartBody6189294406944154925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028753209,"filename":"image_19042025_00_13_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/19/a1c19d9b4d8f151e83bf7f3b226143ce.jpg","text":"TemporaryFile(/tmp/multipartBody348694533293108628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028753209,"filename":"image_19042025_00_13_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/19/a5971f567916ca93705ce7ab23ee15c4.jpg","text":"TemporaryFile(/tmp/multipartBody8392464802404267481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028753209,"filename":"image_19042025_00_13_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351643052","file1":"1351642999","file0":"1351642942","file4":"1351643177","file5":"1351643213","file3":"1351643118"},"map_files_photo_id_array":[{"photo_id":"1351643213","filename":"file5"},{"photo_id":"1351643052","filename":"file2"},{"photo_id":"1351643177","filename":"file4"},{"photo_id":"1351642999","filename":"file1"},{"photo_id":"1351642942","filename":"file0"},{"photo_id":"1351643118","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351643052":["hashtag1","hashtag2"]},{"1351642942":["hashtag1","hashtag2"]},{"1351643118":["hashtag1","hashtag2"]},{"1351643177":["hashtag1","hashtag2"]},{"1351643213":["hashtag1","hashtag2"]},{"1351642999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351643052, 1351642942, 1351643118, 1351643177, 1351643213, 1351642999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19413232803345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:12:32.962184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/13/image_19042025_00_14_06_10339.jpg', '/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_15_9338.jpg', '/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_25_10350.jpg', '/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_36_10380.jpg', '/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_45_9414.jpg', '/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_55_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/13/image_19042025_00_14_06_10339.jpg
/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_15_9338.jpg
/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_25_10350.jpg
/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_36_10380.jpg
/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_45_9414.jpg
/home/pi/Desktop/images/19042025/00/14/image_19042025_00_14_55_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351643679","1351643570","1351644493","1351644160","1351644262","1351644418"],"photo_ids_order":["1351643570","1351643679","1351644160","1351644262","1351644418","1351644493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32d160688644e74ec589f2f89e8f6924.jpg","text":"TemporaryFile(/tmp/multipartBody5664343662772928536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028813432,"filename":"image_19042025_00_14_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/19/fff08e9a2cd97d4b8c955066ac4cf755.jpg","text":"TemporaryFile(/tmp/multipartBody3683807692385208263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028813432,"filename":"image_19042025_00_14_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8300d11ad81a59b26ccd26a4f3cf1496.jpg","text":"TemporaryFile(/tmp/multipartBody6620593692963050362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028813432,"filename":"image_19042025_00_14_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/96ad308601d19c5183389f0e695a4d05.jpg","text":"TemporaryFile(/tmp/multipartBody7801790612260586868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028813432,"filename":"image_19042025_00_14_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b006b449e1e77888e3f235cfddde144a.jpg","text":"TemporaryFile(/tmp/multipartBody50748251840545230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028813432,"filename":"image_19042025_00_14_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/19/a5efe713bb7c62c206cdd971cb6e196c.jpg","text":"TemporaryFile(/tmp/multipartBody4274043804896910202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028813432,"filename":"image_19042025_00_14_45_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351644160","file1":"1351643679","file0":"1351643570","file4":"1351644418","file5":"1351644493","file3":"1351644262"},"map_files_photo_id_array":[{"photo_id":"1351644493","filename":"file5"},{"photo_id":"1351644160","filename":"file2"},{"photo_id":"1351644418","filename":"file4"},{"photo_id":"1351643679","filename":"file1"},{"photo_id":"1351643570","filename":"file0"},{"photo_id":"1351644262","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351643679":["hashtag1","hashtag2"]},{"1351643570":["hashtag1","hashtag2"]},{"1351644493":["hashtag1","hashtag2"]},{"1351644160":["hashtag1","hashtag2"]},{"1351644262":["hashtag1","hashtag2"]},{"1351644418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351643679, 1351643570, 1351644493, 1351644160, 1351644262, 1351644418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.054357051849365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:13:32.295380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/14/image_19042025_00_15_06_10407.jpg', '/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_15_9358.jpg', '/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_25_10342.jpg', '/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_35_9350.jpg', '/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_45_10349.jpg', '/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_56_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/14/image_19042025_00_15_06_10407.jpg
/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_15_9358.jpg
/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_25_10342.jpg
/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_35_9350.jpg
/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_45_10349.jpg
/home/pi/Desktop/images/19042025/00/15/image_19042025_00_15_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":["1351644612","1351644626","1351644620","1351644623","1351644617","1351644615"],"photo_ids_order":["1351644612","1351644615","1351644617","1351644620","1351644623","1351644626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/126d4f53386c84c5f48cdbffe31096fb.jpg","text":"TemporaryFile(/tmp/multipartBody7088521480687490651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028872755,"filename":"image_19042025_00_15_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/19/98703741ba0940276c6ef4714992ce38.jpg","text":"TemporaryFile(/tmp/multipartBody6517835022513034005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028872755,"filename":"image_19042025_00_15_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/19/4b2b4dcb308ea6ecf1f8047c2a151f24.jpg","text":"TemporaryFile(/tmp/multipartBody9216176838081457485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028872755,"filename":"image_19042025_00_15_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/19/b0ef886558095cc32104cd3aaaa181c4.jpg","text":"TemporaryFile(/tmp/multipartBody1550569612020602348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028872755,"filename":"image_19042025_00_15_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/19/65f839665a7a7247cb234edd8e48252c.jpg","text":"TemporaryFile(/tmp/multipartBody5036465511256645009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028872755,"filename":"image_19042025_00_15_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/19/a7c1f72bc6b83c674a4fccb08420f746.jpg","text":"TemporaryFile(/tmp/multipartBody6019073545215507932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028872755,"filename":"image_19042025_00_15_15_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351644617","file1":"1351644615","file0":"1351644612","file4":"1351644623","file5":"1351644626","file3":"1351644620"},"map_files_photo_id_array":[{"photo_id":"1351644626","filename":"file5"},{"photo_id":"1351644617","filename":"file2"},{"photo_id":"1351644623","filename":"file4"},{"photo_id":"1351644615","filename":"file1"},{"photo_id":"1351644612","filename":"file0"},{"photo_id":"1351644620","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351644612":["hashtag1","hashtag2"]},{"1351644626":["hashtag1","hashtag2"]},{"1351644620":["hashtag1","hashtag2"]},{"1351644623":["hashtag1","hashtag2"]},{"1351644617":["hashtag1","hashtag2"]},{"1351644615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351644612, 1351644626, 1351644620, 1351644623, 1351644617, 1351644615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.73117756843567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:14:32.373459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/15/image_19042025_00_16_05_9364.jpg', '/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_15_10349.jpg', '/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_26_10339.jpg', '/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_35_9359.jpg', '/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_45_10354.jpg', '/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_56_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/15/image_19042025_00_16_05_9364.jpg
/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_15_10349.jpg
/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_26_10339.jpg
/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_35_9359.jpg
/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_45_10354.jpg
/home/pi/Desktop/images/19042025/00/16/image_19042025_00_16_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":["1351644740","1351644716","1351644763","1351644652","1351644687","1351644657"],"photo_ids_order":["1351644652","1351644657","1351644687","1351644716","1351644740","1351644763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/43cd11b7e37907f0db245a770f3b652c.jpg","text":"TemporaryFile(/tmp/multipartBody2111628486892143295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028932836,"filename":"image_19042025_00_16_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/19/5659072fa458968753064451cf8fea2f.jpg","text":"TemporaryFile(/tmp/multipartBody1351810109157854881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028932836,"filename":"image_19042025_00_16_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/19/609eea16b56a86f1cdbe612ea2f792b1.jpg","text":"TemporaryFile(/tmp/multipartBody6094023135851522524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028932836,"filename":"image_19042025_00_16_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/19/65b7f4dad071f41e05aa9ee6947f467a.jpg","text":"TemporaryFile(/tmp/multipartBody3396578356815527663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028932836,"filename":"image_19042025_00_16_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/19/e75c54f47532531f9242a086cebdc260.jpg","text":"TemporaryFile(/tmp/multipartBody246199790146273225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028932836,"filename":"image_19042025_00_16_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99e403157f75a597f4930edb5078f402.jpg","text":"TemporaryFile(/tmp/multipartBody5093951901425823306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028932836,"filename":"image_19042025_00_16_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351644687","file1":"1351644657","file0":"1351644652","file4":"1351644740","file5":"1351644763","file3":"1351644716"},"map_files_photo_id_array":[{"photo_id":"1351644763","filename":"file5"},{"photo_id":"1351644687","filename":"file2"},{"photo_id":"1351644740","filename":"file4"},{"photo_id":"1351644657","filename":"file1"},{"photo_id":"1351644652","filename":"file0"},{"photo_id":"1351644716","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351644740":["hashtag1","hashtag2"]},{"1351644716":["hashtag1","hashtag2"]},{"1351644763":["hashtag1","hashtag2"]},{"1351644652":["hashtag1","hashtag2"]},{"1351644687":["hashtag1","hashtag2"]},{"1351644657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351644740, 1351644716, 1351644763, 1351644652, 1351644687, 1351644657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33700942993164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:15:32.536686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/16/image_19042025_00_17_05_9409.jpg', '/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_15_10343.jpg', '/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_25_9416.jpg', '/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_35_10421.jpg', '/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_46_10335.jpg', '/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_55_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/16/image_19042025_00_17_05_9409.jpg
/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_15_10343.jpg
/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_25_9416.jpg
/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_35_10421.jpg
/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_46_10335.jpg
/home/pi/Desktop/images/19042025/00/17/image_19042025_00_17_55_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351645399","1351645319","1351645395","1351645408","1351645402","1351645404"],"photo_ids_order":["1351645319","1351645395","1351645399","1351645402","1351645404","1351645408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d00bc092b8543104e8a7b9f1e123697d.jpg","text":"TemporaryFile(/tmp/multipartBody7931745363383982965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028993003,"filename":"image_19042025_00_17_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/19/1c05cc5493c2ca814e36c1e6c88bd15f.jpg","text":"TemporaryFile(/tmp/multipartBody8966100105842525170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028993003,"filename":"image_19042025_00_17_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/19/3a56468c1750a4f31d75220f50a08ce4.jpg","text":"TemporaryFile(/tmp/multipartBody6993656716106376311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028993003,"filename":"image_19042025_00_17_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3dca49d30fe8ede02c7a42278f10a3fb.jpg","text":"TemporaryFile(/tmp/multipartBody5878107018376365833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028993003,"filename":"image_19042025_00_17_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/19/efadf2fdb40799240e4e3715e02b6aef.jpg","text":"TemporaryFile(/tmp/multipartBody651279483058892419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028993003,"filename":"image_19042025_00_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/19/3d07bc1c125dd7a044c458900ed5d494.jpg","text":"TemporaryFile(/tmp/multipartBody5207857848894419943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745028993003,"filename":"image_19042025_00_17_46_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351645399","file1":"1351645395","file0":"1351645319","file4":"1351645404","file5":"1351645408","file3":"1351645402"},"map_files_photo_id_array":[{"photo_id":"1351645408","filename":"file5"},{"photo_id":"1351645399","filename":"file2"},{"photo_id":"1351645404","filename":"file4"},{"photo_id":"1351645395","filename":"file1"},{"photo_id":"1351645319","filename":"file0"},{"photo_id":"1351645402","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351645399":["hashtag1","hashtag2"]},{"1351645319":["hashtag1","hashtag2"]},{"1351645395":["hashtag1","hashtag2"]},{"1351645408":["hashtag1","hashtag2"]},{"1351645402":["hashtag1","hashtag2"]},{"1351645404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351645399, 1351645319, 1351645395, 1351645408, 1351645402, 1351645404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08271813392639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:16:32.910786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/18/image_19042025_00_18_16_10394.jpg', '/home/pi/Desktop/images/19042025/00/18/image_19042025_00_18_25_9331.jpg', '/home/pi/Desktop/images/19042025/00/18/image_19042025_00_18_45_9353.jpg', '/home/pi/Desktop/images/19042025/00/18/image_19042025_00_19_05_10021.jpg', '/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_16_10339.jpg', '/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_25_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/18/image_19042025_00_18_16_10394.jpg
/home/pi/Desktop/images/19042025/00/18/image_19042025_00_18_25_9331.jpg
/home/pi/Desktop/images/19042025/00/18/image_19042025_00_18_45_9353.jpg
/home/pi/Desktop/images/19042025/00/18/image_19042025_00_19_05_10021.jpg
/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_16_10339.jpg
/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_25_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":["1351645781","1351645826","1351645755","1351645790","1351645784","1351645787"],"photo_ids_order":["1351645755","1351645781","1351645784","1351645787","1351645790","1351645826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cec4701e56fcab097b04f04393ca8fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1854514470783056896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029053389,"filename":"image_19042025_00_18_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a3a982a78f54c7e38253bef1e8ba2e11.jpg","text":"TemporaryFile(/tmp/multipartBody5407921030904025734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029053389,"filename":"image_19042025_00_19_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de7aced2aebf27425d2c609ee2be3c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8423121216203888891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029053389,"filename":"image_19042025_00_18_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b341fcd71722209c04673e1c87c95da.jpg","text":"TemporaryFile(/tmp/multipartBody6054353862825977898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029053389,"filename":"image_19042025_00_19_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/19/c51af210e099f29e702846c201ddf4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5533875038915727614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029053389,"filename":"image_19042025_00_18_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/19/0acb085f7818f88fdda9cf1c721d0d2a.jpg","text":"TemporaryFile(/tmp/multipartBody8033485832979764150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029053389,"filename":"image_19042025_00_19_05_10021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351645784","file1":"1351645781","file0":"1351645755","file4":"1351645790","file5":"1351645826","file3":"1351645787"},"map_files_photo_id_array":[{"photo_id":"1351645826","filename":"file5"},{"photo_id":"1351645784","filename":"file2"},{"photo_id":"1351645790","filename":"file4"},{"photo_id":"1351645781","filename":"file1"},{"photo_id":"1351645755","filename":"file0"},{"photo_id":"1351645787","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351645781":["hashtag1","hashtag2"]},{"1351645826":["hashtag1","hashtag2"]},{"1351645755":["hashtag1","hashtag2"]},{"1351645790":["hashtag1","hashtag2"]},{"1351645784":["hashtag1","hashtag2"]},{"1351645787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351645781, 1351645826, 1351645755, 1351645790, 1351645784, 1351645787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.614211082458496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:17:33.176618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_35_10579.jpg', '/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_45_9449.jpg', '/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_55_10371.jpg', '/home/pi/Desktop/images/19042025/00/19/image_19042025_00_20_06_10349.jpg', '/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_15_9387.jpg', '/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_25_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_35_10579.jpg
/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_45_9449.jpg
/home/pi/Desktop/images/19042025/00/19/image_19042025_00_19_55_10371.jpg
/home/pi/Desktop/images/19042025/00/19/image_19042025_00_20_06_10349.jpg
/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_15_9387.jpg
/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_25_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351646207","1351646293","1351646233","1351646265","1351646247","1351646291"],"photo_ids_order":["1351646207","1351646233","1351646247","1351646265","1351646291","1351646293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ffe2e13741b1952b076467076411cfd6.jpg","text":"TemporaryFile(/tmp/multipartBody8794913880554571824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029113635,"filename":"image_19042025_00_19_35_10579.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d42d9d2eae58b1ed8a595e3f48576fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3768505912919317825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029113635,"filename":"image_19042025_00_20_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/19/bb6f338d46a0a0bb71964eaec2608ac8.jpg","text":"TemporaryFile(/tmp/multipartBody226538009607186364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029113635,"filename":"image_19042025_00_19_45_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f41e336aee42eac3a44a37cbc89426f7.jpg","text":"TemporaryFile(/tmp/multipartBody8357623398663423661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029113635,"filename":"image_19042025_00_20_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/19/836941b7ee351905f934462bcef64040.jpg","text":"TemporaryFile(/tmp/multipartBody8513959784014368565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029113635,"filename":"image_19042025_00_19_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a111eb2206349904bf22dffd8e2fce1c.jpg","text":"TemporaryFile(/tmp/multipartBody6122642059977303392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029113635,"filename":"image_19042025_00_20_15_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351646247","file1":"1351646233","file0":"1351646207","file4":"1351646291","file5":"1351646293","file3":"1351646265"},"map_files_photo_id_array":[{"photo_id":"1351646293","filename":"file5"},{"photo_id":"1351646247","filename":"file2"},{"photo_id":"1351646291","filename":"file4"},{"photo_id":"1351646233","filename":"file1"},{"photo_id":"1351646207","filename":"file0"},{"photo_id":"1351646265","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351646207":["hashtag1","hashtag2"]},{"1351646293":["hashtag1","hashtag2"]},{"1351646233":["hashtag1","hashtag2"]},{"1351646265":["hashtag1","hashtag2"]},{"1351646247":["hashtag1","hashtag2"]},{"1351646291":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351646207, 1351646293, 1351646233, 1351646265, 1351646247, 1351646291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.340458393096924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:18:32.328398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_35_9433.jpg', '/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_45_10426.jpg', '/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_56_10375.jpg', '/home/pi/Desktop/images/19042025/00/20/image_19042025_00_21_05_9431.jpg', '/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_15_10340.jpg', '/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_26_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_35_9433.jpg
/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_45_10426.jpg
/home/pi/Desktop/images/19042025/00/20/image_19042025_00_20_56_10375.jpg
/home/pi/Desktop/images/19042025/00/20/image_19042025_00_21_05_9431.jpg
/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_15_10340.jpg
/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_26_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351647046","1351646932","1351646850","1351647009","1351646901","1351646730"],"photo_ids_order":["1351646730","1351646850","1351646901","1351646932","1351647009","1351647046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/40b091cbf0ae51b5586a4d02193c4673.jpg","text":"TemporaryFile(/tmp/multipartBody2782069042595744055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029172790,"filename":"image_19042025_00_21_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/19/492509a5673da3787ef37e28ad5714e4.jpg","text":"TemporaryFile(/tmp/multipartBody4023693669925121648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029172790,"filename":"image_19042025_00_21_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c23c443d18bc6f5c8e699b0e81bf6289.jpg","text":"TemporaryFile(/tmp/multipartBody6013961483017411469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029172790,"filename":"image_19042025_00_20_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/19/411cffe41e7ec91354092aacadb2ead0.jpg","text":"TemporaryFile(/tmp/multipartBody2349993550966023235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029172790,"filename":"image_19042025_00_21_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/19/921f9d4e385429d7c57324199080793a.jpg","text":"TemporaryFile(/tmp/multipartBody1112452354660591816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029172790,"filename":"image_19042025_00_20_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd7e8e62816cca127197307aaaff6c40.jpg","text":"TemporaryFile(/tmp/multipartBody3415500485734360326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029172790,"filename":"image_19042025_00_20_35_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351646901","file1":"1351646850","file0":"1351646730","file4":"1351647009","file5":"1351647046","file3":"1351646932"},"map_files_photo_id_array":[{"photo_id":"1351647046","filename":"file5"},{"photo_id":"1351646901","filename":"file2"},{"photo_id":"1351647009","filename":"file4"},{"photo_id":"1351646850","filename":"file1"},{"photo_id":"1351646730","filename":"file0"},{"photo_id":"1351646932","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351647046":["hashtag1","hashtag2"]},{"1351646932":["hashtag1","hashtag2"]},{"1351646850":["hashtag1","hashtag2"]},{"1351647009":["hashtag1","hashtag2"]},{"1351646901":["hashtag1","hashtag2"]},{"1351646730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351647046, 1351646932, 1351646850, 1351647009, 1351646901, 1351646730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.591959953308105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:19:32.662390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_35_9441.jpg', '/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_46_10337.jpg', '/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_55_9356.jpg', '/home/pi/Desktop/images/19042025/00/21/image_19042025_00_22_05_10409.jpg', '/home/pi/Desktop/images/19042025/00/22/image_19042025_00_22_25_9351.jpg', '/home/pi/Desktop/images/19042025/00/22/image_19042025_00_23_06_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_35_9441.jpg
/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_46_10337.jpg
/home/pi/Desktop/images/19042025/00/21/image_19042025_00_21_55_9356.jpg
/home/pi/Desktop/images/19042025/00/21/image_19042025_00_22_05_10409.jpg
/home/pi/Desktop/images/19042025/00/22/image_19042025_00_22_25_9351.jpg
/home/pi/Desktop/images/19042025/00/22/image_19042025_00_23_06_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":["1351647385","1351647576","1351647459","1351647513","1351647548","1351647425"],"photo_ids_order":["1351647385","1351647425","1351647459","1351647513","1351647548","1351647576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6b7db90f293f4b3d66b857f5e9aa74df.jpg","text":"TemporaryFile(/tmp/multipartBody2356690445726418323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029233125,"filename":"image_19042025_00_21_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/19/d70a8dcdcececcfb7a5e76709fedeb38.jpg","text":"TemporaryFile(/tmp/multipartBody2024579686887939519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029233125,"filename":"image_19042025_00_23_06_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95ce06e65dbed664db466e16e4c02ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6368361144855265421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029233125,"filename":"image_19042025_00_21_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/19/9cd011df1a4c7bb8052893581505dec5.jpg","text":"TemporaryFile(/tmp/multipartBody2536816786706720128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029233125,"filename":"image_19042025_00_22_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/19/8d616c2da8f817aac10fc99f862d0a64.jpg","text":"TemporaryFile(/tmp/multipartBody1282455392631224216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029233125,"filename":"image_19042025_00_22_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c39ccaf99f1ff62cb9bc80ac9c2f04d9.jpg","text":"TemporaryFile(/tmp/multipartBody3995835084330803582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029233125,"filename":"image_19042025_00_21_46_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351647459","file1":"1351647425","file0":"1351647385","file4":"1351647548","file5":"1351647576","file3":"1351647513"},"map_files_photo_id_array":[{"photo_id":"1351647576","filename":"file5"},{"photo_id":"1351647459","filename":"file2"},{"photo_id":"1351647548","filename":"file4"},{"photo_id":"1351647425","filename":"file1"},{"photo_id":"1351647385","filename":"file0"},{"photo_id":"1351647513","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351647385":["hashtag1","hashtag2"]},{"1351647576":["hashtag1","hashtag2"]},{"1351647459":["hashtag1","hashtag2"]},{"1351647513":["hashtag1","hashtag2"]},{"1351647548":["hashtag1","hashtag2"]},{"1351647425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351647385, 1351647576, 1351647459, 1351647513, 1351647548, 1351647425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.635313749313354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:20:32.730981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/23/image_19042025_00_23_45_10350.jpg', '/home/pi/Desktop/images/19042025/00/23/image_19042025_00_23_56_10365.jpg', '/home/pi/Desktop/images/19042025/00/23/image_19042025_00_24_05_9387.jpg', '/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_15_10342.jpg', '/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_26_10343.jpg', '/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_35_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/23/image_19042025_00_23_45_10350.jpg
/home/pi/Desktop/images/19042025/00/23/image_19042025_00_23_56_10365.jpg
/home/pi/Desktop/images/19042025/00/23/image_19042025_00_24_05_9387.jpg
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_15_10342.jpg
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_26_10343.jpg
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_35_9448.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5143864154815674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 04:20:42.712640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/23/image_19042025_00_23_45_10350.jpg', '/home/pi/Desktop/images/19042025/00/23/image_19042025_00_23_56_10365.jpg', '/home/pi/Desktop/images/19042025/00/23/image_19042025_00_24_05_9387.jpg', '/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_15_10342.jpg', '/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_26_10343.jpg', '/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_35_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/23/image_19042025_00_23_45_10350.jpg
/home/pi/Desktop/images/19042025/00/23/image_19042025_00_23_56_10365.jpg
/home/pi/Desktop/images/19042025/00/23/image_19042025_00_24_05_9387.jpg
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_15_10342.jpg
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_26_10343.jpg
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_35_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351647973","1351647937","1351647873","1351647845","1351647911","1351647827"],"photo_ids_order":["1351647827","1351647845","1351647873","1351647911","1351647937","1351647973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b45de9c2528302e171c13cfe2fecc74b.jpg","text":"TemporaryFile(/tmp/multipartBody4956034876066303861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029303179,"filename":"image_19042025_00_24_35_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d41f89ea17e92efd38b6abaf8e33a7ed.jpg","text":"TemporaryFile(/tmp/multipartBody3108220385635908026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029303179,"filename":"image_19042025_00_24_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/19/e80389ce88fcbd1484e2af0effa2e24f.jpg","text":"TemporaryFile(/tmp/multipartBody1700901216966297738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029303179,"filename":"image_19042025_00_24_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/19/2ceae01bcdd115aa4e971ae622d6a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody7774015213030230692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029303179,"filename":"image_19042025_00_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/19/7a023b3961c8dc58eaae8e1ad9d9b2fa.jpg","text":"TemporaryFile(/tmp/multipartBody1460125789833400178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029303179,"filename":"image_19042025_00_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/19/2995170b11ca008e28a955e4a47ac7c0.jpg","text":"TemporaryFile(/tmp/multipartBody3081661559056126260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029303179,"filename":"image_19042025_00_23_45_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351647873","file1":"1351647845","file0":"1351647827","file4":"1351647937","file5":"1351647973","file3":"1351647911"},"map_files_photo_id_array":[{"photo_id":"1351647973","filename":"file5"},{"photo_id":"1351647873","filename":"file2"},{"photo_id":"1351647937","filename":"file4"},{"photo_id":"1351647845","filename":"file1"},{"photo_id":"1351647827","filename":"file0"},{"photo_id":"1351647911","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351647973":["hashtag1","hashtag2"]},{"1351647937":["hashtag1","hashtag2"]},{"1351647873":["hashtag1","hashtag2"]},{"1351647845":["hashtag1","hashtag2"]},{"1351647911":["hashtag1","hashtag2"]},{"1351647827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351647973, 1351647937, 1351647873, 1351647845, 1351647911, 1351647827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.397918462753296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:21:32.967583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_45_10339.jpg', '/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_55_9387.jpg', '/home/pi/Desktop/images/19042025/00/24/image_19042025_00_25_05_10354.jpg', '/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_16_10358.jpg', '/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_25_9324.jpg', '/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_35_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_45_10339.jpg
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_24_55_9387.jpg
/home/pi/Desktop/images/19042025/00/24/image_19042025_00_25_05_10354.jpg
/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_16_10358.jpg
/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_25_9324.jpg
/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_35_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":["1351649133","1351648662","1351649177","1351649149","1351649056","1351648465"],"photo_ids_order":["1351648465","1351648662","1351649056","1351649133","1351649149","1351649177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ea48f44a181470304eca5a22e8912ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2846321114332304310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029353434,"filename":"image_19042025_00_25_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/19/2cf02e0609576b9f7607082d2925adf3.jpg","text":"TemporaryFile(/tmp/multipartBody3044136667278724940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029353434,"filename":"image_19042025_00_24_55_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/19/8277cb04304812005ea6bdb6ecb947f5.jpg","text":"TemporaryFile(/tmp/multipartBody47689693280210541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029353434,"filename":"image_19042025_00_25_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/19/b1aa6ca6a4c966492a23631597537e60.jpg","text":"TemporaryFile(/tmp/multipartBody3433710281678203751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029353434,"filename":"image_19042025_00_25_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/19/baab6024cf0cf59d2d423a730ce1baf8.jpg","text":"TemporaryFile(/tmp/multipartBody6024650294924117814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029353434,"filename":"image_19042025_00_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/19/d0258f724d5f5b4628da974ff78a3ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3599566997269269897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029353434,"filename":"image_19042025_00_24_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351649056","file1":"1351648662","file0":"1351648465","file4":"1351649149","file5":"1351649177","file3":"1351649133"},"map_files_photo_id_array":[{"photo_id":"1351649177","filename":"file5"},{"photo_id":"1351649056","filename":"file2"},{"photo_id":"1351649149","filename":"file4"},{"photo_id":"1351648662","filename":"file1"},{"photo_id":"1351648465","filename":"file0"},{"photo_id":"1351649133","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351649133":["hashtag1","hashtag2"]},{"1351648662":["hashtag1","hashtag2"]},{"1351649177":["hashtag1","hashtag2"]},{"1351649149":["hashtag1","hashtag2"]},{"1351649056":["hashtag1","hashtag2"]},{"1351648465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351649133, 1351648662, 1351649177, 1351649149, 1351649056, 1351648465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85095453262329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:22:32.179914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_46_10347.jpg', '/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_55_9441.jpg', '/home/pi/Desktop/images/19042025/00/25/image_19042025_00_26_05_10384.jpg', '/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_15_9403.jpg', '/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_25_10337.jpg', '/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_46_10347.jpg
/home/pi/Desktop/images/19042025/00/25/image_19042025_00_25_55_9441.jpg
/home/pi/Desktop/images/19042025/00/25/image_19042025_00_26_05_10384.jpg
/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_15_9403.jpg
/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_25_10337.jpg
/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_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":["1351649603","1351649581","1351649551","1351649449","1351649499","1351649404"],"photo_ids_order":["1351649404","1351649449","1351649499","1351649551","1351649581","1351649603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86d463300ee2404d8caadde309170c35.jpg","text":"TemporaryFile(/tmp/multipartBody8268598388819657030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029412648,"filename":"image_19042025_00_26_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/19/43092b7b2bdc00ccca8e9f9e7d6b9303.jpg","text":"TemporaryFile(/tmp/multipartBody9114759311086952737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029412648,"filename":"image_19042025_00_26_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3875962fa4a3f753733c404a9c7a39bf.jpg","text":"TemporaryFile(/tmp/multipartBody4377486204406753706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029412648,"filename":"image_19042025_00_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/19/e90cbfd9758ce84874e3f95f2b18a0e6.jpg","text":"TemporaryFile(/tmp/multipartBody6110212656281525930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029412648,"filename":"image_19042025_00_25_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/19/3e2d48535174f1b16045e81e3a195eda.jpg","text":"TemporaryFile(/tmp/multipartBody2674835875584355169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029412648,"filename":"image_19042025_00_26_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/19/a469b759c6edd1c3cda22016f42c5fcb.jpg","text":"TemporaryFile(/tmp/multipartBody6356190211596922973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029412648,"filename":"image_19042025_00_25_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351649499","file1":"1351649449","file0":"1351649404","file4":"1351649581","file5":"1351649603","file3":"1351649551"},"map_files_photo_id_array":[{"photo_id":"1351649603","filename":"file5"},{"photo_id":"1351649499","filename":"file2"},{"photo_id":"1351649581","filename":"file4"},{"photo_id":"1351649449","filename":"file1"},{"photo_id":"1351649404","filename":"file0"},{"photo_id":"1351649551","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351649603":["hashtag1","hashtag2"]},{"1351649581":["hashtag1","hashtag2"]},{"1351649551":["hashtag1","hashtag2"]},{"1351649449":["hashtag1","hashtag2"]},{"1351649499":["hashtag1","hashtag2"]},{"1351649404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351649603, 1351649581, 1351649551, 1351649449, 1351649499, 1351649404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94196820259094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:23:32.337519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_45_9372.jpg', '/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_55_10336.jpg', '/home/pi/Desktop/images/19042025/00/26/image_19042025_00_27_06_10363.jpg', '/home/pi/Desktop/images/19042025/00/27/image_19042025_00_27_15_9348.jpg', '/home/pi/Desktop/images/19042025/00/27/image_19042025_00_27_25_10440.jpg', '/home/pi/Desktop/images/19042025/00/27/image_19042025_00_27_35_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_45_9372.jpg
/home/pi/Desktop/images/19042025/00/26/image_19042025_00_26_55_10336.jpg
/home/pi/Desktop/images/19042025/00/26/image_19042025_00_27_06_10363.jpg
/home/pi/Desktop/images/19042025/00/27/image_19042025_00_27_15_9348.jpg
/home/pi/Desktop/images/19042025/00/27/image_19042025_00_27_25_10440.jpg
/home/pi/Desktop/images/19042025/00/27/image_19042025_00_27_35_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":["1351650270","1351649811","1351649933","1351650143","1351649866","1351649752"],"photo_ids_order":["1351649752","1351649811","1351649866","1351649933","1351650143","1351650270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/104f85ad4bf92ef4e2596a0d820704bd.jpg","text":"TemporaryFile(/tmp/multipartBody1370909617441055899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029472839,"filename":"image_19042025_00_27_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/19/1327a55130fe68cce1e8cc83a81243e8.jpg","text":"TemporaryFile(/tmp/multipartBody736724172155515098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029472839,"filename":"image_19042025_00_26_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/19/41e9ba87b4804a738f2057223e6be325.jpg","text":"TemporaryFile(/tmp/multipartBody456100901585309683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029472839,"filename":"image_19042025_00_27_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/19/a6cb7a3e4e808feda8fcdf4e714c7d25.jpg","text":"TemporaryFile(/tmp/multipartBody7412906284685425082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029472839,"filename":"image_19042025_00_27_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/19/318cb72ef32ca9b60458a6424bcaf7cc.jpg","text":"TemporaryFile(/tmp/multipartBody7413519809311578729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029472839,"filename":"image_19042025_00_27_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/19/8b8c9d795700689d423db725620d33d3.jpg","text":"TemporaryFile(/tmp/multipartBody7434895541060918464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029472839,"filename":"image_19042025_00_26_45_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351649866","file1":"1351649811","file0":"1351649752","file4":"1351650143","file5":"1351650270","file3":"1351649933"},"map_files_photo_id_array":[{"photo_id":"1351650270","filename":"file5"},{"photo_id":"1351649866","filename":"file2"},{"photo_id":"1351650143","filename":"file4"},{"photo_id":"1351649811","filename":"file1"},{"photo_id":"1351649752","filename":"file0"},{"photo_id":"1351649933","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351650270":["hashtag1","hashtag2"]},{"1351649811":["hashtag1","hashtag2"]},{"1351649933":["hashtag1","hashtag2"]},{"1351650143":["hashtag1","hashtag2"]},{"1351649866":["hashtag1","hashtag2"]},{"1351649752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351650270, 1351649811, 1351649933, 1351650143, 1351649866, 1351649752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.865819215774536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:24:32.727261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/27/image_19042025_00_27_45_10363.jpg', '/home/pi/Desktop/images/19042025/00/27/image_19042025_00_28_05_9437.jpg', '/home/pi/Desktop/images/19042025/00/28/image_19042025_00_28_15_10385.jpg', '/home/pi/Desktop/images/19042025/00/28/image_19042025_00_28_55_9357.jpg', '/home/pi/Desktop/images/19042025/00/29/image_19042025_00_29_16_10404.jpg', '/home/pi/Desktop/images/19042025/00/29/image_19042025_00_29_35_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/27/image_19042025_00_27_45_10363.jpg
/home/pi/Desktop/images/19042025/00/27/image_19042025_00_28_05_9437.jpg
/home/pi/Desktop/images/19042025/00/28/image_19042025_00_28_15_10385.jpg
/home/pi/Desktop/images/19042025/00/28/image_19042025_00_28_55_9357.jpg
/home/pi/Desktop/images/19042025/00/29/image_19042025_00_29_16_10404.jpg
/home/pi/Desktop/images/19042025/00/29/image_19042025_00_29_35_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351650858","1351650765","1351650657","1351650869","1351650716","1351650605"],"photo_ids_order":["1351650605","1351650657","1351650716","1351650765","1351650858","1351650869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24e956e1dd57b6f0abe11a7fedafad10.jpg","text":"TemporaryFile(/tmp/multipartBody3520973016897088020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029533217,"filename":"image_19042025_00_29_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3c9c651a4363bbfecd1fd3220f373ea5.jpg","text":"TemporaryFile(/tmp/multipartBody5839199685784930870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029533217,"filename":"image_19042025_00_28_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/19/e094f7c884bef93409450b4dc1442441.jpg","text":"TemporaryFile(/tmp/multipartBody9004056910041345748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029533217,"filename":"image_19042025_00_28_05_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da00a1254fe2aa22d1c46d4b06742219.jpg","text":"TemporaryFile(/tmp/multipartBody3272894553688878495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029533217,"filename":"image_19042025_00_29_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc29e2117106c01fba0d8bb6889b412d.jpg","text":"TemporaryFile(/tmp/multipartBody277379951818845837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029533217,"filename":"image_19042025_00_28_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/19/d8d492b64009911fd7363f92e5a95c89.jpg","text":"TemporaryFile(/tmp/multipartBody3769366033586849939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029533217,"filename":"image_19042025_00_27_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351650716","file1":"1351650657","file0":"1351650605","file4":"1351650858","file5":"1351650869","file3":"1351650765"},"map_files_photo_id_array":[{"photo_id":"1351650869","filename":"file5"},{"photo_id":"1351650716","filename":"file2"},{"photo_id":"1351650858","filename":"file4"},{"photo_id":"1351650657","filename":"file1"},{"photo_id":"1351650605","filename":"file0"},{"photo_id":"1351650765","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351650858":["hashtag1","hashtag2"]},{"1351650765":["hashtag1","hashtag2"]},{"1351650657":["hashtag1","hashtag2"]},{"1351650869":["hashtag1","hashtag2"]},{"1351650716":["hashtag1","hashtag2"]},{"1351650605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351650858, 1351650765, 1351650657, 1351650869, 1351650716, 1351650605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51560401916504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:25:32.991545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/29/image_19042025_00_29_45_9396.jpg', '/home/pi/Desktop/images/19042025/00/29/image_19042025_00_29_55_10392.jpg', '/home/pi/Desktop/images/19042025/00/29/image_19042025_00_30_06_10354.jpg', '/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_15_9405.jpg', '/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_25_10436.jpg', '/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_35_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/29/image_19042025_00_29_45_9396.jpg
/home/pi/Desktop/images/19042025/00/29/image_19042025_00_29_55_10392.jpg
/home/pi/Desktop/images/19042025/00/29/image_19042025_00_30_06_10354.jpg
/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_15_9405.jpg
/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_25_10436.jpg
/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_35_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351651548","1351651407","1351651364","1351651265","1351651514","1351651575"],"photo_ids_order":["1351651265","1351651364","1351651407","1351651514","1351651548","1351651575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e4b727adc6aa14e7d236afcf4fe423a.jpg","text":"TemporaryFile(/tmp/multipartBody1065510926089606665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029593456,"filename":"image_19042025_00_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/19/42d93d7f7224cd70dc714ef401eeeee0.jpg","text":"TemporaryFile(/tmp/multipartBody6260493556458209164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029593456,"filename":"image_19042025_00_30_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c530e845d1f20961aa6504c169017b46.jpg","text":"TemporaryFile(/tmp/multipartBody5925493308344830983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029593456,"filename":"image_19042025_00_29_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/19/c808e3aca50d63d4712e7a2cf4b073ff.jpg","text":"TemporaryFile(/tmp/multipartBody4921063783019901762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029593456,"filename":"image_19042025_00_29_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/19/01cc6d4337631e26e3b6aeb828f1ec17.jpg","text":"TemporaryFile(/tmp/multipartBody1969678874086069266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029593456,"filename":"image_19042025_00_30_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2797da7974fcb4037d995f936e93c2e6.jpg","text":"TemporaryFile(/tmp/multipartBody1550760605376293092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029593456,"filename":"image_19042025_00_30_35_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351651407","file1":"1351651364","file0":"1351651265","file4":"1351651548","file5":"1351651575","file3":"1351651514"},"map_files_photo_id_array":[{"photo_id":"1351651575","filename":"file5"},{"photo_id":"1351651407","filename":"file2"},{"photo_id":"1351651548","filename":"file4"},{"photo_id":"1351651364","filename":"file1"},{"photo_id":"1351651265","filename":"file0"},{"photo_id":"1351651514","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351651548":["hashtag1","hashtag2"]},{"1351651407":["hashtag1","hashtag2"]},{"1351651364":["hashtag1","hashtag2"]},{"1351651265":["hashtag1","hashtag2"]},{"1351651514":["hashtag1","hashtag2"]},{"1351651575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351651548, 1351651407, 1351651364, 1351651265, 1351651514, 1351651575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85659384727478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:26:32.229370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_45_10359.jpg', '/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_56_10365.jpg', '/home/pi/Desktop/images/19042025/00/30/image_19042025_00_31_05_9433.jpg', '/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_15_10375.jpg', '/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_25_9401.jpg', '/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_45_10359.jpg
/home/pi/Desktop/images/19042025/00/30/image_19042025_00_30_56_10365.jpg
/home/pi/Desktop/images/19042025/00/30/image_19042025_00_31_05_9433.jpg
/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_15_10375.jpg
/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_25_9401.jpg
/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_35_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":["1351652174","1351652296","1351652083","1351652323","1351652200","1351652142"],"photo_ids_order":["1351652083","1351652142","1351652174","1351652200","1351652296","1351652323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b25b8513d58e8112562f986cbb75fc35.jpg","text":"TemporaryFile(/tmp/multipartBody7112575112491970960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029652707,"filename":"image_19042025_00_31_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/19/32413af3062f7d4fb553e1b12ceabc62.jpg","text":"TemporaryFile(/tmp/multipartBody3853410877494752029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029652707,"filename":"image_19042025_00_31_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/72a23bfec65e698f310b47f1a8a3409c.jpg","text":"TemporaryFile(/tmp/multipartBody4727498027202630253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029652707,"filename":"image_19042025_00_30_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/19/111b08dfd657c35d9b2720f83f3f7109.jpg","text":"TemporaryFile(/tmp/multipartBody7568883012814818089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029652707,"filename":"image_19042025_00_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/19/b3a4d33f4d842c57f40912b71333cf79.jpg","text":"TemporaryFile(/tmp/multipartBody1335861107746795193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029652707,"filename":"image_19042025_00_31_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f2eb597a8f310ba1a9bc1158b458448d.jpg","text":"TemporaryFile(/tmp/multipartBody7399522827691502762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029652707,"filename":"image_19042025_00_30_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351652174","file1":"1351652142","file0":"1351652083","file4":"1351652296","file5":"1351652323","file3":"1351652200"},"map_files_photo_id_array":[{"photo_id":"1351652323","filename":"file5"},{"photo_id":"1351652174","filename":"file2"},{"photo_id":"1351652296","filename":"file4"},{"photo_id":"1351652142","filename":"file1"},{"photo_id":"1351652083","filename":"file0"},{"photo_id":"1351652200","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351652174":["hashtag1","hashtag2"]},{"1351652296":["hashtag1","hashtag2"]},{"1351652083":["hashtag1","hashtag2"]},{"1351652323":["hashtag1","hashtag2"]},{"1351652200":["hashtag1","hashtag2"]},{"1351652142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351652174, 1351652296, 1351652083, 1351652323, 1351652200, 1351652142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.889108419418335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:27:32.458138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_46_10405.jpg', '/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_55_9428.jpg', '/home/pi/Desktop/images/19042025/00/32/image_19042025_00_32_36_10358.jpg', '/home/pi/Desktop/images/19042025/00/32/image_19042025_00_32_45_9412.jpg', '/home/pi/Desktop/images/19042025/00/32/image_19042025_00_32_55_10339.jpg', '/home/pi/Desktop/images/19042025/00/32/image_19042025_00_33_06_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_46_10405.jpg
/home/pi/Desktop/images/19042025/00/31/image_19042025_00_31_55_9428.jpg
/home/pi/Desktop/images/19042025/00/32/image_19042025_00_32_36_10358.jpg
/home/pi/Desktop/images/19042025/00/32/image_19042025_00_32_45_9412.jpg
/home/pi/Desktop/images/19042025/00/32/image_19042025_00_32_55_10339.jpg
/home/pi/Desktop/images/19042025/00/32/image_19042025_00_33_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":["1351652684","1351652744","1351652534","1351652773","1351652560","1351652637"],"photo_ids_order":["1351652534","1351652560","1351652637","1351652684","1351652744","1351652773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc462867fa692c334866a1ed8b172486.jpg","text":"TemporaryFile(/tmp/multipartBody1300663485928374072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029712928,"filename":"image_19042025_00_32_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/19/8ffee1308f3823bc10aed57bfd872797.jpg","text":"TemporaryFile(/tmp/multipartBody1448636531622350211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029712928,"filename":"image_19042025_00_32_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/19/6bd8efc101481971e9ebe93b5155031e.jpg","text":"TemporaryFile(/tmp/multipartBody2374321118129688295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029712928,"filename":"image_19042025_00_31_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/19/0537b6d620bde7822c27c6a5680d643a.jpg","text":"TemporaryFile(/tmp/multipartBody2277176232761575085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029712928,"filename":"image_19042025_00_33_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/19/449310126106f08b2d69dff5219734e4.jpg","text":"TemporaryFile(/tmp/multipartBody7642249485163134988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029712928,"filename":"image_19042025_00_31_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98539adb9b593391b0a4a73288bbaced.jpg","text":"TemporaryFile(/tmp/multipartBody6824786650274852126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029712928,"filename":"image_19042025_00_32_36_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351652637","file1":"1351652560","file0":"1351652534","file4":"1351652744","file5":"1351652773","file3":"1351652684"},"map_files_photo_id_array":[{"photo_id":"1351652773","filename":"file5"},{"photo_id":"1351652637","filename":"file2"},{"photo_id":"1351652744","filename":"file4"},{"photo_id":"1351652560","filename":"file1"},{"photo_id":"1351652534","filename":"file0"},{"photo_id":"1351652684","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351652684":["hashtag1","hashtag2"]},{"1351652744":["hashtag1","hashtag2"]},{"1351652534":["hashtag1","hashtag2"]},{"1351652773":["hashtag1","hashtag2"]},{"1351652560":["hashtag1","hashtag2"]},{"1351652637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351652684, 1351652744, 1351652534, 1351652773, 1351652560, 1351652637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.82345747947693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:28:32.780123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/33/image_19042025_00_33_15_9353.jpg', '/home/pi/Desktop/images/19042025/00/33/image_19042025_00_33_25_10337.jpg', '/home/pi/Desktop/images/19042025/00/33/image_19042025_00_33_35_9433.jpg', '/home/pi/Desktop/images/19042025/00/33/image_19042025_00_33_45_10413.jpg', '/home/pi/Desktop/images/19042025/00/33/image_19042025_00_34_05_9381.jpg', '/home/pi/Desktop/images/19042025/00/34/image_19042025_00_34_35_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/33/image_19042025_00_33_15_9353.jpg
/home/pi/Desktop/images/19042025/00/33/image_19042025_00_33_25_10337.jpg
/home/pi/Desktop/images/19042025/00/33/image_19042025_00_33_35_9433.jpg
/home/pi/Desktop/images/19042025/00/33/image_19042025_00_33_45_10413.jpg
/home/pi/Desktop/images/19042025/00/33/image_19042025_00_34_05_9381.jpg
/home/pi/Desktop/images/19042025/00/34/image_19042025_00_34_35_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":["1351653161","1351653055","1351653189","1351653096","1351653123","1351653003"],"photo_ids_order":["1351653003","1351653055","1351653096","1351653123","1351653161","1351653189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d53457de8bba80bec663633b1bede4f9.jpg","text":"TemporaryFile(/tmp/multipartBody4415384173664870265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029773248,"filename":"image_19042025_00_34_05_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e7c06b04149b5843daa93b5844ba02de.jpg","text":"TemporaryFile(/tmp/multipartBody363062236220619092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029773248,"filename":"image_19042025_00_33_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/246b383a3c7e8afe47b3388787478d4a.jpg","text":"TemporaryFile(/tmp/multipartBody7131739774372112432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029773248,"filename":"image_19042025_00_34_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/464015ed42edb58c490a64d6c2e71b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7377691339618612741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029773248,"filename":"image_19042025_00_33_35_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c77f1f0ae739c491d3ec139bf3b4b986.jpg","text":"TemporaryFile(/tmp/multipartBody925355099919423748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029773248,"filename":"image_19042025_00_33_45_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7050f190a9a3083c0a226ce0931cfa92.jpg","text":"TemporaryFile(/tmp/multipartBody5166353917638195727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029773248,"filename":"image_19042025_00_33_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351653096","file1":"1351653055","file0":"1351653003","file4":"1351653161","file5":"1351653189","file3":"1351653123"},"map_files_photo_id_array":[{"photo_id":"1351653189","filename":"file5"},{"photo_id":"1351653096","filename":"file2"},{"photo_id":"1351653161","filename":"file4"},{"photo_id":"1351653055","filename":"file1"},{"photo_id":"1351653003","filename":"file0"},{"photo_id":"1351653123","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351653161":["hashtag1","hashtag2"]},{"1351653055":["hashtag1","hashtag2"]},{"1351653189":["hashtag1","hashtag2"]},{"1351653096":["hashtag1","hashtag2"]},{"1351653123":["hashtag1","hashtag2"]},{"1351653003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351653161, 1351653055, 1351653189, 1351653096, 1351653123, 1351653003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.964366912841797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:29:33.028443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/34/image_19042025_00_34_45_10362.jpg', '/home/pi/Desktop/images/19042025/00/34/image_19042025_00_34_55_9450.jpg', '/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_16_10445.jpg', '/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_25_9361.jpg', '/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_35_10367.jpg', '/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_45_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/34/image_19042025_00_34_45_10362.jpg
/home/pi/Desktop/images/19042025/00/34/image_19042025_00_34_55_9450.jpg
/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_16_10445.jpg
/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_25_9361.jpg
/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_35_10367.jpg
/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_45_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":["1351653238","1351653232","1351653235","1351653229","1351653240","1351653225"],"photo_ids_order":["1351653225","1351653229","1351653232","1351653235","1351653238","1351653240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f448f9f50b016353d1a22f6d1e31995.jpg","text":"TemporaryFile(/tmp/multipartBody183944796138729815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029833502,"filename":"image_19042025_00_35_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/19/b75421968f35ddfbc66085621f9f331d.jpg","text":"TemporaryFile(/tmp/multipartBody7865408355704187045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029833502,"filename":"image_19042025_00_35_16_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/938669219fa54479699fc7c91c9879ec.jpg","text":"TemporaryFile(/tmp/multipartBody4342592689135869202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029833502,"filename":"image_19042025_00_35_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/19/aede7d2e30505c45f2827be3562700f5.jpg","text":"TemporaryFile(/tmp/multipartBody5357458982014742001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029833502,"filename":"image_19042025_00_34_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/19/4931a8590561ed79637dd03788c7e4b3.jpg","text":"TemporaryFile(/tmp/multipartBody7350435661698952075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029833502,"filename":"image_19042025_00_35_45_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5a84ffc5d9c12f45883c940473319553.jpg","text":"TemporaryFile(/tmp/multipartBody8832499155629163985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029833502,"filename":"image_19042025_00_34_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351653232","file1":"1351653229","file0":"1351653225","file4":"1351653238","file5":"1351653240","file3":"1351653235"},"map_files_photo_id_array":[{"photo_id":"1351653240","filename":"file5"},{"photo_id":"1351653232","filename":"file2"},{"photo_id":"1351653238","filename":"file4"},{"photo_id":"1351653229","filename":"file1"},{"photo_id":"1351653225","filename":"file0"},{"photo_id":"1351653235","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351653238":["hashtag1","hashtag2"]},{"1351653232":["hashtag1","hashtag2"]},{"1351653235":["hashtag1","hashtag2"]},{"1351653229":["hashtag1","hashtag2"]},{"1351653240":["hashtag1","hashtag2"]},{"1351653225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351653238, 1351653232, 1351653235, 1351653229, 1351653240, 1351653225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90063500404358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:30:32.174395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_55_10350.jpg', '/home/pi/Desktop/images/19042025/00/35/image_19042025_00_36_06_10361.jpg', '/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_15_9418.jpg', '/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_25_10366.jpg', '/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_36_10359.jpg', '/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_45_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/35/image_19042025_00_35_55_10350.jpg
/home/pi/Desktop/images/19042025/00/35/image_19042025_00_36_06_10361.jpg
/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_15_9418.jpg
/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_25_10366.jpg
/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_36_10359.jpg
/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_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":["1351654010","1351653929","1351653982","1351653955","1351654080","1351654046"],"photo_ids_order":["1351653929","1351653955","1351653982","1351654010","1351654046","1351654080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e414f8270dedf5200aaffc331c445507.jpg","text":"TemporaryFile(/tmp/multipartBody2786525493544830260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029892640,"filename":"image_19042025_00_36_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/19/827d6f50d074724fa2e30337d3b27796.jpg","text":"TemporaryFile(/tmp/multipartBody4505628778558832071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029892640,"filename":"image_19042025_00_35_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/818ba850fb4032d73b7b61d22a573118.jpg","text":"TemporaryFile(/tmp/multipartBody664073718934732924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029892640,"filename":"image_19042025_00_36_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/19/771ff89bd84be230d599fd05975489df.jpg","text":"TemporaryFile(/tmp/multipartBody3103809376994606385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029892640,"filename":"image_19042025_00_36_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/19/af41a88a8460143c499d781b7a040033.jpg","text":"TemporaryFile(/tmp/multipartBody9139761722817605438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029892640,"filename":"image_19042025_00_36_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/19/bf2322c3f9cef50d8856351e52ed13e0.jpg","text":"TemporaryFile(/tmp/multipartBody2784541631593394672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029892640,"filename":"image_19042025_00_36_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351653982","file1":"1351653955","file0":"1351653929","file4":"1351654046","file5":"1351654080","file3":"1351654010"},"map_files_photo_id_array":[{"photo_id":"1351654080","filename":"file5"},{"photo_id":"1351653982","filename":"file2"},{"photo_id":"1351654046","filename":"file4"},{"photo_id":"1351653955","filename":"file1"},{"photo_id":"1351653929","filename":"file0"},{"photo_id":"1351654010","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351654010":["hashtag1","hashtag2"]},{"1351653929":["hashtag1","hashtag2"]},{"1351653982":["hashtag1","hashtag2"]},{"1351653955":["hashtag1","hashtag2"]},{"1351654080":["hashtag1","hashtag2"]},{"1351654046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351654010, 1351653929, 1351653982, 1351653955, 1351654080, 1351654046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52315282821655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:31:32.435063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_55_10405.jpg', '/home/pi/Desktop/images/19042025/00/36/image_19042025_00_37_05_9401.jpg', '/home/pi/Desktop/images/19042025/00/37/image_19042025_00_37_15_10347.jpg', '/home/pi/Desktop/images/19042025/00/37/image_19042025_00_37_26_10379.jpg', '/home/pi/Desktop/images/19042025/00/37/image_19042025_00_37_35_9410.jpg', '/home/pi/Desktop/images/19042025/00/37/image_19042025_00_37_56_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/36/image_19042025_00_36_55_10405.jpg
/home/pi/Desktop/images/19042025/00/36/image_19042025_00_37_05_9401.jpg
/home/pi/Desktop/images/19042025/00/37/image_19042025_00_37_15_10347.jpg
/home/pi/Desktop/images/19042025/00/37/image_19042025_00_37_26_10379.jpg
/home/pi/Desktop/images/19042025/00/37/image_19042025_00_37_35_9410.jpg
/home/pi/Desktop/images/19042025/00/37/image_19042025_00_37_56_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351654774","1351654555","1351654441","1351654707","1351654487","1351654619"],"photo_ids_order":["1351654441","1351654487","1351654555","1351654619","1351654707","1351654774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf7b3240a23389ee147a0a505f74379f.jpg","text":"TemporaryFile(/tmp/multipartBody8064714385283907072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029952979,"filename":"image_19042025_00_37_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/19/b86031049c13f7a855348b6b97d1c072.jpg","text":"TemporaryFile(/tmp/multipartBody7744844139724767384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029952979,"filename":"image_19042025_00_37_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e1a338fc6b73288db5aad52201dbac6d.jpg","text":"TemporaryFile(/tmp/multipartBody4546788285566274412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029952979,"filename":"image_19042025_00_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/19/8b6f6d038253ae34fb2dc3ada1c4d4d5.jpg","text":"TemporaryFile(/tmp/multipartBody7037576066581317673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029952979,"filename":"image_19042025_00_37_35_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/69eff6d691337274deb174787f6aa348.jpg","text":"TemporaryFile(/tmp/multipartBody7272538413069014333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029952979,"filename":"image_19042025_00_37_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc78771b5e95cc3ad393b802466e6fb6.jpg","text":"TemporaryFile(/tmp/multipartBody8496308654392302639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745029952979,"filename":"image_19042025_00_37_26_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351654555","file1":"1351654487","file0":"1351654441","file4":"1351654707","file5":"1351654774","file3":"1351654619"},"map_files_photo_id_array":[{"photo_id":"1351654774","filename":"file5"},{"photo_id":"1351654555","filename":"file2"},{"photo_id":"1351654707","filename":"file4"},{"photo_id":"1351654487","filename":"file1"},{"photo_id":"1351654441","filename":"file0"},{"photo_id":"1351654619","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351654774":["hashtag1","hashtag2"]},{"1351654555":["hashtag1","hashtag2"]},{"1351654441":["hashtag1","hashtag2"]},{"1351654707":["hashtag1","hashtag2"]},{"1351654487":["hashtag1","hashtag2"]},{"1351654619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351654774, 1351654555, 1351654441, 1351654707, 1351654487, 1351654619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.929693937301636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:32:32.701206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/37/image_19042025_00_38_05_9429.jpg', '/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_15_10367.jpg', '/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_25_9465.jpg', '/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_35_10363.jpg', '/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_46_10347.jpg', '/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_55_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/37/image_19042025_00_38_05_9429.jpg
/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_15_10367.jpg
/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_25_9465.jpg
/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_35_10363.jpg
/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_46_10347.jpg
/home/pi/Desktop/images/19042025/00/38/image_19042025_00_38_55_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351655754","1351655619","1351655963","1351656206","1351656082","1351655702"],"photo_ids_order":["1351655619","1351655702","1351655754","1351655963","1351656082","1351656206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/149f11af41754d7a976bed7e4a885672.jpg","text":"TemporaryFile(/tmp/multipartBody6617800729799802440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030013233,"filename":"image_19042025_00_38_25_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86a76ac9c9d1838f61d9be6c0af29bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7902986067324993208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030013233,"filename":"image_19042025_00_38_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/19/04318475484e7d82283da7de13510f22.jpg","text":"TemporaryFile(/tmp/multipartBody8002953867135241858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030013233,"filename":"image_19042025_00_38_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/50ec2a702c21d029fd267c164ac3748a.jpg","text":"TemporaryFile(/tmp/multipartBody1496220421279221833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030013233,"filename":"image_19042025_00_38_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/19/b0808b213a19ed3b2f65096959f91667.jpg","text":"TemporaryFile(/tmp/multipartBody6922675084718801122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030013233,"filename":"image_19042025_00_38_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/19/cd62313d36a20de746827d7b67d13171.jpg","text":"TemporaryFile(/tmp/multipartBody5479648185255431133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030013233,"filename":"image_19042025_00_38_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351655754","file1":"1351655702","file0":"1351655619","file4":"1351656082","file5":"1351656206","file3":"1351655963"},"map_files_photo_id_array":[{"photo_id":"1351656206","filename":"file5"},{"photo_id":"1351655754","filename":"file2"},{"photo_id":"1351656082","filename":"file4"},{"photo_id":"1351655702","filename":"file1"},{"photo_id":"1351655619","filename":"file0"},{"photo_id":"1351655963","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351655754":["hashtag1","hashtag2"]},{"1351655619":["hashtag1","hashtag2"]},{"1351655963":["hashtag1","hashtag2"]},{"1351656206":["hashtag1","hashtag2"]},{"1351656082":["hashtag1","hashtag2"]},{"1351655702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351655754, 1351655619, 1351655963, 1351656206, 1351656082, 1351655702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.29899716377258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:33:32.931236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/38/image_19042025_00_39_05_10385.jpg', '/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_15_9442.jpg', '/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_25_10344.jpg', '/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_36_10351.jpg', '/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_45_9372.jpg', '/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_55_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/38/image_19042025_00_39_05_10385.jpg
/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_15_9442.jpg
/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_25_10344.jpg
/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_36_10351.jpg
/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_45_9372.jpg
/home/pi/Desktop/images/19042025/00/39/image_19042025_00_39_55_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351657368","1351657020","1351657181","1351656938","1351657108","1351657284"],"photo_ids_order":["1351656938","1351657020","1351657108","1351657181","1351657284","1351657368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/931c3bfaa8b38bb7c0a92796e56e7d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3216882469140547414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030073486,"filename":"image_19042025_00_39_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/19/b99a34f08977ef8e1cece672b07b5073.jpg","text":"TemporaryFile(/tmp/multipartBody6936733763449628730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030073486,"filename":"image_19042025_00_39_15_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e2f11b908739744e07d0438f429ae4b.jpg","text":"TemporaryFile(/tmp/multipartBody7917655776373031540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030073486,"filename":"image_19042025_00_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/19/48980747ff4fb77c94dc2fbd768506a3.jpg","text":"TemporaryFile(/tmp/multipartBody5565970118579981637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030073486,"filename":"image_19042025_00_39_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/19/5fd438ad50cc262f0eadc34ff335d61d.jpg","text":"TemporaryFile(/tmp/multipartBody1105794522690505677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030073486,"filename":"image_19042025_00_39_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/19/9661d73521d547a7f10bb4c2dfe6f905.jpg","text":"TemporaryFile(/tmp/multipartBody7778380703733945054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030073486,"filename":"image_19042025_00_39_45_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351657108","file1":"1351657020","file0":"1351656938","file4":"1351657284","file5":"1351657368","file3":"1351657181"},"map_files_photo_id_array":[{"photo_id":"1351657368","filename":"file5"},{"photo_id":"1351657108","filename":"file2"},{"photo_id":"1351657284","filename":"file4"},{"photo_id":"1351657020","filename":"file1"},{"photo_id":"1351656938","filename":"file0"},{"photo_id":"1351657181","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351657368":["hashtag1","hashtag2"]},{"1351657020":["hashtag1","hashtag2"]},{"1351657181":["hashtag1","hashtag2"]},{"1351656938":["hashtag1","hashtag2"]},{"1351657108":["hashtag1","hashtag2"]},{"1351657284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351657368, 1351657020, 1351657181, 1351656938, 1351657108, 1351657284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40447282791138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:34:32.135485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_15_9452.jpg', '/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_26_10416.jpg', '/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_35_9409.jpg', '/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_45_10341.jpg', '/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_55_9406.jpg', '/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_16_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_15_9452.jpg
/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_26_10416.jpg
/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_35_9409.jpg
/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_45_10341.jpg
/home/pi/Desktop/images/19042025/00/40/image_19042025_00_40_55_9406.jpg
/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_16_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":["1351657997","1351658296","1351658227","1351658271","1351658112","1351658198"],"photo_ids_order":["1351657997","1351658112","1351658198","1351658227","1351658271","1351658296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15047ef1688ea15208607320046a93c9.jpg","text":"TemporaryFile(/tmp/multipartBody3487626754512580119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030132686,"filename":"image_19042025_00_40_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/19/281feb0b0762434290bd7cd170cdb51c.jpg","text":"TemporaryFile(/tmp/multipartBody8379225991889628989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030132686,"filename":"image_19042025_00_41_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a61517f7b0aa684d0409c469f1ffd25.jpg","text":"TemporaryFile(/tmp/multipartBody1410764077846690080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030132686,"filename":"image_19042025_00_40_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/747eb136d114e8b4b1e019fea414e2b3.jpg","text":"TemporaryFile(/tmp/multipartBody3879350417768043333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030132686,"filename":"image_19042025_00_40_55_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/987d876bcf02e8a1560ed20faaeaacbd.jpg","text":"TemporaryFile(/tmp/multipartBody1478984608371624124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030132686,"filename":"image_19042025_00_40_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/19/d6e7c9448ae74f6bc05a4945e417ddad.jpg","text":"TemporaryFile(/tmp/multipartBody7761162311749246153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030132686,"filename":"image_19042025_00_40_35_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351658198","file1":"1351658112","file0":"1351657997","file4":"1351658271","file5":"1351658296","file3":"1351658227"},"map_files_photo_id_array":[{"photo_id":"1351658296","filename":"file5"},{"photo_id":"1351658198","filename":"file2"},{"photo_id":"1351658271","filename":"file4"},{"photo_id":"1351658112","filename":"file1"},{"photo_id":"1351657997","filename":"file0"},{"photo_id":"1351658227","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351657997":["hashtag1","hashtag2"]},{"1351658296":["hashtag1","hashtag2"]},{"1351658227":["hashtag1","hashtag2"]},{"1351658271":["hashtag1","hashtag2"]},{"1351658112":["hashtag1","hashtag2"]},{"1351658198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351657997, 1351658296, 1351658227, 1351658271, 1351658112, 1351658198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7125825881958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:35:32.281602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_25_9362.jpg', '/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_35_10456.jpg', '/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_45_9447.jpg', '/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_55_10458.jpg', '/home/pi/Desktop/images/19042025/00/41/image_19042025_00_42_06_10352.jpg', '/home/pi/Desktop/images/19042025/00/42/image_19042025_00_42_15_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_25_9362.jpg
/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_35_10456.jpg
/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_45_9447.jpg
/home/pi/Desktop/images/19042025/00/41/image_19042025_00_41_55_10458.jpg
/home/pi/Desktop/images/19042025/00/41/image_19042025_00_42_06_10352.jpg
/home/pi/Desktop/images/19042025/00/42/image_19042025_00_42_15_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351658831","1351659079","1351658720","1351658779","1351659006","1351658891"],"photo_ids_order":["1351658720","1351658779","1351658831","1351658891","1351659006","1351659079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e3a9e9c335b5a285968076c2d27d90d9.jpg","text":"TemporaryFile(/tmp/multipartBody5056027252148337867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030192832,"filename":"image_19042025_00_41_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/07d1edf993f0f88d5d7506df03c25acc.jpg","text":"TemporaryFile(/tmp/multipartBody4709070151103625970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030192832,"filename":"image_19042025_00_42_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/19/57c87800c1a01f3b3ec0b661b2981b55.jpg","text":"TemporaryFile(/tmp/multipartBody863520305933142457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030192832,"filename":"image_19042025_00_41_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/19/02170ab4a7e8a363f7cd1fda9696edc4.jpg","text":"TemporaryFile(/tmp/multipartBody4066937660672596343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030192832,"filename":"image_19042025_00_41_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/19/f101dbd0187b4c96472fe8c660299411.jpg","text":"TemporaryFile(/tmp/multipartBody4063506206928874703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030192832,"filename":"image_19042025_00_42_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0fa5670a87f6c06db9a3f45dce93e5ac.jpg","text":"TemporaryFile(/tmp/multipartBody3305387775269093010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030192832,"filename":"image_19042025_00_41_55_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351658831","file1":"1351658779","file0":"1351658720","file4":"1351659006","file5":"1351659079","file3":"1351658891"},"map_files_photo_id_array":[{"photo_id":"1351659079","filename":"file5"},{"photo_id":"1351658831","filename":"file2"},{"photo_id":"1351659006","filename":"file4"},{"photo_id":"1351658779","filename":"file1"},{"photo_id":"1351658720","filename":"file0"},{"photo_id":"1351658891","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351658831":["hashtag1","hashtag2"]},{"1351659079":["hashtag1","hashtag2"]},{"1351658720":["hashtag1","hashtag2"]},{"1351658779":["hashtag1","hashtag2"]},{"1351659006":["hashtag1","hashtag2"]},{"1351658891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351658831, 1351659079, 1351658720, 1351658779, 1351659006, 1351658891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.093214988708496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:36:32.476522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/42/image_19042025_00_42_25_10337.jpg', '/home/pi/Desktop/images/19042025/00/42/image_19042025_00_42_35_9470.jpg', '/home/pi/Desktop/images/19042025/00/42/image_19042025_00_42_56_10347.jpg', '/home/pi/Desktop/images/19042025/00/42/image_19042025_00_43_05_9352.jpg', '/home/pi/Desktop/images/19042025/00/43/image_19042025_00_43_15_10354.jpg', '/home/pi/Desktop/images/19042025/00/43/image_19042025_00_43_35_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/42/image_19042025_00_42_25_10337.jpg
/home/pi/Desktop/images/19042025/00/42/image_19042025_00_42_35_9470.jpg
/home/pi/Desktop/images/19042025/00/42/image_19042025_00_42_56_10347.jpg
/home/pi/Desktop/images/19042025/00/42/image_19042025_00_43_05_9352.jpg
/home/pi/Desktop/images/19042025/00/43/image_19042025_00_43_15_10354.jpg
/home/pi/Desktop/images/19042025/00/43/image_19042025_00_43_35_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":["1351660028","1351659925","1351660180","1351659820","1351660278","1351659761"],"photo_ids_order":["1351659761","1351659820","1351659925","1351660028","1351660180","1351660278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bdf916a4da258c42526b189e8ec3d783.jpg","text":"TemporaryFile(/tmp/multipartBody505523201824717179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030253037,"filename":"image_19042025_00_43_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/19/20857c67a96ba3fa158cea6967ada586.jpg","text":"TemporaryFile(/tmp/multipartBody3042830320022330195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030253037,"filename":"image_19042025_00_42_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/19/f4540eaf4aa22a48b52f91443141f17a.jpg","text":"TemporaryFile(/tmp/multipartBody473995252345930209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030253037,"filename":"image_19042025_00_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/19/98a8234fad400818ad2f9b9ccd159ead.jpg","text":"TemporaryFile(/tmp/multipartBody8558785815144194779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030253037,"filename":"image_19042025_00_42_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/19/a312c22b6fa09f23df8e9c66fc033474.jpg","text":"TemporaryFile(/tmp/multipartBody792788809205545530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030253037,"filename":"image_19042025_00_43_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/19/13b2cf1d785b83c1b0ed88003432bb1d.jpg","text":"TemporaryFile(/tmp/multipartBody8073625416850024236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030253037,"filename":"image_19042025_00_42_25_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659925","file1":"1351659820","file0":"1351659761","file4":"1351660180","file5":"1351660278","file3":"1351660028"},"map_files_photo_id_array":[{"photo_id":"1351660278","filename":"file5"},{"photo_id":"1351659925","filename":"file2"},{"photo_id":"1351660180","filename":"file4"},{"photo_id":"1351659820","filename":"file1"},{"photo_id":"1351659761","filename":"file0"},{"photo_id":"1351660028","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351660028":["hashtag1","hashtag2"]},{"1351659925":["hashtag1","hashtag2"]},{"1351660180":["hashtag1","hashtag2"]},{"1351659820":["hashtag1","hashtag2"]},{"1351660278":["hashtag1","hashtag2"]},{"1351659761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351660028, 1351659925, 1351660180, 1351659820, 1351660278, 1351659761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24314022064209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:37:32.673499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/43/image_19042025_00_43_45_10451.jpg', '/home/pi/Desktop/images/19042025/00/44/image_19042025_00_44_25_9348.jpg', '/home/pi/Desktop/images/19042025/00/44/image_19042025_00_44_35_10367.jpg', '/home/pi/Desktop/images/19042025/00/44/image_19042025_00_44_46_10336.jpg', '/home/pi/Desktop/images/19042025/00/45/image_19042025_00_45_15_9459.jpg', '/home/pi/Desktop/images/19042025/00/45/image_19042025_00_45_45_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/43/image_19042025_00_43_45_10451.jpg
/home/pi/Desktop/images/19042025/00/44/image_19042025_00_44_25_9348.jpg
/home/pi/Desktop/images/19042025/00/44/image_19042025_00_44_35_10367.jpg
/home/pi/Desktop/images/19042025/00/44/image_19042025_00_44_46_10336.jpg
/home/pi/Desktop/images/19042025/00/45/image_19042025_00_45_15_9459.jpg
/home/pi/Desktop/images/19042025/00/45/image_19042025_00_45_45_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351661281","1351661250","1351661151","1351661313","1351661220","1351661183"],"photo_ids_order":["1351661151","1351661183","1351661220","1351661250","1351661281","1351661313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ff364e773a320a4a4b757cf095a88633.jpg","text":"TemporaryFile(/tmp/multipartBody1275274468279182114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030313207,"filename":"image_19042025_00_45_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/19/9823a80ee9da6048f39b25f5705b2700.jpg","text":"TemporaryFile(/tmp/multipartBody5796308275579047652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030313207,"filename":"image_19042025_00_44_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/82bb195de3f885d2b82173ae126b09b4.jpg","text":"TemporaryFile(/tmp/multipartBody3267906313323470204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030313207,"filename":"image_19042025_00_43_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb4d00b78deba311161cd03f651465f7.jpg","text":"TemporaryFile(/tmp/multipartBody3324281829126708564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030313207,"filename":"image_19042025_00_45_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/19/ea7f75daa43ddca3c5a38f699cc2d4e2.jpg","text":"TemporaryFile(/tmp/multipartBody5033285996861759193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030313207,"filename":"image_19042025_00_44_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/19/111d57478649cc5d7fde68ac5a5e5951.jpg","text":"TemporaryFile(/tmp/multipartBody4786261753412469711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030313207,"filename":"image_19042025_00_44_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351661220","file1":"1351661183","file0":"1351661151","file4":"1351661281","file5":"1351661313","file3":"1351661250"},"map_files_photo_id_array":[{"photo_id":"1351661313","filename":"file5"},{"photo_id":"1351661220","filename":"file2"},{"photo_id":"1351661281","filename":"file4"},{"photo_id":"1351661183","filename":"file1"},{"photo_id":"1351661151","filename":"file0"},{"photo_id":"1351661250","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351661281":["hashtag1","hashtag2"]},{"1351661250":["hashtag1","hashtag2"]},{"1351661151":["hashtag1","hashtag2"]},{"1351661313":["hashtag1","hashtag2"]},{"1351661220":["hashtag1","hashtag2"]},{"1351661183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351661281, 1351661250, 1351661151, 1351661313, 1351661220, 1351661183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37022423744202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:38:32.980204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/45/image_19042025_00_45_55_10342.jpg', '/home/pi/Desktop/images/19042025/00/45/image_19042025_00_46_06_10451.jpg', '/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_15_9328.jpg', '/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_25_10334.jpg', '/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_35_9379.jpg', '/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_45_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/45/image_19042025_00_45_55_10342.jpg
/home/pi/Desktop/images/19042025/00/45/image_19042025_00_46_06_10451.jpg
/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_15_9328.jpg
/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_25_10334.jpg
/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_35_9379.jpg
/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_45_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351662553","1351662582","1351662462","1351662009","1351662527","1351662499"],"photo_ids_order":["1351662009","1351662462","1351662499","1351662527","1351662553","1351662582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f1b7e8cbfa2677abeaa44b10fde80ce6.jpg","text":"TemporaryFile(/tmp/multipartBody3861805198150446215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030373520,"filename":"image_19042025_00_46_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c14a469e3f4aee94b4ab8edf2072358.jpg","text":"TemporaryFile(/tmp/multipartBody624199058912344929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030373520,"filename":"image_19042025_00_46_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/19/cd2fdcf6b44e98b5823187674b5ce088.jpg","text":"TemporaryFile(/tmp/multipartBody5813289598180818733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030373520,"filename":"image_19042025_00_46_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/19/23e60858cb66bc344c062d00548e6c96.jpg","text":"TemporaryFile(/tmp/multipartBody1027571841991227896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030373520,"filename":"image_19042025_00_45_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/19/0c763e9c18d2c5ea69e39c31f610da4f.jpg","text":"TemporaryFile(/tmp/multipartBody7682386243368734489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030373520,"filename":"image_19042025_00_46_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/06ef0b9c64fc0bc343007cd2383498a8.jpg","text":"TemporaryFile(/tmp/multipartBody8885866434218473976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030373520,"filename":"image_19042025_00_46_15_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351662499","file1":"1351662462","file0":"1351662009","file4":"1351662553","file5":"1351662582","file3":"1351662527"},"map_files_photo_id_array":[{"photo_id":"1351662582","filename":"file5"},{"photo_id":"1351662499","filename":"file2"},{"photo_id":"1351662553","filename":"file4"},{"photo_id":"1351662462","filename":"file1"},{"photo_id":"1351662009","filename":"file0"},{"photo_id":"1351662527","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351662553":["hashtag1","hashtag2"]},{"1351662582":["hashtag1","hashtag2"]},{"1351662462":["hashtag1","hashtag2"]},{"1351662009":["hashtag1","hashtag2"]},{"1351662527":["hashtag1","hashtag2"]},{"1351662499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351662553, 1351662582, 1351662462, 1351662009, 1351662527, 1351662499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.75673508644104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:39:32.244030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_56_10335.jpg', '/home/pi/Desktop/images/19042025/00/46/image_19042025_00_47_05_9426.jpg', '/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_15_10377.jpg', '/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_25_9403.jpg', '/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_35_10381.jpg', '/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_46_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/46/image_19042025_00_46_56_10335.jpg
/home/pi/Desktop/images/19042025/00/46/image_19042025_00_47_05_9426.jpg
/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_15_10377.jpg
/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_25_9403.jpg
/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_35_10381.jpg
/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_46_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351662787","1351662841","1351662829","1351662817","1351662831","1351662828"],"photo_ids_order":["1351662787","1351662817","1351662828","1351662829","1351662831","1351662841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/054c3f2732fb2277e954c55b70ebc6d0.jpg","text":"TemporaryFile(/tmp/multipartBody5964489112425803944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030432806,"filename":"image_19042025_00_46_56_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56cc23539a937fed5c4399124859755d.jpg","text":"TemporaryFile(/tmp/multipartBody4257916044884480528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030432806,"filename":"image_19042025_00_47_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/19/85c4bbfb74eb0759018c852880832365.jpg","text":"TemporaryFile(/tmp/multipartBody3757104155492407585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030432806,"filename":"image_19042025_00_47_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/19/9d0f21d90c1919c3560d734b1efcf239.jpg","text":"TemporaryFile(/tmp/multipartBody2374104804813181154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030432806,"filename":"image_19042025_00_47_05_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/44d498d1d4e534256ba9af9e0d4ff07e.jpg","text":"TemporaryFile(/tmp/multipartBody3166361974838829355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030432806,"filename":"image_19042025_00_47_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2849b06b12f7785c134845a006882a8d.jpg","text":"TemporaryFile(/tmp/multipartBody1246501040883440574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030432806,"filename":"image_19042025_00_47_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351662828","file1":"1351662817","file0":"1351662787","file4":"1351662831","file5":"1351662841","file3":"1351662829"},"map_files_photo_id_array":[{"photo_id":"1351662841","filename":"file5"},{"photo_id":"1351662828","filename":"file2"},{"photo_id":"1351662831","filename":"file4"},{"photo_id":"1351662817","filename":"file1"},{"photo_id":"1351662787","filename":"file0"},{"photo_id":"1351662829","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351662787":["hashtag1","hashtag2"]},{"1351662841":["hashtag1","hashtag2"]},{"1351662829":["hashtag1","hashtag2"]},{"1351662817":["hashtag1","hashtag2"]},{"1351662831":["hashtag1","hashtag2"]},{"1351662828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351662787, 1351662841, 1351662829, 1351662817, 1351662831, 1351662828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24714970588684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:40:32.301991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_55_9442.jpg', '/home/pi/Desktop/images/19042025/00/47/image_19042025_00_48_05_10338.jpg', '/home/pi/Desktop/images/19042025/00/48/image_19042025_00_48_25_9383.jpg', '/home/pi/Desktop/images/19042025/00/48/image_19042025_00_48_35_10372.jpg', '/home/pi/Desktop/images/19042025/00/48/image_19042025_00_48_45_9418.jpg', '/home/pi/Desktop/images/19042025/00/48/image_19042025_00_48_55_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/47/image_19042025_00_47_55_9442.jpg
/home/pi/Desktop/images/19042025/00/47/image_19042025_00_48_05_10338.jpg
/home/pi/Desktop/images/19042025/00/48/image_19042025_00_48_25_9383.jpg
/home/pi/Desktop/images/19042025/00/48/image_19042025_00_48_35_10372.jpg
/home/pi/Desktop/images/19042025/00/48/image_19042025_00_48_45_9418.jpg
/home/pi/Desktop/images/19042025/00/48/image_19042025_00_48_55_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351663342","1351663554","1351663278","1351663428","1351663610","1351663495"],"photo_ids_order":["1351663278","1351663342","1351663428","1351663495","1351663554","1351663610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3dfd674a14b4c6dcbadddc53dcbdb62a.jpg","text":"TemporaryFile(/tmp/multipartBody7840779002142986472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030492849,"filename":"image_19042025_00_48_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/459b65dad433b3f129a2ea64f0a5f9c9.jpg","text":"TemporaryFile(/tmp/multipartBody6512946653126276805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030492849,"filename":"image_19042025_00_48_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fad79176e15427e5889ab09882c13363.jpg","text":"TemporaryFile(/tmp/multipartBody1213270250332427043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030492849,"filename":"image_19042025_00_47_55_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/44a0238eb86345ff2a95a2dd8b8c7b65.jpg","text":"TemporaryFile(/tmp/multipartBody4519447469206325044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030492849,"filename":"image_19042025_00_48_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/19/0aa893737845436bd6b6d64d0195a124.jpg","text":"TemporaryFile(/tmp/multipartBody846175874086792913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030492849,"filename":"image_19042025_00_48_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/19/e60cf4efda08413f7787c4c944428b80.jpg","text":"TemporaryFile(/tmp/multipartBody3235684369367149443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030492849,"filename":"image_19042025_00_48_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351663428","file1":"1351663342","file0":"1351663278","file4":"1351663554","file5":"1351663610","file3":"1351663495"},"map_files_photo_id_array":[{"photo_id":"1351663610","filename":"file5"},{"photo_id":"1351663428","filename":"file2"},{"photo_id":"1351663554","filename":"file4"},{"photo_id":"1351663342","filename":"file1"},{"photo_id":"1351663278","filename":"file0"},{"photo_id":"1351663495","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351663342":["hashtag1","hashtag2"]},{"1351663554":["hashtag1","hashtag2"]},{"1351663278":["hashtag1","hashtag2"]},{"1351663428":["hashtag1","hashtag2"]},{"1351663610":["hashtag1","hashtag2"]},{"1351663495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351663342, 1351663554, 1351663278, 1351663428, 1351663610, 1351663495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.890881299972534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:41:32.518699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/48/image_19042025_00_49_06_10358.jpg', '/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_15_9355.jpg', '/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_25_10370.jpg', '/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_36_10476.jpg', '/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_45_9349.jpg', '/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_56_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/48/image_19042025_00_49_06_10358.jpg
/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_15_9355.jpg
/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_25_10370.jpg
/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_36_10476.jpg
/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_45_9349.jpg
/home/pi/Desktop/images/19042025/00/49/image_19042025_00_49_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":["1351664106","1351664313","1351664168","1351664069","1351664237","1351664032"],"photo_ids_order":["1351664032","1351664069","1351664106","1351664168","1351664237","1351664313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5242c1dae495f6e2beff2bdd861143db.jpg","text":"TemporaryFile(/tmp/multipartBody4666353560615413511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030553074,"filename":"image_19042025_00_49_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8a4ac481717c307ea4b10b1f63671b02.jpg","text":"TemporaryFile(/tmp/multipartBody3591057399219598533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030553074,"filename":"image_19042025_00_49_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/19/65c662aa04b73bde4d1e3d944e5b8e3b.jpg","text":"TemporaryFile(/tmp/multipartBody5444377488190412790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030553074,"filename":"image_19042025_00_49_36_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/19/6aafe850e623fab59e0a1992ead4e227.jpg","text":"TemporaryFile(/tmp/multipartBody2663480561778524939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030553074,"filename":"image_19042025_00_49_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/19/1a960d843274a79558d1f10526b6d022.jpg","text":"TemporaryFile(/tmp/multipartBody3854949141570570765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030553074,"filename":"image_19042025_00_49_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/19/8519b3fa55ff7297d7235e5196d64518.jpg","text":"TemporaryFile(/tmp/multipartBody3799765135411345137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030553074,"filename":"image_19042025_00_49_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351664106","file1":"1351664069","file0":"1351664032","file4":"1351664237","file5":"1351664313","file3":"1351664168"},"map_files_photo_id_array":[{"photo_id":"1351664313","filename":"file5"},{"photo_id":"1351664106","filename":"file2"},{"photo_id":"1351664237","filename":"file4"},{"photo_id":"1351664069","filename":"file1"},{"photo_id":"1351664032","filename":"file0"},{"photo_id":"1351664168","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351664106":["hashtag1","hashtag2"]},{"1351664313":["hashtag1","hashtag2"]},{"1351664168":["hashtag1","hashtag2"]},{"1351664069":["hashtag1","hashtag2"]},{"1351664237":["hashtag1","hashtag2"]},{"1351664032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351664106, 1351664313, 1351664168, 1351664069, 1351664237, 1351664032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2044734954834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:42:32.794134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/49/image_19042025_00_50_05_9417.jpg', '/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_15_10351.jpg', '/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_26_10348.jpg', '/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_35_9421.jpg', '/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_45_10337.jpg', '/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_55_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/49/image_19042025_00_50_05_9417.jpg
/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_15_10351.jpg
/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_26_10348.jpg
/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_35_9421.jpg
/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_45_10337.jpg
/home/pi/Desktop/images/19042025/00/50/image_19042025_00_50_55_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351664631","1351664629","1351664620","1351664623","1351664626","1351664614"],"photo_ids_order":["1351664614","1351664620","1351664623","1351664626","1351664629","1351664631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/30ed5025fd994bd46455ea40d4e0d332.jpg","text":"TemporaryFile(/tmp/multipartBody3074087805432228631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030613342,"filename":"image_19042025_00_50_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ec10c98cdaf6b7551d15d9a4c0bc78c.jpg","text":"TemporaryFile(/tmp/multipartBody4166583956724665214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030613342,"filename":"image_19042025_00_50_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/219a0dcd7e1f8462536de48b6da5ad71.jpg","text":"TemporaryFile(/tmp/multipartBody6504967251045402142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030613342,"filename":"image_19042025_00_50_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/19/bfe09ae1c86a44b7a0bbc48ebfc1cae2.jpg","text":"TemporaryFile(/tmp/multipartBody5465059358135300319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030613342,"filename":"image_19042025_00_50_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1309b80654a40db6e8b7839972ea7ff3.jpg","text":"TemporaryFile(/tmp/multipartBody3305072859986597148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030613342,"filename":"image_19042025_00_50_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ae0c9dcc8c2d9c8577fbbc7109b2bd4.jpg","text":"TemporaryFile(/tmp/multipartBody6530519318169000388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030613342,"filename":"image_19042025_00_50_05_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351664623","file1":"1351664620","file0":"1351664614","file4":"1351664629","file5":"1351664631","file3":"1351664626"},"map_files_photo_id_array":[{"photo_id":"1351664631","filename":"file5"},{"photo_id":"1351664623","filename":"file2"},{"photo_id":"1351664629","filename":"file4"},{"photo_id":"1351664620","filename":"file1"},{"photo_id":"1351664614","filename":"file0"},{"photo_id":"1351664626","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351664631":["hashtag1","hashtag2"]},{"1351664629":["hashtag1","hashtag2"]},{"1351664620":["hashtag1","hashtag2"]},{"1351664623":["hashtag1","hashtag2"]},{"1351664626":["hashtag1","hashtag2"]},{"1351664614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351664631, 1351664629, 1351664620, 1351664623, 1351664626, 1351664614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22505283355713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:43:32.951167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/50/image_19042025_00_51_05_10349.jpg', '/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_16_10350.jpg', '/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_25_9331.jpg', '/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_35_10362.jpg', '/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_46_10343.jpg', '/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_55_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/50/image_19042025_00_51_05_10349.jpg
/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_16_10350.jpg
/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_25_9331.jpg
/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_35_10362.jpg
/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_46_10343.jpg
/home/pi/Desktop/images/19042025/00/51/image_19042025_00_51_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":["1351664853","1351664760","1351664709","1351664802","1351664681","1351664914"],"photo_ids_order":["1351664681","1351664709","1351664760","1351664802","1351664853","1351664914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a142f511f85296ef77e2aec30b49af11.jpg","text":"TemporaryFile(/tmp/multipartBody5930377863706765846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030673489,"filename":"image_19042025_00_51_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c69cd24ee6bacf426c1d70306e7372a.jpg","text":"TemporaryFile(/tmp/multipartBody2521656801126000163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030673489,"filename":"image_19042025_00_51_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/01192f30e7cdfffbff158d0720d1579f.jpg","text":"TemporaryFile(/tmp/multipartBody7830414578362962770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030673489,"filename":"image_19042025_00_51_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/19/da3b28ab1e6118c00541ecb53aaf18ab.jpg","text":"TemporaryFile(/tmp/multipartBody5797778476201792454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030673489,"filename":"image_19042025_00_51_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/19/b31913b710164c0a2fb728ee7cb5792f.jpg","text":"TemporaryFile(/tmp/multipartBody5844413836155141726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030673489,"filename":"image_19042025_00_51_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/19/f61ef961a28eb921e51a12be21113231.jpg","text":"TemporaryFile(/tmp/multipartBody8979139593129132465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030673489,"filename":"image_19042025_00_51_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351664760","file1":"1351664709","file0":"1351664681","file4":"1351664853","file5":"1351664914","file3":"1351664802"},"map_files_photo_id_array":[{"photo_id":"1351664914","filename":"file5"},{"photo_id":"1351664760","filename":"file2"},{"photo_id":"1351664853","filename":"file4"},{"photo_id":"1351664709","filename":"file1"},{"photo_id":"1351664681","filename":"file0"},{"photo_id":"1351664802","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351664853":["hashtag1","hashtag2"]},{"1351664760":["hashtag1","hashtag2"]},{"1351664709":["hashtag1","hashtag2"]},{"1351664802":["hashtag1","hashtag2"]},{"1351664681":["hashtag1","hashtag2"]},{"1351664914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351664853, 1351664760, 1351664709, 1351664802, 1351664681, 1351664914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.18055248260498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:44:33.132969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/51/image_19042025_00_52_05_10359.jpg', '/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_16_10375.jpg', '/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_25_9349.jpg', '/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_35_10375.jpg', '/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_45_9431.jpg', '/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/51/image_19042025_00_52_05_10359.jpg
/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_16_10375.jpg
/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_25_9349.jpg
/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_35_10375.jpg
/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_45_9431.jpg
/home/pi/Desktop/images/19042025/00/52/image_19042025_00_52_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":["1351665248","1351665227","1351665218","1351665250","1351665244","1351665238"],"photo_ids_order":["1351665218","1351665227","1351665238","1351665244","1351665248","1351665250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bbbb7e584d1689aab5e5c7c0066942f0.jpg","text":"TemporaryFile(/tmp/multipartBody807904258738458704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030733686,"filename":"image_19042025_00_52_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/19/181518bf628c523baf1f979722869c20.jpg","text":"TemporaryFile(/tmp/multipartBody9084351839705374298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030733686,"filename":"image_19042025_00_52_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/19/62ad42ad027c6c638331120cdfaddc8f.jpg","text":"TemporaryFile(/tmp/multipartBody961124436828415414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030733686,"filename":"image_19042025_00_52_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/19/d144dbb30d7dd3f14913c7e4a3429ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3104526926928206807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030733686,"filename":"image_19042025_00_52_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/19/d2d3b69f148032ec4a5c578ad029da2b.jpg","text":"TemporaryFile(/tmp/multipartBody8634862717554336580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030733686,"filename":"image_19042025_00_52_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/19/480ba3bc618e09c69ab1907e65530bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5868632542942925378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030733686,"filename":"image_19042025_00_52_25_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351665238","file1":"1351665227","file0":"1351665218","file4":"1351665248","file5":"1351665250","file3":"1351665244"},"map_files_photo_id_array":[{"photo_id":"1351665250","filename":"file5"},{"photo_id":"1351665238","filename":"file2"},{"photo_id":"1351665248","filename":"file4"},{"photo_id":"1351665227","filename":"file1"},{"photo_id":"1351665218","filename":"file0"},{"photo_id":"1351665244","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351665248":["hashtag1","hashtag2"]},{"1351665227":["hashtag1","hashtag2"]},{"1351665218":["hashtag1","hashtag2"]},{"1351665250":["hashtag1","hashtag2"]},{"1351665244":["hashtag1","hashtag2"]},{"1351665238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351665248, 1351665227, 1351665218, 1351665250, 1351665244, 1351665238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58973145484924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:45:32.335343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/52/image_19042025_00_53_06_10448.jpg', '/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_15_9424.jpg', '/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_25_10443.jpg', '/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_35_9395.jpg', '/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_45_10339.jpg', '/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_56_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/52/image_19042025_00_53_06_10448.jpg
/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_15_9424.jpg
/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_25_10443.jpg
/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_35_9395.jpg
/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_45_10339.jpg
/home/pi/Desktop/images/19042025/00/53/image_19042025_00_53_56_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":["1351665507","1351665402","1351665455","1351665428","1351665601","1351665558"],"photo_ids_order":["1351665402","1351665428","1351665455","1351665507","1351665558","1351665601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/057006df6cc537545525b84c204bbc85.jpg","text":"TemporaryFile(/tmp/multipartBody703270694882003681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030792907,"filename":"image_19042025_00_53_35_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a2f90ea3d62ab33e52c6c1cfca5e5b23.jpg","text":"TemporaryFile(/tmp/multipartBody1440338782390459042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030792907,"filename":"image_19042025_00_53_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/19/e4d980f1635a37b37e9613e8814fda56.jpg","text":"TemporaryFile(/tmp/multipartBody795874607346989211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030792907,"filename":"image_19042025_00_53_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/19/f6d1ba40c4cd68dc4ecb528b3b8bfc6f.jpg","text":"TemporaryFile(/tmp/multipartBody5478928998897974604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030792907,"filename":"image_19042025_00_53_15_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb1aa275e55c43e31e0401a346eb8405.jpg","text":"TemporaryFile(/tmp/multipartBody4835765038453558453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030792907,"filename":"image_19042025_00_53_56_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/789d3311d09459f722dae799f6ff2da8.jpg","text":"TemporaryFile(/tmp/multipartBody8930317122458205349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030792907,"filename":"image_19042025_00_53_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351665455","file1":"1351665428","file0":"1351665402","file4":"1351665558","file5":"1351665601","file3":"1351665507"},"map_files_photo_id_array":[{"photo_id":"1351665601","filename":"file5"},{"photo_id":"1351665455","filename":"file2"},{"photo_id":"1351665558","filename":"file4"},{"photo_id":"1351665428","filename":"file1"},{"photo_id":"1351665402","filename":"file0"},{"photo_id":"1351665507","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351665507":["hashtag1","hashtag2"]},{"1351665402":["hashtag1","hashtag2"]},{"1351665455":["hashtag1","hashtag2"]},{"1351665428":["hashtag1","hashtag2"]},{"1351665601":["hashtag1","hashtag2"]},{"1351665558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351665507, 1351665402, 1351665455, 1351665428, 1351665601, 1351665558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.510748863220215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:46:32.686700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/53/image_19042025_00_54_05_9434.jpg', '/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_15_10325.jpg', '/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_26_10385.jpg', '/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_35_9374.jpg', '/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_46_10362.jpg', '/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_56_10195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/53/image_19042025_00_54_05_9434.jpg
/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_15_10325.jpg
/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_26_10385.jpg
/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_35_9374.jpg
/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_46_10362.jpg
/home/pi/Desktop/images/19042025/00/54/image_19042025_00_54_56_10195.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351666178","1351666093","1351666063","1351666144","1351666033","1351665996"],"photo_ids_order":["1351665996","1351666033","1351666063","1351666093","1351666144","1351666178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6b4de2678d1a0a78b41319ce1a5ab28.jpg","text":"TemporaryFile(/tmp/multipartBody4799109242040872903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030853249,"filename":"image_19042025_00_54_56_10195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b40e6c34722baeb9134f1209378bb063.jpg","text":"TemporaryFile(/tmp/multipartBody1684215964506042479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030853249,"filename":"image_19042025_00_54_35_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/851d6c40a0dc14a00e774fcc7b0ef695.jpg","text":"TemporaryFile(/tmp/multipartBody2491894533603609037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030853249,"filename":"image_19042025_00_54_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/382980dab8c07550a5d98177e68e805a.jpg","text":"TemporaryFile(/tmp/multipartBody4148927973377542280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030853249,"filename":"image_19042025_00_54_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e6a4cabbbf95ab784eb5632271cee057.jpg","text":"TemporaryFile(/tmp/multipartBody8724556156931315617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030853249,"filename":"image_19042025_00_54_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d792a2016e08f5526872528b38cdb84.jpg","text":"TemporaryFile(/tmp/multipartBody4494375921971099993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030853249,"filename":"image_19042025_00_54_05_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351666063","file1":"1351666033","file0":"1351665996","file4":"1351666144","file5":"1351666178","file3":"1351666093"},"map_files_photo_id_array":[{"photo_id":"1351666178","filename":"file5"},{"photo_id":"1351666063","filename":"file2"},{"photo_id":"1351666144","filename":"file4"},{"photo_id":"1351666033","filename":"file1"},{"photo_id":"1351665996","filename":"file0"},{"photo_id":"1351666093","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351666178":["hashtag1","hashtag2"]},{"1351666093":["hashtag1","hashtag2"]},{"1351666063":["hashtag1","hashtag2"]},{"1351666144":["hashtag1","hashtag2"]},{"1351666033":["hashtag1","hashtag2"]},{"1351665996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351666178, 1351666093, 1351666063, 1351666144, 1351666033, 1351665996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7545382976532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:47:32.840280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/54/image_19042025_00_55_05_9361.jpg', '/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_15_10376.jpg', '/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_25_9376.jpg', '/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_35_10376.jpg', '/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_46_10356.jpg', '/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/54/image_19042025_00_55_05_9361.jpg
/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_15_10376.jpg
/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_25_9376.jpg
/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_35_10376.jpg
/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_46_10356.jpg
/home/pi/Desktop/images/19042025/00/55/image_19042025_00_55_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":["1351667440","1351667140","1351667277","1351667364","1351667325","1351667228"],"photo_ids_order":["1351667140","1351667228","1351667277","1351667325","1351667364","1351667440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9c2ae89b17808cf10732df458d8c4b60.jpg","text":"TemporaryFile(/tmp/multipartBody9213883761152812273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030913392,"filename":"image_19042025_00_55_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/19/c89d8bab87f5fa9989c3976cd2806b68.jpg","text":"TemporaryFile(/tmp/multipartBody3752388702253723084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030913392,"filename":"image_19042025_00_55_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ad791e97571b245ef9cc807143a36f1.jpg","text":"TemporaryFile(/tmp/multipartBody8346635281766555491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030913392,"filename":"image_19042025_00_55_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/19/ee05a4aa26b00383c0c023c83c4bb4df.jpg","text":"TemporaryFile(/tmp/multipartBody5477661124969505555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030913392,"filename":"image_19042025_00_55_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/194eadadc7edcd4991f4263a1acf715a.jpg","text":"TemporaryFile(/tmp/multipartBody2632702243308355904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030913392,"filename":"image_19042025_00_55_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/19/18e4202972a600e3603e6e739ca0ed3f.jpg","text":"TemporaryFile(/tmp/multipartBody869001504553301413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030913392,"filename":"image_19042025_00_55_15_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351667277","file1":"1351667228","file0":"1351667140","file4":"1351667364","file5":"1351667440","file3":"1351667325"},"map_files_photo_id_array":[{"photo_id":"1351667440","filename":"file5"},{"photo_id":"1351667277","filename":"file2"},{"photo_id":"1351667364","filename":"file4"},{"photo_id":"1351667228","filename":"file1"},{"photo_id":"1351667140","filename":"file0"},{"photo_id":"1351667325","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351667440":["hashtag1","hashtag2"]},{"1351667140":["hashtag1","hashtag2"]},{"1351667277":["hashtag1","hashtag2"]},{"1351667364":["hashtag1","hashtag2"]},{"1351667325":["hashtag1","hashtag2"]},{"1351667228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351667440, 1351667140, 1351667277, 1351667364, 1351667325, 1351667228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.353177309036255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:48:32.967673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/55/image_19042025_00_56_05_10355.jpg', '/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_16_10405.jpg', '/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_25_9426.jpg', '/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_35_10375.jpg', '/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_45_9356.jpg', '/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_55_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/55/image_19042025_00_56_05_10355.jpg
/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_16_10405.jpg
/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_25_9426.jpg
/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_35_10375.jpg
/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_45_9356.jpg
/home/pi/Desktop/images/19042025/00/56/image_19042025_00_56_55_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351668508","1351668629","1351668344","1351668701","1351668248","1351668781"],"photo_ids_order":["1351668248","1351668344","1351668508","1351668629","1351668701","1351668781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a831cbd3e91d4da577905a8173afe33.jpg","text":"TemporaryFile(/tmp/multipartBody3230561245273908106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030973515,"filename":"image_19042025_00_56_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/19/047002cf0d469525f48934c75a8448c4.jpg","text":"TemporaryFile(/tmp/multipartBody6471771440830433853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030973515,"filename":"image_19042025_00_56_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/19/ce665537550b47f3f6ce48ba0a372a6f.jpg","text":"TemporaryFile(/tmp/multipartBody61168584878306394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030973515,"filename":"image_19042025_00_56_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/19/611902fc6375e3ba0f0bb9dec42431b4.jpg","text":"TemporaryFile(/tmp/multipartBody6948215532205347725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030973515,"filename":"image_19042025_00_56_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/19/db43217c3a8cd3330de6f41c6864fa9e.jpg","text":"TemporaryFile(/tmp/multipartBody6459561267233636805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030973515,"filename":"image_19042025_00_56_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/19/63dab7b52bdabf8f361e156bdfd3ac3b.jpg","text":"TemporaryFile(/tmp/multipartBody3881723784607210803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745030973515,"filename":"image_19042025_00_56_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351668508","file1":"1351668344","file0":"1351668248","file4":"1351668701","file5":"1351668781","file3":"1351668629"},"map_files_photo_id_array":[{"photo_id":"1351668781","filename":"file5"},{"photo_id":"1351668508","filename":"file2"},{"photo_id":"1351668701","filename":"file4"},{"photo_id":"1351668344","filename":"file1"},{"photo_id":"1351668248","filename":"file0"},{"photo_id":"1351668629","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351668508":["hashtag1","hashtag2"]},{"1351668629":["hashtag1","hashtag2"]},{"1351668344":["hashtag1","hashtag2"]},{"1351668701":["hashtag1","hashtag2"]},{"1351668248":["hashtag1","hashtag2"]},{"1351668781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351668508, 1351668629, 1351668344, 1351668701, 1351668248, 1351668781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.050296306610107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:49:32.369031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/56/image_19042025_00_57_06_10405.jpg', '/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_15_9429.jpg', '/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_25_10337.jpg', '/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_35_9426.jpg', '/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_45_10364.jpg', '/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/56/image_19042025_00_57_06_10405.jpg
/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_15_9429.jpg
/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_25_10337.jpg
/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_35_9426.jpg
/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_45_10364.jpg
/home/pi/Desktop/images/19042025/00/57/image_19042025_00_57_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351669593","1351669566","1351669680","1351669524","1351669489","1351669642"],"photo_ids_order":["1351669489","1351669524","1351669566","1351669593","1351669642","1351669680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/83154b8a45b1277ba0e27a79bd734bcd.jpg","text":"TemporaryFile(/tmp/multipartBody3830888127936418779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031032907,"filename":"image_19042025_00_57_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/19/d1f03a98c4f1c72ce0515e845174d6cf.jpg","text":"TemporaryFile(/tmp/multipartBody5936159534272659249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031032907,"filename":"image_19042025_00_57_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37fd373d18c1fbf2c04e1bceb82f82f9.jpg","text":"TemporaryFile(/tmp/multipartBody374824182579667311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031032907,"filename":"image_19042025_00_57_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/19/b7d6ce52fa5556771ea970cad67f9dc4.jpg","text":"TemporaryFile(/tmp/multipartBody5949223281472336225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031032907,"filename":"image_19042025_00_57_15_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f8e61270e74cbee2da100a1b6c055e0.jpg","text":"TemporaryFile(/tmp/multipartBody7719758399269216259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031032907,"filename":"image_19042025_00_57_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/19/34c32e5dc5b4bb75dcd1ae7d6a5e4002.jpg","text":"TemporaryFile(/tmp/multipartBody874059733244979278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031032907,"filename":"image_19042025_00_57_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351669566","file1":"1351669524","file0":"1351669489","file4":"1351669642","file5":"1351669680","file3":"1351669593"},"map_files_photo_id_array":[{"photo_id":"1351669680","filename":"file5"},{"photo_id":"1351669566","filename":"file2"},{"photo_id":"1351669642","filename":"file4"},{"photo_id":"1351669524","filename":"file1"},{"photo_id":"1351669489","filename":"file0"},{"photo_id":"1351669593","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351669593":["hashtag1","hashtag2"]},{"1351669566":["hashtag1","hashtag2"]},{"1351669680":["hashtag1","hashtag2"]},{"1351669524":["hashtag1","hashtag2"]},{"1351669489":["hashtag1","hashtag2"]},{"1351669642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351669593, 1351669566, 1351669680, 1351669524, 1351669489, 1351669642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.264844179153442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:50:32.531402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/57/image_19042025_00_58_05_9421.jpg', '/home/pi/Desktop/images/19042025/00/58/image_19042025_00_58_15_10348.jpg', '/home/pi/Desktop/images/19042025/00/58/image_19042025_00_58_26_10360.jpg', '/home/pi/Desktop/images/19042025/00/58/image_19042025_00_58_35_9355.jpg', '/home/pi/Desktop/images/19042025/00/58/image_19042025_00_58_45_10356.jpg', '/home/pi/Desktop/images/19042025/00/58/image_19042025_00_59_05_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/57/image_19042025_00_58_05_9421.jpg
/home/pi/Desktop/images/19042025/00/58/image_19042025_00_58_15_10348.jpg
/home/pi/Desktop/images/19042025/00/58/image_19042025_00_58_26_10360.jpg
/home/pi/Desktop/images/19042025/00/58/image_19042025_00_58_35_9355.jpg
/home/pi/Desktop/images/19042025/00/58/image_19042025_00_58_45_10356.jpg
/home/pi/Desktop/images/19042025/00/58/image_19042025_00_59_05_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351670263","1351670428","1351670490","1351670294","1351670186","1351670354"],"photo_ids_order":["1351670186","1351670263","1351670294","1351670354","1351670428","1351670490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba297dd58a9355684f5efc9d4798335a.jpg","text":"TemporaryFile(/tmp/multipartBody5919010139596753231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031093099,"filename":"image_19042025_00_58_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e783a2e9000a47f87c1b9e2e023c0bba.jpg","text":"TemporaryFile(/tmp/multipartBody8316074804522540402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031093099,"filename":"image_19042025_00_58_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/19/57b484260d4ef6a7a1678f664e179666.jpg","text":"TemporaryFile(/tmp/multipartBody256620116651698982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031093099,"filename":"image_19042025_00_59_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/19/51a6379146a5a0e7808669b6fbbf7761.jpg","text":"TemporaryFile(/tmp/multipartBody2853233971275481086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031093099,"filename":"image_19042025_00_58_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/19/12dbb2932fc14bf2833fef130f57fc77.jpg","text":"TemporaryFile(/tmp/multipartBody2468942912624736694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031093099,"filename":"image_19042025_00_58_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f96cea9f60570446a5a43df73ba532d.jpg","text":"TemporaryFile(/tmp/multipartBody8189314146769090555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031093099,"filename":"image_19042025_00_58_35_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351670294","file1":"1351670263","file0":"1351670186","file4":"1351670428","file5":"1351670490","file3":"1351670354"},"map_files_photo_id_array":[{"photo_id":"1351670490","filename":"file5"},{"photo_id":"1351670294","filename":"file2"},{"photo_id":"1351670428","filename":"file4"},{"photo_id":"1351670263","filename":"file1"},{"photo_id":"1351670186","filename":"file0"},{"photo_id":"1351670354","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351670263":["hashtag1","hashtag2"]},{"1351670428":["hashtag1","hashtag2"]},{"1351670490":["hashtag1","hashtag2"]},{"1351670294":["hashtag1","hashtag2"]},{"1351670186":["hashtag1","hashtag2"]},{"1351670354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351670263, 1351670428, 1351670490, 1351670294, 1351670186, 1351670354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.692864418029785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:51:32.687293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_16_10353.jpg', '/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_25_9406.jpg', '/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_35_10370.jpg', '/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_46_10358.jpg', '/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_55_9393.jpg', '/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_15_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_16_10353.jpg
/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_25_9406.jpg
/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_35_10370.jpg
/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_46_10358.jpg
/home/pi/Desktop/images/19042025/00/59/image_19042025_00_59_55_9393.jpg
/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_15_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351670788","1351670716","1351670760","1351670871","1351670817","1351670843"],"photo_ids_order":["1351670716","1351670760","1351670788","1351670817","1351670843","1351670871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b67aab2563b00acd8b3879d8bca0b81.jpg","text":"TemporaryFile(/tmp/multipartBody3823126644019621053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031153237,"filename":"image_19042025_00_59_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/19/c1348e24882cb677e95f1f54c9c31e47.jpg","text":"TemporaryFile(/tmp/multipartBody4719817155561923829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031153237,"filename":"image_19042025_00_59_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d1ebdf1fdabd4353b4bf2c422c145c67.jpg","text":"TemporaryFile(/tmp/multipartBody6390251636313009023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031153237,"filename":"image_19042025_00_59_25_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc71774fb860706636eee7ee59bbb269.jpg","text":"TemporaryFile(/tmp/multipartBody6452884171689468212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031153237,"filename":"image_19042025_01_00_15_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/73d7005c7f84b6b09da6c6583b5ee1b0.jpg","text":"TemporaryFile(/tmp/multipartBody7406183775718275144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031153237,"filename":"image_19042025_00_59_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/19/fa1ce642fb00061fe82b477286d01bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1272419303246106838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031153237,"filename":"image_19042025_00_59_55_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351670788","file1":"1351670760","file0":"1351670716","file4":"1351670843","file5":"1351670871","file3":"1351670817"},"map_files_photo_id_array":[{"photo_id":"1351670871","filename":"file5"},{"photo_id":"1351670788","filename":"file2"},{"photo_id":"1351670843","filename":"file4"},{"photo_id":"1351670760","filename":"file1"},{"photo_id":"1351670716","filename":"file0"},{"photo_id":"1351670817","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351670788":["hashtag1","hashtag2"]},{"1351670716":["hashtag1","hashtag2"]},{"1351670760":["hashtag1","hashtag2"]},{"1351670871":["hashtag1","hashtag2"]},{"1351670817":["hashtag1","hashtag2"]},{"1351670843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351670788, 1351670716, 1351670760, 1351670871, 1351670817, 1351670843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.932109117507935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:52:33.047571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_26_10411.jpg', '/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_36_10361.jpg', '/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_46_9337.jpg', '/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_56_10416.jpg', '/home/pi/Desktop/images/19042025/01/00/image_19042025_01_01_06_10357.jpg', '/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_26_10411.jpg
/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_36_10361.jpg
/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_46_9337.jpg
/home/pi/Desktop/images/19042025/01/00/image_19042025_01_00_56_10416.jpg
/home/pi/Desktop/images/19042025/01/00/image_19042025_01_01_06_10357.jpg
/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_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":["1351671293","1351671290","1351671286","1351671280","1351671283","1351671277"],"photo_ids_order":["1351671277","1351671280","1351671283","1351671286","1351671290","1351671293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2aec8906425f0dc0e4c23ce4309a4aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6473236794649073612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031213594,"filename":"image_19042025_01_01_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/19/af8a5b4bdf886a2f68c1a31ee5e33ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2867385699678076407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031213594,"filename":"image_19042025_01_01_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/19/fad1a24dd00d8ef320af38dd69507392.jpg","text":"TemporaryFile(/tmp/multipartBody8745018552204262551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031213594,"filename":"image_19042025_01_00_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/19/d17ae9549f87a74db1c3ebb66cc55406.jpg","text":"TemporaryFile(/tmp/multipartBody5271429434151487148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031213594,"filename":"image_19042025_01_00_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/19/76fc9f3b0d44d64debcdf98b55d36509.jpg","text":"TemporaryFile(/tmp/multipartBody3787184193574536640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031213594,"filename":"image_19042025_01_00_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/19/65332d9ae8d5ff4942075e8180a717a7.jpg","text":"TemporaryFile(/tmp/multipartBody4505539235673722381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031213594,"filename":"image_19042025_01_00_26_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351671283","file1":"1351671280","file0":"1351671277","file4":"1351671290","file5":"1351671293","file3":"1351671286"},"map_files_photo_id_array":[{"photo_id":"1351671293","filename":"file5"},{"photo_id":"1351671283","filename":"file2"},{"photo_id":"1351671290","filename":"file4"},{"photo_id":"1351671280","filename":"file1"},{"photo_id":"1351671277","filename":"file0"},{"photo_id":"1351671286","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351671293":["hashtag1","hashtag2"]},{"1351671290":["hashtag1","hashtag2"]},{"1351671286":["hashtag1","hashtag2"]},{"1351671280":["hashtag1","hashtag2"]},{"1351671283":["hashtag1","hashtag2"]},{"1351671277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351671293, 1351671290, 1351671286, 1351671280, 1351671283, 1351671277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.830167770385742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:53:33.243216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_26_10363.jpg', '/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_35_9342.jpg', '/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_46_10511.jpg', '/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_56_10360.jpg', '/home/pi/Desktop/images/19042025/01/01/image_19042025_01_02_06_9350.jpg', '/home/pi/Desktop/images/19042025/01/02/image_19042025_01_02_16_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_26_10363.jpg
/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_35_9342.jpg
/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_46_10511.jpg
/home/pi/Desktop/images/19042025/01/01/image_19042025_01_01_56_10360.jpg
/home/pi/Desktop/images/19042025/01/01/image_19042025_01_02_06_9350.jpg
/home/pi/Desktop/images/19042025/01/02/image_19042025_01_02_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":["1351671430","1351671456","1351671546","1351671677","1351671402","1351671368"],"photo_ids_order":["1351671368","1351671402","1351671430","1351671456","1351671546","1351671677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64fdab70d5b6f28f9bd3a576ac73dbab.jpg","text":"TemporaryFile(/tmp/multipartBody8703733553809683508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031273804,"filename":"image_19042025_01_01_46_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4db37139fed1363ee9393849b917712.jpg","text":"TemporaryFile(/tmp/multipartBody6511320434501365573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031273804,"filename":"image_19042025_01_01_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/19/e9ce49fe40445cd64de9f2fd298f8e40.jpg","text":"TemporaryFile(/tmp/multipartBody2902576873273772659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031273804,"filename":"image_19042025_01_02_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/19/5785d7ad468816151779c5a908385a3f.jpg","text":"TemporaryFile(/tmp/multipartBody288231982203739076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031273804,"filename":"image_19042025_01_02_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/19/361a939e200e1728b1e0c90ee1e0ce79.jpg","text":"TemporaryFile(/tmp/multipartBody2802149501285546651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031273804,"filename":"image_19042025_01_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/19/2a138b138a60e88603fa09efce49f784.jpg","text":"TemporaryFile(/tmp/multipartBody4296957178488822623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031273804,"filename":"image_19042025_01_01_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351671430","file1":"1351671402","file0":"1351671368","file4":"1351671546","file5":"1351671677","file3":"1351671456"},"map_files_photo_id_array":[{"photo_id":"1351671677","filename":"file5"},{"photo_id":"1351671430","filename":"file2"},{"photo_id":"1351671546","filename":"file4"},{"photo_id":"1351671402","filename":"file1"},{"photo_id":"1351671368","filename":"file0"},{"photo_id":"1351671456","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351671430":["hashtag1","hashtag2"]},{"1351671456":["hashtag1","hashtag2"]},{"1351671546":["hashtag1","hashtag2"]},{"1351671677":["hashtag1","hashtag2"]},{"1351671402":["hashtag1","hashtag2"]},{"1351671368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351671430, 1351671456, 1351671546, 1351671677, 1351671402, 1351671368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51994872093201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:54:32.292597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/02/image_19042025_01_02_25_9358.jpg', '/home/pi/Desktop/images/19042025/01/02/image_19042025_01_02_46_10345.jpg', '/home/pi/Desktop/images/19042025/01/02/image_19042025_01_02_55_9367.jpg', '/home/pi/Desktop/images/19042025/01/02/image_19042025_01_03_06_10399.jpg', '/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_16_10416.jpg', '/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_26_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/02/image_19042025_01_02_25_9358.jpg
/home/pi/Desktop/images/19042025/01/02/image_19042025_01_02_46_10345.jpg
/home/pi/Desktop/images/19042025/01/02/image_19042025_01_02_55_9367.jpg
/home/pi/Desktop/images/19042025/01/02/image_19042025_01_03_06_10399.jpg
/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_16_10416.jpg
/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_26_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":["1351672443","1351672391","1351672175","1351672250","1351672331","1351672489"],"photo_ids_order":["1351672175","1351672250","1351672331","1351672391","1351672443","1351672489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6b6564dfcb95a4bd890b5ef2cb4302dc.jpg","text":"TemporaryFile(/tmp/multipartBody1788629890977750251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031332844,"filename":"image_19042025_01_03_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/19/c02edd2f2daf9c9bf809f4c7c8f18677.jpg","text":"TemporaryFile(/tmp/multipartBody7248975066677169484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031332844,"filename":"image_19042025_01_03_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/19/a88a0c5def3b1337cb4e6712914568ae.jpg","text":"TemporaryFile(/tmp/multipartBody3649192696144344896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031332844,"filename":"image_19042025_01_02_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/19/7fc4364ff6013a181d19f1eaf519be06.jpg","text":"TemporaryFile(/tmp/multipartBody8481417427846625870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031332844,"filename":"image_19042025_01_02_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/19/6b500a893946374a4a1027883e05e4d2.jpg","text":"TemporaryFile(/tmp/multipartBody1331932936216050601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031332844,"filename":"image_19042025_01_02_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/037249ac40ead2f6c2c29b1d4a9c19e2.jpg","text":"TemporaryFile(/tmp/multipartBody8706990039672331247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031332844,"filename":"image_19042025_01_03_26_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351672331","file1":"1351672250","file0":"1351672175","file4":"1351672443","file5":"1351672489","file3":"1351672391"},"map_files_photo_id_array":[{"photo_id":"1351672489","filename":"file5"},{"photo_id":"1351672331","filename":"file2"},{"photo_id":"1351672443","filename":"file4"},{"photo_id":"1351672250","filename":"file1"},{"photo_id":"1351672175","filename":"file0"},{"photo_id":"1351672391","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351672443":["hashtag1","hashtag2"]},{"1351672391":["hashtag1","hashtag2"]},{"1351672175":["hashtag1","hashtag2"]},{"1351672250":["hashtag1","hashtag2"]},{"1351672331":["hashtag1","hashtag2"]},{"1351672489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351672443, 1351672391, 1351672175, 1351672250, 1351672331, 1351672489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.168646812438965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:55:32.517734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_36_10411.jpg', '/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_46_10348.jpg', '/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_56_9447.jpg', '/home/pi/Desktop/images/19042025/01/03/image_19042025_01_04_06_10348.jpg', '/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_15_9324.jpg', '/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_26_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_36_10411.jpg
/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_46_10348.jpg
/home/pi/Desktop/images/19042025/01/03/image_19042025_01_03_56_9447.jpg
/home/pi/Desktop/images/19042025/01/03/image_19042025_01_04_06_10348.jpg
/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_15_9324.jpg
/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_26_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":["1351672731","1351672737","1351672747","1351672741","1351672735","1351672744"],"photo_ids_order":["1351672731","1351672735","1351672737","1351672741","1351672744","1351672747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/175a41ac1d3a963c321f7f86eeec4459.jpg","text":"TemporaryFile(/tmp/multipartBody8825412776211703394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031393073,"filename":"image_19042025_01_03_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/19/8e577fa5506c74023f25add389628da1.jpg","text":"TemporaryFile(/tmp/multipartBody5147445165041022323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031393073,"filename":"image_19042025_01_03_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/19/e21e744dfb3a20df3b845e46f30f1a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7942273098077987653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031393073,"filename":"image_19042025_01_04_26_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e3ed80478f0eec081492cb7ea5af9e31.jpg","text":"TemporaryFile(/tmp/multipartBody6045825514156666335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031393073,"filename":"image_19042025_01_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/19/6fb511eb63f66a16f19d5d632cbb7190.jpg","text":"TemporaryFile(/tmp/multipartBody4788336375115762116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031393073,"filename":"image_19042025_01_03_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4db81f9c17c29daa6a119bc250ae4886.jpg","text":"TemporaryFile(/tmp/multipartBody3662618650421024348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031393073,"filename":"image_19042025_01_04_15_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351672737","file1":"1351672735","file0":"1351672731","file4":"1351672744","file5":"1351672747","file3":"1351672741"},"map_files_photo_id_array":[{"photo_id":"1351672747","filename":"file5"},{"photo_id":"1351672737","filename":"file2"},{"photo_id":"1351672744","filename":"file4"},{"photo_id":"1351672735","filename":"file1"},{"photo_id":"1351672731","filename":"file0"},{"photo_id":"1351672741","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351672731":["hashtag1","hashtag2"]},{"1351672737":["hashtag1","hashtag2"]},{"1351672747":["hashtag1","hashtag2"]},{"1351672741":["hashtag1","hashtag2"]},{"1351672735":["hashtag1","hashtag2"]},{"1351672744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351672731, 1351672737, 1351672747, 1351672741, 1351672735, 1351672744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39008140563965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:56:32.871360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_35_9422.jpg', '/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_46_10452.jpg', '/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_56_10372.jpg', '/home/pi/Desktop/images/19042025/01/04/image_19042025_01_05_06_9324.jpg', '/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_16_10378.jpg', '/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_26_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_35_9422.jpg
/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_46_10452.jpg
/home/pi/Desktop/images/19042025/01/04/image_19042025_01_04_56_10372.jpg
/home/pi/Desktop/images/19042025/01/04/image_19042025_01_05_06_9324.jpg
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_16_10378.jpg
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_26_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":["1351673001","1351673075","1351672955","1351672949","1351673104","1351673049"],"photo_ids_order":["1351672949","1351672955","1351673001","1351673049","1351673075","1351673104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9bcb96ec7de5296cad179e979c5e7591.jpg","text":"TemporaryFile(/tmp/multipartBody2377840905435227943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031453437,"filename":"image_19042025_01_04_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/19/440d2238168661eb0db8577b14c586f0.jpg","text":"TemporaryFile(/tmp/multipartBody4411785529570295529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031453437,"filename":"image_19042025_01_05_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/19/ab8c7101fe950c9ec1cdf587ecc9ee3f.jpg","text":"TemporaryFile(/tmp/multipartBody1619668949210143372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031453437,"filename":"image_19042025_01_04_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/19/00923e06bef2c4e750aa4faacb9bc85f.jpg","text":"TemporaryFile(/tmp/multipartBody116091658977199625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031453437,"filename":"image_19042025_01_04_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/19/af7872643268cc41e111c44d411e1a76.jpg","text":"TemporaryFile(/tmp/multipartBody7569801720449202021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031453437,"filename":"image_19042025_01_05_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/19/d0bc49d922f072a46e6eace6abb08378.jpg","text":"TemporaryFile(/tmp/multipartBody6379430762119397830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031453437,"filename":"image_19042025_01_05_06_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351673001","file1":"1351672955","file0":"1351672949","file4":"1351673075","file5":"1351673104","file3":"1351673049"},"map_files_photo_id_array":[{"photo_id":"1351673104","filename":"file5"},{"photo_id":"1351673001","filename":"file2"},{"photo_id":"1351673075","filename":"file4"},{"photo_id":"1351672955","filename":"file1"},{"photo_id":"1351672949","filename":"file0"},{"photo_id":"1351673049","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351673001":["hashtag1","hashtag2"]},{"1351673075":["hashtag1","hashtag2"]},{"1351672955":["hashtag1","hashtag2"]},{"1351672949":["hashtag1","hashtag2"]},{"1351673104":["hashtag1","hashtag2"]},{"1351673049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351673001, 1351673075, 1351672955, 1351672949, 1351673104, 1351673049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12608981132507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 04:57:33.188598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_36_9351.jpg', '/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_46_10355.jpg', '/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_55_9404.jpg', '/home/pi/Desktop/images/19042025/01/05/image_19042025_01_06_06_10467.jpg', '/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_16_10367.jpg', '/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_26_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_36_9351.jpg
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_46_10355.jpg
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_55_9404.jpg
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_06_06_10467.jpg
/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_16_10367.jpg
/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_26_9348.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-19 04:59:03.724485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_36_9351.jpg', '/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_46_10355.jpg', '/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_55_9404.jpg', '/home/pi/Desktop/images/19042025/01/05/image_19042025_01_06_06_10467.jpg', '/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_16_10367.jpg', '/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_26_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_36_9351.jpg
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_46_10355.jpg
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_05_55_9404.jpg
/home/pi/Desktop/images/19042025/01/05/image_19042025_01_06_06_10467.jpg
/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_16_10367.jpg
/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_26_9348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351674481","1351674484","1351674367","1351674457","1351674420","1351674315"],"photo_ids_order":["1351674315","1351674367","1351674420","1351674457","1351674481","1351674484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4fef14a0eba774c21c7bca0d2e8e60d4.jpg","text":"TemporaryFile(/tmp/multipartBody6282625037409807349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031604324,"filename":"image_19042025_01_06_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/19/47592dfcac5e915631f7027a8a844756.jpg","text":"TemporaryFile(/tmp/multipartBody72112536961256311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031604324,"filename":"image_19042025_01_06_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/19/c2dc94dd24c548f16e2ee3258c4bdd4c.jpg","text":"TemporaryFile(/tmp/multipartBody7759435772894277688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031604324,"filename":"image_19042025_01_05_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/19/edd239ad1d1cc1ef05242e354d0b3934.jpg","text":"TemporaryFile(/tmp/multipartBody1459844720902513758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031604324,"filename":"image_19042025_01_06_06_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3839453e7246c26ed0bbb4b4af62395e.jpg","text":"TemporaryFile(/tmp/multipartBody5926806038676431818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031604324,"filename":"image_19042025_01_05_55_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/67d3dfa497d8c52d53a46626b4b57438.jpg","text":"TemporaryFile(/tmp/multipartBody6035707592392897947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031604324,"filename":"image_19042025_01_05_36_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351674420","file1":"1351674367","file0":"1351674315","file4":"1351674481","file5":"1351674484","file3":"1351674457"},"map_files_photo_id_array":[{"photo_id":"1351674484","filename":"file5"},{"photo_id":"1351674420","filename":"file2"},{"photo_id":"1351674481","filename":"file4"},{"photo_id":"1351674367","filename":"file1"},{"photo_id":"1351674315","filename":"file0"},{"photo_id":"1351674457","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351674481":["hashtag1","hashtag2"]},{"1351674484":["hashtag1","hashtag2"]},{"1351674367":["hashtag1","hashtag2"]},{"1351674457":["hashtag1","hashtag2"]},{"1351674420":["hashtag1","hashtag2"]},{"1351674315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351674481, 1351674484, 1351674367, 1351674457, 1351674420, 1351674315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18382000923157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 04:59:42.442000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_36_10459.jpg', '/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_45_9340.jpg', '/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_56_10409.jpg', '/home/pi/Desktop/images/19042025/01/06/image_19042025_01_07_06_10359.jpg', '/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_15_9350.jpg', '/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_26_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_36_10459.jpg
/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_45_9340.jpg
/home/pi/Desktop/images/19042025/01/06/image_19042025_01_06_56_10409.jpg
/home/pi/Desktop/images/19042025/01/06/image_19042025_01_07_06_10359.jpg
/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_15_9350.jpg
/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_26_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351674569","1351674571","1351674550","1351674532","1351674572","1351674566"],"photo_ids_order":["1351674532","1351674550","1351674566","1351674569","1351674571","1351674572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a0df6414ae86735340816901db78506.jpg","text":"TemporaryFile(/tmp/multipartBody3369893925777089207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031642990,"filename":"image_19042025_01_07_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/51752d4387bf9f275b1e548d95226471.jpg","text":"TemporaryFile(/tmp/multipartBody5664262377524651047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031642990,"filename":"image_19042025_01_07_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/19/ceac21a0f0ca2b41d45f183e15892160.jpg","text":"TemporaryFile(/tmp/multipartBody5874749255144579403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031642990,"filename":"image_19042025_01_06_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/19/7b6e1f12d092dd176c53d5ae0e282107.jpg","text":"TemporaryFile(/tmp/multipartBody3002933195275784033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031642990,"filename":"image_19042025_01_06_36_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/06c1c6284d10584a321c90eb19f6ee35.jpg","text":"TemporaryFile(/tmp/multipartBody2427058026103678375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031642990,"filename":"image_19042025_01_07_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/19/68e38ba59a458e1548e26a131169f677.jpg","text":"TemporaryFile(/tmp/multipartBody6751749059979017301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031642990,"filename":"image_19042025_01_06_56_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351674566","file1":"1351674550","file0":"1351674532","file4":"1351674571","file5":"1351674572","file3":"1351674569"},"map_files_photo_id_array":[{"photo_id":"1351674572","filename":"file5"},{"photo_id":"1351674566","filename":"file2"},{"photo_id":"1351674571","filename":"file4"},{"photo_id":"1351674550","filename":"file1"},{"photo_id":"1351674532","filename":"file0"},{"photo_id":"1351674569","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351674569":["hashtag1","hashtag2"]},{"1351674571":["hashtag1","hashtag2"]},{"1351674550":["hashtag1","hashtag2"]},{"1351674532":["hashtag1","hashtag2"]},{"1351674572":["hashtag1","hashtag2"]},{"1351674566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351674569, 1351674571, 1351674550, 1351674532, 1351674572, 1351674566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08936619758606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:00:32.651165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_36_10348.jpg', '/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_46_9398.jpg', '/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_56_10414.jpg', '/home/pi/Desktop/images/19042025/01/07/image_19042025_01_08_05_9438.jpg', '/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_16_10350.jpg', '/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_26_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_36_10348.jpg
/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_46_9398.jpg
/home/pi/Desktop/images/19042025/01/07/image_19042025_01_07_56_10414.jpg
/home/pi/Desktop/images/19042025/01/07/image_19042025_01_08_05_9438.jpg
/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_16_10350.jpg
/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_26_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":["1351675051","1351674898","1351674979","1351674771","1351674846","1351674744"],"photo_ids_order":["1351674744","1351674771","1351674846","1351674898","1351674979","1351675051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/053b700039f6db3420153a135cf0da5c.jpg","text":"TemporaryFile(/tmp/multipartBody8992152369060375941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031693216,"filename":"image_19042025_01_08_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/19/d6d4d2e643ec90115b7022f6a50f72a7.jpg","text":"TemporaryFile(/tmp/multipartBody6682868858772692695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031693216,"filename":"image_19042025_01_08_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/19/05f845bc0e446c066243288ed4eafa17.jpg","text":"TemporaryFile(/tmp/multipartBody7289736896999438768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031693216,"filename":"image_19042025_01_08_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c8471f5b32a188e67a6137c980356c8f.jpg","text":"TemporaryFile(/tmp/multipartBody6813774984181876658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031693216,"filename":"image_19042025_01_07_46_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/559472c9938f36198e9b5916fffdcf45.jpg","text":"TemporaryFile(/tmp/multipartBody7422274117364458352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031693216,"filename":"image_19042025_01_07_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/19/c70df237b4ff6663e6417e2932bbdbb6.jpg","text":"TemporaryFile(/tmp/multipartBody4787710511848779643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031693216,"filename":"image_19042025_01_07_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351674846","file1":"1351674771","file0":"1351674744","file4":"1351674979","file5":"1351675051","file3":"1351674898"},"map_files_photo_id_array":[{"photo_id":"1351675051","filename":"file5"},{"photo_id":"1351674846","filename":"file2"},{"photo_id":"1351674979","filename":"file4"},{"photo_id":"1351674771","filename":"file1"},{"photo_id":"1351674744","filename":"file0"},{"photo_id":"1351674898","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351675051":["hashtag1","hashtag2"]},{"1351674898":["hashtag1","hashtag2"]},{"1351674979":["hashtag1","hashtag2"]},{"1351674771":["hashtag1","hashtag2"]},{"1351674846":["hashtag1","hashtag2"]},{"1351674744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351675051, 1351674898, 1351674979, 1351674771, 1351674846, 1351674744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97255611419678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:01:32.924750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_36_9336.jpg', '/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_46_10446.jpg', '/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_56_10352.jpg', '/home/pi/Desktop/images/19042025/01/08/image_19042025_01_09_06_9375.jpg', '/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_16_10365.jpg', '/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_25_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_36_9336.jpg
/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_46_10446.jpg
/home/pi/Desktop/images/19042025/01/08/image_19042025_01_08_56_10352.jpg
/home/pi/Desktop/images/19042025/01/08/image_19042025_01_09_06_9375.jpg
/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_16_10365.jpg
/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_25_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351676362","1351676094","1351675810","1351675710","1351675967","1351676222"],"photo_ids_order":["1351675710","1351675810","1351675967","1351676094","1351676222","1351676362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/524a4a206c916d708499404d72064998.jpg","text":"TemporaryFile(/tmp/multipartBody2154921368437028839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031753469,"filename":"image_19042025_01_09_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/19/7e9e50983ce4959fe8835437caee2787.jpg","text":"TemporaryFile(/tmp/multipartBody4162975485813800041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031753469,"filename":"image_19042025_01_09_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/19/a502d47c38068d4838d3ff86acb6a993.jpg","text":"TemporaryFile(/tmp/multipartBody5534406271213573467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031753469,"filename":"image_19042025_01_08_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/19/c18fbb896a00af1135652cb2a51e3d89.jpg","text":"TemporaryFile(/tmp/multipartBody3320776207768100536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031753469,"filename":"image_19042025_01_08_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/19/c3a92451af44c0ba54d8b931290d2a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2946878214226077688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031753469,"filename":"image_19042025_01_08_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/19/e5d93f528934fb1a785f243333c3841f.jpg","text":"TemporaryFile(/tmp/multipartBody5909658590460170191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031753469,"filename":"image_19042025_01_09_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351675967","file1":"1351675810","file0":"1351675710","file4":"1351676222","file5":"1351676362","file3":"1351676094"},"map_files_photo_id_array":[{"photo_id":"1351676362","filename":"file5"},{"photo_id":"1351675967","filename":"file2"},{"photo_id":"1351676222","filename":"file4"},{"photo_id":"1351675810","filename":"file1"},{"photo_id":"1351675710","filename":"file0"},{"photo_id":"1351676094","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351676362":["hashtag1","hashtag2"]},{"1351676094":["hashtag1","hashtag2"]},{"1351675810":["hashtag1","hashtag2"]},{"1351675710":["hashtag1","hashtag2"]},{"1351675967":["hashtag1","hashtag2"]},{"1351676222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351676362, 1351676094, 1351675810, 1351675710, 1351675967, 1351676222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.414819955825806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:02:33.073453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_36_10402.jpg', '/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_46_10346.jpg', '/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_56_9347.jpg', '/home/pi/Desktop/images/19042025/01/09/image_19042025_01_10_06_10448.jpg', '/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_16_10352.jpg', '/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_26_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_36_10402.jpg
/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_46_10346.jpg
/home/pi/Desktop/images/19042025/01/09/image_19042025_01_09_56_9347.jpg
/home/pi/Desktop/images/19042025/01/09/image_19042025_01_10_06_10448.jpg
/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_16_10352.jpg
/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_26_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351677291","1351677339","1351677255","1351677188","1351677125","1351677394"],"photo_ids_order":["1351677125","1351677188","1351677255","1351677291","1351677339","1351677394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae7c877054f95e05fc8ebcb89ce8eac5.jpg","text":"TemporaryFile(/tmp/multipartBody6291212578709433578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031813631,"filename":"image_19042025_01_10_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/19/fc8b67763e30a8160c4b758c99c99464.jpg","text":"TemporaryFile(/tmp/multipartBody86952651675093677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031813631,"filename":"image_19042025_01_10_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/19/5bf0327c7818c1dc690086f1dc3e4c42.jpg","text":"TemporaryFile(/tmp/multipartBody6985018965334258049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031813631,"filename":"image_19042025_01_09_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fcf3288bf7dc81b10e3efd1f06503f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8527613779193890781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031813631,"filename":"image_19042025_01_09_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b5ed5ad6447e7991ed72c1b059c6eb84.jpg","text":"TemporaryFile(/tmp/multipartBody2548628895209655618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031813631,"filename":"image_19042025_01_09_36_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f96cc16b9bebeeaed9f44535f00293ff.jpg","text":"TemporaryFile(/tmp/multipartBody5821738500447708760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031813631,"filename":"image_19042025_01_10_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351677255","file1":"1351677188","file0":"1351677125","file4":"1351677339","file5":"1351677394","file3":"1351677291"},"map_files_photo_id_array":[{"photo_id":"1351677394","filename":"file5"},{"photo_id":"1351677255","filename":"file2"},{"photo_id":"1351677339","filename":"file4"},{"photo_id":"1351677188","filename":"file1"},{"photo_id":"1351677125","filename":"file0"},{"photo_id":"1351677291","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351677291":["hashtag1","hashtag2"]},{"1351677339":["hashtag1","hashtag2"]},{"1351677255":["hashtag1","hashtag2"]},{"1351677188":["hashtag1","hashtag2"]},{"1351677125":["hashtag1","hashtag2"]},{"1351677394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351677291, 1351677339, 1351677255, 1351677188, 1351677125, 1351677394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.695215225219727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:03:32.384666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_36_10336.jpg', '/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_45_9344.jpg', '/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_56_10480.jpg', '/home/pi/Desktop/images/19042025/01/10/image_19042025_01_11_06_10373.jpg', '/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_16_9379.jpg', '/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_26_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_36_10336.jpg
/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_45_9344.jpg
/home/pi/Desktop/images/19042025/01/10/image_19042025_01_10_56_10480.jpg
/home/pi/Desktop/images/19042025/01/10/image_19042025_01_11_06_10373.jpg
/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_16_9379.jpg
/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_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":["1351677984","1351677963","1351677980","1351677977","1351677982","1351677919"],"photo_ids_order":["1351677919","1351677963","1351677977","1351677980","1351677982","1351677984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/030d54dd417ac6b95da4c7a777b9479d.jpg","text":"TemporaryFile(/tmp/multipartBody2324609594349517579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031872929,"filename":"image_19042025_01_11_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/19/ee9c60723f9b212a78493873472babad.jpg","text":"TemporaryFile(/tmp/multipartBody2931233283153261635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031872929,"filename":"image_19042025_01_10_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/19/4811c65a64a08d432eaba9f387a58ae8.jpg","text":"TemporaryFile(/tmp/multipartBody6660239044807307896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031872929,"filename":"image_19042025_01_11_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/19/66292aefa2d65b0905a2842d2227841a.jpg","text":"TemporaryFile(/tmp/multipartBody455369144795625879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031872929,"filename":"image_19042025_01_10_56_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8dc9a8f5c26b048768e726b1f957d967.jpg","text":"TemporaryFile(/tmp/multipartBody8921220573152910853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031872929,"filename":"image_19042025_01_11_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/19/397850f3fe25708276bf6093510a6daf.jpg","text":"TemporaryFile(/tmp/multipartBody4980526316207088461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031872929,"filename":"image_19042025_01_10_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351677977","file1":"1351677963","file0":"1351677919","file4":"1351677982","file5":"1351677984","file3":"1351677980"},"map_files_photo_id_array":[{"photo_id":"1351677984","filename":"file5"},{"photo_id":"1351677977","filename":"file2"},{"photo_id":"1351677982","filename":"file4"},{"photo_id":"1351677963","filename":"file1"},{"photo_id":"1351677919","filename":"file0"},{"photo_id":"1351677980","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351677984":["hashtag1","hashtag2"]},{"1351677963":["hashtag1","hashtag2"]},{"1351677980":["hashtag1","hashtag2"]},{"1351677977":["hashtag1","hashtag2"]},{"1351677982":["hashtag1","hashtag2"]},{"1351677919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351677984, 1351677963, 1351677980, 1351677977, 1351677982, 1351677919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12286376953125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:04:32.518923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_35_9347.jpg', '/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_46_10458.jpg', '/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_56_10353.jpg', '/home/pi/Desktop/images/19042025/01/11/image_19042025_01_12_06_9400.jpg', '/home/pi/Desktop/images/19042025/01/12/image_19042025_01_12_26_10355.jpg', '/home/pi/Desktop/images/19042025/01/12/image_19042025_01_12_36_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_35_9347.jpg
/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_46_10458.jpg
/home/pi/Desktop/images/19042025/01/11/image_19042025_01_11_56_10353.jpg
/home/pi/Desktop/images/19042025/01/11/image_19042025_01_12_06_9400.jpg
/home/pi/Desktop/images/19042025/01/12/image_19042025_01_12_26_10355.jpg
/home/pi/Desktop/images/19042025/01/12/image_19042025_01_12_36_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351678487","1351678233","1351678364","1351678307","1351678177","1351678432"],"photo_ids_order":["1351678177","1351678233","1351678307","1351678364","1351678432","1351678487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c9a5e92c34645c53e3cf40b3fcf9f57b.jpg","text":"TemporaryFile(/tmp/multipartBody4799854740116177633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031933071,"filename":"image_19042025_01_12_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/19/25242e430d7c602316627598203ec13e.jpg","text":"TemporaryFile(/tmp/multipartBody7441843733516870883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031933071,"filename":"image_19042025_01_11_46_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ef6b212cdf291c20a273b429443aea5.jpg","text":"TemporaryFile(/tmp/multipartBody5092328728254765219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031933071,"filename":"image_19042025_01_12_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/19/117677be3b269a4fff1a4ef1f4ac39ef.jpg","text":"TemporaryFile(/tmp/multipartBody2134641224110134105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031933071,"filename":"image_19042025_01_11_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/19/03cf5d500bc79ae29803758112d41b77.jpg","text":"TemporaryFile(/tmp/multipartBody4727990639371632117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031933071,"filename":"image_19042025_01_11_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32e4e6058326388252b72abc4cace2eb.jpg","text":"TemporaryFile(/tmp/multipartBody1435628662229191942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031933071,"filename":"image_19042025_01_12_26_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351678307","file1":"1351678233","file0":"1351678177","file4":"1351678432","file5":"1351678487","file3":"1351678364"},"map_files_photo_id_array":[{"photo_id":"1351678487","filename":"file5"},{"photo_id":"1351678307","filename":"file2"},{"photo_id":"1351678432","filename":"file4"},{"photo_id":"1351678233","filename":"file1"},{"photo_id":"1351678177","filename":"file0"},{"photo_id":"1351678364","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351678487":["hashtag1","hashtag2"]},{"1351678233":["hashtag1","hashtag2"]},{"1351678364":["hashtag1","hashtag2"]},{"1351678307":["hashtag1","hashtag2"]},{"1351678177":["hashtag1","hashtag2"]},{"1351678432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351678487, 1351678233, 1351678364, 1351678307, 1351678177, 1351678432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.653794765472412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:05:32.755991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/12/image_19042025_01_13_06_10416.jpg', '/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_15_9377.jpg', '/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_26_10348.jpg', '/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_36_10380.jpg', '/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_45_9404.jpg', '/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_56_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/12/image_19042025_01_13_06_10416.jpg
/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_15_9377.jpg
/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_26_10348.jpg
/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_36_10380.jpg
/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_45_9404.jpg
/home/pi/Desktop/images/19042025/01/13/image_19042025_01_13_56_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":["1351679226","1351679096","1351679318","1351679420","1351679149","1351679518"],"photo_ids_order":["1351679096","1351679149","1351679226","1351679318","1351679420","1351679518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e54ebacf77539f883fb312e4049149de.jpg","text":"TemporaryFile(/tmp/multipartBody2468039672623895312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031993303,"filename":"image_19042025_01_13_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/19/f96d5a3d64dcb5d39670572fe0c3738e.jpg","text":"TemporaryFile(/tmp/multipartBody381802514689631167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031993303,"filename":"image_19042025_01_13_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/19/1942960172c18e6297be282cc04a624e.jpg","text":"TemporaryFile(/tmp/multipartBody4861315279120594359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031993303,"filename":"image_19042025_01_13_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/19/1c490789ec84422581885df25e649567.jpg","text":"TemporaryFile(/tmp/multipartBody1343875675349200025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031993303,"filename":"image_19042025_01_13_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/19/40f6a578b3432ad02be65a8fd2a2cef2.jpg","text":"TemporaryFile(/tmp/multipartBody8369080813025634440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031993303,"filename":"image_19042025_01_13_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f6c58b1bdb2c798158fa6546bdd48eb.jpg","text":"TemporaryFile(/tmp/multipartBody8899262099239627265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745031993303,"filename":"image_19042025_01_13_56_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351679226","file1":"1351679149","file0":"1351679096","file4":"1351679420","file5":"1351679518","file3":"1351679318"},"map_files_photo_id_array":[{"photo_id":"1351679518","filename":"file5"},{"photo_id":"1351679226","filename":"file2"},{"photo_id":"1351679420","filename":"file4"},{"photo_id":"1351679149","filename":"file1"},{"photo_id":"1351679096","filename":"file0"},{"photo_id":"1351679318","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351679226":["hashtag1","hashtag2"]},{"1351679096":["hashtag1","hashtag2"]},{"1351679318":["hashtag1","hashtag2"]},{"1351679420":["hashtag1","hashtag2"]},{"1351679149":["hashtag1","hashtag2"]},{"1351679518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351679226, 1351679096, 1351679318, 1351679420, 1351679149, 1351679518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.796122312545776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:06:33.020993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/13/image_19042025_01_14_06_10352.jpg', '/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_16_9347.jpg', '/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_26_10423.jpg', '/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_35_9342.jpg', '/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_46_10415.jpg', '/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_56_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/13/image_19042025_01_14_06_10352.jpg
/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_16_9347.jpg
/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_26_10423.jpg
/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_35_9342.jpg
/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_46_10415.jpg
/home/pi/Desktop/images/19042025/01/14/image_19042025_01_14_56_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351679897","1351679957","1351679927","1351679980","1351679976","1351679985"],"photo_ids_order":["1351679897","1351679927","1351679957","1351679976","1351679980","1351679985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aac297d1ea37980bfa5248a34e23ef44.jpg","text":"TemporaryFile(/tmp/multipartBody7770133489077254071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032053566,"filename":"image_19042025_01_14_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/19/b11ca95c353f90de99e61c971b596057.jpg","text":"TemporaryFile(/tmp/multipartBody7500647580720674410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032053566,"filename":"image_19042025_01_14_26_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00ec6357bef377c1c8398c25a868d860.jpg","text":"TemporaryFile(/tmp/multipartBody5050250259817320386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032053566,"filename":"image_19042025_01_14_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/19/4d464f9365b9847907b70ba95fdd7b43.jpg","text":"TemporaryFile(/tmp/multipartBody9182915683493508244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032053566,"filename":"image_19042025_01_14_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/19/ad7e4b8c83ea5d3eedf45b1b0be60f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7895173971143258131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032053566,"filename":"image_19042025_01_14_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/19/813b8539fcf0bb6e05983adbbce63cad.jpg","text":"TemporaryFile(/tmp/multipartBody2934751269287753623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032053566,"filename":"image_19042025_01_14_56_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351679957","file1":"1351679927","file0":"1351679897","file4":"1351679980","file5":"1351679985","file3":"1351679976"},"map_files_photo_id_array":[{"photo_id":"1351679985","filename":"file5"},{"photo_id":"1351679957","filename":"file2"},{"photo_id":"1351679980","filename":"file4"},{"photo_id":"1351679927","filename":"file1"},{"photo_id":"1351679897","filename":"file0"},{"photo_id":"1351679976","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351679897":["hashtag1","hashtag2"]},{"1351679957":["hashtag1","hashtag2"]},{"1351679927":["hashtag1","hashtag2"]},{"1351679980":["hashtag1","hashtag2"]},{"1351679976":["hashtag1","hashtag2"]},{"1351679985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351679897, 1351679957, 1351679927, 1351679980, 1351679976, 1351679985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0588116645813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:07:32.172680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/14/image_19042025_01_15_06_9421.jpg', '/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_16_10413.jpg', '/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_25_9364.jpg', '/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_36_10408.jpg', '/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_46_10343.jpg', '/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_56_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/14/image_19042025_01_15_06_9421.jpg
/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_16_10413.jpg
/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_25_9364.jpg
/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_36_10408.jpg
/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_46_10343.jpg
/home/pi/Desktop/images/19042025/01/15/image_19042025_01_15_56_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351680000","1351680011","1351680014","1351680008","1351680017","1351680005"],"photo_ids_order":["1351680000","1351680005","1351680008","1351680011","1351680014","1351680017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c179057f3c8929abaaafae79c164b11b.jpg","text":"TemporaryFile(/tmp/multipartBody4254331811873412784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032112723,"filename":"image_19042025_01_15_06_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/640021cbcd0a220f1034d0b5255d678a.jpg","text":"TemporaryFile(/tmp/multipartBody4043372892600725600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032112723,"filename":"image_19042025_01_15_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/19/d48b7f052c3fc5c3037056a3d15aac3c.jpg","text":"TemporaryFile(/tmp/multipartBody6786025175334622564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032112723,"filename":"image_19042025_01_15_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/19/4f7928d68b45980f1c89079e0d95b9d7.jpg","text":"TemporaryFile(/tmp/multipartBody7769072323298922053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032112723,"filename":"image_19042025_01_15_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/19/4f4c60e9b3e26d3c0adface53e160973.jpg","text":"TemporaryFile(/tmp/multipartBody445246493524943015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032112723,"filename":"image_19042025_01_15_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/19/a35da526d72302524296749116e054f1.jpg","text":"TemporaryFile(/tmp/multipartBody4059365997446218773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032112723,"filename":"image_19042025_01_15_16_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351680008","file1":"1351680005","file0":"1351680000","file4":"1351680014","file5":"1351680017","file3":"1351680011"},"map_files_photo_id_array":[{"photo_id":"1351680017","filename":"file5"},{"photo_id":"1351680008","filename":"file2"},{"photo_id":"1351680014","filename":"file4"},{"photo_id":"1351680005","filename":"file1"},{"photo_id":"1351680000","filename":"file0"},{"photo_id":"1351680011","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351680000":["hashtag1","hashtag2"]},{"1351680011":["hashtag1","hashtag2"]},{"1351680014":["hashtag1","hashtag2"]},{"1351680008":["hashtag1","hashtag2"]},{"1351680017":["hashtag1","hashtag2"]},{"1351680005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351680000, 1351680011, 1351680014, 1351680008, 1351680017, 1351680005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56635642051697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:08:32.488798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/15/image_19042025_01_16_06_10438.jpg', '/home/pi/Desktop/images/19042025/01/16/image_19042025_01_16_15_9345.jpg', '/home/pi/Desktop/images/19042025/01/16/image_19042025_01_16_26_10486.jpg', '/home/pi/Desktop/images/19042025/01/16/image_19042025_01_16_36_10409.jpg', '/home/pi/Desktop/images/19042025/01/16/image_19042025_01_16_56_10364.jpg', '/home/pi/Desktop/images/19042025/01/16/image_19042025_01_17_06_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/15/image_19042025_01_16_06_10438.jpg
/home/pi/Desktop/images/19042025/01/16/image_19042025_01_16_15_9345.jpg
/home/pi/Desktop/images/19042025/01/16/image_19042025_01_16_26_10486.jpg
/home/pi/Desktop/images/19042025/01/16/image_19042025_01_16_36_10409.jpg
/home/pi/Desktop/images/19042025/01/16/image_19042025_01_16_56_10364.jpg
/home/pi/Desktop/images/19042025/01/16/image_19042025_01_17_06_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":["1351680027","1351680030","1351680026","1351680023","1351680073","1351680046"],"photo_ids_order":["1351680023","1351680026","1351680027","1351680030","1351680046","1351680073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/961111ac9551d1c557f751fde25835c4.jpg","text":"TemporaryFile(/tmp/multipartBody607591547935261118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032173043,"filename":"image_19042025_01_16_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/19/7c7f58204be0d178306e39bf2ce92dd5.jpg","text":"TemporaryFile(/tmp/multipartBody5165675825811298115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032173043,"filename":"image_19042025_01_16_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/19/1e2e90be797804407d658f1334e1a9c3.jpg","text":"TemporaryFile(/tmp/multipartBody20812415768730415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032173043,"filename":"image_19042025_01_16_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/19/c4d22eedbf898cfd8b1fbee3630240f9.jpg","text":"TemporaryFile(/tmp/multipartBody748656224442608516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032173043,"filename":"image_19042025_01_16_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/19/c93930453dab79c639d3e9b5de4bc318.jpg","text":"TemporaryFile(/tmp/multipartBody5088864780272205944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032173043,"filename":"image_19042025_01_17_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/612df1dd143a5ae7ca40e8dce1e505e3.jpg","text":"TemporaryFile(/tmp/multipartBody1671284408173751391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032173043,"filename":"image_19042025_01_16_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351680027","file1":"1351680026","file0":"1351680023","file4":"1351680046","file5":"1351680073","file3":"1351680030"},"map_files_photo_id_array":[{"photo_id":"1351680073","filename":"file5"},{"photo_id":"1351680027","filename":"file2"},{"photo_id":"1351680046","filename":"file4"},{"photo_id":"1351680026","filename":"file1"},{"photo_id":"1351680023","filename":"file0"},{"photo_id":"1351680030","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351680027":["hashtag1","hashtag2"]},{"1351680030":["hashtag1","hashtag2"]},{"1351680026":["hashtag1","hashtag2"]},{"1351680023":["hashtag1","hashtag2"]},{"1351680073":["hashtag1","hashtag2"]},{"1351680046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351680027, 1351680030, 1351680026, 1351680023, 1351680073, 1351680046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.18139886856079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:09:32.822270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_16_9422.jpg', '/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_26_10424.jpg', '/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_35_9347.jpg', '/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_46_10433.jpg', '/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_56_10364.jpg', '/home/pi/Desktop/images/19042025/01/17/image_19042025_01_18_06_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_16_9422.jpg
/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_26_10424.jpg
/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_35_9347.jpg
/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_46_10433.jpg
/home/pi/Desktop/images/19042025/01/17/image_19042025_01_17_56_10364.jpg
/home/pi/Desktop/images/19042025/01/17/image_19042025_01_18_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":["1351680510","1351680453","1351680382","1351680625","1351680699","1351680660"],"photo_ids_order":["1351680382","1351680453","1351680510","1351680625","1351680660","1351680699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2af7a38149286390c191afa98ae3656a.jpg","text":"TemporaryFile(/tmp/multipartBody5071789040256169410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032233375,"filename":"image_19042025_01_17_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19456cc4a44bee90f104a363bf3714b1.jpg","text":"TemporaryFile(/tmp/multipartBody3224425105576737257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032233375,"filename":"image_19042025_01_17_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/19/931ec8110325bbf0ab823061cdce3086.jpg","text":"TemporaryFile(/tmp/multipartBody3475366443283793904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032233375,"filename":"image_19042025_01_17_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/19/f3f6f61e2364286d79266a329b0f2cd2.jpg","text":"TemporaryFile(/tmp/multipartBody6332038248364025568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032233375,"filename":"image_19042025_01_17_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/19/3d59a1cdd784da5df9fb4ef1e743bea7.jpg","text":"TemporaryFile(/tmp/multipartBody411653915440634332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032233375,"filename":"image_19042025_01_18_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/19/27978669aca41871d60af3afcca9735f.jpg","text":"TemporaryFile(/tmp/multipartBody4282631244579604938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032233375,"filename":"image_19042025_01_17_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351680510","file1":"1351680453","file0":"1351680382","file4":"1351680660","file5":"1351680699","file3":"1351680625"},"map_files_photo_id_array":[{"photo_id":"1351680699","filename":"file5"},{"photo_id":"1351680510","filename":"file2"},{"photo_id":"1351680660","filename":"file4"},{"photo_id":"1351680453","filename":"file1"},{"photo_id":"1351680382","filename":"file0"},{"photo_id":"1351680625","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351680510":["hashtag1","hashtag2"]},{"1351680453":["hashtag1","hashtag2"]},{"1351680382":["hashtag1","hashtag2"]},{"1351680625":["hashtag1","hashtag2"]},{"1351680699":["hashtag1","hashtag2"]},{"1351680660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351680510, 1351680453, 1351680382, 1351680625, 1351680699, 1351680660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6274676322937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:10:33.061498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/18/image_19042025_01_18_16_10429.jpg', '/home/pi/Desktop/images/19042025/01/18/image_19042025_01_18_26_9404.jpg', '/home/pi/Desktop/images/19042025/01/18/image_19042025_01_18_46_10353.jpg', '/home/pi/Desktop/images/19042025/01/18/image_19042025_01_19_06_10354.jpg', '/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_15_9352.jpg', '/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_26_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/18/image_19042025_01_18_16_10429.jpg
/home/pi/Desktop/images/19042025/01/18/image_19042025_01_18_26_9404.jpg
/home/pi/Desktop/images/19042025/01/18/image_19042025_01_18_46_10353.jpg
/home/pi/Desktop/images/19042025/01/18/image_19042025_01_19_06_10354.jpg
/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_15_9352.jpg
/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_26_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":["1351681091","1351680960","1351680924","1351681037","1351681063","1351681137"],"photo_ids_order":["1351680924","1351680960","1351681037","1351681063","1351681091","1351681137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8493d6b096d4a3e984a805e879988aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8654163381345062121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032293616,"filename":"image_19042025_01_19_15_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b712708adf73bad4961caba2d6b523f2.jpg","text":"TemporaryFile(/tmp/multipartBody7886992458595012686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032293616,"filename":"image_19042025_01_18_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/19/6ce6b185a86c86b6bdcbeeb101bfb4a6.jpg","text":"TemporaryFile(/tmp/multipartBody8873596065005091106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032293616,"filename":"image_19042025_01_18_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c63772be214d5a04209c192320b46246.jpg","text":"TemporaryFile(/tmp/multipartBody468082447054520516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032293616,"filename":"image_19042025_01_18_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce55fde92a043b5a713bc6a59db007b9.jpg","text":"TemporaryFile(/tmp/multipartBody368771148733507823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032293616,"filename":"image_19042025_01_19_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/237e7d9b673575b0feed993196d06787.jpg","text":"TemporaryFile(/tmp/multipartBody52849824483415433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032293616,"filename":"image_19042025_01_19_26_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351681037","file1":"1351680960","file0":"1351680924","file4":"1351681091","file5":"1351681137","file3":"1351681063"},"map_files_photo_id_array":[{"photo_id":"1351681137","filename":"file5"},{"photo_id":"1351681037","filename":"file2"},{"photo_id":"1351681091","filename":"file4"},{"photo_id":"1351680960","filename":"file1"},{"photo_id":"1351680924","filename":"file0"},{"photo_id":"1351681063","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351681091":["hashtag1","hashtag2"]},{"1351680960":["hashtag1","hashtag2"]},{"1351680924":["hashtag1","hashtag2"]},{"1351681037":["hashtag1","hashtag2"]},{"1351681063":["hashtag1","hashtag2"]},{"1351681137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351681091, 1351680960, 1351680924, 1351681037, 1351681063, 1351681137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.707810163497925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:11:32.176803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_36_10348.jpg', '/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_45_9354.jpg', '/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_56_10408.jpg', '/home/pi/Desktop/images/19042025/01/19/image_19042025_01_20_06_10343.jpg', '/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_15_9354.jpg', '/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_36_10348.jpg
/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_45_9354.jpg
/home/pi/Desktop/images/19042025/01/19/image_19042025_01_19_56_10408.jpg
/home/pi/Desktop/images/19042025/01/19/image_19042025_01_20_06_10343.jpg
/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_15_9354.jpg
/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_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":["1351681439","1351681331","1351681345","1351681371","1351681329","1351681326"],"photo_ids_order":["1351681326","1351681329","1351681331","1351681345","1351681371","1351681439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8a7cfe044c8eddd40f9feadb3141ca29.jpg","text":"TemporaryFile(/tmp/multipartBody7081019649738288526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032352743,"filename":"image_19042025_01_20_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/19/0c162d4263580c18fe6e402fa2f2ec51.jpg","text":"TemporaryFile(/tmp/multipartBody8882498155851862972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032352743,"filename":"image_19042025_01_19_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6fd5859dee4f197f084e12745f81df6c.jpg","text":"TemporaryFile(/tmp/multipartBody6288983871548159150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032352743,"filename":"image_19042025_01_20_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/19/20cee95be24aa9fed15b40dbeb75d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody2500178730806961501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032352743,"filename":"image_19042025_01_20_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/19/b5b2f14aa2a953944b59cdf8e92a5fd7.jpg","text":"TemporaryFile(/tmp/multipartBody2693014347526004428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032352743,"filename":"image_19042025_01_19_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/19/b594d68f0791fd7aae429e773a2c90b0.jpg","text":"TemporaryFile(/tmp/multipartBody2832527098005943582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032352743,"filename":"image_19042025_01_19_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351681331","file1":"1351681329","file0":"1351681326","file4":"1351681371","file5":"1351681439","file3":"1351681345"},"map_files_photo_id_array":[{"photo_id":"1351681439","filename":"file5"},{"photo_id":"1351681331","filename":"file2"},{"photo_id":"1351681371","filename":"file4"},{"photo_id":"1351681329","filename":"file1"},{"photo_id":"1351681326","filename":"file0"},{"photo_id":"1351681345","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351681439":["hashtag1","hashtag2"]},{"1351681331":["hashtag1","hashtag2"]},{"1351681345":["hashtag1","hashtag2"]},{"1351681371":["hashtag1","hashtag2"]},{"1351681329":["hashtag1","hashtag2"]},{"1351681326":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351681439, 1351681331, 1351681345, 1351681371, 1351681329, 1351681326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.936611652374268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:12:32.409627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_36_10343.jpg', '/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_46_9363.jpg', '/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_56_10421.jpg', '/home/pi/Desktop/images/19042025/01/20/image_19042025_01_21_06_10340.jpg', '/home/pi/Desktop/images/19042025/01/21/image_19042025_01_21_16_9356.jpg', '/home/pi/Desktop/images/19042025/01/21/image_19042025_01_21_26_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_36_10343.jpg
/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_46_9363.jpg
/home/pi/Desktop/images/19042025/01/20/image_19042025_01_20_56_10421.jpg
/home/pi/Desktop/images/19042025/01/20/image_19042025_01_21_06_10340.jpg
/home/pi/Desktop/images/19042025/01/21/image_19042025_01_21_16_9356.jpg
/home/pi/Desktop/images/19042025/01/21/image_19042025_01_21_26_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351681796","1351681781","1351681798","1351681984","1351682227","1351681819"],"photo_ids_order":["1351681781","1351681796","1351681798","1351681819","1351681984","1351682227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/41cddd75337ccced2a40f469b8a50d25.jpg","text":"TemporaryFile(/tmp/multipartBody1138997295798541639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032412961,"filename":"image_19042025_01_20_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/19/e93b54681df49768416e5787dfacf645.jpg","text":"TemporaryFile(/tmp/multipartBody9106238840673778629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032412961,"filename":"image_19042025_01_20_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/19/de9f5cda5f1e318842e762958ff8dfad.jpg","text":"TemporaryFile(/tmp/multipartBody280024279032991476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032412961,"filename":"image_19042025_01_20_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/19/d84561ed226beb2f5ee1bdb4403cc746.jpg","text":"TemporaryFile(/tmp/multipartBody7826682836241575827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032412961,"filename":"image_19042025_01_21_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/19/44f5e9cb364815cc6e15bae7ed607e34.jpg","text":"TemporaryFile(/tmp/multipartBody285504036029035236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032412961,"filename":"image_19042025_01_21_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/19/91a82315519a5df3f50ce6ffccb39093.jpg","text":"TemporaryFile(/tmp/multipartBody7870554627234074513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032412961,"filename":"image_19042025_01_21_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351681798","file1":"1351681796","file0":"1351681781","file4":"1351681984","file5":"1351682227","file3":"1351681819"},"map_files_photo_id_array":[{"photo_id":"1351682227","filename":"file5"},{"photo_id":"1351681798","filename":"file2"},{"photo_id":"1351681984","filename":"file4"},{"photo_id":"1351681796","filename":"file1"},{"photo_id":"1351681781","filename":"file0"},{"photo_id":"1351681819","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351681796":["hashtag1","hashtag2"]},{"1351681781":["hashtag1","hashtag2"]},{"1351681798":["hashtag1","hashtag2"]},{"1351681984":["hashtag1","hashtag2"]},{"1351682227":["hashtag1","hashtag2"]},{"1351681819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351681796, 1351681781, 1351681798, 1351681984, 1351682227, 1351681819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.42697811126709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:13:32.589821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/21/image_19042025_01_21_35_9350.jpg', '/home/pi/Desktop/images/19042025/01/21/image_19042025_01_21_55_9429.jpg', '/home/pi/Desktop/images/19042025/01/21/image_19042025_01_22_06_10359.jpg', '/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_16_10406.jpg', '/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_25_9369.jpg', '/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_36_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/21/image_19042025_01_21_35_9350.jpg
/home/pi/Desktop/images/19042025/01/21/image_19042025_01_21_55_9429.jpg
/home/pi/Desktop/images/19042025/01/21/image_19042025_01_22_06_10359.jpg
/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_16_10406.jpg
/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_25_9369.jpg
/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_36_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":["1351682720","1351682968","1351682920","1351682718","1351682712","1351682966"],"photo_ids_order":["1351682712","1351682718","1351682720","1351682920","1351682966","1351682968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/31d579f5240a25cb5151d18a5eaecb13.jpg","text":"TemporaryFile(/tmp/multipartBody5858574763512251252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032473139,"filename":"image_19042025_01_22_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eebe3f41db94576633eb5c818bf72532.jpg","text":"TemporaryFile(/tmp/multipartBody6944579377534159015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032473139,"filename":"image_19042025_01_22_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/19/9d89675653c537872483035d9ddd078a.jpg","text":"TemporaryFile(/tmp/multipartBody87183435205655542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032473139,"filename":"image_19042025_01_22_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/19/18cd6a6a4824b68e655e89b3bed357e3.jpg","text":"TemporaryFile(/tmp/multipartBody6783707950923170876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032473139,"filename":"image_19042025_01_21_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/19/291bf823e0c112d5579e738e638c4410.jpg","text":"TemporaryFile(/tmp/multipartBody5913798126206990794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032473139,"filename":"image_19042025_01_21_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/19/30aa696365215fc94b9bb7872f26d521.jpg","text":"TemporaryFile(/tmp/multipartBody7585981113555744746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032473139,"filename":"image_19042025_01_22_25_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351682720","file1":"1351682718","file0":"1351682712","file4":"1351682966","file5":"1351682968","file3":"1351682920"},"map_files_photo_id_array":[{"photo_id":"1351682968","filename":"file5"},{"photo_id":"1351682720","filename":"file2"},{"photo_id":"1351682966","filename":"file4"},{"photo_id":"1351682718","filename":"file1"},{"photo_id":"1351682712","filename":"file0"},{"photo_id":"1351682920","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351682720":["hashtag1","hashtag2"]},{"1351682968":["hashtag1","hashtag2"]},{"1351682920":["hashtag1","hashtag2"]},{"1351682718":["hashtag1","hashtag2"]},{"1351682712":["hashtag1","hashtag2"]},{"1351682966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351682720, 1351682968, 1351682920, 1351682718, 1351682712, 1351682966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.53116750717163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 05:14:42.824678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_46_10357.jpg', '/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_56_9429.jpg', '/home/pi/Desktop/images/19042025/01/22/image_19042025_01_23_06_10408.jpg', '/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_15_9361.jpg', '/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_26_10416.jpg', '/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_36_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_46_10357.jpg
/home/pi/Desktop/images/19042025/01/22/image_19042025_01_22_56_9429.jpg
/home/pi/Desktop/images/19042025/01/22/image_19042025_01_23_06_10408.jpg
/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_15_9361.jpg
/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_26_10416.jpg
/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_36_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351682986","1351682980","1351682974","1351682983","1351682976","1351682978"],"photo_ids_order":["1351682974","1351682976","1351682978","1351682980","1351682983","1351682986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3472df91deafddd848bcc7afc51b0b2e.jpg","text":"TemporaryFile(/tmp/multipartBody9089716653192314560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032543370,"filename":"image_19042025_01_23_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/19/22d778eefca815859cd94c33ad8102f5.jpg","text":"TemporaryFile(/tmp/multipartBody6594848644632789647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032543370,"filename":"image_19042025_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/19/cec6de46fe215201133b6e0fd2fe7aac.jpg","text":"TemporaryFile(/tmp/multipartBody5012476317400262582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032543370,"filename":"image_19042025_01_22_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/19/5c74c953f1d4b201c723dc68056578b0.jpg","text":"TemporaryFile(/tmp/multipartBody8669035598466374868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032543370,"filename":"image_19042025_01_23_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/19/915fcf794d6f5fd248fcad3583532d86.jpg","text":"TemporaryFile(/tmp/multipartBody5242018668969551975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032543370,"filename":"image_19042025_01_22_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/19/1c6926f470d1fc121710c4d035acffa5.jpg","text":"TemporaryFile(/tmp/multipartBody1584243797033299037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032543370,"filename":"image_19042025_01_23_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351682978","file1":"1351682976","file0":"1351682974","file4":"1351682983","file5":"1351682986","file3":"1351682980"},"map_files_photo_id_array":[{"photo_id":"1351682986","filename":"file5"},{"photo_id":"1351682978","filename":"file2"},{"photo_id":"1351682983","filename":"file4"},{"photo_id":"1351682976","filename":"file1"},{"photo_id":"1351682974","filename":"file0"},{"photo_id":"1351682980","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351682986":["hashtag1","hashtag2"]},{"1351682980":["hashtag1","hashtag2"]},{"1351682974":["hashtag1","hashtag2"]},{"1351682983":["hashtag1","hashtag2"]},{"1351682976":["hashtag1","hashtag2"]},{"1351682978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351682986, 1351682980, 1351682974, 1351682983, 1351682976, 1351682978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12912559509277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:15:33.022936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_46_9354.jpg', '/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_56_10453.jpg', '/home/pi/Desktop/images/19042025/01/23/image_19042025_01_24_05_9381.jpg', '/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_16_10458.jpg', '/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_26_10364.jpg', '/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_36_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_46_9354.jpg
/home/pi/Desktop/images/19042025/01/23/image_19042025_01_23_56_10453.jpg
/home/pi/Desktop/images/19042025/01/23/image_19042025_01_24_05_9381.jpg
/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_16_10458.jpg
/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_26_10364.jpg
/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_36_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":["1351683506","1351683314","1351683346","1351683563","1351683467","1351683401"],"photo_ids_order":["1351683314","1351683346","1351683401","1351683467","1351683506","1351683563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/477dce03fdd7c110672d72ccb70e1ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7985788167475715265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032593568,"filename":"image_19042025_01_24_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3de65218e96bb419af676f7ce57701ce.jpg","text":"TemporaryFile(/tmp/multipartBody3543773678345123067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032593568,"filename":"image_19042025_01_23_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/19/e6332fe53cdb437a20bafd7d220072e6.jpg","text":"TemporaryFile(/tmp/multipartBody8037108811440947032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032593568,"filename":"image_19042025_01_23_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/19/bef74763c8d327b06e62b3ddace97db3.jpg","text":"TemporaryFile(/tmp/multipartBody6980405469943548311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032593568,"filename":"image_19042025_01_24_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e20a399731289444f8040576ce24438c.jpg","text":"TemporaryFile(/tmp/multipartBody3020213485140638806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032593568,"filename":"image_19042025_01_24_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/19/3e488aa820bd97fcaa665d512da2e8a2.jpg","text":"TemporaryFile(/tmp/multipartBody399575963440716126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032593568,"filename":"image_19042025_01_24_05_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351683401","file1":"1351683346","file0":"1351683314","file4":"1351683506","file5":"1351683563","file3":"1351683467"},"map_files_photo_id_array":[{"photo_id":"1351683563","filename":"file5"},{"photo_id":"1351683401","filename":"file2"},{"photo_id":"1351683506","filename":"file4"},{"photo_id":"1351683346","filename":"file1"},{"photo_id":"1351683314","filename":"file0"},{"photo_id":"1351683467","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351683506":["hashtag1","hashtag2"]},{"1351683314":["hashtag1","hashtag2"]},{"1351683346":["hashtag1","hashtag2"]},{"1351683563":["hashtag1","hashtag2"]},{"1351683467":["hashtag1","hashtag2"]},{"1351683401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351683506, 1351683314, 1351683346, 1351683563, 1351683467, 1351683401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58155155181885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:16:32.345252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_46_10337.jpg', '/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_55_9357.jpg', '/home/pi/Desktop/images/19042025/01/24/image_19042025_01_25_06_10363.jpg', '/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_16_10319.jpg', '/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_25_9351.jpg', '/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_36_10502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_46_10337.jpg
/home/pi/Desktop/images/19042025/01/24/image_19042025_01_24_55_9357.jpg
/home/pi/Desktop/images/19042025/01/24/image_19042025_01_25_06_10363.jpg
/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_16_10319.jpg
/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_25_9351.jpg
/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_36_10502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351683991","1351683988","1351683780","1351683843","1351683933","1351683962"],"photo_ids_order":["1351683780","1351683843","1351683933","1351683962","1351683988","1351683991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba553578432d717ba96d62bed116eb23.jpg","text":"TemporaryFile(/tmp/multipartBody5397330404051287307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032652906,"filename":"image_19042025_01_25_36_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/19/71e6b9405a260315d2f524a2523c993b.jpg","text":"TemporaryFile(/tmp/multipartBody8749516243118434488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032652906,"filename":"image_19042025_01_25_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5b9b040bf54306b4339ac51d1bc5d7c.jpg","text":"TemporaryFile(/tmp/multipartBody949224026635736701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032652906,"filename":"image_19042025_01_24_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5a9ad3bb1c5175f2bd0caf2e3247da5e.jpg","text":"TemporaryFile(/tmp/multipartBody4460697755878185421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032652906,"filename":"image_19042025_01_24_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/19/ba4267b60279754081ce138d05fb89fc.jpg","text":"TemporaryFile(/tmp/multipartBody5592864481793405544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032652906,"filename":"image_19042025_01_25_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/19/57a7048d2a09a6b4cfd88f079e2a91d4.jpg","text":"TemporaryFile(/tmp/multipartBody5853535657202591391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032652906,"filename":"image_19042025_01_25_16_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351683933","file1":"1351683843","file0":"1351683780","file4":"1351683988","file5":"1351683991","file3":"1351683962"},"map_files_photo_id_array":[{"photo_id":"1351683991","filename":"file5"},{"photo_id":"1351683933","filename":"file2"},{"photo_id":"1351683988","filename":"file4"},{"photo_id":"1351683843","filename":"file1"},{"photo_id":"1351683780","filename":"file0"},{"photo_id":"1351683962","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351683991":["hashtag1","hashtag2"]},{"1351683988":["hashtag1","hashtag2"]},{"1351683780":["hashtag1","hashtag2"]},{"1351683843":["hashtag1","hashtag2"]},{"1351683933":["hashtag1","hashtag2"]},{"1351683962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351683991, 1351683988, 1351683780, 1351683843, 1351683933, 1351683962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33161997795105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:17:32.522260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_46_10431.jpg', '/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_56_9560.jpg', '/home/pi/Desktop/images/19042025/01/25/image_19042025_01_26_06_10351.jpg', '/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_16_9397.jpg', '/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_26_9964.jpg', '/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_36_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_46_10431.jpg
/home/pi/Desktop/images/19042025/01/25/image_19042025_01_25_56_9560.jpg
/home/pi/Desktop/images/19042025/01/25/image_19042025_01_26_06_10351.jpg
/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_16_9397.jpg
/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_26_9964.jpg
/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_36_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351684440","1351684521","1351684431","1351684425","1351684499","1351684385"],"photo_ids_order":["1351684385","1351684425","1351684431","1351684440","1351684499","1351684521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90f78b6671e96277f95a270c76e4b11b.jpg","text":"TemporaryFile(/tmp/multipartBody1021417779034334002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032713072,"filename":"image_19042025_01_26_16_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee2c2d92b726ad3dd12da23b77f6f7d4.jpg","text":"TemporaryFile(/tmp/multipartBody8851271801779539677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032713072,"filename":"image_19042025_01_26_36_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d75d902ceaf6c96ac33fbadd23cfc13f.jpg","text":"TemporaryFile(/tmp/multipartBody2154368697088345980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032713072,"filename":"image_19042025_01_26_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb56e3f2e0521fa8ab808f1a89ffefb2.jpg","text":"TemporaryFile(/tmp/multipartBody2670307604777887279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032713072,"filename":"image_19042025_01_25_56_9560.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e5b684d491c40699fbe2eaecce6cb78.jpg","text":"TemporaryFile(/tmp/multipartBody2312044884418525850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032713072,"filename":"image_19042025_01_26_26_9964.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7946b6b4de77ea46da560340676edafc.jpg","text":"TemporaryFile(/tmp/multipartBody7218242503007949185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032713072,"filename":"image_19042025_01_25_46_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351684431","file1":"1351684425","file0":"1351684385","file4":"1351684499","file5":"1351684521","file3":"1351684440"},"map_files_photo_id_array":[{"photo_id":"1351684521","filename":"file5"},{"photo_id":"1351684431","filename":"file2"},{"photo_id":"1351684499","filename":"file4"},{"photo_id":"1351684425","filename":"file1"},{"photo_id":"1351684385","filename":"file0"},{"photo_id":"1351684440","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351684440":["hashtag1","hashtag2"]},{"1351684521":["hashtag1","hashtag2"]},{"1351684431":["hashtag1","hashtag2"]},{"1351684425":["hashtag1","hashtag2"]},{"1351684499":["hashtag1","hashtag2"]},{"1351684385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351684440, 1351684521, 1351684431, 1351684425, 1351684499, 1351684385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.04423713684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:18:32.683245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_46_10339.jpg', '/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_56_9460.jpg', '/home/pi/Desktop/images/19042025/01/26/image_19042025_01_27_06_10349.jpg', '/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_15_9343.jpg', '/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_26_10474.jpg', '/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_46_10339.jpg
/home/pi/Desktop/images/19042025/01/26/image_19042025_01_26_56_9460.jpg
/home/pi/Desktop/images/19042025/01/26/image_19042025_01_27_06_10349.jpg
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_15_9343.jpg
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_26_10474.jpg
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_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":["1351684785","1351684670","1351684783","1351684762","1351684687","1351684666"],"photo_ids_order":["1351684666","1351684670","1351684687","1351684762","1351684783","1351684785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b89a99ba9d659572fd2c6a6ac9866107.jpg","text":"TemporaryFile(/tmp/multipartBody3585287634457708219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032773243,"filename":"image_19042025_01_27_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/19/c776408e92b6cefb63f497064e18e532.jpg","text":"TemporaryFile(/tmp/multipartBody8837046696110624585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032773243,"filename":"image_19042025_01_26_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/19/c1ce4785c5d763e2824f0c67e6f88fef.jpg","text":"TemporaryFile(/tmp/multipartBody7517827291749344402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032773243,"filename":"image_19042025_01_27_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/19/cf521079c62e28bd7fca87bcccf14390.jpg","text":"TemporaryFile(/tmp/multipartBody7021394054017173767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032773243,"filename":"image_19042025_01_27_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/19/0700412a5e63e432a2621a5678d7e23c.jpg","text":"TemporaryFile(/tmp/multipartBody2916436130953056066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032773243,"filename":"image_19042025_01_27_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/19/ed4840f2393ebb453c9347ffbbf077b5.jpg","text":"TemporaryFile(/tmp/multipartBody6125073265020619651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032773243,"filename":"image_19042025_01_26_46_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351684687","file1":"1351684670","file0":"1351684666","file4":"1351684783","file5":"1351684785","file3":"1351684762"},"map_files_photo_id_array":[{"photo_id":"1351684785","filename":"file5"},{"photo_id":"1351684687","filename":"file2"},{"photo_id":"1351684783","filename":"file4"},{"photo_id":"1351684670","filename":"file1"},{"photo_id":"1351684666","filename":"file0"},{"photo_id":"1351684762","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351684785":["hashtag1","hashtag2"]},{"1351684670":["hashtag1","hashtag2"]},{"1351684783":["hashtag1","hashtag2"]},{"1351684762":["hashtag1","hashtag2"]},{"1351684687":["hashtag1","hashtag2"]},{"1351684666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351684785, 1351684670, 1351684783, 1351684762, 1351684687, 1351684666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.416158199310303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:19:33.030278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_46_9349.jpg', '/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_56_10418.jpg', '/home/pi/Desktop/images/19042025/01/27/image_19042025_01_28_05_9335.jpg', '/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_16_10411.jpg', '/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_26_10410.jpg', '/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_36_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_46_9349.jpg
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_56_10418.jpg
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_28_05_9335.jpg
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_16_10411.jpg
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_26_10410.jpg
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_36_9376.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.46649646759033203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 05:19:43.019673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_46_9349.jpg', '/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_56_10418.jpg', '/home/pi/Desktop/images/19042025/01/27/image_19042025_01_28_05_9335.jpg', '/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_16_10411.jpg', '/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_26_10410.jpg', '/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_36_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_46_9349.jpg
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_27_56_10418.jpg
/home/pi/Desktop/images/19042025/01/27/image_19042025_01_28_05_9335.jpg
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_16_10411.jpg
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_26_10410.jpg
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_36_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351684813","1351684807","1351684803","1351684814","1351684811","1351684825"],"photo_ids_order":["1351684803","1351684807","1351684811","1351684813","1351684814","1351684825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b03cfef64935ce8b1e121d444ae9649f.jpg","text":"TemporaryFile(/tmp/multipartBody5582896067805393742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032843492,"filename":"image_19042025_01_28_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/19/01cb432c478ffd46716264eccfcfdccc.jpg","text":"TemporaryFile(/tmp/multipartBody7047173882967717546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032843492,"filename":"image_19042025_01_27_56_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a41546f160a0d5e01ac726d2a96a7e93.jpg","text":"TemporaryFile(/tmp/multipartBody3649817634884225196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032843492,"filename":"image_19042025_01_27_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/19/e50414298fe78bb2b151d0396dc4d513.jpg","text":"TemporaryFile(/tmp/multipartBody6174947756470798419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032843492,"filename":"image_19042025_01_28_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/19/1c0b83458aed4b3986360220496193a9.jpg","text":"TemporaryFile(/tmp/multipartBody4155263579788808572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032843492,"filename":"image_19042025_01_28_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b64a4f0148584d56df2a4dede5a22008.jpg","text":"TemporaryFile(/tmp/multipartBody8479506719009756824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032843492,"filename":"image_19042025_01_28_36_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351684811","file1":"1351684807","file0":"1351684803","file4":"1351684814","file5":"1351684825","file3":"1351684813"},"map_files_photo_id_array":[{"photo_id":"1351684825","filename":"file5"},{"photo_id":"1351684811","filename":"file2"},{"photo_id":"1351684814","filename":"file4"},{"photo_id":"1351684807","filename":"file1"},{"photo_id":"1351684803","filename":"file0"},{"photo_id":"1351684813","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351684813":["hashtag1","hashtag2"]},{"1351684807":["hashtag1","hashtag2"]},{"1351684803":["hashtag1","hashtag2"]},{"1351684814":["hashtag1","hashtag2"]},{"1351684811":["hashtag1","hashtag2"]},{"1351684825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351684813, 1351684807, 1351684803, 1351684814, 1351684811, 1351684825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.365702629089355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:20:32.259096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_46_10446.jpg', '/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_55_9342.jpg', '/home/pi/Desktop/images/19042025/01/28/image_19042025_01_29_06_10465.jpg', '/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_16_10463.jpg', '/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_26_9353.jpg', '/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_36_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_46_10446.jpg
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_28_55_9342.jpg
/home/pi/Desktop/images/19042025/01/28/image_19042025_01_29_06_10465.jpg
/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_16_10463.jpg
/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_26_9353.jpg
/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_36_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351684936","1351684918","1351684830","1351684865","1351684832","1351684922"],"photo_ids_order":["1351684830","1351684832","1351684865","1351684918","1351684922","1351684936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6fb0aad852942c61371f523df2c51198.jpg","text":"TemporaryFile(/tmp/multipartBody704458978602922110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032892804,"filename":"image_19042025_01_29_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1948a171b898f8d549abc0912e2138a.jpg","text":"TemporaryFile(/tmp/multipartBody1496692658661709616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032892804,"filename":"image_19042025_01_29_16_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70326242724594ccf9af1f9ee1400960.jpg","text":"TemporaryFile(/tmp/multipartBody7423865364038489635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032892804,"filename":"image_19042025_01_28_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/19/53cb2b401b390dba76e399a7ae6e6609.jpg","text":"TemporaryFile(/tmp/multipartBody4288669391975813755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032892804,"filename":"image_19042025_01_29_06_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/41169ad6e641787c44e07cfcba704d2a.jpg","text":"TemporaryFile(/tmp/multipartBody2787409919716878766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032892804,"filename":"image_19042025_01_28_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/76dddd15d7754d735d36936d24b3e732.jpg","text":"TemporaryFile(/tmp/multipartBody3182239192710533993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032892804,"filename":"image_19042025_01_29_26_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351684865","file1":"1351684832","file0":"1351684830","file4":"1351684922","file5":"1351684936","file3":"1351684918"},"map_files_photo_id_array":[{"photo_id":"1351684936","filename":"file5"},{"photo_id":"1351684865","filename":"file2"},{"photo_id":"1351684922","filename":"file4"},{"photo_id":"1351684832","filename":"file1"},{"photo_id":"1351684830","filename":"file0"},{"photo_id":"1351684918","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351684936":["hashtag1","hashtag2"]},{"1351684918":["hashtag1","hashtag2"]},{"1351684830":["hashtag1","hashtag2"]},{"1351684865":["hashtag1","hashtag2"]},{"1351684832":["hashtag1","hashtag2"]},{"1351684922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351684936, 1351684918, 1351684830, 1351684865, 1351684832, 1351684922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9269335269928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:21:32.463760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_45_9335.jpg', '/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_56_10361.jpg', '/home/pi/Desktop/images/19042025/01/29/image_19042025_01_30_06_10371.jpg', '/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_15_9367.jpg', '/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_26_10459.jpg', '/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_45_9335.jpg
/home/pi/Desktop/images/19042025/01/29/image_19042025_01_29_56_10361.jpg
/home/pi/Desktop/images/19042025/01/29/image_19042025_01_30_06_10371.jpg
/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_15_9367.jpg
/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_26_10459.jpg
/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_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":["1351685367","1351685418","1351685205","1351685258","1351685315","1351685392"],"photo_ids_order":["1351685205","1351685258","1351685315","1351685367","1351685392","1351685418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e6acbf851569a042341525dfa40bd031.jpg","text":"TemporaryFile(/tmp/multipartBody5281607008623302205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032953000,"filename":"image_19042025_01_30_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/19/e1cfa77e34952aa35d2e3b5b6489f399.jpg","text":"TemporaryFile(/tmp/multipartBody8304458138047021822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032953000,"filename":"image_19042025_01_30_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/19/202c5263ca591fcd19bdf5830073d971.jpg","text":"TemporaryFile(/tmp/multipartBody3913362714193082834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032953000,"filename":"image_19042025_01_29_45_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9237aac92c7eafe80a65b8c498e3968a.jpg","text":"TemporaryFile(/tmp/multipartBody56601658622824346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032953000,"filename":"image_19042025_01_29_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/19/6f981fe4a102ef17779f488c0ce76881.jpg","text":"TemporaryFile(/tmp/multipartBody3183574978997809055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032953000,"filename":"image_19042025_01_30_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/19/df76873bc7ba3efa8b2d6252853d1a03.jpg","text":"TemporaryFile(/tmp/multipartBody2968962261585689882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745032953000,"filename":"image_19042025_01_30_26_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351685315","file1":"1351685258","file0":"1351685205","file4":"1351685392","file5":"1351685418","file3":"1351685367"},"map_files_photo_id_array":[{"photo_id":"1351685418","filename":"file5"},{"photo_id":"1351685315","filename":"file2"},{"photo_id":"1351685392","filename":"file4"},{"photo_id":"1351685258","filename":"file1"},{"photo_id":"1351685205","filename":"file0"},{"photo_id":"1351685367","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351685367":["hashtag1","hashtag2"]},{"1351685418":["hashtag1","hashtag2"]},{"1351685205":["hashtag1","hashtag2"]},{"1351685258":["hashtag1","hashtag2"]},{"1351685315":["hashtag1","hashtag2"]},{"1351685392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351685367, 1351685418, 1351685205, 1351685258, 1351685315, 1351685392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92291069030762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:22:32.780130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_46_9361.jpg', '/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_56_10367.jpg', '/home/pi/Desktop/images/19042025/01/30/image_19042025_01_31_05_9343.jpg', '/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_16_10354.jpg', '/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_26_10420.jpg', '/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_35_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_46_9361.jpg
/home/pi/Desktop/images/19042025/01/30/image_19042025_01_30_56_10367.jpg
/home/pi/Desktop/images/19042025/01/30/image_19042025_01_31_05_9343.jpg
/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_16_10354.jpg
/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_26_10420.jpg
/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_35_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351685781","1351685769","1351685856","1351685786","1351685971","1351685812"],"photo_ids_order":["1351685769","1351685781","1351685786","1351685812","1351685856","1351685971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98188889dd2e49d53d96f645d80e0194.jpg","text":"TemporaryFile(/tmp/multipartBody1038864702302952762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033013325,"filename":"image_19042025_01_30_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/057557182adaa11b428e02f9f13a3268.jpg","text":"TemporaryFile(/tmp/multipartBody7160530118230687548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033013325,"filename":"image_19042025_01_30_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/19/9f1bcd56d3c1f56ad5d01cad7ec51666.jpg","text":"TemporaryFile(/tmp/multipartBody8770703009486755931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033013325,"filename":"image_19042025_01_31_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/19/18f7215cec33c3bf99871210139bc30b.jpg","text":"TemporaryFile(/tmp/multipartBody1568333225083662093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033013325,"filename":"image_19042025_01_31_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/19/4f31987e7618232862c0546779479589.jpg","text":"TemporaryFile(/tmp/multipartBody8572582750291908172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033013325,"filename":"image_19042025_01_31_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/19/ebbc2da9c67c112bbf64a7dcd7b2e592.jpg","text":"TemporaryFile(/tmp/multipartBody6934760838173737726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033013325,"filename":"image_19042025_01_31_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351685786","file1":"1351685781","file0":"1351685769","file4":"1351685856","file5":"1351685971","file3":"1351685812"},"map_files_photo_id_array":[{"photo_id":"1351685971","filename":"file5"},{"photo_id":"1351685786","filename":"file2"},{"photo_id":"1351685856","filename":"file4"},{"photo_id":"1351685781","filename":"file1"},{"photo_id":"1351685769","filename":"file0"},{"photo_id":"1351685812","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351685781":["hashtag1","hashtag2"]},{"1351685769":["hashtag1","hashtag2"]},{"1351685856":["hashtag1","hashtag2"]},{"1351685786":["hashtag1","hashtag2"]},{"1351685971":["hashtag1","hashtag2"]},{"1351685812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351685781, 1351685769, 1351685856, 1351685786, 1351685971, 1351685812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.576218605041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:23:33.022609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_46_10366.jpg', '/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_56_10399.jpg', '/home/pi/Desktop/images/19042025/01/31/image_19042025_01_32_06_9349.jpg', '/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_16_10365.jpg', '/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_26_10374.jpg', '/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_36_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_46_10366.jpg
/home/pi/Desktop/images/19042025/01/31/image_19042025_01_31_56_10399.jpg
/home/pi/Desktop/images/19042025/01/31/image_19042025_01_32_06_9349.jpg
/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_16_10365.jpg
/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_26_10374.jpg
/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_36_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351686650","1351686653","1351686647","1351686560","1351686437","1351686625"],"photo_ids_order":["1351686437","1351686560","1351686625","1351686647","1351686650","1351686653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e112707894a368ed77796db650c6eea8.jpg","text":"TemporaryFile(/tmp/multipartBody3219390015150851640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033073566,"filename":"image_19042025_01_32_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/19/48c0bb13ace2dc8bd3edd16a3c0acb0e.jpg","text":"TemporaryFile(/tmp/multipartBody8046751631799848459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033073566,"filename":"image_19042025_01_32_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/19/2389e2642f630f4b84dd94f45efd766c.jpg","text":"TemporaryFile(/tmp/multipartBody479472929425720917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033073566,"filename":"image_19042025_01_32_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/19/a95dfa525f018d354189c5625c99f14a.jpg","text":"TemporaryFile(/tmp/multipartBody4462012818315835018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033073566,"filename":"image_19042025_01_31_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/19/189ec57a9cd2083bd8aed13c3d7a6995.jpg","text":"TemporaryFile(/tmp/multipartBody7148724541240952991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033073566,"filename":"image_19042025_01_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/19/159a28a81f61b5a08adabfe6bcb68aa7.jpg","text":"TemporaryFile(/tmp/multipartBody4296688943565781166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033073566,"filename":"image_19042025_01_32_06_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351686625","file1":"1351686560","file0":"1351686437","file4":"1351686650","file5":"1351686653","file3":"1351686647"},"map_files_photo_id_array":[{"photo_id":"1351686653","filename":"file5"},{"photo_id":"1351686625","filename":"file2"},{"photo_id":"1351686650","filename":"file4"},{"photo_id":"1351686560","filename":"file1"},{"photo_id":"1351686437","filename":"file0"},{"photo_id":"1351686647","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351686650":["hashtag1","hashtag2"]},{"1351686653":["hashtag1","hashtag2"]},{"1351686647":["hashtag1","hashtag2"]},{"1351686560":["hashtag1","hashtag2"]},{"1351686437":["hashtag1","hashtag2"]},{"1351686625":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351686650, 1351686653, 1351686647, 1351686560, 1351686437, 1351686625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84116458892822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:24:33.170153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_46_10439.jpg', '/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_55_9358.jpg', '/home/pi/Desktop/images/19042025/01/32/image_19042025_01_33_06_10380.jpg', '/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_16_10378.jpg', '/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_26_9438.jpg', '/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_46_10439.jpg
/home/pi/Desktop/images/19042025/01/32/image_19042025_01_32_55_9358.jpg
/home/pi/Desktop/images/19042025/01/32/image_19042025_01_33_06_10380.jpg
/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_16_10378.jpg
/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_26_9438.jpg
/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_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":["1351686782","1351686749","1351686760","1351686780","1351686762","1351686744"],"photo_ids_order":["1351686744","1351686749","1351686760","1351686762","1351686780","1351686782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b6a5f3815339565c8b7b9d6d60a49e56.jpg","text":"TemporaryFile(/tmp/multipartBody5922624850977073414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033133718,"filename":"image_19042025_01_33_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/19/5df65fe9a4c68f70926fd9a076a49958.jpg","text":"TemporaryFile(/tmp/multipartBody7101018547905652320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033133718,"filename":"image_19042025_01_32_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/19/8ded95adaabcdc35d28da272d311bd95.jpg","text":"TemporaryFile(/tmp/multipartBody6062547129004581836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033133718,"filename":"image_19042025_01_33_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/19/bf6723f0dcdb7c350bb0a71e20e6e112.jpg","text":"TemporaryFile(/tmp/multipartBody5956582420495360467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033133718,"filename":"image_19042025_01_33_26_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e148f5f6ad610b820023a65d00de68d.jpg","text":"TemporaryFile(/tmp/multipartBody7334891925836299856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033133718,"filename":"image_19042025_01_33_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/19/59dbd116afd83b866cef1b95b1d551d6.jpg","text":"TemporaryFile(/tmp/multipartBody7348824189669131088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033133718,"filename":"image_19042025_01_32_46_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351686760","file1":"1351686749","file0":"1351686744","file4":"1351686780","file5":"1351686782","file3":"1351686762"},"map_files_photo_id_array":[{"photo_id":"1351686782","filename":"file5"},{"photo_id":"1351686760","filename":"file2"},{"photo_id":"1351686780","filename":"file4"},{"photo_id":"1351686749","filename":"file1"},{"photo_id":"1351686744","filename":"file0"},{"photo_id":"1351686762","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351686782":["hashtag1","hashtag2"]},{"1351686749":["hashtag1","hashtag2"]},{"1351686760":["hashtag1","hashtag2"]},{"1351686780":["hashtag1","hashtag2"]},{"1351686762":["hashtag1","hashtag2"]},{"1351686744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351686782, 1351686749, 1351686760, 1351686780, 1351686762, 1351686744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.688610076904297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:25:32.562622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_45_9372.jpg', '/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_56_10445.jpg', '/home/pi/Desktop/images/19042025/01/33/image_19042025_01_34_06_10468.jpg', '/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_16_9465.jpg', '/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_26_10353.jpg', '/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_35_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_45_9372.jpg
/home/pi/Desktop/images/19042025/01/33/image_19042025_01_33_56_10445.jpg
/home/pi/Desktop/images/19042025/01/33/image_19042025_01_34_06_10468.jpg
/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_16_9465.jpg
/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_26_10353.jpg
/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_35_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351687002","1351686948","1351686974","1351687051","1351686922","1351687026"],"photo_ids_order":["1351686922","1351686948","1351686974","1351687002","1351687026","1351687051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bbd8f3bcfb704fa9db1016f3cdd02980.jpg","text":"TemporaryFile(/tmp/multipartBody3630956862207987478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033193105,"filename":"image_19042025_01_34_16_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eaf98d765f50ca3b17cd9e2fe718b902.jpg","text":"TemporaryFile(/tmp/multipartBody6778554963276292330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033193105,"filename":"image_19042025_01_33_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/19/81e3daafd1cd88383c8009abe28fa9e8.jpg","text":"TemporaryFile(/tmp/multipartBody3936332572037130174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033193105,"filename":"image_19042025_01_34_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/19/5a9a156692c36cbaf9df7f90d55ebb78.jpg","text":"TemporaryFile(/tmp/multipartBody4370221679103190210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033193105,"filename":"image_19042025_01_34_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/19/13a489b2b1d35be989034486755628eb.jpg","text":"TemporaryFile(/tmp/multipartBody1450303204654525946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033193105,"filename":"image_19042025_01_33_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/19/b9a31c348b239433f8f52eb094e8defc.jpg","text":"TemporaryFile(/tmp/multipartBody5409334567384270745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033193105,"filename":"image_19042025_01_34_26_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351686974","file1":"1351686948","file0":"1351686922","file4":"1351687026","file5":"1351687051","file3":"1351687002"},"map_files_photo_id_array":[{"photo_id":"1351687051","filename":"file5"},{"photo_id":"1351686974","filename":"file2"},{"photo_id":"1351687026","filename":"file4"},{"photo_id":"1351686948","filename":"file1"},{"photo_id":"1351686922","filename":"file0"},{"photo_id":"1351687002","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351687002":["hashtag1","hashtag2"]},{"1351686948":["hashtag1","hashtag2"]},{"1351686974":["hashtag1","hashtag2"]},{"1351687051":["hashtag1","hashtag2"]},{"1351686922":["hashtag1","hashtag2"]},{"1351687026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351687002, 1351686948, 1351686974, 1351687051, 1351686922, 1351687026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.75516390800476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:26:32.661109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_46_10398.jpg', '/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_56_10368.jpg', '/home/pi/Desktop/images/19042025/01/34/image_19042025_01_35_06_9331.jpg', '/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_16_10343.jpg', '/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_26_10398.jpg', '/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_36_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_46_10398.jpg
/home/pi/Desktop/images/19042025/01/34/image_19042025_01_34_56_10368.jpg
/home/pi/Desktop/images/19042025/01/34/image_19042025_01_35_06_9331.jpg
/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_16_10343.jpg
/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_26_10398.jpg
/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_36_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351687232","1351687241","1351687249","1351687246","1351687228","1351687207"],"photo_ids_order":["1351687207","1351687228","1351687232","1351687241","1351687246","1351687249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b3ea76ea9765a8e8e2e91f4d3ca8e5c7.jpg","text":"TemporaryFile(/tmp/multipartBody518138806355124609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033253336,"filename":"image_19042025_01_35_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ba678803c515ca9426a17394f8b02d7.jpg","text":"TemporaryFile(/tmp/multipartBody5904270552180957021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033253336,"filename":"image_19042025_01_35_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dfc50cbb5628b0be7c2cdde7a3b2721a.jpg","text":"TemporaryFile(/tmp/multipartBody839437648713140393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033253336,"filename":"image_19042025_01_35_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/19/c8f72888cb7162c0290f74f465d10796.jpg","text":"TemporaryFile(/tmp/multipartBody4584999861496433483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033253336,"filename":"image_19042025_01_35_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/19/9cf46ec4529fc84ff83a85bc9de37905.jpg","text":"TemporaryFile(/tmp/multipartBody7753429600908156164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033253336,"filename":"image_19042025_01_34_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/19/38221983349a19afc6fa51d85312142f.jpg","text":"TemporaryFile(/tmp/multipartBody1447439916647368596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033253336,"filename":"image_19042025_01_34_46_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351687232","file1":"1351687228","file0":"1351687207","file4":"1351687246","file5":"1351687249","file3":"1351687241"},"map_files_photo_id_array":[{"photo_id":"1351687249","filename":"file5"},{"photo_id":"1351687232","filename":"file2"},{"photo_id":"1351687246","filename":"file4"},{"photo_id":"1351687228","filename":"file1"},{"photo_id":"1351687207","filename":"file0"},{"photo_id":"1351687241","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351687232":["hashtag1","hashtag2"]},{"1351687241":["hashtag1","hashtag2"]},{"1351687249":["hashtag1","hashtag2"]},{"1351687246":["hashtag1","hashtag2"]},{"1351687228":["hashtag1","hashtag2"]},{"1351687207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351687232, 1351687241, 1351687249, 1351687246, 1351687228, 1351687207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.57191824913025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:27:32.907979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_46_10359.jpg', '/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_55_9362.jpg', '/home/pi/Desktop/images/19042025/01/35/image_19042025_01_36_06_10480.jpg', '/home/pi/Desktop/images/19042025/01/36/image_19042025_01_36_16_10420.jpg', '/home/pi/Desktop/images/19042025/01/36/image_19042025_01_36_26_9359.jpg', '/home/pi/Desktop/images/19042025/01/36/image_19042025_01_36_45_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_46_10359.jpg
/home/pi/Desktop/images/19042025/01/35/image_19042025_01_35_55_9362.jpg
/home/pi/Desktop/images/19042025/01/35/image_19042025_01_36_06_10480.jpg
/home/pi/Desktop/images/19042025/01/36/image_19042025_01_36_16_10420.jpg
/home/pi/Desktop/images/19042025/01/36/image_19042025_01_36_26_9359.jpg
/home/pi/Desktop/images/19042025/01/36/image_19042025_01_36_45_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351687739","1351687738","1351687651","1351687675","1351687599","1351687716"],"photo_ids_order":["1351687599","1351687651","1351687675","1351687716","1351687738","1351687739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4c8276ae68dbf84c5fa3139be7291bb.jpg","text":"TemporaryFile(/tmp/multipartBody7203764727189145508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033313443,"filename":"image_19042025_01_36_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/19/829076895b8d7b1b01ee9aa9d11416a7.jpg","text":"TemporaryFile(/tmp/multipartBody8718530391056274336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033313443,"filename":"image_19042025_01_36_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c51abba9ea34da989517b5e4cdb5afc9.jpg","text":"TemporaryFile(/tmp/multipartBody1984789920702002829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033313443,"filename":"image_19042025_01_35_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/19/0156ec69cc7d838ec202b51838248138.jpg","text":"TemporaryFile(/tmp/multipartBody8313534364543336849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033313443,"filename":"image_19042025_01_36_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/19/5e906cb63305f2175963a4379b4bed41.jpg","text":"TemporaryFile(/tmp/multipartBody4290055193791295434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033313443,"filename":"image_19042025_01_35_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/19/18758d0f12f9dd9877b0f8603ea20b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1455088439480402145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033313443,"filename":"image_19042025_01_36_16_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351687675","file1":"1351687651","file0":"1351687599","file4":"1351687738","file5":"1351687739","file3":"1351687716"},"map_files_photo_id_array":[{"photo_id":"1351687739","filename":"file5"},{"photo_id":"1351687675","filename":"file2"},{"photo_id":"1351687738","filename":"file4"},{"photo_id":"1351687651","filename":"file1"},{"photo_id":"1351687599","filename":"file0"},{"photo_id":"1351687716","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351687739":["hashtag1","hashtag2"]},{"1351687738":["hashtag1","hashtag2"]},{"1351687651":["hashtag1","hashtag2"]},{"1351687675":["hashtag1","hashtag2"]},{"1351687599":["hashtag1","hashtag2"]},{"1351687716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351687739, 1351687738, 1351687651, 1351687675, 1351687599, 1351687716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.428406953811646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:28:33.155110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/36/image_19042025_01_36_56_10437.jpg', '/home/pi/Desktop/images/19042025/01/36/image_19042025_01_37_06_10375.jpg', '/home/pi/Desktop/images/19042025/01/37/image_19042025_01_37_16_9350.jpg', '/home/pi/Desktop/images/19042025/01/37/image_19042025_01_37_36_10407.jpg', '/home/pi/Desktop/images/19042025/01/37/image_19042025_01_37_46_9342.jpg', '/home/pi/Desktop/images/19042025/01/37/image_19042025_01_37_56_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/36/image_19042025_01_36_56_10437.jpg
/home/pi/Desktop/images/19042025/01/36/image_19042025_01_37_06_10375.jpg
/home/pi/Desktop/images/19042025/01/37/image_19042025_01_37_16_9350.jpg
/home/pi/Desktop/images/19042025/01/37/image_19042025_01_37_36_10407.jpg
/home/pi/Desktop/images/19042025/01/37/image_19042025_01_37_46_9342.jpg
/home/pi/Desktop/images/19042025/01/37/image_19042025_01_37_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":["1351687832","1351687835","1351687829","1351687838","1351687858","1351687849"],"photo_ids_order":["1351687829","1351687832","1351687835","1351687838","1351687849","1351687858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a46e9cf0ab8231bce6e51a287d4e7ece.jpg","text":"TemporaryFile(/tmp/multipartBody7140022099627504048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033373722,"filename":"image_19042025_01_37_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/19/5a844670a78a30598270ed5e20846739.jpg","text":"TemporaryFile(/tmp/multipartBody6983164590232423643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033373722,"filename":"image_19042025_01_37_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/19/079146d7c84c5d2a1d14b6766511c7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5224375830743652183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033373722,"filename":"image_19042025_01_36_56_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/09c30a5bc6c5d01bc2f801a45458c705.jpg","text":"TemporaryFile(/tmp/multipartBody6687563275327695876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033373722,"filename":"image_19042025_01_37_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/19/8bead168213fe73e4ccda778aad42fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2393559788580922952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033373722,"filename":"image_19042025_01_37_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/19/b26748ed86d3f9d98a3715677a3c0205.jpg","text":"TemporaryFile(/tmp/multipartBody3248243261729842704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033373722,"filename":"image_19042025_01_37_46_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351687835","file1":"1351687832","file0":"1351687829","file4":"1351687849","file5":"1351687858","file3":"1351687838"},"map_files_photo_id_array":[{"photo_id":"1351687858","filename":"file5"},{"photo_id":"1351687835","filename":"file2"},{"photo_id":"1351687849","filename":"file4"},{"photo_id":"1351687832","filename":"file1"},{"photo_id":"1351687829","filename":"file0"},{"photo_id":"1351687838","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351687832":["hashtag1","hashtag2"]},{"1351687835":["hashtag1","hashtag2"]},{"1351687829":["hashtag1","hashtag2"]},{"1351687838":["hashtag1","hashtag2"]},{"1351687858":["hashtag1","hashtag2"]},{"1351687849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351687832, 1351687835, 1351687829, 1351687838, 1351687858, 1351687849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.834055185317993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:29:32.345940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/37/image_19042025_01_38_05_9343.jpg', '/home/pi/Desktop/images/19042025/01/38/image_19042025_01_38_16_10398.jpg', '/home/pi/Desktop/images/19042025/01/38/image_19042025_01_38_26_10404.jpg', '/home/pi/Desktop/images/19042025/01/38/image_19042025_01_38_36_9325.jpg', '/home/pi/Desktop/images/19042025/01/38/image_19042025_01_38_46_10363.jpg', '/home/pi/Desktop/images/19042025/01/38/image_19042025_01_39_06_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/37/image_19042025_01_38_05_9343.jpg
/home/pi/Desktop/images/19042025/01/38/image_19042025_01_38_16_10398.jpg
/home/pi/Desktop/images/19042025/01/38/image_19042025_01_38_26_10404.jpg
/home/pi/Desktop/images/19042025/01/38/image_19042025_01_38_36_9325.jpg
/home/pi/Desktop/images/19042025/01/38/image_19042025_01_38_46_10363.jpg
/home/pi/Desktop/images/19042025/01/38/image_19042025_01_39_06_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":["1351687954","1351688005","1351688107","1351688088","1351688168","1351688063"],"photo_ids_order":["1351687954","1351688005","1351688063","1351688088","1351688107","1351688168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5947c9648355f853c6cfe75bd3a2c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6027344896714759971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033432894,"filename":"image_19042025_01_38_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/19/bee9ea9080695a1da7837e18f5d6b084.jpg","text":"TemporaryFile(/tmp/multipartBody7423461489992784733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033432894,"filename":"image_19042025_01_38_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/19/88672bbf85b414478f200c2cc508af76.jpg","text":"TemporaryFile(/tmp/multipartBody2777269197295025606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033432894,"filename":"image_19042025_01_38_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e65e9d6a42c97327712d14bc647b963b.jpg","text":"TemporaryFile(/tmp/multipartBody4034793464115778634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033432894,"filename":"image_19042025_01_38_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f3f68d8f136b897166979fbf16f0794.jpg","text":"TemporaryFile(/tmp/multipartBody3562209618022359550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033432894,"filename":"image_19042025_01_39_06_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4f3f46ae4ff8accef15792e371f4e6f3.jpg","text":"TemporaryFile(/tmp/multipartBody2247491336420921399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033432894,"filename":"image_19042025_01_38_26_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351688063","file1":"1351688005","file0":"1351687954","file4":"1351688107","file5":"1351688168","file3":"1351688088"},"map_files_photo_id_array":[{"photo_id":"1351688168","filename":"file5"},{"photo_id":"1351688063","filename":"file2"},{"photo_id":"1351688107","filename":"file4"},{"photo_id":"1351688005","filename":"file1"},{"photo_id":"1351687954","filename":"file0"},{"photo_id":"1351688088","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351687954":["hashtag1","hashtag2"]},{"1351688005":["hashtag1","hashtag2"]},{"1351688107":["hashtag1","hashtag2"]},{"1351688088":["hashtag1","hashtag2"]},{"1351688168":["hashtag1","hashtag2"]},{"1351688063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351687954, 1351688005, 1351688107, 1351688088, 1351688168, 1351688063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59882211685181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:30:32.627374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_16_10372.jpg', '/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_25_9362.jpg', '/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_36_10394.jpg', '/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_46_10370.jpg', '/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_56_9389.jpg', '/home/pi/Desktop/images/19042025/01/39/image_19042025_01_40_06_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_16_10372.jpg
/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_25_9362.jpg
/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_36_10394.jpg
/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_46_10370.jpg
/home/pi/Desktop/images/19042025/01/39/image_19042025_01_39_56_9389.jpg
/home/pi/Desktop/images/19042025/01/39/image_19042025_01_40_06_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":["1351688290","1351688242","1351688209","1351688319","1351688322","1351688243"],"photo_ids_order":["1351688209","1351688242","1351688243","1351688290","1351688319","1351688322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9974bc81d8a184b2aa21027166f75cc4.jpg","text":"TemporaryFile(/tmp/multipartBody377780148725968707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033493178,"filename":"image_19042025_01_39_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/19/9bd0e3aa679b7404460453e8d830adc0.jpg","text":"TemporaryFile(/tmp/multipartBody3069623896097285231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033493178,"filename":"image_19042025_01_39_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/19/36d35f6723c2182de3e6c8a994922862.jpg","text":"TemporaryFile(/tmp/multipartBody2595689335275707685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033493178,"filename":"image_19042025_01_39_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/19/a094669baa7701c65fe0129afad102a4.jpg","text":"TemporaryFile(/tmp/multipartBody842570190522570787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033493178,"filename":"image_19042025_01_39_56_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/49ad6367a0f5f69f057e95bc546a7dc7.jpg","text":"TemporaryFile(/tmp/multipartBody7088213932247152949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033493178,"filename":"image_19042025_01_40_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/19/8e6354f91d25308048a96cf0d915a882.jpg","text":"TemporaryFile(/tmp/multipartBody3503176992958611073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033493178,"filename":"image_19042025_01_39_36_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351688243","file1":"1351688242","file0":"1351688209","file4":"1351688319","file5":"1351688322","file3":"1351688290"},"map_files_photo_id_array":[{"photo_id":"1351688322","filename":"file5"},{"photo_id":"1351688243","filename":"file2"},{"photo_id":"1351688319","filename":"file4"},{"photo_id":"1351688242","filename":"file1"},{"photo_id":"1351688209","filename":"file0"},{"photo_id":"1351688290","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351688290":["hashtag1","hashtag2"]},{"1351688242":["hashtag1","hashtag2"]},{"1351688209":["hashtag1","hashtag2"]},{"1351688319":["hashtag1","hashtag2"]},{"1351688322":["hashtag1","hashtag2"]},{"1351688243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351688290, 1351688242, 1351688209, 1351688319, 1351688322, 1351688243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83023524284363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:31:32.858097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_16_10363.jpg', '/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_26_9366.jpg', '/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_36_10448.jpg', '/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_45_9339.jpg', '/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_56_10463.jpg', '/home/pi/Desktop/images/19042025/01/40/image_19042025_01_41_06_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_16_10363.jpg
/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_26_9366.jpg
/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_36_10448.jpg
/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_45_9339.jpg
/home/pi/Desktop/images/19042025/01/40/image_19042025_01_40_56_10463.jpg
/home/pi/Desktop/images/19042025/01/40/image_19042025_01_41_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":["1351688410","1351688424","1351688412","1351688483","1351688409","1351688456"],"photo_ids_order":["1351688409","1351688410","1351688412","1351688424","1351688456","1351688483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/221e195729f5fd9bc57530502a490604.jpg","text":"TemporaryFile(/tmp/multipartBody8912359491856826339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033553414,"filename":"image_19042025_01_40_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/19/c404de5a4fde9fe19e8e70f79320ca01.jpg","text":"TemporaryFile(/tmp/multipartBody6799894729244071562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033553414,"filename":"image_19042025_01_40_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/19/6d40f00e6b83e55d9d754cbadcff7016.jpg","text":"TemporaryFile(/tmp/multipartBody3333672183799341531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033553414,"filename":"image_19042025_01_40_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/19/f431ed254466a56f9b70673f08182ff7.jpg","text":"TemporaryFile(/tmp/multipartBody7601300872192607458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033553414,"filename":"image_19042025_01_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/19/f3302f1a0e9956479bfd7f9f55eea8ca.jpg","text":"TemporaryFile(/tmp/multipartBody4943602927431176657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033553414,"filename":"image_19042025_01_40_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/19/83af4e2a1467266d53409d2791c33762.jpg","text":"TemporaryFile(/tmp/multipartBody851153754326333942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033553414,"filename":"image_19042025_01_40_56_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351688412","file1":"1351688410","file0":"1351688409","file4":"1351688456","file5":"1351688483","file3":"1351688424"},"map_files_photo_id_array":[{"photo_id":"1351688483","filename":"file5"},{"photo_id":"1351688412","filename":"file2"},{"photo_id":"1351688456","filename":"file4"},{"photo_id":"1351688410","filename":"file1"},{"photo_id":"1351688409","filename":"file0"},{"photo_id":"1351688424","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351688410":["hashtag1","hashtag2"]},{"1351688424":["hashtag1","hashtag2"]},{"1351688412":["hashtag1","hashtag2"]},{"1351688483":["hashtag1","hashtag2"]},{"1351688409":["hashtag1","hashtag2"]},{"1351688456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351688410, 1351688424, 1351688412, 1351688483, 1351688409, 1351688456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79345488548279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:32:32.094980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/41/image_19042025_01_41_16_9349.jpg', '/home/pi/Desktop/images/19042025/01/41/image_19042025_01_41_26_10436.jpg', '/home/pi/Desktop/images/19042025/01/41/image_19042025_01_41_35_9346.jpg', '/home/pi/Desktop/images/19042025/01/41/image_19042025_01_41_46_10364.jpg', '/home/pi/Desktop/images/19042025/01/41/image_19042025_01_42_06_9371.jpg', '/home/pi/Desktop/images/19042025/01/42/image_19042025_01_42_16_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/41/image_19042025_01_41_16_9349.jpg
/home/pi/Desktop/images/19042025/01/41/image_19042025_01_41_26_10436.jpg
/home/pi/Desktop/images/19042025/01/41/image_19042025_01_41_35_9346.jpg
/home/pi/Desktop/images/19042025/01/41/image_19042025_01_41_46_10364.jpg
/home/pi/Desktop/images/19042025/01/41/image_19042025_01_42_06_9371.jpg
/home/pi/Desktop/images/19042025/01/42/image_19042025_01_42_16_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":["1351688599","1351688584","1351688594","1351688597","1351688591","1351688588"],"photo_ids_order":["1351688584","1351688588","1351688591","1351688594","1351688597","1351688599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e8d8b7cc3ae35c604b58e12f71b7b78.jpg","text":"TemporaryFile(/tmp/multipartBody6451936251788338003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033612644,"filename":"image_19042025_01_42_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/19/8a8f54ce1c6f697ffb80bfd02838a132.jpg","text":"TemporaryFile(/tmp/multipartBody479240828681639724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033612644,"filename":"image_19042025_01_41_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/19/7ee55b0e5ba2791b9b668019eb621a52.jpg","text":"TemporaryFile(/tmp/multipartBody1224153102804908506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033612644,"filename":"image_19042025_01_41_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/19/63d4b28dd9ee1d23f7cb1c31a471f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody6539399037256489092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033612644,"filename":"image_19042025_01_42_06_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b552d3582710f839e9f6ae9579ab076.jpg","text":"TemporaryFile(/tmp/multipartBody2758938550710132597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033612644,"filename":"image_19042025_01_41_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98834f29bd2f686b6c1eb71f25275867.jpg","text":"TemporaryFile(/tmp/multipartBody6850846601382258378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033612644,"filename":"image_19042025_01_41_26_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351688591","file1":"1351688588","file0":"1351688584","file4":"1351688597","file5":"1351688599","file3":"1351688594"},"map_files_photo_id_array":[{"photo_id":"1351688599","filename":"file5"},{"photo_id":"1351688591","filename":"file2"},{"photo_id":"1351688597","filename":"file4"},{"photo_id":"1351688588","filename":"file1"},{"photo_id":"1351688584","filename":"file0"},{"photo_id":"1351688594","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351688599":["hashtag1","hashtag2"]},{"1351688584":["hashtag1","hashtag2"]},{"1351688594":["hashtag1","hashtag2"]},{"1351688597":["hashtag1","hashtag2"]},{"1351688591":["hashtag1","hashtag2"]},{"1351688588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351688599, 1351688584, 1351688594, 1351688597, 1351688591, 1351688588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.978212594985962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:33:32.306349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/42/image_19042025_01_42_36_10431.jpg', '/home/pi/Desktop/images/19042025/01/42/image_19042025_01_42_46_10448.jpg', '/home/pi/Desktop/images/19042025/01/42/image_19042025_01_42_56_9353.jpg', '/home/pi/Desktop/images/19042025/01/42/image_19042025_01_43_06_10355.jpg', '/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_16_10348.jpg', '/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_26_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/42/image_19042025_01_42_36_10431.jpg
/home/pi/Desktop/images/19042025/01/42/image_19042025_01_42_46_10448.jpg
/home/pi/Desktop/images/19042025/01/42/image_19042025_01_42_56_9353.jpg
/home/pi/Desktop/images/19042025/01/42/image_19042025_01_43_06_10355.jpg
/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_16_10348.jpg
/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_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":["1351688717","1351688769","1351688798","1351688690","1351688744","1351688660"],"photo_ids_order":["1351688660","1351688690","1351688717","1351688744","1351688769","1351688798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8813e18c7fd08a4afbbef4af3d354f68.jpg","text":"TemporaryFile(/tmp/multipartBody7094561865089131798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033672845,"filename":"image_19042025_01_42_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/053e135074c5bb48b3b6100a325ddcd6.jpg","text":"TemporaryFile(/tmp/multipartBody2356953181343777528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033672845,"filename":"image_19042025_01_43_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/19/4e5091502384b53a3069e11574e80106.jpg","text":"TemporaryFile(/tmp/multipartBody1341569490782261249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033672845,"filename":"image_19042025_01_43_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/19/985d309e9288ac8e52f3011113d513b9.jpg","text":"TemporaryFile(/tmp/multipartBody4101414750217848532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033672845,"filename":"image_19042025_01_42_46_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ce56721803b130336c761918ffc362d.jpg","text":"TemporaryFile(/tmp/multipartBody7279851794707479158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033672845,"filename":"image_19042025_01_43_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/19/306255e15f3d6f1771214529ae500926.jpg","text":"TemporaryFile(/tmp/multipartBody2782261303974312000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033672845,"filename":"image_19042025_01_42_36_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351688717","file1":"1351688690","file0":"1351688660","file4":"1351688769","file5":"1351688798","file3":"1351688744"},"map_files_photo_id_array":[{"photo_id":"1351688798","filename":"file5"},{"photo_id":"1351688717","filename":"file2"},{"photo_id":"1351688769","filename":"file4"},{"photo_id":"1351688690","filename":"file1"},{"photo_id":"1351688660","filename":"file0"},{"photo_id":"1351688744","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351688717":["hashtag1","hashtag2"]},{"1351688769":["hashtag1","hashtag2"]},{"1351688798":["hashtag1","hashtag2"]},{"1351688690":["hashtag1","hashtag2"]},{"1351688744":["hashtag1","hashtag2"]},{"1351688660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351688717, 1351688769, 1351688798, 1351688690, 1351688744, 1351688660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.32312798500061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:34:32.579325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_36_10380.jpg', '/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_46_9441.jpg', '/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_56_10390.jpg', '/home/pi/Desktop/images/19042025/01/43/image_19042025_01_44_06_10353.jpg', '/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_16_9367.jpg', '/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_36_10380.jpg
/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_46_9441.jpg
/home/pi/Desktop/images/19042025/01/43/image_19042025_01_43_56_10390.jpg
/home/pi/Desktop/images/19042025/01/43/image_19042025_01_44_06_10353.jpg
/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_16_9367.jpg
/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_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":["1351689069","1351689177","1351689293","1351689356","1351689236","1351689107"],"photo_ids_order":["1351689069","1351689107","1351689177","1351689236","1351689293","1351689356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a363370b3d95a2c145b19d3c6cd06724.jpg","text":"TemporaryFile(/tmp/multipartBody8724166683974688471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033733123,"filename":"image_19042025_01_43_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/19/d5607d019aa80d037904551cab39d888.jpg","text":"TemporaryFile(/tmp/multipartBody1674918895906093647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033733123,"filename":"image_19042025_01_43_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/19/11c90749edcbb5b5c0280fa80515bfce.jpg","text":"TemporaryFile(/tmp/multipartBody3997124295641208446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033733123,"filename":"image_19042025_01_44_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/19/6ccdc7aebe9c9fafa075c5088be0a242.jpg","text":"TemporaryFile(/tmp/multipartBody8570907908771092149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033733123,"filename":"image_19042025_01_44_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cfe6fb53d5233a8c5820fe6affc2c634.jpg","text":"TemporaryFile(/tmp/multipartBody3258478168031451472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033733123,"filename":"image_19042025_01_44_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/19/1f5875b4aa7469c15ab3b930ee5688bb.jpg","text":"TemporaryFile(/tmp/multipartBody631682410309128510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033733123,"filename":"image_19042025_01_43_46_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351689177","file1":"1351689107","file0":"1351689069","file4":"1351689293","file5":"1351689356","file3":"1351689236"},"map_files_photo_id_array":[{"photo_id":"1351689356","filename":"file5"},{"photo_id":"1351689177","filename":"file2"},{"photo_id":"1351689293","filename":"file4"},{"photo_id":"1351689107","filename":"file1"},{"photo_id":"1351689069","filename":"file0"},{"photo_id":"1351689236","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351689069":["hashtag1","hashtag2"]},{"1351689177":["hashtag1","hashtag2"]},{"1351689293":["hashtag1","hashtag2"]},{"1351689356":["hashtag1","hashtag2"]},{"1351689236":["hashtag1","hashtag2"]},{"1351689107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351689069, 1351689177, 1351689293, 1351689356, 1351689236, 1351689107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.373557806015015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:35:32.832945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_35_9338.jpg', '/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_46_10456.jpg', '/home/pi/Desktop/images/19042025/01/44/image_19042025_01_45_05_9335.jpg', '/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_16_10456.jpg', '/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_26_10090.jpg', '/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_35_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_35_9338.jpg
/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_46_10456.jpg
/home/pi/Desktop/images/19042025/01/44/image_19042025_01_45_05_9335.jpg
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_16_10456.jpg
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_26_10090.jpg
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_35_9340.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4680314064025879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 05:35:42.896359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_35_9338.jpg', '/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_46_10456.jpg', '/home/pi/Desktop/images/19042025/01/44/image_19042025_01_45_05_9335.jpg', '/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_16_10456.jpg', '/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_26_10090.jpg', '/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_35_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_35_9338.jpg
/home/pi/Desktop/images/19042025/01/44/image_19042025_01_44_46_10456.jpg
/home/pi/Desktop/images/19042025/01/44/image_19042025_01_45_05_9335.jpg
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_16_10456.jpg
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_26_10090.jpg
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_35_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351689760","1351689733","1351689639","1351689768","1351689735","1351689670"],"photo_ids_order":["1351689639","1351689670","1351689733","1351689735","1351689760","1351689768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d65288feecbb0101e9628d454c62d095.jpg","text":"TemporaryFile(/tmp/multipartBody6305889592071713788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033803367,"filename":"image_19042025_01_45_26_10090.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/60b18b9cefa42dca0d5e1c9753561eaf.jpg","text":"TemporaryFile(/tmp/multipartBody6383574240269665865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033803367,"filename":"image_19042025_01_45_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/506033acbc56b19cb679069696a47f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6793373944985122891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033803367,"filename":"image_19042025_01_44_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/19/4ad8c354d23e6aeaf30cf28406d38066.jpg","text":"TemporaryFile(/tmp/multipartBody8261420944301735508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033803367,"filename":"image_19042025_01_45_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/311cc9556688ec250ee1f913010e59a1.jpg","text":"TemporaryFile(/tmp/multipartBody6543384831477097900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033803367,"filename":"image_19042025_01_45_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/19/89fd36d3da3ee0530fa8da34bbd0f2bd.jpg","text":"TemporaryFile(/tmp/multipartBody830307793193132882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033803367,"filename":"image_19042025_01_44_46_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351689733","file1":"1351689670","file0":"1351689639","file4":"1351689760","file5":"1351689768","file3":"1351689735"},"map_files_photo_id_array":[{"photo_id":"1351689768","filename":"file5"},{"photo_id":"1351689733","filename":"file2"},{"photo_id":"1351689760","filename":"file4"},{"photo_id":"1351689670","filename":"file1"},{"photo_id":"1351689639","filename":"file0"},{"photo_id":"1351689735","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351689760":["hashtag1","hashtag2"]},{"1351689733":["hashtag1","hashtag2"]},{"1351689639":["hashtag1","hashtag2"]},{"1351689768":["hashtag1","hashtag2"]},{"1351689735":["hashtag1","hashtag2"]},{"1351689670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351689760, 1351689733, 1351689639, 1351689768, 1351689735, 1351689670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95725464820862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:36:33.099612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_46_10394.jpg', '/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_56_10357.jpg', '/home/pi/Desktop/images/19042025/01/45/image_19042025_01_46_05_9323.jpg', '/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_16_10446.jpg', '/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_26_10356.jpg', '/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_36_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_46_10394.jpg
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_45_56_10357.jpg
/home/pi/Desktop/images/19042025/01/45/image_19042025_01_46_05_9323.jpg
/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_16_10446.jpg
/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_26_10356.jpg
/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_36_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":["1351690013","1351689864","1351689924","1351689890","1351689950","1351690017"],"photo_ids_order":["1351689864","1351689890","1351689924","1351689950","1351690013","1351690017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/817da1c8a603c46544ad81186c796201.jpg","text":"TemporaryFile(/tmp/multipartBody6942822495740746554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033853646,"filename":"image_19042025_01_46_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/19/c186a885f4bd436b3526e5f1de321480.jpg","text":"TemporaryFile(/tmp/multipartBody2006849507711724367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033853646,"filename":"image_19042025_01_45_46_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf21f471a9be9f33afebd3b7b8a59127.jpg","text":"TemporaryFile(/tmp/multipartBody757372627646181248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033853646,"filename":"image_19042025_01_46_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/19/6639be7bfffe0df6c58682deb692c117.jpg","text":"TemporaryFile(/tmp/multipartBody1260443689312791915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033853646,"filename":"image_19042025_01_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/19/dce8816b3cdd7f57f290a23e172f6e3f.jpg","text":"TemporaryFile(/tmp/multipartBody137817915501852009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033853646,"filename":"image_19042025_01_46_16_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc998a4af1576c5508bad25c0675275b.jpg","text":"TemporaryFile(/tmp/multipartBody5767028642699837098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033853646,"filename":"image_19042025_01_46_36_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351689924","file1":"1351689890","file0":"1351689864","file4":"1351690013","file5":"1351690017","file3":"1351689950"},"map_files_photo_id_array":[{"photo_id":"1351690017","filename":"file5"},{"photo_id":"1351689924","filename":"file2"},{"photo_id":"1351690013","filename":"file4"},{"photo_id":"1351689890","filename":"file1"},{"photo_id":"1351689864","filename":"file0"},{"photo_id":"1351689950","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351690013":["hashtag1","hashtag2"]},{"1351689864":["hashtag1","hashtag2"]},{"1351689924":["hashtag1","hashtag2"]},{"1351689890":["hashtag1","hashtag2"]},{"1351689950":["hashtag1","hashtag2"]},{"1351690017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351690013, 1351689864, 1351689924, 1351689890, 1351689950, 1351690017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.252647161483765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:37:32.154713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_46_10422.jpg', '/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_55_9335.jpg', '/home/pi/Desktop/images/19042025/01/46/image_19042025_01_47_06_10438.jpg', '/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_16_10363.jpg', '/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_26_9357.jpg', '/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_36_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_46_10422.jpg
/home/pi/Desktop/images/19042025/01/46/image_19042025_01_46_55_9335.jpg
/home/pi/Desktop/images/19042025/01/46/image_19042025_01_47_06_10438.jpg
/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_16_10363.jpg
/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_26_9357.jpg
/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_36_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":["1351690349","1351690273","1351690246","1351690210","1351690302","1351690172"],"photo_ids_order":["1351690172","1351690210","1351690246","1351690273","1351690302","1351690349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d2da043cc27d99538df6d2a161118ca4.jpg","text":"TemporaryFile(/tmp/multipartBody9135318420162320791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033912966,"filename":"image_19042025_01_47_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/987af8aa8dc5157bd3a2d98bdb282548.jpg","text":"TemporaryFile(/tmp/multipartBody1836887231015415886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033912966,"filename":"image_19042025_01_47_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f9e8602ef4a3871c81c65b634008c3a.jpg","text":"TemporaryFile(/tmp/multipartBody7995047706907784966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033912966,"filename":"image_19042025_01_47_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/19/354f0f21477a9cea207ea9b626129e41.jpg","text":"TemporaryFile(/tmp/multipartBody6723312737623330563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033912966,"filename":"image_19042025_01_46_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9b702f07ee37369c5814184b30cb994.jpg","text":"TemporaryFile(/tmp/multipartBody4620084862262147622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033912966,"filename":"image_19042025_01_47_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/19/699b645fd43f93a4d28c56fcaab22b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5645371953174259948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033912966,"filename":"image_19042025_01_46_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351690246","file1":"1351690210","file0":"1351690172","file4":"1351690302","file5":"1351690349","file3":"1351690273"},"map_files_photo_id_array":[{"photo_id":"1351690349","filename":"file5"},{"photo_id":"1351690246","filename":"file2"},{"photo_id":"1351690302","filename":"file4"},{"photo_id":"1351690210","filename":"file1"},{"photo_id":"1351690172","filename":"file0"},{"photo_id":"1351690273","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351690349":["hashtag1","hashtag2"]},{"1351690273":["hashtag1","hashtag2"]},{"1351690246":["hashtag1","hashtag2"]},{"1351690210":["hashtag1","hashtag2"]},{"1351690302":["hashtag1","hashtag2"]},{"1351690172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351690349, 1351690273, 1351690246, 1351690210, 1351690302, 1351690172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78521275520325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:38:32.430172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_46_10406.jpg', '/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_56_9339.jpg', '/home/pi/Desktop/images/19042025/01/47/image_19042025_01_48_06_10443.jpg', '/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_15_9412.jpg', '/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_26_10352.jpg', '/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_36_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_46_10406.jpg
/home/pi/Desktop/images/19042025/01/47/image_19042025_01_47_56_9339.jpg
/home/pi/Desktop/images/19042025/01/47/image_19042025_01_48_06_10443.jpg
/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_15_9412.jpg
/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_26_10352.jpg
/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_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":["1351690771","1351691128","1351690741","1351690900","1351691243","1351691003"],"photo_ids_order":["1351690741","1351690771","1351690900","1351691003","1351691128","1351691243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a58119db39bf8a3d776b927019e35650.jpg","text":"TemporaryFile(/tmp/multipartBody6722347589454849369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033972990,"filename":"image_19042025_01_47_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f59edc571126d9d3e16256d87fe265ca.jpg","text":"TemporaryFile(/tmp/multipartBody6286681827898359147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033972990,"filename":"image_19042025_01_48_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b18d4f8e38602645cde6bcc5b69dad15.jpg","text":"TemporaryFile(/tmp/multipartBody8520972165456848772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033972990,"filename":"image_19042025_01_47_46_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc216f5fff0a21b22dd6cd9e4c67745f.jpg","text":"TemporaryFile(/tmp/multipartBody3996339655062495280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033972990,"filename":"image_19042025_01_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/19/217933dd9eabcde522dfdb078a9cf234.jpg","text":"TemporaryFile(/tmp/multipartBody4144231146565875580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033972990,"filename":"image_19042025_01_48_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/96159e983e47739e49a1222bfb99ffcf.jpg","text":"TemporaryFile(/tmp/multipartBody7504178714545608231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745033972990,"filename":"image_19042025_01_48_15_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351690900","file1":"1351690771","file0":"1351690741","file4":"1351691128","file5":"1351691243","file3":"1351691003"},"map_files_photo_id_array":[{"photo_id":"1351691243","filename":"file5"},{"photo_id":"1351690900","filename":"file2"},{"photo_id":"1351691128","filename":"file4"},{"photo_id":"1351690771","filename":"file1"},{"photo_id":"1351690741","filename":"file0"},{"photo_id":"1351691003","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351690771":["hashtag1","hashtag2"]},{"1351691128":["hashtag1","hashtag2"]},{"1351690741":["hashtag1","hashtag2"]},{"1351690900":["hashtag1","hashtag2"]},{"1351691243":["hashtag1","hashtag2"]},{"1351691003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351690771, 1351691128, 1351690741, 1351690900, 1351691243, 1351691003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23436212539673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:39:32.490018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_46_9332.jpg', '/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_56_10371.jpg', '/home/pi/Desktop/images/19042025/01/48/image_19042025_01_49_06_10336.jpg', '/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_16_9366.jpg', '/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_26_10451.jpg', '/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_35_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_46_9332.jpg
/home/pi/Desktop/images/19042025/01/48/image_19042025_01_48_56_10371.jpg
/home/pi/Desktop/images/19042025/01/48/image_19042025_01_49_06_10336.jpg
/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_16_9366.jpg
/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_26_10451.jpg
/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_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":["1351692340","1351692282","1351692263","1351692391","1351692311","1351692370"],"photo_ids_order":["1351692263","1351692282","1351692311","1351692340","1351692370","1351692391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/307aab87b205e3139feadffb78695774.jpg","text":"TemporaryFile(/tmp/multipartBody1675948854979829544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034033039,"filename":"image_19042025_01_49_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/19/c0c6ee63a5c800d943d907cd8e59ee32.jpg","text":"TemporaryFile(/tmp/multipartBody9064947841247171362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034033039,"filename":"image_19042025_01_48_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fca9deaf730246894c8556870624a0be.jpg","text":"TemporaryFile(/tmp/multipartBody8393528778669662046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034033039,"filename":"image_19042025_01_48_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e10ec7c5c23d55af22295b42b1aa1ff.jpg","text":"TemporaryFile(/tmp/multipartBody6833629468316793341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034033039,"filename":"image_19042025_01_49_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/19/12efbc02c5d82bb7734e2905f97b2ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1973089200709639865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034033039,"filename":"image_19042025_01_49_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/41916af80b259135b6c3ce9efbe2ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody2804402101040586401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034033039,"filename":"image_19042025_01_49_26_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351692311","file1":"1351692282","file0":"1351692263","file4":"1351692370","file5":"1351692391","file3":"1351692340"},"map_files_photo_id_array":[{"photo_id":"1351692391","filename":"file5"},{"photo_id":"1351692311","filename":"file2"},{"photo_id":"1351692370","filename":"file4"},{"photo_id":"1351692282","filename":"file1"},{"photo_id":"1351692263","filename":"file0"},{"photo_id":"1351692340","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351692340":["hashtag1","hashtag2"]},{"1351692282":["hashtag1","hashtag2"]},{"1351692263":["hashtag1","hashtag2"]},{"1351692391":["hashtag1","hashtag2"]},{"1351692311":["hashtag1","hashtag2"]},{"1351692370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351692340, 1351692282, 1351692263, 1351692391, 1351692311, 1351692370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25619864463806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:40:32.740630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_46_10474.jpg', '/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_56_10372.jpg', '/home/pi/Desktop/images/19042025/01/49/image_19042025_01_50_06_9348.jpg', '/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_16_10362.jpg', '/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_25_9354.jpg', '/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_36_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_46_10474.jpg
/home/pi/Desktop/images/19042025/01/49/image_19042025_01_49_56_10372.jpg
/home/pi/Desktop/images/19042025/01/49/image_19042025_01_50_06_9348.jpg
/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_16_10362.jpg
/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_25_9354.jpg
/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_36_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351692625","1351692549","1351693130","1351693336","1351692809","1351692460"],"photo_ids_order":["1351692460","1351692549","1351692625","1351692809","1351693130","1351693336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37a6f167ec00036fa3dff72fff1b5103.jpg","text":"TemporaryFile(/tmp/multipartBody8473624175462617665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034093276,"filename":"image_19042025_01_50_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/19/d664804924c2e7788d452c33acfdfe37.jpg","text":"TemporaryFile(/tmp/multipartBody6621453067266424650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034093276,"filename":"image_19042025_01_49_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/19/85ea62115faf81d3b295748db2856c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3966226891323992496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034093276,"filename":"image_19042025_01_50_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/19/5041acbaab0c25ac1c5f4945e47a0f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7165304409223508321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034093276,"filename":"image_19042025_01_50_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/19/c3ebaae6fc0172603a1fb4fe09307894.jpg","text":"TemporaryFile(/tmp/multipartBody5971889477912493139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034093276,"filename":"image_19042025_01_50_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/19/3c83a24465f5aff572bd12e25da20f16.jpg","text":"TemporaryFile(/tmp/multipartBody2215233856044853640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034093276,"filename":"image_19042025_01_49_46_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351692625","file1":"1351692549","file0":"1351692460","file4":"1351693130","file5":"1351693336","file3":"1351692809"},"map_files_photo_id_array":[{"photo_id":"1351693336","filename":"file5"},{"photo_id":"1351692625","filename":"file2"},{"photo_id":"1351693130","filename":"file4"},{"photo_id":"1351692549","filename":"file1"},{"photo_id":"1351692460","filename":"file0"},{"photo_id":"1351692809","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351692625":["hashtag1","hashtag2"]},{"1351692549":["hashtag1","hashtag2"]},{"1351693130":["hashtag1","hashtag2"]},{"1351693336":["hashtag1","hashtag2"]},{"1351692809":["hashtag1","hashtag2"]},{"1351692460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351692625, 1351692549, 1351693130, 1351693336, 1351692809, 1351692460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.281819581985474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 05:41:43.073596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_46_10382.jpg', '/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_55_9359.jpg', '/home/pi/Desktop/images/19042025/01/50/image_19042025_01_51_06_10510.jpg', '/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_16_10390.jpg', '/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_26_9358.jpg', '/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_36_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_46_10382.jpg
/home/pi/Desktop/images/19042025/01/50/image_19042025_01_50_55_9359.jpg
/home/pi/Desktop/images/19042025/01/50/image_19042025_01_51_06_10510.jpg
/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_16_10390.jpg
/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_26_9358.jpg
/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_36_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351693481","1351693483","1351693486","1351693531","1351693528","1351693510"],"photo_ids_order":["1351693481","1351693483","1351693486","1351693510","1351693528","1351693531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d2d27dabb2433919dd3167fa1b877833.jpg","text":"TemporaryFile(/tmp/multipartBody436648861367289908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034163620,"filename":"image_19042025_01_50_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c761c95844a64481be2662b68c77ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody7194678985614544687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034163620,"filename":"image_19042025_01_50_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/19/7a728f4d50bbd6a85807d5cab5943faf.jpg","text":"TemporaryFile(/tmp/multipartBody2529067306521675337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034163620,"filename":"image_19042025_01_51_06_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5978ae4aa56c098f5e74e452b1160705.jpg","text":"TemporaryFile(/tmp/multipartBody4776771706373727022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034163620,"filename":"image_19042025_01_51_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/19/a57dea73e77cd6d7f1a3b873b546c817.jpg","text":"TemporaryFile(/tmp/multipartBody3286309417442742149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034163620,"filename":"image_19042025_01_51_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/19/399238ca9659f37f03905b6fd66f4a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4119546483265993878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034163620,"filename":"image_19042025_01_51_16_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351693486","file1":"1351693483","file0":"1351693481","file4":"1351693528","file5":"1351693531","file3":"1351693510"},"map_files_photo_id_array":[{"photo_id":"1351693531","filename":"file5"},{"photo_id":"1351693486","filename":"file2"},{"photo_id":"1351693528","filename":"file4"},{"photo_id":"1351693483","filename":"file1"},{"photo_id":"1351693481","filename":"file0"},{"photo_id":"1351693510","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351693481":["hashtag1","hashtag2"]},{"1351693483":["hashtag1","hashtag2"]},{"1351693486":["hashtag1","hashtag2"]},{"1351693531":["hashtag1","hashtag2"]},{"1351693528":["hashtag1","hashtag2"]},{"1351693510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351693481, 1351693483, 1351693486, 1351693531, 1351693528, 1351693510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63159489631653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:42:32.200920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_45_9326.jpg', '/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_56_10441.jpg', '/home/pi/Desktop/images/19042025/01/51/image_19042025_01_52_06_10349.jpg', '/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_16_9338.jpg', '/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_26_10420.jpg', '/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_35_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_45_9326.jpg
/home/pi/Desktop/images/19042025/01/51/image_19042025_01_51_56_10441.jpg
/home/pi/Desktop/images/19042025/01/51/image_19042025_01_52_06_10349.jpg
/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_16_9338.jpg
/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_26_10420.jpg
/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_35_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":["1351694344","1351694416","1351694460","1351694454","1351694457","1351694268"],"photo_ids_order":["1351694268","1351694344","1351694416","1351694454","1351694457","1351694460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c0b1fdd7d8624557fb330797c21da4c.jpg","text":"TemporaryFile(/tmp/multipartBody2458026259215939773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034212751,"filename":"image_19042025_01_51_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/19/8d200f05e8538b8ae0f6b9bcef401f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5164737151740622823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034212751,"filename":"image_19042025_01_52_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/19/644612ac2435573bb429ee571896abe0.jpg","text":"TemporaryFile(/tmp/multipartBody4160722543687271196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034212751,"filename":"image_19042025_01_52_35_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/540eb5d0ecba1c5d78f16f1a9f5e82f7.jpg","text":"TemporaryFile(/tmp/multipartBody9058381173921435165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034212751,"filename":"image_19042025_01_52_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e3c5eb81a2a0d129393289d49189441.jpg","text":"TemporaryFile(/tmp/multipartBody8569854541611888408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034212751,"filename":"image_19042025_01_52_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/19/3fc95cb809d22d394cc831699c239ec5.jpg","text":"TemporaryFile(/tmp/multipartBody5720816029349177747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034212751,"filename":"image_19042025_01_51_45_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351694416","file1":"1351694344","file0":"1351694268","file4":"1351694457","file5":"1351694460","file3":"1351694454"},"map_files_photo_id_array":[{"photo_id":"1351694460","filename":"file5"},{"photo_id":"1351694416","filename":"file2"},{"photo_id":"1351694457","filename":"file4"},{"photo_id":"1351694344","filename":"file1"},{"photo_id":"1351694268","filename":"file0"},{"photo_id":"1351694454","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351694344":["hashtag1","hashtag2"]},{"1351694416":["hashtag1","hashtag2"]},{"1351694460":["hashtag1","hashtag2"]},{"1351694454":["hashtag1","hashtag2"]},{"1351694457":["hashtag1","hashtag2"]},{"1351694268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351694344, 1351694416, 1351694460, 1351694454, 1351694457, 1351694268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.838982820510864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:43:32.491237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_46_10462.jpg', '/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_56_10347.jpg', '/home/pi/Desktop/images/19042025/01/52/image_19042025_01_53_06_9423.jpg', '/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_16_10432.jpg', '/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_25_9359.jpg', '/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_36_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_46_10462.jpg
/home/pi/Desktop/images/19042025/01/52/image_19042025_01_52_56_10347.jpg
/home/pi/Desktop/images/19042025/01/52/image_19042025_01_53_06_9423.jpg
/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_16_10432.jpg
/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_25_9359.jpg
/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_36_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351694511","1351694579","1351694606","1351694521","1351694634","1351694550"],"photo_ids_order":["1351694511","1351694521","1351694550","1351694579","1351694606","1351694634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6f9eb083a4ff91c5a6c0f287d12ed93.jpg","text":"TemporaryFile(/tmp/multipartBody4894988094011467117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034273056,"filename":"image_19042025_01_52_46_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf1aabfe351e1f3cf80185b7ddc1c43d.jpg","text":"TemporaryFile(/tmp/multipartBody7160481187094429702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034273056,"filename":"image_19042025_01_53_16_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/113e032eea698bc3dff847bb74180991.jpg","text":"TemporaryFile(/tmp/multipartBody2307582617915894624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034273056,"filename":"image_19042025_01_53_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/19/9740386377955a348165da7b6ca9e952.jpg","text":"TemporaryFile(/tmp/multipartBody483430569198531784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034273056,"filename":"image_19042025_01_52_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/19/08a95318bd4446acd8e5992ddcc3ced3.jpg","text":"TemporaryFile(/tmp/multipartBody229795893462057794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034273056,"filename":"image_19042025_01_53_36_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/be0959c632d44e638cee5bd00e3703e1.jpg","text":"TemporaryFile(/tmp/multipartBody4268637376511988131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034273056,"filename":"image_19042025_01_53_06_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351694550","file1":"1351694521","file0":"1351694511","file4":"1351694606","file5":"1351694634","file3":"1351694579"},"map_files_photo_id_array":[{"photo_id":"1351694634","filename":"file5"},{"photo_id":"1351694550","filename":"file2"},{"photo_id":"1351694606","filename":"file4"},{"photo_id":"1351694521","filename":"file1"},{"photo_id":"1351694511","filename":"file0"},{"photo_id":"1351694579","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351694511":["hashtag1","hashtag2"]},{"1351694579":["hashtag1","hashtag2"]},{"1351694606":["hashtag1","hashtag2"]},{"1351694521":["hashtag1","hashtag2"]},{"1351694634":["hashtag1","hashtag2"]},{"1351694550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351694511, 1351694579, 1351694606, 1351694521, 1351694634, 1351694550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99324607849121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:44:32.502234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_46_10389.jpg', '/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_56_9351.jpg', '/home/pi/Desktop/images/19042025/01/53/image_19042025_01_54_06_10437.jpg', '/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_15_9352.jpg', '/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_26_10463.jpg', '/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_36_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_46_10389.jpg
/home/pi/Desktop/images/19042025/01/53/image_19042025_01_53_56_9351.jpg
/home/pi/Desktop/images/19042025/01/53/image_19042025_01_54_06_10437.jpg
/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_15_9352.jpg
/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_26_10463.jpg
/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_36_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351695524","1351695608","1351695346","1351695450","1351695575","1351695398"],"photo_ids_order":["1351695346","1351695398","1351695450","1351695524","1351695575","1351695608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9625d22335bd75b6b8a791e11c5c0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2684125542033499250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034333048,"filename":"image_19042025_01_54_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/19/8e51f09e5e2be62ea4c3aaf84634596d.jpg","text":"TemporaryFile(/tmp/multipartBody702036068977480783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034333048,"filename":"image_19042025_01_54_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8071a8ee492873cf8f23415260c1e2a8.jpg","text":"TemporaryFile(/tmp/multipartBody2786160660332723089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034333048,"filename":"image_19042025_01_53_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/19/7cdd241f74b3108cdc2048ed7b69c717.jpg","text":"TemporaryFile(/tmp/multipartBody2832414197416409856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034333048,"filename":"image_19042025_01_54_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/19/5fabed421d7d17d37f26e4bdfe873129.jpg","text":"TemporaryFile(/tmp/multipartBody36990314542672848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034333048,"filename":"image_19042025_01_54_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/19/cd18c4940ef939f0fd5cdb15fc523333.jpg","text":"TemporaryFile(/tmp/multipartBody3143752112992271777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034333048,"filename":"image_19042025_01_53_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351695450","file1":"1351695398","file0":"1351695346","file4":"1351695575","file5":"1351695608","file3":"1351695524"},"map_files_photo_id_array":[{"photo_id":"1351695608","filename":"file5"},{"photo_id":"1351695450","filename":"file2"},{"photo_id":"1351695575","filename":"file4"},{"photo_id":"1351695398","filename":"file1"},{"photo_id":"1351695346","filename":"file0"},{"photo_id":"1351695524","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351695524":["hashtag1","hashtag2"]},{"1351695608":["hashtag1","hashtag2"]},{"1351695346":["hashtag1","hashtag2"]},{"1351695450":["hashtag1","hashtag2"]},{"1351695575":["hashtag1","hashtag2"]},{"1351695398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351695524, 1351695608, 1351695346, 1351695450, 1351695575, 1351695398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81753349304199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:45:32.727556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_46_9381.jpg', '/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_56_10373.jpg', '/home/pi/Desktop/images/19042025/01/54/image_19042025_01_55_05_9343.jpg', '/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_16_10334.jpg', '/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_26_10362.jpg', '/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_35_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_46_9381.jpg
/home/pi/Desktop/images/19042025/01/54/image_19042025_01_54_56_10373.jpg
/home/pi/Desktop/images/19042025/01/54/image_19042025_01_55_05_9343.jpg
/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_16_10334.jpg
/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_26_10362.jpg
/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_35_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":["1351696016","1351695994","1351696020","1351695864","1351695951","1351696073"],"photo_ids_order":["1351695864","1351695951","1351695994","1351696016","1351696020","1351696073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/57ae846c2952a3c714aa0a324c0b2590.jpg","text":"TemporaryFile(/tmp/multipartBody7236715708174199586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034393283,"filename":"image_19042025_01_55_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/19/03cb4c90aaac860dbe24ba6f4b3c5feb.jpg","text":"TemporaryFile(/tmp/multipartBody6631398714438904132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034393283,"filename":"image_19042025_01_55_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/19/db96c57cdf4e82729628d2259ab7d816.jpg","text":"TemporaryFile(/tmp/multipartBody3360155364442291530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034393283,"filename":"image_19042025_01_55_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/19/82bb827dcc04931683d70b5a55fbb471.jpg","text":"TemporaryFile(/tmp/multipartBody2948586757133082908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034393283,"filename":"image_19042025_01_54_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/19/183f34981ea2f67b6a0775d03a47efbd.jpg","text":"TemporaryFile(/tmp/multipartBody3226436994095858472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034393283,"filename":"image_19042025_01_54_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e554160b3c2fd47e21cf358bbb972fd.jpg","text":"TemporaryFile(/tmp/multipartBody711407964532853081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034393283,"filename":"image_19042025_01_55_35_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351695994","file1":"1351695951","file0":"1351695864","file4":"1351696020","file5":"1351696073","file3":"1351696016"},"map_files_photo_id_array":[{"photo_id":"1351696073","filename":"file5"},{"photo_id":"1351695994","filename":"file2"},{"photo_id":"1351696020","filename":"file4"},{"photo_id":"1351695951","filename":"file1"},{"photo_id":"1351695864","filename":"file0"},{"photo_id":"1351696016","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351696016":["hashtag1","hashtag2"]},{"1351695994":["hashtag1","hashtag2"]},{"1351696020":["hashtag1","hashtag2"]},{"1351695864":["hashtag1","hashtag2"]},{"1351695951":["hashtag1","hashtag2"]},{"1351696073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351696016, 1351695994, 1351696020, 1351695864, 1351695951, 1351696073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.999616146087646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:46:32.840742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_46_10453.jpg', '/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_56_10349.jpg', '/home/pi/Desktop/images/19042025/01/55/image_19042025_01_56_06_9340.jpg', '/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_16_10431.jpg', '/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_25_9433.jpg', '/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_36_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_46_10453.jpg
/home/pi/Desktop/images/19042025/01/55/image_19042025_01_55_56_10349.jpg
/home/pi/Desktop/images/19042025/01/55/image_19042025_01_56_06_9340.jpg
/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_16_10431.jpg
/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_25_9433.jpg
/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_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":["1351696630","1351696729","1351696603","1351696575","1351696536","1351696664"],"photo_ids_order":["1351696536","1351696575","1351696603","1351696630","1351696664","1351696729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/68ef5e164a1bd91c18d6e3e374fc4d93.jpg","text":"TemporaryFile(/tmp/multipartBody3951480007062120653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034453386,"filename":"image_19042025_01_56_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb03e8394b635c60c9bb969490c3f11a.jpg","text":"TemporaryFile(/tmp/multipartBody3131788598360651009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034453386,"filename":"image_19042025_01_56_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/19/7011e8fc1fe40cc08ad990a1f59571f2.jpg","text":"TemporaryFile(/tmp/multipartBody8995707826483469816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034453386,"filename":"image_19042025_01_56_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c291d5eab94e2fad845b191b4d8ac0e4.jpg","text":"TemporaryFile(/tmp/multipartBody5355773474470705241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034453386,"filename":"image_19042025_01_55_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e1b7357aa91e2b05c3fe20c2ce1d9bc4.jpg","text":"TemporaryFile(/tmp/multipartBody2453381656846223812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034453386,"filename":"image_19042025_01_55_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/19/5e81b59bb4e4fa5a55d0d404094715a6.jpg","text":"TemporaryFile(/tmp/multipartBody1994501957363220055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034453386,"filename":"image_19042025_01_56_25_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351696603","file1":"1351696575","file0":"1351696536","file4":"1351696664","file5":"1351696729","file3":"1351696630"},"map_files_photo_id_array":[{"photo_id":"1351696729","filename":"file5"},{"photo_id":"1351696603","filename":"file2"},{"photo_id":"1351696664","filename":"file4"},{"photo_id":"1351696575","filename":"file1"},{"photo_id":"1351696536","filename":"file0"},{"photo_id":"1351696630","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351696630":["hashtag1","hashtag2"]},{"1351696729":["hashtag1","hashtag2"]},{"1351696603":["hashtag1","hashtag2"]},{"1351696575":["hashtag1","hashtag2"]},{"1351696536":["hashtag1","hashtag2"]},{"1351696664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351696630, 1351696729, 1351696603, 1351696575, 1351696536, 1351696664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.731804609298706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:47:33.083612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_46_10362.jpg', '/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_56_9355.jpg', '/home/pi/Desktop/images/19042025/01/56/image_19042025_01_57_06_10462.jpg', '/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_15_9400.jpg', '/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_26_10505.jpg', '/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_36_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_46_10362.jpg
/home/pi/Desktop/images/19042025/01/56/image_19042025_01_56_56_9355.jpg
/home/pi/Desktop/images/19042025/01/56/image_19042025_01_57_06_10462.jpg
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_15_9400.jpg
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_26_10505.jpg
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_36_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351697140","1351697062","1351697052","1351697168","1351697086","1351697065"],"photo_ids_order":["1351697052","1351697062","1351697065","1351697086","1351697140","1351697168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2c38263062f3328f783f0bea5e7dd635.jpg","text":"TemporaryFile(/tmp/multipartBody1223325898090153084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034513645,"filename":"image_19042025_01_57_26_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/19/d539eac789b18ff49e191b159dafa1d3.jpg","text":"TemporaryFile(/tmp/multipartBody4560760303658259541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034513645,"filename":"image_19042025_01_56_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/19/411749baa447ce291f6b3f5e27b74345.jpg","text":"TemporaryFile(/tmp/multipartBody3555461427415493480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034513645,"filename":"image_19042025_01_56_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/475735dcbb9f82aa95a38830cc1fe58b.jpg","text":"TemporaryFile(/tmp/multipartBody522153366724605912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034513645,"filename":"image_19042025_01_57_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/19/003b746bc45f252ca2d73f6f2a5cac0c.jpg","text":"TemporaryFile(/tmp/multipartBody4557501690009497617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034513645,"filename":"image_19042025_01_57_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/19/00768a6cabc3cb8a0f0dff4c625fc9c4.jpg","text":"TemporaryFile(/tmp/multipartBody6741252678101723429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034513645,"filename":"image_19042025_01_57_06_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351697065","file1":"1351697062","file0":"1351697052","file4":"1351697140","file5":"1351697168","file3":"1351697086"},"map_files_photo_id_array":[{"photo_id":"1351697168","filename":"file5"},{"photo_id":"1351697065","filename":"file2"},{"photo_id":"1351697140","filename":"file4"},{"photo_id":"1351697062","filename":"file1"},{"photo_id":"1351697052","filename":"file0"},{"photo_id":"1351697086","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351697140":["hashtag1","hashtag2"]},{"1351697062":["hashtag1","hashtag2"]},{"1351697052":["hashtag1","hashtag2"]},{"1351697168":["hashtag1","hashtag2"]},{"1351697086":["hashtag1","hashtag2"]},{"1351697065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351697140, 1351697062, 1351697052, 1351697168, 1351697086, 1351697065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74830937385559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:48:32.232666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_46_9339.jpg', '/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_56_10348.jpg', '/home/pi/Desktop/images/19042025/01/57/image_19042025_01_58_05_9415.jpg', '/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_16_10450.jpg', '/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_26_10444.jpg', '/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_36_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_46_9339.jpg
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_56_10348.jpg
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_58_05_9415.jpg
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_16_10450.jpg
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_26_10444.jpg
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_36_9342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46718597412109375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 05:48:42.236960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_46_9339.jpg', '/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_56_10348.jpg', '/home/pi/Desktop/images/19042025/01/57/image_19042025_01_58_05_9415.jpg', '/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_16_10450.jpg', '/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_26_10444.jpg', '/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_36_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_46_9339.jpg
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_57_56_10348.jpg
/home/pi/Desktop/images/19042025/01/57/image_19042025_01_58_05_9415.jpg
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_16_10450.jpg
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_26_10444.jpg
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_36_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":["1351697254","1351697230","1351697238","1351697234","1351697225","1351697281"],"photo_ids_order":["1351697225","1351697230","1351697234","1351697238","1351697254","1351697281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f03b25cf5f1fcf6038bee46c6efde1e.jpg","text":"TemporaryFile(/tmp/multipartBody7345296169686365841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034582702,"filename":"image_19042025_01_58_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/19/9ef298510a8c2996406a3405ddfa848a.jpg","text":"TemporaryFile(/tmp/multipartBody8343066203669110980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034582702,"filename":"image_19042025_01_57_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/778dfa496747f1ddd12fe41728f3a405.jpg","text":"TemporaryFile(/tmp/multipartBody3256242116993896902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034582702,"filename":"image_19042025_01_58_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/19/eb2ed9877c2058c1897831a4d2632a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5838216790447925488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034582702,"filename":"image_19042025_01_58_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d83a4676843ac0e87d1308d5ba9a9a7a.jpg","text":"TemporaryFile(/tmp/multipartBody3947461342467710629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034582702,"filename":"image_19042025_01_57_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/19/75f52e655d91d019d70fa6f8db29e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody1887499778790229041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034582702,"filename":"image_19042025_01_58_36_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351697234","file1":"1351697230","file0":"1351697225","file4":"1351697254","file5":"1351697281","file3":"1351697238"},"map_files_photo_id_array":[{"photo_id":"1351697281","filename":"file5"},{"photo_id":"1351697234","filename":"file2"},{"photo_id":"1351697254","filename":"file4"},{"photo_id":"1351697230","filename":"file1"},{"photo_id":"1351697225","filename":"file0"},{"photo_id":"1351697238","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351697254":["hashtag1","hashtag2"]},{"1351697230":["hashtag1","hashtag2"]},{"1351697238":["hashtag1","hashtag2"]},{"1351697234":["hashtag1","hashtag2"]},{"1351697225":["hashtag1","hashtag2"]},{"1351697281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351697254, 1351697230, 1351697238, 1351697234, 1351697225, 1351697281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.87011981010437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:49:32.439821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_46_10417.jpg', '/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_55_9362.jpg', '/home/pi/Desktop/images/19042025/01/58/image_19042025_01_59_06_10511.jpg', '/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_16_10363.jpg', '/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_26_9358.jpg', '/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_36_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_46_10417.jpg
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_58_55_9362.jpg
/home/pi/Desktop/images/19042025/01/58/image_19042025_01_59_06_10511.jpg
/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_16_10363.jpg
/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_26_9358.jpg
/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_36_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351697452","1351697449","1351697457","1351697517","1351697459","1351697455"],"photo_ids_order":["1351697449","1351697452","1351697455","1351697457","1351697459","1351697517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f430be0ea34023e6d7de7c5d65c5170.jpg","text":"TemporaryFile(/tmp/multipartBody4613791494992333737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034632991,"filename":"image_19042025_01_58_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/19/562138487279537c48cfd0a737180409.jpg","text":"TemporaryFile(/tmp/multipartBody1420345979610966110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034632991,"filename":"image_19042025_01_58_46_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c003d30d3b95b863c6706c9d4dfef33b.jpg","text":"TemporaryFile(/tmp/multipartBody2455806601596867923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034632991,"filename":"image_19042025_01_59_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/786c18010cd19890822dd21c9418bbbf.jpg","text":"TemporaryFile(/tmp/multipartBody4117567458754556943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034632991,"filename":"image_19042025_01_59_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/19/823fa614f334acb708534f68aea1b72a.jpg","text":"TemporaryFile(/tmp/multipartBody6423744140775796006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034632991,"filename":"image_19042025_01_59_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/19/e09897a5b681cda1fb276c4cd53c0fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5235714874455680074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034632991,"filename":"image_19042025_01_59_06_10511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351697455","file1":"1351697452","file0":"1351697449","file4":"1351697459","file5":"1351697517","file3":"1351697457"},"map_files_photo_id_array":[{"photo_id":"1351697517","filename":"file5"},{"photo_id":"1351697455","filename":"file2"},{"photo_id":"1351697459","filename":"file4"},{"photo_id":"1351697452","filename":"file1"},{"photo_id":"1351697449","filename":"file0"},{"photo_id":"1351697457","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351697452":["hashtag1","hashtag2"]},{"1351697449":["hashtag1","hashtag2"]},{"1351697457":["hashtag1","hashtag2"]},{"1351697517":["hashtag1","hashtag2"]},{"1351697459":["hashtag1","hashtag2"]},{"1351697455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351697452, 1351697449, 1351697457, 1351697517, 1351697459, 1351697455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17687702178955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:50:32.623247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_45_9347.jpg', '/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_56_10412.jpg', '/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_14_10083.jpg', '/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_25_10668.jpg', '/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_34_9351.jpg', '/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_44_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_45_9347.jpg
/home/pi/Desktop/images/19042025/01/59/image_19042025_01_59_56_10412.jpg
/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_14_10083.jpg
/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_25_10668.jpg
/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_34_9351.jpg
/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_44_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351697749","1351697719","1351697676","1351697727","1351697762","1351697791"],"photo_ids_order":["1351697676","1351697719","1351697727","1351697749","1351697762","1351697791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f075931d6a921fff9d314d54a9df264e.jpg","text":"TemporaryFile(/tmp/multipartBody5885757127050552394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034693173,"filename":"image_19042025_02_01_25_10668.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/44f699b03572769a61d9e54cd6888707.jpg","text":"TemporaryFile(/tmp/multipartBody7302937615195463628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034693173,"filename":"image_19042025_01_59_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/19/16225def70dd5ccb6944d20c445d1b4a.jpg","text":"TemporaryFile(/tmp/multipartBody8340001128092428520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034693173,"filename":"image_19042025_01_59_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/19/03baa506f102fa4355c690d9ad190498.jpg","text":"TemporaryFile(/tmp/multipartBody2429377109335452536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034693173,"filename":"image_19042025_02_01_14_10083.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95d314d86600c3ab191a6743c9fd5466.jpg","text":"TemporaryFile(/tmp/multipartBody6750109327809307884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034693173,"filename":"image_19042025_02_01_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/19/e5fcf5892250dff9cdf11237cecd054a.jpg","text":"TemporaryFile(/tmp/multipartBody6572773656451927090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034693173,"filename":"image_19042025_02_01_44_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351697727","file1":"1351697719","file0":"1351697676","file4":"1351697762","file5":"1351697791","file3":"1351697749"},"map_files_photo_id_array":[{"photo_id":"1351697791","filename":"file5"},{"photo_id":"1351697727","filename":"file2"},{"photo_id":"1351697762","filename":"file4"},{"photo_id":"1351697719","filename":"file1"},{"photo_id":"1351697676","filename":"file0"},{"photo_id":"1351697749","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351697749":["hashtag1","hashtag2"]},{"1351697719":["hashtag1","hashtag2"]},{"1351697676":["hashtag1","hashtag2"]},{"1351697727":["hashtag1","hashtag2"]},{"1351697762":["hashtag1","hashtag2"]},{"1351697791":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351697749, 1351697719, 1351697676, 1351697727, 1351697762, 1351697791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07371473312378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:51:32.773214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_55_10363.jpg', '/home/pi/Desktop/images/19042025/02/01/image_19042025_02_02_04_9420.jpg', '/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_14_10345.jpg', '/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_25_10404.jpg', '/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_34_9332.jpg', '/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_45_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/01/image_19042025_02_01_55_10363.jpg
/home/pi/Desktop/images/19042025/02/01/image_19042025_02_02_04_9420.jpg
/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_14_10345.jpg
/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_25_10404.jpg
/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_34_9332.jpg
/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_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":["1351697988","1351697985","1351697957","1351697980","1351697933","1351697992"],"photo_ids_order":["1351697933","1351697957","1351697980","1351697985","1351697988","1351697992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aad4a0dab075cf84bfbf1d7aa374fb61.jpg","text":"TemporaryFile(/tmp/multipartBody6176226049442810499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034753318,"filename":"image_19042025_02_02_34_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3117a7fb5d60f6a59a20ba5eefbcd7d1.jpg","text":"TemporaryFile(/tmp/multipartBody8847046287943816900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034753318,"filename":"image_19042025_02_02_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98e953f54f67b02677f799d89b30a264.jpg","text":"TemporaryFile(/tmp/multipartBody5186668060039824070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034753318,"filename":"image_19042025_02_02_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/19/807051c59d8d91d91cc2b61740c8a89d.jpg","text":"TemporaryFile(/tmp/multipartBody3419098955206070498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034753318,"filename":"image_19042025_02_02_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c078d1cc934936b28b9d87488ff263e.jpg","text":"TemporaryFile(/tmp/multipartBody1725885724902667939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034753318,"filename":"image_19042025_02_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/19/3affa68088d59398da96916dbd26868e.jpg","text":"TemporaryFile(/tmp/multipartBody9106145258185603664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034753318,"filename":"image_19042025_02_02_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351697980","file1":"1351697957","file0":"1351697933","file4":"1351697988","file5":"1351697992","file3":"1351697985"},"map_files_photo_id_array":[{"photo_id":"1351697992","filename":"file5"},{"photo_id":"1351697980","filename":"file2"},{"photo_id":"1351697988","filename":"file4"},{"photo_id":"1351697957","filename":"file1"},{"photo_id":"1351697933","filename":"file0"},{"photo_id":"1351697985","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351697988":["hashtag1","hashtag2"]},{"1351697985":["hashtag1","hashtag2"]},{"1351697957":["hashtag1","hashtag2"]},{"1351697980":["hashtag1","hashtag2"]},{"1351697933":["hashtag1","hashtag2"]},{"1351697992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351697988, 1351697985, 1351697957, 1351697980, 1351697933, 1351697992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23371195793152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:52:33.030278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_54_9402.jpg', '/home/pi/Desktop/images/19042025/02/02/image_19042025_02_03_04_10340.jpg', '/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_15_10356.jpg', '/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_24_9353.jpg', '/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_34_10441.jpg', '/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_45_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/02/image_19042025_02_02_54_9402.jpg
/home/pi/Desktop/images/19042025/02/02/image_19042025_02_03_04_10340.jpg
/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_15_10356.jpg
/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_24_9353.jpg
/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_34_10441.jpg
/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_45_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351698093","1351698096","1351698081","1351698098","1351698101","1351698070"],"photo_ids_order":["1351698070","1351698081","1351698093","1351698096","1351698098","1351698101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae74965c6e074a90106dfdb147b74a83.jpg","text":"TemporaryFile(/tmp/multipartBody7671595429810406204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034813579,"filename":"image_19042025_02_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/19/cb8fca9b6ff74429b9907aa94bb28d1d.jpg","text":"TemporaryFile(/tmp/multipartBody533143293634229705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034813579,"filename":"image_19042025_02_03_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7495300bbddd8cc8ce97a23038379f41.jpg","text":"TemporaryFile(/tmp/multipartBody3434748993685548753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034813579,"filename":"image_19042025_02_03_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/19/f3da2b2338097eefe202df30d325121d.jpg","text":"TemporaryFile(/tmp/multipartBody6393341319148916336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034813579,"filename":"image_19042025_02_03_34_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/19/13f8f88b3c98e15ba5cdfe2182b65299.jpg","text":"TemporaryFile(/tmp/multipartBody4411578040560431644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034813579,"filename":"image_19042025_02_03_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d5e6fd6788aa2c2b3d4bc65ecaa4d65.jpg","text":"TemporaryFile(/tmp/multipartBody5956404640598144365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034813579,"filename":"image_19042025_02_02_54_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351698093","file1":"1351698081","file0":"1351698070","file4":"1351698098","file5":"1351698101","file3":"1351698096"},"map_files_photo_id_array":[{"photo_id":"1351698101","filename":"file5"},{"photo_id":"1351698093","filename":"file2"},{"photo_id":"1351698098","filename":"file4"},{"photo_id":"1351698081","filename":"file1"},{"photo_id":"1351698070","filename":"file0"},{"photo_id":"1351698096","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351698093":["hashtag1","hashtag2"]},{"1351698096":["hashtag1","hashtag2"]},{"1351698081":["hashtag1","hashtag2"]},{"1351698098":["hashtag1","hashtag2"]},{"1351698101":["hashtag1","hashtag2"]},{"1351698070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351698093, 1351698096, 1351698081, 1351698098, 1351698101, 1351698070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02901005744934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:53:32.322368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_54_9441.jpg', '/home/pi/Desktop/images/19042025/02/03/image_19042025_02_04_05_10364.jpg', '/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_14_9413.jpg', '/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_24_10366.jpg', '/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_35_10417.jpg', '/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_44_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/03/image_19042025_02_03_54_9441.jpg
/home/pi/Desktop/images/19042025/02/03/image_19042025_02_04_05_10364.jpg
/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_14_9413.jpg
/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_24_10366.jpg
/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_35_10417.jpg
/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_44_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351698126","1351698114","1351698122","1351698116","1351698125","1351698119"],"photo_ids_order":["1351698114","1351698116","1351698119","1351698122","1351698125","1351698126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2e8dadfd2726487d64dbddb61f4e6176.jpg","text":"TemporaryFile(/tmp/multipartBody6852329436563675797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034872858,"filename":"image_19042025_02_04_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89ba6878a03ec0b930989a67887688f0.jpg","text":"TemporaryFile(/tmp/multipartBody6324644091275057082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034872858,"filename":"image_19042025_02_03_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/19/e1fca864591593da5f4d89d818d03d23.jpg","text":"TemporaryFile(/tmp/multipartBody554580913156368253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034872858,"filename":"image_19042025_02_04_24_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c2ba4fdad2be2b26e0b12a5a57c0e1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1513405336595704900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034872858,"filename":"image_19042025_02_04_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/19/5143513a8b7ceb3d10ed0fc6d50504ec.jpg","text":"TemporaryFile(/tmp/multipartBody3595392005611482370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034872858,"filename":"image_19042025_02_04_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/19/310616563f8c5e028334e92da09815c0.jpg","text":"TemporaryFile(/tmp/multipartBody3104301865423627990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034872858,"filename":"image_19042025_02_04_14_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351698119","file1":"1351698116","file0":"1351698114","file4":"1351698125","file5":"1351698126","file3":"1351698122"},"map_files_photo_id_array":[{"photo_id":"1351698126","filename":"file5"},{"photo_id":"1351698119","filename":"file2"},{"photo_id":"1351698125","filename":"file4"},{"photo_id":"1351698116","filename":"file1"},{"photo_id":"1351698114","filename":"file0"},{"photo_id":"1351698122","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351698126":["hashtag1","hashtag2"]},{"1351698114":["hashtag1","hashtag2"]},{"1351698122":["hashtag1","hashtag2"]},{"1351698116":["hashtag1","hashtag2"]},{"1351698125":["hashtag1","hashtag2"]},{"1351698119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351698126, 1351698114, 1351698122, 1351698116, 1351698125, 1351698119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.90933871269226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:54:32.490940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_55_10357.jpg', '/home/pi/Desktop/images/19042025/02/04/image_19042025_02_05_04_9436.jpg', '/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_14_10371.jpg', '/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_25_10351.jpg', '/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_34_9347.jpg', '/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_44_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/04/image_19042025_02_04_55_10357.jpg
/home/pi/Desktop/images/19042025/02/04/image_19042025_02_05_04_9436.jpg
/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_14_10371.jpg
/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_25_10351.jpg
/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_34_9347.jpg
/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_44_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":["1351698147","1351698143","1351698157","1351698151","1351698139","1351698154"],"photo_ids_order":["1351698139","1351698143","1351698147","1351698151","1351698154","1351698157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1b5dd092df89f5183dadafe4a77321f7.jpg","text":"TemporaryFile(/tmp/multipartBody6413812456976184666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034933055,"filename":"image_19042025_02_05_14_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/19/391eac2927591312d4c2114dac292d74.jpg","text":"TemporaryFile(/tmp/multipartBody42927034048945067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034933055,"filename":"image_19042025_02_05_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/19/9eabb3014f5ba133a10cf567cc651b37.jpg","text":"TemporaryFile(/tmp/multipartBody3523386417965096199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034933055,"filename":"image_19042025_02_05_44_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/19/69067ee796f20474bd8f423684db0c72.jpg","text":"TemporaryFile(/tmp/multipartBody5435167799955023945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034933055,"filename":"image_19042025_02_05_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/19/7f0140227bc6cd76f1e259a59127efa2.jpg","text":"TemporaryFile(/tmp/multipartBody13551906140601363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034933055,"filename":"image_19042025_02_04_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/19/308a5dfca3f2430012b7175e3c5b54a2.jpg","text":"TemporaryFile(/tmp/multipartBody1585161546507531707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034933055,"filename":"image_19042025_02_05_34_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351698147","file1":"1351698143","file0":"1351698139","file4":"1351698154","file5":"1351698157","file3":"1351698151"},"map_files_photo_id_array":[{"photo_id":"1351698157","filename":"file5"},{"photo_id":"1351698147","filename":"file2"},{"photo_id":"1351698154","filename":"file4"},{"photo_id":"1351698143","filename":"file1"},{"photo_id":"1351698139","filename":"file0"},{"photo_id":"1351698151","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351698147":["hashtag1","hashtag2"]},{"1351698143":["hashtag1","hashtag2"]},{"1351698157":["hashtag1","hashtag2"]},{"1351698151":["hashtag1","hashtag2"]},{"1351698139":["hashtag1","hashtag2"]},{"1351698154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351698147, 1351698143, 1351698157, 1351698151, 1351698139, 1351698154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49425172805786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:55:32.652616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_54_9400.jpg', '/home/pi/Desktop/images/19042025/02/05/image_19042025_02_06_04_10360.jpg', '/home/pi/Desktop/images/19042025/02/06/image_19042025_02_06_24_9354.jpg', '/home/pi/Desktop/images/19042025/02/06/image_19042025_02_06_34_10349.jpg', '/home/pi/Desktop/images/19042025/02/06/image_19042025_02_06_45_10350.jpg', '/home/pi/Desktop/images/19042025/02/06/image_19042025_02_06_54_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/05/image_19042025_02_05_54_9400.jpg
/home/pi/Desktop/images/19042025/02/05/image_19042025_02_06_04_10360.jpg
/home/pi/Desktop/images/19042025/02/06/image_19042025_02_06_24_9354.jpg
/home/pi/Desktop/images/19042025/02/06/image_19042025_02_06_34_10349.jpg
/home/pi/Desktop/images/19042025/02/06/image_19042025_02_06_45_10350.jpg
/home/pi/Desktop/images/19042025/02/06/image_19042025_02_06_54_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":["1351698171","1351698162","1351698173","1351698175","1351698169","1351698166"],"photo_ids_order":["1351698162","1351698166","1351698169","1351698171","1351698173","1351698175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5cddd1b7d386a1379f65c38d72e28b4.jpg","text":"TemporaryFile(/tmp/multipartBody1129776471505716911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034993206,"filename":"image_19042025_02_06_34_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ec48f365d3854dd4fbdb6622adf624b0.jpg","text":"TemporaryFile(/tmp/multipartBody2059380713335824101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034993206,"filename":"image_19042025_02_05_54_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a62ec8ce2ebdc7c557772e76ccfca26.jpg","text":"TemporaryFile(/tmp/multipartBody7785760019879010017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034993206,"filename":"image_19042025_02_06_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/19/7a4ef501d4775390c58e427438752f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1511182442953187044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034993206,"filename":"image_19042025_02_06_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/19/49bd1882c9cc987d276bc60dbab85d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8352421353253828215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034993206,"filename":"image_19042025_02_06_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/19/06ca894aba798b4c111af68746159eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1136785668706607202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745034993206,"filename":"image_19042025_02_06_04_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351698169","file1":"1351698166","file0":"1351698162","file4":"1351698173","file5":"1351698175","file3":"1351698171"},"map_files_photo_id_array":[{"photo_id":"1351698175","filename":"file5"},{"photo_id":"1351698169","filename":"file2"},{"photo_id":"1351698173","filename":"file4"},{"photo_id":"1351698166","filename":"file1"},{"photo_id":"1351698162","filename":"file0"},{"photo_id":"1351698171","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351698171":["hashtag1","hashtag2"]},{"1351698162":["hashtag1","hashtag2"]},{"1351698173":["hashtag1","hashtag2"]},{"1351698175":["hashtag1","hashtag2"]},{"1351698169":["hashtag1","hashtag2"]},{"1351698166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351698171, 1351698162, 1351698173, 1351698175, 1351698169, 1351698166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.97081279754639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 05:56:32.848773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/06/image_19042025_02_07_04_10339.jpg', '/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_15_10367.jpg', '/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_24_9373.jpg', '/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_34_10374.jpg', '/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_44_9387.jpg', '/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_54_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/06/image_19042025_02_07_04_10339.jpg
/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_15_10367.jpg
/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_24_9373.jpg
/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_34_10374.jpg
/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_44_9387.jpg
/home/pi/Desktop/images/19042025/02/07/image_19042025_02_07_54_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351698409","1351698338","1351698266","1351698385","1351698343","1351698322"],"photo_ids_order":["1351698266","1351698322","1351698338","1351698343","1351698385","1351698409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bcfe8ed2dd397870077bd9e1763ea9e5.jpg","text":"TemporaryFile(/tmp/multipartBody143567906281956160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035053397,"filename":"image_19042025_02_07_54_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/19/a82a10fbbb7955cad602d767cf92fc65.jpg","text":"TemporaryFile(/tmp/multipartBody5505695829887936646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035053397,"filename":"image_19042025_02_07_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/19/35e8fa98a2096c5a67971681c115ef27.jpg","text":"TemporaryFile(/tmp/multipartBody5609768845246661123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035053397,"filename":"image_19042025_02_07_04_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14b171e7f4251ba702dcdccd314a0bb3.jpg","text":"TemporaryFile(/tmp/multipartBody1313537886308406092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035053397,"filename":"image_19042025_02_07_44_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b039257b6f9cb1c9754e1927d534db1a.jpg","text":"TemporaryFile(/tmp/multipartBody9111290466369205620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035053397,"filename":"image_19042025_02_07_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/19/9e32cd51c945d3a4f8d1e260dd3116ea.jpg","text":"TemporaryFile(/tmp/multipartBody2157365548081342102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035053397,"filename":"image_19042025_02_07_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351698338","file1":"1351698322","file0":"1351698266","file4":"1351698385","file5":"1351698409","file3":"1351698343"},"map_files_photo_id_array":[{"photo_id":"1351698409","filename":"file5"},{"photo_id":"1351698338","filename":"file2"},{"photo_id":"1351698385","filename":"file4"},{"photo_id":"1351698322","filename":"file1"},{"photo_id":"1351698266","filename":"file0"},{"photo_id":"1351698343","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351698409":["hashtag1","hashtag2"]},{"1351698338":["hashtag1","hashtag2"]},{"1351698266":["hashtag1","hashtag2"]},{"1351698385":["hashtag1","hashtag2"]},{"1351698343":["hashtag1","hashtag2"]},{"1351698322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351698409, 1351698338, 1351698266, 1351698385, 1351698343, 1351698322)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.11701965332031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 05:57:43.225423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/07/image_19042025_02_08_05_10342.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_14_9327.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_24_10363.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_35_10361.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_44_9423.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_54_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/07/image_19042025_02_08_05_10342.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_14_9327.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_24_10363.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_35_10361.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_44_9423.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_54_10335.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-19 05:59:03.982018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/07/image_19042025_02_08_05_10342.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_14_9327.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_24_10363.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_35_10361.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_44_9423.jpg', '/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_54_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/07/image_19042025_02_08_05_10342.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_14_9327.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_24_10363.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_35_10361.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_44_9423.jpg
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_08_54_10335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351699011","1351699007","1351699004","1351698935","1351698967","1351698997"],"photo_ids_order":["1351698935","1351698967","1351698997","1351699004","1351699007","1351699011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eae11605db2d264d70a47cf073dc5b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6099653843916330788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035204537,"filename":"image_19042025_02_08_54_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ebf8e7cad21d147f6015923a688c734.jpg","text":"TemporaryFile(/tmp/multipartBody9202644773832050315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035204537,"filename":"image_19042025_02_08_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fef4c50534ce6059b132a442686a0580.jpg","text":"TemporaryFile(/tmp/multipartBody7999189663709584511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035204537,"filename":"image_19042025_02_08_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/19/546bd008741414206d778ce85281d1e7.jpg","text":"TemporaryFile(/tmp/multipartBody1830650160922243873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035204537,"filename":"image_19042025_02_08_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/244f8394dce11a066e15fb7ec7ab2154.jpg","text":"TemporaryFile(/tmp/multipartBody226646339780143817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035204537,"filename":"image_19042025_02_08_14_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/31a3b6759af9a4227a714458fddc3af1.jpg","text":"TemporaryFile(/tmp/multipartBody736880690415728740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035204537,"filename":"image_19042025_02_08_24_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351698997","file1":"1351698967","file0":"1351698935","file4":"1351699007","file5":"1351699011","file3":"1351699004"},"map_files_photo_id_array":[{"photo_id":"1351699011","filename":"file5"},{"photo_id":"1351698997","filename":"file2"},{"photo_id":"1351699007","filename":"file4"},{"photo_id":"1351698967","filename":"file1"},{"photo_id":"1351698935","filename":"file0"},{"photo_id":"1351699004","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351699011":["hashtag1","hashtag2"]},{"1351699007":["hashtag1","hashtag2"]},{"1351699004":["hashtag1","hashtag2"]},{"1351698935":["hashtag1","hashtag2"]},{"1351698967":["hashtag1","hashtag2"]},{"1351698997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351699011, 1351699007, 1351699004, 1351698935, 1351698967, 1351698997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08779740333557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 05:59:42.729152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/08/image_19042025_02_09_05_10400.jpg', '/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_14_9369.jpg', '/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_24_10362.jpg', '/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_34_9491.jpg', '/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_44_10413.jpg', '/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/08/image_19042025_02_09_05_10400.jpg
/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_14_9369.jpg
/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_24_10362.jpg
/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_34_9491.jpg
/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_44_10413.jpg
/home/pi/Desktop/images/19042025/02/09/image_19042025_02_09_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351699134","1351699041","1351699137","1351699070","1351699129","1351699102"],"photo_ids_order":["1351699041","1351699070","1351699102","1351699129","1351699134","1351699137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87c93d73a473da02dbc0520eab698cc1.jpg","text":"TemporaryFile(/tmp/multipartBody4409187305860412206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035243278,"filename":"image_19042025_02_09_44_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/19/abdc784ee42ace556fbd2158ca064fdf.jpg","text":"TemporaryFile(/tmp/multipartBody6284616026369399855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035243278,"filename":"image_19042025_02_09_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/389915bf6e7c2f817086f089e39771bf.jpg","text":"TemporaryFile(/tmp/multipartBody4347336287782591188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035243278,"filename":"image_19042025_02_09_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/19/94389d22785719d31023124ce60fd9fd.jpg","text":"TemporaryFile(/tmp/multipartBody3419535312662969023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035243278,"filename":"image_19042025_02_09_14_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/993bd0dc09e19f576a478d8e6341ede8.jpg","text":"TemporaryFile(/tmp/multipartBody3398897876008506128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035243278,"filename":"image_19042025_02_09_34_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e54f943ecd1ba18a73e8285ee5b77013.jpg","text":"TemporaryFile(/tmp/multipartBody1023985793440045911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035243278,"filename":"image_19042025_02_09_24_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351699102","file1":"1351699070","file0":"1351699041","file4":"1351699134","file5":"1351699137","file3":"1351699129"},"map_files_photo_id_array":[{"photo_id":"1351699137","filename":"file5"},{"photo_id":"1351699102","filename":"file2"},{"photo_id":"1351699134","filename":"file4"},{"photo_id":"1351699070","filename":"file1"},{"photo_id":"1351699041","filename":"file0"},{"photo_id":"1351699129","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351699134":["hashtag1","hashtag2"]},{"1351699041":["hashtag1","hashtag2"]},{"1351699137":["hashtag1","hashtag2"]},{"1351699070":["hashtag1","hashtag2"]},{"1351699129":["hashtag1","hashtag2"]},{"1351699102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351699134, 1351699041, 1351699137, 1351699070, 1351699129, 1351699102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81896662712097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:00:32.845937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/09/image_19042025_02_10_04_9389.jpg', '/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_14_10347.jpg', '/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_24_9380.jpg', '/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_34_10351.jpg', '/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_45_10341.jpg', '/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_54_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/09/image_19042025_02_10_04_9389.jpg
/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_14_10347.jpg
/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_24_9380.jpg
/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_34_10351.jpg
/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_45_10341.jpg
/home/pi/Desktop/images/19042025/02/10/image_19042025_02_10_54_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":["1351699251","1351699313","1351699282","1351699234","1351699342","1351699237"],"photo_ids_order":["1351699234","1351699237","1351699251","1351699282","1351699313","1351699342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb440928ac113fa57e05cd8ae00e16c2.jpg","text":"TemporaryFile(/tmp/multipartBody7603411393416736229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035293512,"filename":"image_19042025_02_10_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/19/fe51b8de796ade106effadd2f12de644.jpg","text":"TemporaryFile(/tmp/multipartBody6747730981585582034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035293512,"filename":"image_19042025_02_10_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5db475e4ba2ab71babf1c8fe1b13b245.jpg","text":"TemporaryFile(/tmp/multipartBody7286257023319851306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035293512,"filename":"image_19042025_02_10_34_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b44bd65d6a508b7221de8d0c213f9d7b.jpg","text":"TemporaryFile(/tmp/multipartBody3062514685988956877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035293512,"filename":"image_19042025_02_10_04_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9ab80c483bc39e29a7452b7996056e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8727955598776701237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035293512,"filename":"image_19042025_02_10_54_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f2829c21081f860a940c3e9408e19638.jpg","text":"TemporaryFile(/tmp/multipartBody185230978453685871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035293512,"filename":"image_19042025_02_10_14_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351699251","file1":"1351699237","file0":"1351699234","file4":"1351699313","file5":"1351699342","file3":"1351699282"},"map_files_photo_id_array":[{"photo_id":"1351699342","filename":"file5"},{"photo_id":"1351699251","filename":"file2"},{"photo_id":"1351699313","filename":"file4"},{"photo_id":"1351699237","filename":"file1"},{"photo_id":"1351699234","filename":"file0"},{"photo_id":"1351699282","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351699251":["hashtag1","hashtag2"]},{"1351699313":["hashtag1","hashtag2"]},{"1351699282":["hashtag1","hashtag2"]},{"1351699234":["hashtag1","hashtag2"]},{"1351699342":["hashtag1","hashtag2"]},{"1351699237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351699251, 1351699313, 1351699282, 1351699234, 1351699342, 1351699237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09020948410034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:01:33.139621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/10/image_19042025_02_11_04_10338.jpg', '/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_15_10371.jpg', '/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_24_9366.jpg', '/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_34_10380.jpg', '/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_45_10381.jpg', '/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_54_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/10/image_19042025_02_11_04_10338.jpg
/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_15_10371.jpg
/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_24_9366.jpg
/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_34_10380.jpg
/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_45_10381.jpg
/home/pi/Desktop/images/19042025/02/11/image_19042025_02_11_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351699970","1351700017","1351699876","1351700043","1351699906","1351699845"],"photo_ids_order":["1351699845","1351699876","1351699906","1351699970","1351700017","1351700043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/395dd568065f985b9f3b9c3f21beb278.jpg","text":"TemporaryFile(/tmp/multipartBody2057628510213621962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035353705,"filename":"image_19042025_02_11_34_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/19/8b0c0cf5e76501cc49a8f94c2acec88b.jpg","text":"TemporaryFile(/tmp/multipartBody1879294322364847772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035353705,"filename":"image_19042025_02_11_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/19/84c36b4f07a87109624a30c74d92b56f.jpg","text":"TemporaryFile(/tmp/multipartBody2529032245848071659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035353705,"filename":"image_19042025_02_11_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/19/7c004b501397cb88a688712dc4ec0e89.jpg","text":"TemporaryFile(/tmp/multipartBody6955506656902313601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035353705,"filename":"image_19042025_02_11_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/19/f8c337a7dcfd452333e05de4f5a980d5.jpg","text":"TemporaryFile(/tmp/multipartBody3886992677463544328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035353705,"filename":"image_19042025_02_11_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/19/0c0ea11c9b612d7e5195c0dd5e34a275.jpg","text":"TemporaryFile(/tmp/multipartBody6259437384430446790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035353705,"filename":"image_19042025_02_11_04_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351699906","file1":"1351699876","file0":"1351699845","file4":"1351700017","file5":"1351700043","file3":"1351699970"},"map_files_photo_id_array":[{"photo_id":"1351700043","filename":"file5"},{"photo_id":"1351699906","filename":"file2"},{"photo_id":"1351700017","filename":"file4"},{"photo_id":"1351699876","filename":"file1"},{"photo_id":"1351699845","filename":"file0"},{"photo_id":"1351699970","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351699970":["hashtag1","hashtag2"]},{"1351700017":["hashtag1","hashtag2"]},{"1351699876":["hashtag1","hashtag2"]},{"1351700043":["hashtag1","hashtag2"]},{"1351699906":["hashtag1","hashtag2"]},{"1351699845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351699970, 1351700017, 1351699876, 1351700043, 1351699906, 1351699845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35056519508362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:02:32.284539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/11/image_19042025_02_12_05_10337.jpg', '/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_14_9421.jpg', '/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_24_10446.jpg', '/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_34_9459.jpg', '/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_44_10380.jpg', '/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_55_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/11/image_19042025_02_12_05_10337.jpg
/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_14_9421.jpg
/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_24_10446.jpg
/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_34_9459.jpg
/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_44_10380.jpg
/home/pi/Desktop/images/19042025/02/12/image_19042025_02_12_55_10331.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":["1351700501","1351700440","1351700284","1351700397","1351700314","1351700401"],"photo_ids_order":["1351700284","1351700314","1351700397","1351700401","1351700440","1351700501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e64544042496de5826b5c8d542ba85be.jpg","text":"TemporaryFile(/tmp/multipartBody3091722160982612360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035412852,"filename":"image_19042025_02_12_55_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/19/3873509826ab64f24c473535085474cb.jpg","text":"TemporaryFile(/tmp/multipartBody5873925019961945136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035412852,"filename":"image_19042025_02_12_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/19/53204b38baa5514f5c9e49e2abe06cbf.jpg","text":"TemporaryFile(/tmp/multipartBody7240566891898847389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035412852,"filename":"image_19042025_02_12_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/19/ac2398f920fd4c0d34bc8bf3e335396f.jpg","text":"TemporaryFile(/tmp/multipartBody2045813455637758004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035412852,"filename":"image_19042025_02_12_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/19/8c0f2db86ef9691d49f9e17ce2d1b8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8800031314181743359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035412852,"filename":"image_19042025_02_12_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/19/660fdb7577bbc63896a38904bfd8c744.jpg","text":"TemporaryFile(/tmp/multipartBody4905758637969161050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035412852,"filename":"image_19042025_02_12_34_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351700397","file1":"1351700314","file0":"1351700284","file4":"1351700440","file5":"1351700501","file3":"1351700401"},"map_files_photo_id_array":[{"photo_id":"1351700501","filename":"file5"},{"photo_id":"1351700397","filename":"file2"},{"photo_id":"1351700440","filename":"file4"},{"photo_id":"1351700314","filename":"file1"},{"photo_id":"1351700284","filename":"file0"},{"photo_id":"1351700401","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351700501":["hashtag1","hashtag2"]},{"1351700440":["hashtag1","hashtag2"]},{"1351700284":["hashtag1","hashtag2"]},{"1351700397":["hashtag1","hashtag2"]},{"1351700314":["hashtag1","hashtag2"]},{"1351700401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351700501, 1351700440, 1351700284, 1351700397, 1351700314, 1351700401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.662689447402954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 06:03:42.496221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/12/image_19042025_02_13_04_9352.jpg', '/home/pi/Desktop/images/19042025/02/13/image_19042025_02_13_14_10357.jpg', '/home/pi/Desktop/images/19042025/02/13/image_19042025_02_13_25_10368.jpg', '/home/pi/Desktop/images/19042025/02/13/image_19042025_02_13_34_9455.jpg', '/home/pi/Desktop/images/19042025/02/13/image_19042025_02_13_54_9403.jpg', '/home/pi/Desktop/images/19042025/02/13/image_19042025_02_14_04_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/12/image_19042025_02_13_04_9352.jpg
/home/pi/Desktop/images/19042025/02/13/image_19042025_02_13_14_10357.jpg
/home/pi/Desktop/images/19042025/02/13/image_19042025_02_13_25_10368.jpg
/home/pi/Desktop/images/19042025/02/13/image_19042025_02_13_34_9455.jpg
/home/pi/Desktop/images/19042025/02/13/image_19042025_02_13_54_9403.jpg
/home/pi/Desktop/images/19042025/02/13/image_19042025_02_14_04_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1351700762","1351700790","1351700701","1351700691","1351700712","1351700693"],"photo_ids_order":["1351700691","1351700693","1351700701","1351700712","1351700762","1351700790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b33b457252b4ba40e78dd0cd6681302b.jpg","text":"TemporaryFile(/tmp/multipartBody6697021387712151294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035483478,"filename":"image_19042025_02_13_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/19/c88364fff5b61d35b6112163d2c72883.jpg","text":"TemporaryFile(/tmp/multipartBody5205702952953423921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035483478,"filename":"image_19042025_02_14_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/19/c59b65336e94dfcd6a3a68495ea6b049.jpg","text":"TemporaryFile(/tmp/multipartBody2949409311452376254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035483478,"filename":"image_19042025_02_13_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/19/fcae9906880a90ada446af7269901ace.jpg","text":"TemporaryFile(/tmp/multipartBody6509337693764234192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035483478,"filename":"image_19042025_02_13_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/19/53da444925d8fdabbb71189cd83832cc.jpg","text":"TemporaryFile(/tmp/multipartBody4224256160677955289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035483478,"filename":"image_19042025_02_13_34_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4822d2a04d332ebd9f7c8561e27d90f2.jpg","text":"TemporaryFile(/tmp/multipartBody2397845825060628256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035483478,"filename":"image_19042025_02_13_14_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351700701","file1":"1351700693","file0":"1351700691","file4":"1351700762","file5":"1351700790","file3":"1351700712"},"map_files_photo_id_array":[{"photo_id":"1351700790","filename":"file5"},{"photo_id":"1351700701","filename":"file2"},{"photo_id":"1351700762","filename":"file4"},{"photo_id":"1351700693","filename":"file1"},{"photo_id":"1351700691","filename":"file0"},{"photo_id":"1351700712","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351700762":["hashtag1","hashtag2"]},{"1351700790":["hashtag1","hashtag2"]},{"1351700701":["hashtag1","hashtag2"]},{"1351700691":["hashtag1","hashtag2"]},{"1351700712":["hashtag1","hashtag2"]},{"1351700693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351700762, 1351700790, 1351700701, 1351700691, 1351700712, 1351700693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.20024275779724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 06:04:42.597744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_15_10366.jpg', '/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_24_9446.jpg', '/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_34_10426.jpg', '/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_44_9406.jpg', '/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_54_10377.jpg', '/home/pi/Desktop/images/19042025/02/14/image_19042025_02_15_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_15_10366.jpg
/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_24_9446.jpg
/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_34_10426.jpg
/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_44_9406.jpg
/home/pi/Desktop/images/19042025/02/14/image_19042025_02_14_54_10377.jpg
/home/pi/Desktop/images/19042025/02/14/image_19042025_02_15_05_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351700801","1351700807","1351700839","1351700809","1351700811","1351700805"],"photo_ids_order":["1351700801","1351700805","1351700807","1351700809","1351700811","1351700839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce9c26d4b3515bcb481fdcf681f46096.jpg","text":"TemporaryFile(/tmp/multipartBody5565555179650416610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035543143,"filename":"image_19042025_02_14_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/19/1f2e5d2795d741aef7b1e2990e889b5b.jpg","text":"TemporaryFile(/tmp/multipartBody2544132666152655059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035543143,"filename":"image_19042025_02_14_34_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2601f78005c2d2a5b9f59618a921f040.jpg","text":"TemporaryFile(/tmp/multipartBody4714874259715010688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035543143,"filename":"image_19042025_02_15_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bd0a27c4e50f1f9a775fed0edc938b27.jpg","text":"TemporaryFile(/tmp/multipartBody4914793479324627295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035543143,"filename":"image_19042025_02_14_44_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c8b66a6915d82fab94f4bed37069d3d9.jpg","text":"TemporaryFile(/tmp/multipartBody4021037562746169457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035543143,"filename":"image_19042025_02_14_54_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7eb862dfedc8f20cf2846aed8156a206.jpg","text":"TemporaryFile(/tmp/multipartBody3690358316566769478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035543143,"filename":"image_19042025_02_14_24_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351700807","file1":"1351700805","file0":"1351700801","file4":"1351700811","file5":"1351700839","file3":"1351700809"},"map_files_photo_id_array":[{"photo_id":"1351700839","filename":"file5"},{"photo_id":"1351700807","filename":"file2"},{"photo_id":"1351700811","filename":"file4"},{"photo_id":"1351700805","filename":"file1"},{"photo_id":"1351700801","filename":"file0"},{"photo_id":"1351700809","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351700801":["hashtag1","hashtag2"]},{"1351700807":["hashtag1","hashtag2"]},{"1351700839":["hashtag1","hashtag2"]},{"1351700809":["hashtag1","hashtag2"]},{"1351700811":["hashtag1","hashtag2"]},{"1351700805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351700801, 1351700807, 1351700839, 1351700809, 1351700811, 1351700805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28958749771118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:05:32.781150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_14_9418.jpg', '/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_24_10342.jpg', '/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_35_10354.jpg', '/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_44_9420.jpg', '/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_54_10351.jpg', '/home/pi/Desktop/images/19042025/02/15/image_19042025_02_16_04_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_14_9418.jpg
/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_24_10342.jpg
/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_35_10354.jpg
/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_44_9420.jpg
/home/pi/Desktop/images/19042025/02/15/image_19042025_02_15_54_10351.jpg
/home/pi/Desktop/images/19042025/02/15/image_19042025_02_16_04_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":["1351701128","1351701208","1351701207","1351701191","1351701210","1351701155"],"photo_ids_order":["1351701128","1351701155","1351701191","1351701207","1351701208","1351701210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e227a9168546b71e903b9f9c3d2e8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4149426600746632556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035593338,"filename":"image_19042025_02_15_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/19/4c1024392d1cb95cf8a561c81caa5532.jpg","text":"TemporaryFile(/tmp/multipartBody7479532746857435377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035593338,"filename":"image_19042025_02_15_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/19/d447d650fb727398ae45877e2612c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8778484316677704104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035593338,"filename":"image_19042025_02_15_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/19/29ddf284ab9b5e08bc668e03e945498a.jpg","text":"TemporaryFile(/tmp/multipartBody709027303608934973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035593338,"filename":"image_19042025_02_15_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/19/13d941f6c0b6d47c16fa0cb61dc70feb.jpg","text":"TemporaryFile(/tmp/multipartBody8794344962497587561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035593338,"filename":"image_19042025_02_16_04_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/19/1e828b51e6dd1bcfbdb5d4f3ecb7a646.jpg","text":"TemporaryFile(/tmp/multipartBody537129594457048106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035593338,"filename":"image_19042025_02_15_24_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351701191","file1":"1351701155","file0":"1351701128","file4":"1351701208","file5":"1351701210","file3":"1351701207"},"map_files_photo_id_array":[{"photo_id":"1351701210","filename":"file5"},{"photo_id":"1351701191","filename":"file2"},{"photo_id":"1351701208","filename":"file4"},{"photo_id":"1351701155","filename":"file1"},{"photo_id":"1351701128","filename":"file0"},{"photo_id":"1351701207","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351701128":["hashtag1","hashtag2"]},{"1351701208":["hashtag1","hashtag2"]},{"1351701207":["hashtag1","hashtag2"]},{"1351701191":["hashtag1","hashtag2"]},{"1351701210":["hashtag1","hashtag2"]},{"1351701155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351701128, 1351701208, 1351701207, 1351701191, 1351701210, 1351701155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17989182472229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:06:32.143044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_14_10403.jpg', '/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_25_10450.jpg', '/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_34_9354.jpg', '/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_44_10361.jpg', '/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_54_9356.jpg', '/home/pi/Desktop/images/19042025/02/16/image_19042025_02_17_04_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_14_10403.jpg
/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_25_10450.jpg
/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_34_9354.jpg
/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_44_10361.jpg
/home/pi/Desktop/images/19042025/02/16/image_19042025_02_16_54_9356.jpg
/home/pi/Desktop/images/19042025/02/16/image_19042025_02_17_04_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351701311","1351701370","1351701405","1351701306","1351701303","1351701341"],"photo_ids_order":["1351701303","1351701306","1351701311","1351701341","1351701370","1351701405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ab2b7764b4e1b6f045f114ad91e52f60.jpg","text":"TemporaryFile(/tmp/multipartBody7389588688337846980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035652677,"filename":"image_19042025_02_16_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/19/e21091c5e2ba4f01f56f84a2e1175a37.jpg","text":"TemporaryFile(/tmp/multipartBody1849225946052234181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035652677,"filename":"image_19042025_02_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/19/b6798cd60a8effc313b472b338e593b2.jpg","text":"TemporaryFile(/tmp/multipartBody7175509660208967581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035652677,"filename":"image_19042025_02_17_04_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95ec31f76316be215b59df7dc86db52d.jpg","text":"TemporaryFile(/tmp/multipartBody4046395752632730489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035652677,"filename":"image_19042025_02_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/19/0d13c78e63979f844965b1a40210f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody2804020923210055327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035652677,"filename":"image_19042025_02_16_14_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/19/f8a6e35847f2ef1d9e7594ccd7082183.jpg","text":"TemporaryFile(/tmp/multipartBody6223466424977918058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035652677,"filename":"image_19042025_02_16_44_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351701311","file1":"1351701306","file0":"1351701303","file4":"1351701370","file5":"1351701405","file3":"1351701341"},"map_files_photo_id_array":[{"photo_id":"1351701405","filename":"file5"},{"photo_id":"1351701311","filename":"file2"},{"photo_id":"1351701370","filename":"file4"},{"photo_id":"1351701306","filename":"file1"},{"photo_id":"1351701303","filename":"file0"},{"photo_id":"1351701341","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351701311":["hashtag1","hashtag2"]},{"1351701370":["hashtag1","hashtag2"]},{"1351701405":["hashtag1","hashtag2"]},{"1351701306":["hashtag1","hashtag2"]},{"1351701303":["hashtag1","hashtag2"]},{"1351701341":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351701311, 1351701370, 1351701405, 1351701306, 1351701303, 1351701341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16544818878174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:07:32.229099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_15_10457.jpg', '/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_24_9442.jpg', '/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_34_10379.jpg', '/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_44_9458.jpg', '/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_54_10380.jpg', '/home/pi/Desktop/images/19042025/02/17/image_19042025_02_18_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_15_10457.jpg
/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_24_9442.jpg
/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_34_10379.jpg
/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_44_9458.jpg
/home/pi/Desktop/images/19042025/02/17/image_19042025_02_17_54_10380.jpg
/home/pi/Desktop/images/19042025/02/17/image_19042025_02_18_05_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351701737","1351701874","1351701822","1351701767","1351701848","1351701707"],"photo_ids_order":["1351701707","1351701737","1351701767","1351701822","1351701848","1351701874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a24e0281ccc0175207ed21b4ad7dfb9.jpg","text":"TemporaryFile(/tmp/multipartBody8207775495032360990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035712779,"filename":"image_19042025_02_17_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/19/f4369e06c1d99388153eae4ce1ef0c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1432490338705368303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035712779,"filename":"image_19042025_02_18_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/19/509d845c64ae8f4f285aac90c32b9615.jpg","text":"TemporaryFile(/tmp/multipartBody6384022344860208301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035712779,"filename":"image_19042025_02_17_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/19/3ead22b9d5f335fdc58edc370880fe7c.jpg","text":"TemporaryFile(/tmp/multipartBody7922964360149286911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035712779,"filename":"image_19042025_02_17_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/19/7cf3d6f146eaa27154ddb140c7d6ec01.jpg","text":"TemporaryFile(/tmp/multipartBody2267271014500767936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035712779,"filename":"image_19042025_02_17_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/19/29ad79e6c7cc9b6579fa48345abd660e.jpg","text":"TemporaryFile(/tmp/multipartBody1445944439036427075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035712779,"filename":"image_19042025_02_17_15_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351701767","file1":"1351701737","file0":"1351701707","file4":"1351701848","file5":"1351701874","file3":"1351701822"},"map_files_photo_id_array":[{"photo_id":"1351701874","filename":"file5"},{"photo_id":"1351701767","filename":"file2"},{"photo_id":"1351701848","filename":"file4"},{"photo_id":"1351701737","filename":"file1"},{"photo_id":"1351701707","filename":"file0"},{"photo_id":"1351701822","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351701737":["hashtag1","hashtag2"]},{"1351701874":["hashtag1","hashtag2"]},{"1351701822":["hashtag1","hashtag2"]},{"1351701767":["hashtag1","hashtag2"]},{"1351701848":["hashtag1","hashtag2"]},{"1351701707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351701737, 1351701874, 1351701822, 1351701767, 1351701848, 1351701707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59724140167236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:08:32.668731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_14_9368.jpg', '/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_24_10430.jpg', '/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_34_9469.jpg', '/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_44_10376.jpg', '/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_55_10380.jpg', '/home/pi/Desktop/images/19042025/02/18/image_19042025_02_19_04_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_14_9368.jpg
/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_24_10430.jpg
/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_34_9469.jpg
/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_44_10376.jpg
/home/pi/Desktop/images/19042025/02/18/image_19042025_02_18_55_10380.jpg
/home/pi/Desktop/images/19042025/02/18/image_19042025_02_19_04_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":["1351702239","1351702212","1351702178","1351702302","1351702274","1351702127"],"photo_ids_order":["1351702127","1351702178","1351702212","1351702239","1351702274","1351702302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e59d571d465b0d0901040efc4cfd56fd.jpg","text":"TemporaryFile(/tmp/multipartBody9083923149306888038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035773233,"filename":"image_19042025_02_18_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/19/73a25101000f422d6e17b7401e030d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5059322884305057424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035773233,"filename":"image_19042025_02_18_34_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/19/403604efa50353a34e9b9d9061b273f5.jpg","text":"TemporaryFile(/tmp/multipartBody7809294121107792685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035773233,"filename":"image_19042025_02_18_24_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/19/0cf2d07b3cbad2fca386f15c5dcd16be.jpg","text":"TemporaryFile(/tmp/multipartBody8045574176222894349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035773233,"filename":"image_19042025_02_19_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/19/9bfdaf41d6f5fcf05d8d2655f6d5ff9d.jpg","text":"TemporaryFile(/tmp/multipartBody4967444806510277975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035773233,"filename":"image_19042025_02_18_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/19/f3645bdb10b40f13964494fd48bb20d0.jpg","text":"TemporaryFile(/tmp/multipartBody5973460150176207460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035773233,"filename":"image_19042025_02_18_14_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351702212","file1":"1351702178","file0":"1351702127","file4":"1351702274","file5":"1351702302","file3":"1351702239"},"map_files_photo_id_array":[{"photo_id":"1351702302","filename":"file5"},{"photo_id":"1351702212","filename":"file2"},{"photo_id":"1351702274","filename":"file4"},{"photo_id":"1351702178","filename":"file1"},{"photo_id":"1351702127","filename":"file0"},{"photo_id":"1351702239","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351702239":["hashtag1","hashtag2"]},{"1351702212":["hashtag1","hashtag2"]},{"1351702178":["hashtag1","hashtag2"]},{"1351702302":["hashtag1","hashtag2"]},{"1351702274":["hashtag1","hashtag2"]},{"1351702127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351702239, 1351702212, 1351702178, 1351702302, 1351702274, 1351702127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5065643787384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:09:33.150660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_14_10410.jpg', '/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_24_9503.jpg', '/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_34_10399.jpg', '/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_44_9496.jpg', '/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_54_10393.jpg', '/home/pi/Desktop/images/19042025/02/19/image_19042025_02_20_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_14_10410.jpg
/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_24_9503.jpg
/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_34_10399.jpg
/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_44_9496.jpg
/home/pi/Desktop/images/19042025/02/19/image_19042025_02_19_54_10393.jpg
/home/pi/Desktop/images/19042025/02/19/image_19042025_02_20_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351702522","1351702546","1351702507","1351702572","1351702518","1351702526"],"photo_ids_order":["1351702507","1351702518","1351702522","1351702526","1351702546","1351702572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a8f64105232176772c61d86650d0ce7a.jpg","text":"TemporaryFile(/tmp/multipartBody5354079238390543564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035833698,"filename":"image_19042025_02_19_34_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91bc460c102414da149f66fdb88f2d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5763327399616240008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035833698,"filename":"image_19042025_02_19_54_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/19/c1d5ce3b6e8a86fa0d65d735b539721c.jpg","text":"TemporaryFile(/tmp/multipartBody7916345796795129631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035833698,"filename":"image_19042025_02_19_14_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/19/41ff8377ec5d956e0f7f49f21cdd3eef.jpg","text":"TemporaryFile(/tmp/multipartBody6164429681745663478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035833698,"filename":"image_19042025_02_20_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/19/ab393d94a02618a299702a0cebcf137f.jpg","text":"TemporaryFile(/tmp/multipartBody5848785657804725786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035833698,"filename":"image_19042025_02_19_24_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/139013da715bb724de7187c02f9a652b.jpg","text":"TemporaryFile(/tmp/multipartBody1772490681564022765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035833698,"filename":"image_19042025_02_19_44_9496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351702522","file1":"1351702518","file0":"1351702507","file4":"1351702546","file5":"1351702572","file3":"1351702526"},"map_files_photo_id_array":[{"photo_id":"1351702572","filename":"file5"},{"photo_id":"1351702522","filename":"file2"},{"photo_id":"1351702546","filename":"file4"},{"photo_id":"1351702518","filename":"file1"},{"photo_id":"1351702507","filename":"file0"},{"photo_id":"1351702526","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351702522":["hashtag1","hashtag2"]},{"1351702546":["hashtag1","hashtag2"]},{"1351702507":["hashtag1","hashtag2"]},{"1351702572":["hashtag1","hashtag2"]},{"1351702518":["hashtag1","hashtag2"]},{"1351702526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351702522, 1351702546, 1351702507, 1351702572, 1351702518, 1351702526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2280490398407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:10:32.356353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_14_9426.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_24_10400.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_34_9433.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_44_10375.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_55_10354.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_21_04_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_14_9426.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_24_10400.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_34_9433.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_44_10375.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_55_10354.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_21_04_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.47290992736816406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 06:10:42.312337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_14_9426.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_24_10400.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_34_9433.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_44_10375.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_55_10354.jpg', '/home/pi/Desktop/images/19042025/02/20/image_19042025_02_21_04_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_14_9426.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_24_10400.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_34_9433.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_44_10375.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_20_55_10354.jpg
/home/pi/Desktop/images/19042025/02/20/image_19042025_02_21_04_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":["1351702669","1351702624","1351702644","1351702619","1351702622","1351702616"],"photo_ids_order":["1351702616","1351702619","1351702622","1351702624","1351702644","1351702669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8eb14773381cb03962e5eeeaf16cf2ad.jpg","text":"TemporaryFile(/tmp/multipartBody4442168941751980268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035902790,"filename":"image_19042025_02_21_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/19/4e4f38932df11cfa0abc5a5a72fdb8bb.jpg","text":"TemporaryFile(/tmp/multipartBody7169863979757645068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035902790,"filename":"image_19042025_02_20_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/19/2fb535cb4bf447aa1590c862e0da9042.jpg","text":"TemporaryFile(/tmp/multipartBody5654882814156391672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035902790,"filename":"image_19042025_02_20_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/19/4883bbf949dd8e6ef31b8ce5fcc986a2.jpg","text":"TemporaryFile(/tmp/multipartBody4911268536813790210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035902790,"filename":"image_19042025_02_20_24_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a5a9576075862ccd9d2c29dd3344f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5886851868822950395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035902790,"filename":"image_19042025_02_20_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/19/46b5b56691a764ce6b9bf4d927e53de9.jpg","text":"TemporaryFile(/tmp/multipartBody3442030608814594345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035902790,"filename":"image_19042025_02_20_14_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351702622","file1":"1351702619","file0":"1351702616","file4":"1351702644","file5":"1351702669","file3":"1351702624"},"map_files_photo_id_array":[{"photo_id":"1351702669","filename":"file5"},{"photo_id":"1351702622","filename":"file2"},{"photo_id":"1351702644","filename":"file4"},{"photo_id":"1351702619","filename":"file1"},{"photo_id":"1351702616","filename":"file0"},{"photo_id":"1351702624","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351702669":["hashtag1","hashtag2"]},{"1351702624":["hashtag1","hashtag2"]},{"1351702644":["hashtag1","hashtag2"]},{"1351702619":["hashtag1","hashtag2"]},{"1351702622":["hashtag1","hashtag2"]},{"1351702616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351702669, 1351702624, 1351702644, 1351702619, 1351702622, 1351702616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.296008825302124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:11:32.604303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_14_10375.jpg', '/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_24_9470.jpg', '/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_34_10365.jpg', '/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_45_10361.jpg', '/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_54_9440.jpg', '/home/pi/Desktop/images/19042025/02/21/image_19042025_02_22_04_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_14_10375.jpg
/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_24_9470.jpg
/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_34_10365.jpg
/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_45_10361.jpg
/home/pi/Desktop/images/19042025/02/21/image_19042025_02_21_54_9440.jpg
/home/pi/Desktop/images/19042025/02/21/image_19042025_02_22_04_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351703002","1351702971","1351702918","1351703028","1351702949","1351702891"],"photo_ids_order":["1351702891","1351702918","1351702949","1351702971","1351703002","1351703028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ada51ceccedfe6553775c264ec2bd9de.jpg","text":"TemporaryFile(/tmp/multipartBody6715575205069869530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035953168,"filename":"image_19042025_02_21_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e95f4c63cadb3b612ee9905389b3100.jpg","text":"TemporaryFile(/tmp/multipartBody4422732330593403457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035953168,"filename":"image_19042025_02_21_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/19/30cdb6e3ab65824c87b85ed468600bda.jpg","text":"TemporaryFile(/tmp/multipartBody9091122915853210372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035953168,"filename":"image_19042025_02_21_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/19/0404a2e9f1152919e86af9676e928bae.jpg","text":"TemporaryFile(/tmp/multipartBody4192541965988647785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035953168,"filename":"image_19042025_02_22_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/19/bd4d112238e944844fe79e779baee5c4.jpg","text":"TemporaryFile(/tmp/multipartBody2576668899404089684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035953168,"filename":"image_19042025_02_21_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/19/529df23a41788d46098b2b493b31f631.jpg","text":"TemporaryFile(/tmp/multipartBody5608325300309775214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745035953168,"filename":"image_19042025_02_21_14_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351702949","file1":"1351702918","file0":"1351702891","file4":"1351703002","file5":"1351703028","file3":"1351702971"},"map_files_photo_id_array":[{"photo_id":"1351703028","filename":"file5"},{"photo_id":"1351702949","filename":"file2"},{"photo_id":"1351703002","filename":"file4"},{"photo_id":"1351702918","filename":"file1"},{"photo_id":"1351702891","filename":"file0"},{"photo_id":"1351702971","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351703002":["hashtag1","hashtag2"]},{"1351702971":["hashtag1","hashtag2"]},{"1351702918":["hashtag1","hashtag2"]},{"1351703028":["hashtag1","hashtag2"]},{"1351702949":["hashtag1","hashtag2"]},{"1351702891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351703002, 1351702971, 1351702918, 1351703028, 1351702949, 1351702891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55982303619385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:12:32.875894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_14_9489.jpg', '/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_24_10349.jpg', '/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_35_10388.jpg', '/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_44_9358.jpg', '/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_54_10385.jpg', '/home/pi/Desktop/images/19042025/02/22/image_19042025_02_23_05_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_14_9489.jpg
/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_24_10349.jpg
/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_35_10388.jpg
/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_44_9358.jpg
/home/pi/Desktop/images/19042025/02/22/image_19042025_02_22_54_10385.jpg
/home/pi/Desktop/images/19042025/02/22/image_19042025_02_23_05_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":["1351703407","1351703262","1351703321","1351703293","1351703380","1351703353"],"photo_ids_order":["1351703262","1351703293","1351703321","1351703353","1351703380","1351703407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e89cd89fc9b346e865cb5b04dc8939c6.jpg","text":"TemporaryFile(/tmp/multipartBody8901727808312540814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036013446,"filename":"image_19042025_02_23_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/19/7a98f71fb7a4792e85498b6377a7b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody6424790563263398186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036013446,"filename":"image_19042025_02_22_14_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/19/ca2559be1d79199541110cf31beb4843.jpg","text":"TemporaryFile(/tmp/multipartBody2317392189995820153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036013446,"filename":"image_19042025_02_22_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/203ec4ed01ee5162f00b53fac289fe86.jpg","text":"TemporaryFile(/tmp/multipartBody3255652345381046774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036013446,"filename":"image_19042025_02_22_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/19/2537de1b2f91bef8833b78b15b38bca7.jpg","text":"TemporaryFile(/tmp/multipartBody5433911374535428458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036013446,"filename":"image_19042025_02_22_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/19/25778cae2d4f22713cbd488f9a91fda9.jpg","text":"TemporaryFile(/tmp/multipartBody2740700571723405348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036013446,"filename":"image_19042025_02_22_44_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351703321","file1":"1351703293","file0":"1351703262","file4":"1351703380","file5":"1351703407","file3":"1351703353"},"map_files_photo_id_array":[{"photo_id":"1351703407","filename":"file5"},{"photo_id":"1351703321","filename":"file2"},{"photo_id":"1351703380","filename":"file4"},{"photo_id":"1351703293","filename":"file1"},{"photo_id":"1351703262","filename":"file0"},{"photo_id":"1351703353","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351703407":["hashtag1","hashtag2"]},{"1351703262":["hashtag1","hashtag2"]},{"1351703321":["hashtag1","hashtag2"]},{"1351703293":["hashtag1","hashtag2"]},{"1351703380":["hashtag1","hashtag2"]},{"1351703353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351703407, 1351703262, 1351703321, 1351703293, 1351703380, 1351703353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.62645149230957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:13:33.004079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_14_9342.jpg', '/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_25_10447.jpg', '/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_34_9350.jpg', '/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_44_10375.jpg', '/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_55_10474.jpg', '/home/pi/Desktop/images/19042025/02/23/image_19042025_02_24_04_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_14_9342.jpg
/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_25_10447.jpg
/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_34_9350.jpg
/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_44_10375.jpg
/home/pi/Desktop/images/19042025/02/23/image_19042025_02_23_55_10474.jpg
/home/pi/Desktop/images/19042025/02/23/image_19042025_02_24_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":["1351704087","1351703920","1351704164","1351703972","1351703869","1351704025"],"photo_ids_order":["1351703869","1351703920","1351703972","1351704025","1351704087","1351704164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0c347174ab2876be196908c768b60f86.jpg","text":"TemporaryFile(/tmp/multipartBody6078768003934370656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036073569,"filename":"image_19042025_02_23_55_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a884a8adec03b1a9d66cfb29838b7b7c.jpg","text":"TemporaryFile(/tmp/multipartBody566681188562178018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036073569,"filename":"image_19042025_02_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/19/f4d95918d303576f3dae6ca67c46b6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5642086264758414096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036073569,"filename":"image_19042025_02_24_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/19/ff811e97ed2fe3c71b3f564763b55676.jpg","text":"TemporaryFile(/tmp/multipartBody3939049131647177982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036073569,"filename":"image_19042025_02_23_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/19/347129ffd7a5639e63fa55534c92af20.jpg","text":"TemporaryFile(/tmp/multipartBody8194248768173727677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036073569,"filename":"image_19042025_02_23_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/19/57fffa2f65799719e1d70e35ca5f7e35.jpg","text":"TemporaryFile(/tmp/multipartBody7347388474973032982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036073569,"filename":"image_19042025_02_23_44_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351703972","file1":"1351703920","file0":"1351703869","file4":"1351704087","file5":"1351704164","file3":"1351704025"},"map_files_photo_id_array":[{"photo_id":"1351704164","filename":"file5"},{"photo_id":"1351703972","filename":"file2"},{"photo_id":"1351704087","filename":"file4"},{"photo_id":"1351703920","filename":"file1"},{"photo_id":"1351703869","filename":"file0"},{"photo_id":"1351704025","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351704087":["hashtag1","hashtag2"]},{"1351703920":["hashtag1","hashtag2"]},{"1351704164":["hashtag1","hashtag2"]},{"1351703972":["hashtag1","hashtag2"]},{"1351703869":["hashtag1","hashtag2"]},{"1351704025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351704087, 1351703920, 1351704164, 1351703972, 1351703869, 1351704025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.337175846099854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:14:32.406604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_14_10346.jpg', '/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_24_9492.jpg', '/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_34_10348.jpg', '/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_45_10351.jpg', '/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_54_9398.jpg', '/home/pi/Desktop/images/19042025/02/24/image_19042025_02_25_04_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_14_10346.jpg
/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_24_9492.jpg
/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_34_10348.jpg
/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_45_10351.jpg
/home/pi/Desktop/images/19042025/02/24/image_19042025_02_24_54_9398.jpg
/home/pi/Desktop/images/19042025/02/24/image_19042025_02_25_04_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":["1351704906","1351704878","1351704851","1351704821","1351704775","1351704730"],"photo_ids_order":["1351704730","1351704775","1351704821","1351704851","1351704878","1351704906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bb5360908799f554aeb01179c481def2.jpg","text":"TemporaryFile(/tmp/multipartBody7506145787009288158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036132952,"filename":"image_19042025_02_25_04_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89e671e803f2645bda70fc7913b163b4.jpg","text":"TemporaryFile(/tmp/multipartBody8323937958510941742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036132952,"filename":"image_19042025_02_24_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/19/302201b1b206edf55e6feccda96817cc.jpg","text":"TemporaryFile(/tmp/multipartBody2621954338795605535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036132952,"filename":"image_19042025_02_24_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/19/a07d85624b744c21ca009406174480b1.jpg","text":"TemporaryFile(/tmp/multipartBody2256463647094045919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036132952,"filename":"image_19042025_02_24_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd75e09d45ed69703d09a0e8f26d87e6.jpg","text":"TemporaryFile(/tmp/multipartBody6368865647414797387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036132952,"filename":"image_19042025_02_24_24_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/19/7665ca70c3999f89dffff2e42258153a.jpg","text":"TemporaryFile(/tmp/multipartBody5101380113451378681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036132952,"filename":"image_19042025_02_24_14_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351704821","file1":"1351704775","file0":"1351704730","file4":"1351704878","file5":"1351704906","file3":"1351704851"},"map_files_photo_id_array":[{"photo_id":"1351704906","filename":"file5"},{"photo_id":"1351704821","filename":"file2"},{"photo_id":"1351704878","filename":"file4"},{"photo_id":"1351704775","filename":"file1"},{"photo_id":"1351704730","filename":"file0"},{"photo_id":"1351704851","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351704906":["hashtag1","hashtag2"]},{"1351704878":["hashtag1","hashtag2"]},{"1351704851":["hashtag1","hashtag2"]},{"1351704821":["hashtag1","hashtag2"]},{"1351704775":["hashtag1","hashtag2"]},{"1351704730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351704906, 1351704878, 1351704851, 1351704821, 1351704775, 1351704730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.035171270370483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:15:32.421320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_14_9525.jpg', '/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_24_10353.jpg', '/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_35_10474.jpg', '/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_44_9354.jpg', '/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_54_10360.jpg', '/home/pi/Desktop/images/19042025/02/25/image_19042025_02_26_04_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_14_9525.jpg
/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_24_10353.jpg
/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_35_10474.jpg
/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_44_9354.jpg
/home/pi/Desktop/images/19042025/02/25/image_19042025_02_25_54_10360.jpg
/home/pi/Desktop/images/19042025/02/25/image_19042025_02_26_04_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":["1351705227","1351704948","1351704980","1351704923","1351705042","1351705123"],"photo_ids_order":["1351704923","1351704948","1351704980","1351705042","1351705123","1351705227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/54c30bc4f1dabfb8f7589445559cd87a.jpg","text":"TemporaryFile(/tmp/multipartBody8666780479592954816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036192971,"filename":"image_19042025_02_26_04_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/19/eb1923769ccee196c662aa5795d916e0.jpg","text":"TemporaryFile(/tmp/multipartBody7296878057482912397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036192971,"filename":"image_19042025_02_25_24_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d41cf42fe44cbcaa01fb2d99ede143f7.jpg","text":"TemporaryFile(/tmp/multipartBody5761027887478921295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036192971,"filename":"image_19042025_02_25_35_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a770c6a5f33a9246c47f6606dd646ca8.jpg","text":"TemporaryFile(/tmp/multipartBody905904184861700020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036192971,"filename":"image_19042025_02_25_14_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3626be9fb2b305acda1d63ac322bd8c7.jpg","text":"TemporaryFile(/tmp/multipartBody1358437362277993843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036192971,"filename":"image_19042025_02_25_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/19/f422480d3f3c35fc4465a3b4665b8f54.jpg","text":"TemporaryFile(/tmp/multipartBody1120326949170383384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036192971,"filename":"image_19042025_02_25_54_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351704980","file1":"1351704948","file0":"1351704923","file4":"1351705123","file5":"1351705227","file3":"1351705042"},"map_files_photo_id_array":[{"photo_id":"1351705227","filename":"file5"},{"photo_id":"1351704980","filename":"file2"},{"photo_id":"1351705123","filename":"file4"},{"photo_id":"1351704948","filename":"file1"},{"photo_id":"1351704923","filename":"file0"},{"photo_id":"1351705042","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351705227":["hashtag1","hashtag2"]},{"1351704948":["hashtag1","hashtag2"]},{"1351704980":["hashtag1","hashtag2"]},{"1351704923":["hashtag1","hashtag2"]},{"1351705042":["hashtag1","hashtag2"]},{"1351705123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351705227, 1351704948, 1351704980, 1351704923, 1351705042, 1351705123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87896656990051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:16:32.739846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/26/image_19042025_02_26_14_10345.jpg', '/home/pi/Desktop/images/19042025/02/26/image_19042025_02_26_34_9395.jpg', '/home/pi/Desktop/images/19042025/02/26/image_19042025_02_26_44_10368.jpg', '/home/pi/Desktop/images/19042025/02/26/image_19042025_02_26_55_10401.jpg', '/home/pi/Desktop/images/19042025/02/26/image_19042025_02_27_04_9350.jpg', '/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_15_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/26/image_19042025_02_26_14_10345.jpg
/home/pi/Desktop/images/19042025/02/26/image_19042025_02_26_34_9395.jpg
/home/pi/Desktop/images/19042025/02/26/image_19042025_02_26_44_10368.jpg
/home/pi/Desktop/images/19042025/02/26/image_19042025_02_26_55_10401.jpg
/home/pi/Desktop/images/19042025/02/26/image_19042025_02_27_04_9350.jpg
/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_15_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351706329","1351706499","1351706385","1351706232","1351706433","1351706465"],"photo_ids_order":["1351706232","1351706329","1351706385","1351706433","1351706465","1351706499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7a0de03a9ddf798f86d8fc6203d565b.jpg","text":"TemporaryFile(/tmp/multipartBody8741368271951596567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036253319,"filename":"image_19042025_02_26_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/19/3c6eaf6cf40d89a03b44c4a521510daa.jpg","text":"TemporaryFile(/tmp/multipartBody5904868173785560200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036253319,"filename":"image_19042025_02_27_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/19/9728c34aabc23a2660b34f2f0cda251f.jpg","text":"TemporaryFile(/tmp/multipartBody4756949811821599521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036253319,"filename":"image_19042025_02_26_44_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7d86e25977560ced994f7e10a0a80947.jpg","text":"TemporaryFile(/tmp/multipartBody2405792546320867744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036253319,"filename":"image_19042025_02_26_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/19/8af408baf5c4a7ba48da27952f7a08ee.jpg","text":"TemporaryFile(/tmp/multipartBody6511095105360063409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036253319,"filename":"image_19042025_02_26_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/19/5b8ea6636aacf619eaf42e61027ca8cd.jpg","text":"TemporaryFile(/tmp/multipartBody6093024313179917096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036253319,"filename":"image_19042025_02_27_04_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351706385","file1":"1351706329","file0":"1351706232","file4":"1351706465","file5":"1351706499","file3":"1351706433"},"map_files_photo_id_array":[{"photo_id":"1351706499","filename":"file5"},{"photo_id":"1351706385","filename":"file2"},{"photo_id":"1351706465","filename":"file4"},{"photo_id":"1351706329","filename":"file1"},{"photo_id":"1351706232","filename":"file0"},{"photo_id":"1351706433","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351706329":["hashtag1","hashtag2"]},{"1351706499":["hashtag1","hashtag2"]},{"1351706385":["hashtag1","hashtag2"]},{"1351706232":["hashtag1","hashtag2"]},{"1351706433":["hashtag1","hashtag2"]},{"1351706465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351706329, 1351706499, 1351706385, 1351706232, 1351706433, 1351706465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78879976272583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:17:32.950268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_24_9436.jpg', '/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_34_10350.jpg', '/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_45_10344.jpg', '/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_54_9350.jpg', '/home/pi/Desktop/images/19042025/02/27/image_19042025_02_28_04_10354.jpg', '/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_24_9436.jpg
/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_34_10350.jpg
/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_45_10344.jpg
/home/pi/Desktop/images/19042025/02/27/image_19042025_02_27_54_9350.jpg
/home/pi/Desktop/images/19042025/02/27/image_19042025_02_28_04_10354.jpg
/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351707035","1351707209","1351707256","1351707291","1351707324","1351707120"],"photo_ids_order":["1351707035","1351707120","1351707209","1351707256","1351707291","1351707324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9fc51918ef0290679d2474edc77af5ec.jpg","text":"TemporaryFile(/tmp/multipartBody1219898933711617504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036313497,"filename":"image_19042025_02_27_24_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/19/ae51e0a8517b9d3de46578d1b584d384.jpg","text":"TemporaryFile(/tmp/multipartBody2505322296556175841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036313497,"filename":"image_19042025_02_27_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/09326d57112ce7a5c244a3eb16b4e3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6225242413249000927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036313497,"filename":"image_19042025_02_27_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/19/ad8df0e333cdfdd0edb43e64327d0dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4501193021446796692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036313497,"filename":"image_19042025_02_28_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/19/87ad6333015a36f48f5f9e6f2ea25bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5023087229045939442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036313497,"filename":"image_19042025_02_28_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d0118de24e146bea5b2bc95b16eb46e8.jpg","text":"TemporaryFile(/tmp/multipartBody3153190337258704875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036313497,"filename":"image_19042025_02_27_34_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351707209","file1":"1351707120","file0":"1351707035","file4":"1351707291","file5":"1351707324","file3":"1351707256"},"map_files_photo_id_array":[{"photo_id":"1351707324","filename":"file5"},{"photo_id":"1351707209","filename":"file2"},{"photo_id":"1351707291","filename":"file4"},{"photo_id":"1351707120","filename":"file1"},{"photo_id":"1351707035","filename":"file0"},{"photo_id":"1351707256","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351707035":["hashtag1","hashtag2"]},{"1351707209":["hashtag1","hashtag2"]},{"1351707256":["hashtag1","hashtag2"]},{"1351707291":["hashtag1","hashtag2"]},{"1351707324":["hashtag1","hashtag2"]},{"1351707120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351707035, 1351707209, 1351707256, 1351707291, 1351707324, 1351707120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.93973135948181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:18:33.078263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_24_9413.jpg', '/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_34_10364.jpg', '/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_44_9476.jpg', '/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_54_10350.jpg', '/home/pi/Desktop/images/19042025/02/28/image_19042025_02_29_04_9529.jpg', '/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_14_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_24_9413.jpg
/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_34_10364.jpg
/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_44_9476.jpg
/home/pi/Desktop/images/19042025/02/28/image_19042025_02_28_54_10350.jpg
/home/pi/Desktop/images/19042025/02/28/image_19042025_02_29_04_9529.jpg
/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_14_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351707524","1351707616","1351707565","1351707609","1351707618","1351707521"],"photo_ids_order":["1351707521","1351707524","1351707565","1351707609","1351707616","1351707618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a19466d83e58d49b9eb779c8290104cf.jpg","text":"TemporaryFile(/tmp/multipartBody6304362489295009791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036373639,"filename":"image_19042025_02_28_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/19/9a0172d3d2a7db2f1c7bac545994b950.jpg","text":"TemporaryFile(/tmp/multipartBody6833526836193854201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036373639,"filename":"image_19042025_02_29_04_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bcaa5ccd522e0a4f91afc691946e6edb.jpg","text":"TemporaryFile(/tmp/multipartBody5227473064114371030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036373639,"filename":"image_19042025_02_28_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/19/f492e74b023abb8f9f99f6b1fbad303b.jpg","text":"TemporaryFile(/tmp/multipartBody6451126309522333217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036373639,"filename":"image_19042025_02_28_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/19/dd638a3fbc165f01ac68b3a783ba027a.jpg","text":"TemporaryFile(/tmp/multipartBody8314900954155840312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036373639,"filename":"image_19042025_02_29_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/19/8dd93fc15378f8f28b7e0d1523626e02.jpg","text":"TemporaryFile(/tmp/multipartBody2118385141198996632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036373639,"filename":"image_19042025_02_28_24_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351707565","file1":"1351707524","file0":"1351707521","file4":"1351707616","file5":"1351707618","file3":"1351707609"},"map_files_photo_id_array":[{"photo_id":"1351707618","filename":"file5"},{"photo_id":"1351707565","filename":"file2"},{"photo_id":"1351707616","filename":"file4"},{"photo_id":"1351707524","filename":"file1"},{"photo_id":"1351707521","filename":"file0"},{"photo_id":"1351707609","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351707524":["hashtag1","hashtag2"]},{"1351707616":["hashtag1","hashtag2"]},{"1351707565":["hashtag1","hashtag2"]},{"1351707609":["hashtag1","hashtag2"]},{"1351707618":["hashtag1","hashtag2"]},{"1351707521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351707524, 1351707616, 1351707565, 1351707609, 1351707618, 1351707521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33140468597412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:19:32.409778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_25_10365.jpg', '/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_34_9335.jpg', '/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_44_10386.jpg', '/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_55_10363.jpg', '/home/pi/Desktop/images/19042025/02/29/image_19042025_02_30_04_9335.jpg', '/home/pi/Desktop/images/19042025/02/30/image_19042025_02_30_14_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_25_10365.jpg
/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_34_9335.jpg
/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_44_10386.jpg
/home/pi/Desktop/images/19042025/02/29/image_19042025_02_29_55_10363.jpg
/home/pi/Desktop/images/19042025/02/29/image_19042025_02_30_04_9335.jpg
/home/pi/Desktop/images/19042025/02/30/image_19042025_02_30_14_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":["1351708062","1351707939","1351708091","1351708115","1351707974","1351708004"],"photo_ids_order":["1351707939","1351707974","1351708004","1351708062","1351708091","1351708115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5df89bf04a5acf33bb0c0fffe9e8687b.jpg","text":"TemporaryFile(/tmp/multipartBody6639542132919475272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036432969,"filename":"image_19042025_02_29_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/19/6db1be2d712f7cf1986bdb485e0a5b64.jpg","text":"TemporaryFile(/tmp/multipartBody8732022321069204563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036432969,"filename":"image_19042025_02_29_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/19/357794f7f23269e182d70c68d4adcd54.jpg","text":"TemporaryFile(/tmp/multipartBody1870344941104123879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036432969,"filename":"image_19042025_02_30_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/571c05047f90e9ba96fb0a712d47f161.jpg","text":"TemporaryFile(/tmp/multipartBody4360721046067159630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036432969,"filename":"image_19042025_02_30_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2dd8dd4a6c6ef76137e714b6927caf58.jpg","text":"TemporaryFile(/tmp/multipartBody6594447763549245740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036432969,"filename":"image_19042025_02_29_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/19/c13346998d8f5e2a21213e68748aea8f.jpg","text":"TemporaryFile(/tmp/multipartBody9058812236687073724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036432969,"filename":"image_19042025_02_29_44_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351708004","file1":"1351707974","file0":"1351707939","file4":"1351708091","file5":"1351708115","file3":"1351708062"},"map_files_photo_id_array":[{"photo_id":"1351708115","filename":"file5"},{"photo_id":"1351708004","filename":"file2"},{"photo_id":"1351708091","filename":"file4"},{"photo_id":"1351707974","filename":"file1"},{"photo_id":"1351707939","filename":"file0"},{"photo_id":"1351708062","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351708062":["hashtag1","hashtag2"]},{"1351707939":["hashtag1","hashtag2"]},{"1351708091":["hashtag1","hashtag2"]},{"1351708115":["hashtag1","hashtag2"]},{"1351707974":["hashtag1","hashtag2"]},{"1351708004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351708062, 1351707939, 1351708091, 1351708115, 1351707974, 1351708004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53381299972534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:20:32.638090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/30/image_19042025_02_30_25_10410.jpg', '/home/pi/Desktop/images/19042025/02/30/image_19042025_02_30_44_10347.jpg', '/home/pi/Desktop/images/19042025/02/30/image_19042025_02_30_54_9430.jpg', '/home/pi/Desktop/images/19042025/02/30/image_19042025_02_31_04_10354.jpg', '/home/pi/Desktop/images/19042025/02/31/image_19042025_02_31_15_10353.jpg', '/home/pi/Desktop/images/19042025/02/31/image_19042025_02_31_34_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/30/image_19042025_02_30_25_10410.jpg
/home/pi/Desktop/images/19042025/02/30/image_19042025_02_30_44_10347.jpg
/home/pi/Desktop/images/19042025/02/30/image_19042025_02_30_54_9430.jpg
/home/pi/Desktop/images/19042025/02/30/image_19042025_02_31_04_10354.jpg
/home/pi/Desktop/images/19042025/02/31/image_19042025_02_31_15_10353.jpg
/home/pi/Desktop/images/19042025/02/31/image_19042025_02_31_34_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":["1351708432","1351708311","1351708370","1351708340","1351708285","1351708403"],"photo_ids_order":["1351708285","1351708311","1351708340","1351708370","1351708403","1351708432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/912c3c0cd04005c774877fbb0ec8828a.jpg","text":"TemporaryFile(/tmp/multipartBody9191702676789024640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036493216,"filename":"image_19042025_02_31_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/19/fb9f96a338a33ad566d3a76a233e2108.jpg","text":"TemporaryFile(/tmp/multipartBody5662413013533466775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036493216,"filename":"image_19042025_02_30_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/19/88aa3c782dce636fea62ca3a6883c108.jpg","text":"TemporaryFile(/tmp/multipartBody3712132370455353369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036493216,"filename":"image_19042025_02_31_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/19/72f800fb93b685962561c98186c2d9ff.jpg","text":"TemporaryFile(/tmp/multipartBody2715192311434410779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036493216,"filename":"image_19042025_02_30_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/19/1f20e69529ea94cf2fe18cbc8081442a.jpg","text":"TemporaryFile(/tmp/multipartBody5329199526433232321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036493216,"filename":"image_19042025_02_30_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0bdcb4c5a4937f55dd9a801524e75856.jpg","text":"TemporaryFile(/tmp/multipartBody7591742632797319929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036493216,"filename":"image_19042025_02_31_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351708340","file1":"1351708311","file0":"1351708285","file4":"1351708403","file5":"1351708432","file3":"1351708370"},"map_files_photo_id_array":[{"photo_id":"1351708432","filename":"file5"},{"photo_id":"1351708340","filename":"file2"},{"photo_id":"1351708403","filename":"file4"},{"photo_id":"1351708311","filename":"file1"},{"photo_id":"1351708285","filename":"file0"},{"photo_id":"1351708370","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351708432":["hashtag1","hashtag2"]},{"1351708311":["hashtag1","hashtag2"]},{"1351708370":["hashtag1","hashtag2"]},{"1351708340":["hashtag1","hashtag2"]},{"1351708285":["hashtag1","hashtag2"]},{"1351708403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351708432, 1351708311, 1351708370, 1351708340, 1351708285, 1351708403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.751635789871216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:21:32.857419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/31/image_19042025_02_31_45_10463.jpg', '/home/pi/Desktop/images/19042025/02/31/image_19042025_02_31_54_9346.jpg', '/home/pi/Desktop/images/19042025/02/31/image_19042025_02_32_04_10356.jpg', '/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_14_9354.jpg', '/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_24_10351.jpg', '/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/31/image_19042025_02_31_45_10463.jpg
/home/pi/Desktop/images/19042025/02/31/image_19042025_02_31_54_9346.jpg
/home/pi/Desktop/images/19042025/02/31/image_19042025_02_32_04_10356.jpg
/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_14_9354.jpg
/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_24_10351.jpg
/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_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":["1351708857","1351708830","1351708790","1351709015","1351709062","1351708925"],"photo_ids_order":["1351708790","1351708830","1351708857","1351708925","1351709015","1351709062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f83e196c4f09ab969460cb1ceba8ad0b.jpg","text":"TemporaryFile(/tmp/multipartBody3486998073467045042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036553403,"filename":"image_19042025_02_32_04_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5363f64ae9f35ffa70475e7306216947.jpg","text":"TemporaryFile(/tmp/multipartBody3515430221127368903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036553403,"filename":"image_19042025_02_31_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/19/d00caf1991fa92a7f115544c3f730e0a.jpg","text":"TemporaryFile(/tmp/multipartBody5789213437832327942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036553403,"filename":"image_19042025_02_31_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/19/9bd1f7245491ad3de347105584946dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5870504907806767359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036553403,"filename":"image_19042025_02_32_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/19/81d52cbce58359e79a8ad98ade9250db.jpg","text":"TemporaryFile(/tmp/multipartBody6752802424155315774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036553403,"filename":"image_19042025_02_32_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/19/7a5ca39a51677c7b1ef2b4702f4ce8d1.jpg","text":"TemporaryFile(/tmp/multipartBody6193374348214620179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036553403,"filename":"image_19042025_02_32_14_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351708857","file1":"1351708830","file0":"1351708790","file4":"1351709015","file5":"1351709062","file3":"1351708925"},"map_files_photo_id_array":[{"photo_id":"1351709062","filename":"file5"},{"photo_id":"1351708857","filename":"file2"},{"photo_id":"1351709015","filename":"file4"},{"photo_id":"1351708830","filename":"file1"},{"photo_id":"1351708790","filename":"file0"},{"photo_id":"1351708925","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351708857":["hashtag1","hashtag2"]},{"1351708830":["hashtag1","hashtag2"]},{"1351708790":["hashtag1","hashtag2"]},{"1351709015":["hashtag1","hashtag2"]},{"1351709062":["hashtag1","hashtag2"]},{"1351708925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351708857, 1351708830, 1351708790, 1351709015, 1351709062, 1351708925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.536402225494385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:22:32.162619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_44_9357.jpg', '/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_54_10380.jpg', '/home/pi/Desktop/images/19042025/02/32/image_19042025_02_33_05_10359.jpg', '/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_14_9413.jpg', '/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_24_10355.jpg', '/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_34_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_44_9357.jpg
/home/pi/Desktop/images/19042025/02/32/image_19042025_02_32_54_10380.jpg
/home/pi/Desktop/images/19042025/02/32/image_19042025_02_33_05_10359.jpg
/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_14_9413.jpg
/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_24_10355.jpg
/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_34_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":["1351709646","1351709966","1351709791","1351709992","1351709719","1351709905"],"photo_ids_order":["1351709646","1351709719","1351709791","1351709905","1351709966","1351709992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd89042a96e23ecbde0f3a514db22e24.jpg","text":"TemporaryFile(/tmp/multipartBody5223742960615644709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036612709,"filename":"image_19042025_02_32_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/19/274ebfc46c4124f63b339967afbd3fd6.jpg","text":"TemporaryFile(/tmp/multipartBody4235869548285510710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036612709,"filename":"image_19042025_02_33_24_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bbd0d7cd05fcb6c145ac1e0c80e56c53.jpg","text":"TemporaryFile(/tmp/multipartBody7772485341389054063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036612709,"filename":"image_19042025_02_33_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/19/7d5e5e201573ee20713bc207f961720f.jpg","text":"TemporaryFile(/tmp/multipartBody8092568532303625382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036612709,"filename":"image_19042025_02_33_34_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/45853718d6e880762af7ee863c4f2249.jpg","text":"TemporaryFile(/tmp/multipartBody1276211849081492953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036612709,"filename":"image_19042025_02_32_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/19/ce188717c7a5af78707cca6102b3f3d6.jpg","text":"TemporaryFile(/tmp/multipartBody6596494823791228812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036612709,"filename":"image_19042025_02_33_14_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351709791","file1":"1351709719","file0":"1351709646","file4":"1351709966","file5":"1351709992","file3":"1351709905"},"map_files_photo_id_array":[{"photo_id":"1351709992","filename":"file5"},{"photo_id":"1351709791","filename":"file2"},{"photo_id":"1351709966","filename":"file4"},{"photo_id":"1351709719","filename":"file1"},{"photo_id":"1351709646","filename":"file0"},{"photo_id":"1351709905","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351709646":["hashtag1","hashtag2"]},{"1351709966":["hashtag1","hashtag2"]},{"1351709791":["hashtag1","hashtag2"]},{"1351709992":["hashtag1","hashtag2"]},{"1351709719":["hashtag1","hashtag2"]},{"1351709905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351709646, 1351709966, 1351709791, 1351709992, 1351709719, 1351709905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.540279388427734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:23:32.230397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_44_10362.jpg', '/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_55_10364.jpg', '/home/pi/Desktop/images/19042025/02/33/image_19042025_02_34_04_9358.jpg', '/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_14_10427.jpg', '/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_25_10430.jpg', '/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_34_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_44_10362.jpg
/home/pi/Desktop/images/19042025/02/33/image_19042025_02_33_55_10364.jpg
/home/pi/Desktop/images/19042025/02/33/image_19042025_02_34_04_9358.jpg
/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_14_10427.jpg
/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_25_10430.jpg
/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_34_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1351710354","1351710330","1351710306","1351710281","1351710407","1351710382"],"photo_ids_order":["1351710281","1351710306","1351710330","1351710354","1351710382","1351710407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98f740d495b0f2075b5b779fbb5f6670.jpg","text":"TemporaryFile(/tmp/multipartBody6283875333695094386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036672779,"filename":"image_19042025_02_34_14_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/19/7702ccb420eddbe08161dab5490a48f4.jpg","text":"TemporaryFile(/tmp/multipartBody7293859013341452688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036672779,"filename":"image_19042025_02_34_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/19/37295850cac9e6f7e84cd76826df3e46.jpg","text":"TemporaryFile(/tmp/multipartBody3012235252722155620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036672779,"filename":"image_19042025_02_33_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/19/a87046ea000438b19ef013ab188a8891.jpg","text":"TemporaryFile(/tmp/multipartBody2381341110540296504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036672779,"filename":"image_19042025_02_33_44_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3f4c9d117a338f93d1aa9fb0fe8df9f7.jpg","text":"TemporaryFile(/tmp/multipartBody4492036592493324293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036672779,"filename":"image_19042025_02_34_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84c1f6e985b2c4af6a9a7dc68d65fad6.jpg","text":"TemporaryFile(/tmp/multipartBody4138203900175211904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036672779,"filename":"image_19042025_02_34_25_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351710330","file1":"1351710306","file0":"1351710281","file4":"1351710382","file5":"1351710407","file3":"1351710354"},"map_files_photo_id_array":[{"photo_id":"1351710407","filename":"file5"},{"photo_id":"1351710330","filename":"file2"},{"photo_id":"1351710382","filename":"file4"},{"photo_id":"1351710306","filename":"file1"},{"photo_id":"1351710281","filename":"file0"},{"photo_id":"1351710354","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351710354":["hashtag1","hashtag2"]},{"1351710330":["hashtag1","hashtag2"]},{"1351710306":["hashtag1","hashtag2"]},{"1351710281":["hashtag1","hashtag2"]},{"1351710407":["hashtag1","hashtag2"]},{"1351710382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351710354, 1351710330, 1351710306, 1351710281, 1351710407, 1351710382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99362325668335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:24:33.775333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_44_10335.jpg', '/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_54_9380.jpg', '/home/pi/Desktop/images/19042025/02/34/image_19042025_02_35_04_10363.jpg', '/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_15_10376.jpg', '/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_24_9417.jpg', '/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_34_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_44_10335.jpg
/home/pi/Desktop/images/19042025/02/34/image_19042025_02_34_54_9380.jpg
/home/pi/Desktop/images/19042025/02/34/image_19042025_02_35_04_10363.jpg
/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_15_10376.jpg
/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_24_9417.jpg
/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_34_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351710838","1351710891","1351710948","1351711073","1351711150","1351711012"],"photo_ids_order":["1351710838","1351710891","1351710948","1351711012","1351711073","1351711150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/31ed28fe79d80d402d5135c410a72cf0.jpg","text":"TemporaryFile(/tmp/multipartBody2214431887519038150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036734323,"filename":"image_19042025_02_34_44_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e98488d045063b4c08aab149ae7ec4de.jpg","text":"TemporaryFile(/tmp/multipartBody1397963191273249173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036734323,"filename":"image_19042025_02_34_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/19/39793c3bb6ddad0a56a22da0873cd212.jpg","text":"TemporaryFile(/tmp/multipartBody7982848957043726779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036734323,"filename":"image_19042025_02_35_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4206af69b26a002fe24d51520a634f71.jpg","text":"TemporaryFile(/tmp/multipartBody6057173688717232783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036734323,"filename":"image_19042025_02_35_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/19/dace59378700f621322b410bbbc7bc5d.jpg","text":"TemporaryFile(/tmp/multipartBody5516642979441863977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036734323,"filename":"image_19042025_02_35_34_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f22a4dfacfee6d142690c5c0758d06c.jpg","text":"TemporaryFile(/tmp/multipartBody646899299867220923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036734323,"filename":"image_19042025_02_35_15_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351710948","file1":"1351710891","file0":"1351710838","file4":"1351711073","file5":"1351711150","file3":"1351711012"},"map_files_photo_id_array":[{"photo_id":"1351711150","filename":"file5"},{"photo_id":"1351710948","filename":"file2"},{"photo_id":"1351711073","filename":"file4"},{"photo_id":"1351710891","filename":"file1"},{"photo_id":"1351710838","filename":"file0"},{"photo_id":"1351711012","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351710838":["hashtag1","hashtag2"]},{"1351710891":["hashtag1","hashtag2"]},{"1351710948":["hashtag1","hashtag2"]},{"1351711073":["hashtag1","hashtag2"]},{"1351711150":["hashtag1","hashtag2"]},{"1351711012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351710838, 1351710891, 1351710948, 1351711073, 1351711150, 1351711012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.04959774017334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:25:32.767119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_45_10442.jpg', '/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_54_9357.jpg', '/home/pi/Desktop/images/19042025/02/35/image_19042025_02_36_05_10352.jpg', '/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_14_9360.jpg', '/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_24_10414.jpg', '/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_35_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_45_10442.jpg
/home/pi/Desktop/images/19042025/02/35/image_19042025_02_35_54_9357.jpg
/home/pi/Desktop/images/19042025/02/35/image_19042025_02_36_05_10352.jpg
/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_14_9360.jpg
/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_24_10414.jpg
/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_35_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":["1351712942","1351712825","1351712197","1351712449","1351712305","1351712634"],"photo_ids_order":["1351712197","1351712305","1351712449","1351712634","1351712825","1351712942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3a4db90c6d3d591f98cabb4edc367f4e.jpg","text":"TemporaryFile(/tmp/multipartBody1329677057571609479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036793306,"filename":"image_19042025_02_36_35_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/19/01eec1f21cebe92c3724cad93343e7d9.jpg","text":"TemporaryFile(/tmp/multipartBody4170699045536680890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036793306,"filename":"image_19042025_02_36_24_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/19/5abbf6cceecebc4190f73dc321adb7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8687214434576837149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036793306,"filename":"image_19042025_02_35_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a398553534a66bddc617cf7644085d9.jpg","text":"TemporaryFile(/tmp/multipartBody5847083129655579613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036793306,"filename":"image_19042025_02_36_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/19/738d2c05066567d28cb46f1bb0373c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2646995440276087664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036793306,"filename":"image_19042025_02_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/19/02edbee64d3709b88f7b5c124104e305.jpg","text":"TemporaryFile(/tmp/multipartBody7724951508069676945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036793306,"filename":"image_19042025_02_36_14_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351712449","file1":"1351712305","file0":"1351712197","file4":"1351712825","file5":"1351712942","file3":"1351712634"},"map_files_photo_id_array":[{"photo_id":"1351712942","filename":"file5"},{"photo_id":"1351712449","filename":"file2"},{"photo_id":"1351712825","filename":"file4"},{"photo_id":"1351712305","filename":"file1"},{"photo_id":"1351712197","filename":"file0"},{"photo_id":"1351712634","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351712942":["hashtag1","hashtag2"]},{"1351712825":["hashtag1","hashtag2"]},{"1351712197":["hashtag1","hashtag2"]},{"1351712449":["hashtag1","hashtag2"]},{"1351712305":["hashtag1","hashtag2"]},{"1351712634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351712942, 1351712825, 1351712197, 1351712449, 1351712305, 1351712634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98841714859009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:26:32.980336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_44_9466.jpg', '/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_55_10378.jpg', '/home/pi/Desktop/images/19042025/02/36/image_19042025_02_37_04_9344.jpg', '/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_14_10372.jpg', '/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_25_10348.jpg', '/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_34_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_44_9466.jpg
/home/pi/Desktop/images/19042025/02/36/image_19042025_02_36_55_10378.jpg
/home/pi/Desktop/images/19042025/02/36/image_19042025_02_37_04_9344.jpg
/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_14_10372.jpg
/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_25_10348.jpg
/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_34_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":["1351713698","1351713665","1351713659","1351713688","1351713673","1351713646"],"photo_ids_order":["1351713646","1351713659","1351713665","1351713673","1351713688","1351713698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/68d40d8be8beaff1b8f9c3cb9acf190a.jpg","text":"TemporaryFile(/tmp/multipartBody1369949273935955661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036853530,"filename":"image_19042025_02_37_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/19/d08c27c2a65a264e699db2a50de5edeb.jpg","text":"TemporaryFile(/tmp/multipartBody1366297611406185258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036853530,"filename":"image_19042025_02_37_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/19/c5ca41b54d5c783c087a6cf802258bbf.jpg","text":"TemporaryFile(/tmp/multipartBody4233191023575359820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036853530,"filename":"image_19042025_02_36_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/19/856488df74c3217c8665438f781eb6da.jpg","text":"TemporaryFile(/tmp/multipartBody8185465387102184719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036853530,"filename":"image_19042025_02_37_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/19/30525d7be4ae83109e2a1b3605cf99f5.jpg","text":"TemporaryFile(/tmp/multipartBody662461338828615456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036853530,"filename":"image_19042025_02_37_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/19/25b7416bec50c8efa67d80954936f246.jpg","text":"TemporaryFile(/tmp/multipartBody2604141407015703216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036853530,"filename":"image_19042025_02_36_44_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351713665","file1":"1351713659","file0":"1351713646","file4":"1351713688","file5":"1351713698","file3":"1351713673"},"map_files_photo_id_array":[{"photo_id":"1351713698","filename":"file5"},{"photo_id":"1351713665","filename":"file2"},{"photo_id":"1351713688","filename":"file4"},{"photo_id":"1351713659","filename":"file1"},{"photo_id":"1351713646","filename":"file0"},{"photo_id":"1351713673","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351713698":["hashtag1","hashtag2"]},{"1351713665":["hashtag1","hashtag2"]},{"1351713659":["hashtag1","hashtag2"]},{"1351713688":["hashtag1","hashtag2"]},{"1351713673":["hashtag1","hashtag2"]},{"1351713646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351713698, 1351713665, 1351713659, 1351713688, 1351713673, 1351713646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.012707233428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:27:32.216781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_45_10374.jpg', '/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_54_9337.jpg', '/home/pi/Desktop/images/19042025/02/37/image_19042025_02_38_04_10363.jpg', '/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_15_10362.jpg', '/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_24_9428.jpg', '/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_34_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_45_10374.jpg
/home/pi/Desktop/images/19042025/02/37/image_19042025_02_37_54_9337.jpg
/home/pi/Desktop/images/19042025/02/37/image_19042025_02_38_04_10363.jpg
/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_15_10362.jpg
/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_24_9428.jpg
/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_34_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":["1351714294","1351714312","1351714201","1351714095","1351714149","1351714259"],"photo_ids_order":["1351714095","1351714149","1351714201","1351714259","1351714294","1351714312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/500eea6ee8058ce018d1e186a1d8b96f.jpg","text":"TemporaryFile(/tmp/multipartBody8016348612233451893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036912834,"filename":"image_19042025_02_38_24_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d9e0a688d89836a4036aa11a15967d4.jpg","text":"TemporaryFile(/tmp/multipartBody8189579198326016012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036912834,"filename":"image_19042025_02_38_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/19/81cdb8c786b0663b7dff6e4ed39bc63f.jpg","text":"TemporaryFile(/tmp/multipartBody3611134459883460867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036912834,"filename":"image_19042025_02_38_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d87d19ed58f69791d0744f41dbd435f.jpg","text":"TemporaryFile(/tmp/multipartBody1893371615574332815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036912834,"filename":"image_19042025_02_37_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/19/c6b0609e7a9035e2c38467597a683661.jpg","text":"TemporaryFile(/tmp/multipartBody5292368930813515280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036912834,"filename":"image_19042025_02_37_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/19/d9f0342afb8388ea41c53e78d5d4db4c.jpg","text":"TemporaryFile(/tmp/multipartBody2581099058421023468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036912834,"filename":"image_19042025_02_38_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351714201","file1":"1351714149","file0":"1351714095","file4":"1351714294","file5":"1351714312","file3":"1351714259"},"map_files_photo_id_array":[{"photo_id":"1351714312","filename":"file5"},{"photo_id":"1351714201","filename":"file2"},{"photo_id":"1351714294","filename":"file4"},{"photo_id":"1351714149","filename":"file1"},{"photo_id":"1351714095","filename":"file0"},{"photo_id":"1351714259","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351714294":["hashtag1","hashtag2"]},{"1351714312":["hashtag1","hashtag2"]},{"1351714201":["hashtag1","hashtag2"]},{"1351714095":["hashtag1","hashtag2"]},{"1351714149":["hashtag1","hashtag2"]},{"1351714259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351714294, 1351714312, 1351714201, 1351714095, 1351714149, 1351714259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.939420461654663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:28:32.367017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_45_10431.jpg', '/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_54_9354.jpg', '/home/pi/Desktop/images/19042025/02/38/image_19042025_02_39_05_10421.jpg', '/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_14_9397.jpg', '/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_24_10411.jpg', '/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_35_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_45_10431.jpg
/home/pi/Desktop/images/19042025/02/38/image_19042025_02_38_54_9354.jpg
/home/pi/Desktop/images/19042025/02/38/image_19042025_02_39_05_10421.jpg
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_14_9397.jpg
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_24_10411.jpg
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_35_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351714984","1351714942","1351714848","1351714902","1351714988","1351714970"],"photo_ids_order":["1351714848","1351714902","1351714942","1351714970","1351714984","1351714988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b509f11f4694688b63772c151ec610d3.jpg","text":"TemporaryFile(/tmp/multipartBody1691832311933113671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036972922,"filename":"image_19042025_02_39_24_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/57a965bb58ba8e3ded2563b3e0501f6a.jpg","text":"TemporaryFile(/tmp/multipartBody9056467197214623258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036972922,"filename":"image_19042025_02_39_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/19/a16f79dc54995392d41f83e68703c164.jpg","text":"TemporaryFile(/tmp/multipartBody8881034535646344084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036972922,"filename":"image_19042025_02_38_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84df406cfc4d255f346ac079a2cd332c.jpg","text":"TemporaryFile(/tmp/multipartBody7907672818994904124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036972922,"filename":"image_19042025_02_38_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/19/81f3e553f5ca8ea3496e2290751a60d6.jpg","text":"TemporaryFile(/tmp/multipartBody5206433975905735021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036972922,"filename":"image_19042025_02_39_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1ffa15fcafd0e84bcd822bcb0905d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6329847660875309071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745036972922,"filename":"image_19042025_02_39_14_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351714942","file1":"1351714902","file0":"1351714848","file4":"1351714984","file5":"1351714988","file3":"1351714970"},"map_files_photo_id_array":[{"photo_id":"1351714988","filename":"file5"},{"photo_id":"1351714942","filename":"file2"},{"photo_id":"1351714984","filename":"file4"},{"photo_id":"1351714902","filename":"file1"},{"photo_id":"1351714848","filename":"file0"},{"photo_id":"1351714970","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351714984":["hashtag1","hashtag2"]},{"1351714942":["hashtag1","hashtag2"]},{"1351714848":["hashtag1","hashtag2"]},{"1351714902":["hashtag1","hashtag2"]},{"1351714988":["hashtag1","hashtag2"]},{"1351714970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351714984, 1351714942, 1351714848, 1351714902, 1351714988, 1351714970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.267995595932007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:29:32.685378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_44_9363.jpg', '/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_55_10381.jpg', '/home/pi/Desktop/images/19042025/02/39/image_19042025_02_40_04_9457.jpg', '/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_14_10378.jpg', '/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_25_10412.jpg', '/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_34_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_44_9363.jpg
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_55_10381.jpg
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_40_04_9457.jpg
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_14_10378.jpg
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_25_10412.jpg
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_34_9343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4660830497741699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 06:29:42.594326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_44_9363.jpg', '/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_55_10381.jpg', '/home/pi/Desktop/images/19042025/02/39/image_19042025_02_40_04_9457.jpg', '/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_14_10378.jpg', '/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_25_10412.jpg', '/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_34_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_44_9363.jpg
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_39_55_10381.jpg
/home/pi/Desktop/images/19042025/02/39/image_19042025_02_40_04_9457.jpg
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_14_10378.jpg
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_25_10412.jpg
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_34_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351715971","1351716062","1351715855","1351716286","1351716199","1351715741"],"photo_ids_order":["1351715741","1351715855","1351715971","1351716062","1351716199","1351716286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac1e5aefd401eb417b9bde6fe0a73be9.jpg","text":"TemporaryFile(/tmp/multipartBody4417775849900952680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037043065,"filename":"image_19042025_02_40_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71d910a4118b90e21e50cbf4ccdcded1.jpg","text":"TemporaryFile(/tmp/multipartBody7686901078419625763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037043065,"filename":"image_19042025_02_40_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/19/0fa5e4789da13e0b7b67214d7b6a1bde.jpg","text":"TemporaryFile(/tmp/multipartBody1643383916928011789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037043065,"filename":"image_19042025_02_39_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/19/e2e95d80ad18bd636689c8cf39e48e5e.jpg","text":"TemporaryFile(/tmp/multipartBody5338405467968696456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037043065,"filename":"image_19042025_02_40_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ffc0d920c61fc3296273ed250211ad25.jpg","text":"TemporaryFile(/tmp/multipartBody3372932820627443835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037043065,"filename":"image_19042025_02_40_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/19/b258d0bdd97e23a048d0ddb8677f4687.jpg","text":"TemporaryFile(/tmp/multipartBody6261434133897584243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037043065,"filename":"image_19042025_02_39_44_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351715971","file1":"1351715855","file0":"1351715741","file4":"1351716199","file5":"1351716286","file3":"1351716062"},"map_files_photo_id_array":[{"photo_id":"1351716286","filename":"file5"},{"photo_id":"1351715971","filename":"file2"},{"photo_id":"1351716199","filename":"file4"},{"photo_id":"1351715855","filename":"file1"},{"photo_id":"1351715741","filename":"file0"},{"photo_id":"1351716062","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351715971":["hashtag1","hashtag2"]},{"1351716062":["hashtag1","hashtag2"]},{"1351715855":["hashtag1","hashtag2"]},{"1351716286":["hashtag1","hashtag2"]},{"1351716199":["hashtag1","hashtag2"]},{"1351715741":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351715971, 1351716062, 1351715855, 1351716286, 1351716199, 1351715741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58978033065796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:30:32.909473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_45_10369.jpg', '/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_54_9366.jpg', '/home/pi/Desktop/images/19042025/02/40/image_19042025_02_41_04_10384.jpg', '/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_15_10366.jpg', '/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_24_9342.jpg', '/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_34_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_45_10369.jpg
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_40_54_9366.jpg
/home/pi/Desktop/images/19042025/02/40/image_19042025_02_41_04_10384.jpg
/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_15_10366.jpg
/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_24_9342.jpg
/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_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":["1351716776","1351716758","1351716659","1351716728","1351716784","1351716754"],"photo_ids_order":["1351716659","1351716728","1351716754","1351716758","1351716776","1351716784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1886d4dcddcbf2b07a3dcdc9c388ae41.jpg","text":"TemporaryFile(/tmp/multipartBody2944334399165179946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037093469,"filename":"image_19042025_02_41_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/19/bf501a1bee45b78ed08ae6df5f526458.jpg","text":"TemporaryFile(/tmp/multipartBody631717753146975162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037093469,"filename":"image_19042025_02_41_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cc1830584923d973edef5130c3d1889.jpg","text":"TemporaryFile(/tmp/multipartBody8283847505257985381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037093469,"filename":"image_19042025_02_40_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/19/722f4dd292e1803b1a5b129697b9b0eb.jpg","text":"TemporaryFile(/tmp/multipartBody2478370477006452067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037093469,"filename":"image_19042025_02_40_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c7207d8b51f1b894ec36866768accce.jpg","text":"TemporaryFile(/tmp/multipartBody6823067932852511802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037093469,"filename":"image_19042025_02_41_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/19/3140dc218595e42cac1fee0faaf936de.jpg","text":"TemporaryFile(/tmp/multipartBody5249603325882809917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037093469,"filename":"image_19042025_02_41_04_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351716754","file1":"1351716728","file0":"1351716659","file4":"1351716776","file5":"1351716784","file3":"1351716758"},"map_files_photo_id_array":[{"photo_id":"1351716784","filename":"file5"},{"photo_id":"1351716754","filename":"file2"},{"photo_id":"1351716776","filename":"file4"},{"photo_id":"1351716728","filename":"file1"},{"photo_id":"1351716659","filename":"file0"},{"photo_id":"1351716758","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351716776":["hashtag1","hashtag2"]},{"1351716758":["hashtag1","hashtag2"]},{"1351716659":["hashtag1","hashtag2"]},{"1351716728":["hashtag1","hashtag2"]},{"1351716784":["hashtag1","hashtag2"]},{"1351716754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351716776, 1351716758, 1351716659, 1351716728, 1351716784, 1351716754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63205409049988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:31:33.078514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_45_10347.jpg', '/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_54_9427.jpg', '/home/pi/Desktop/images/19042025/02/41/image_19042025_02_42_05_10372.jpg', '/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_14_9358.jpg', '/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_24_10375.jpg', '/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_45_10347.jpg
/home/pi/Desktop/images/19042025/02/41/image_19042025_02_41_54_9427.jpg
/home/pi/Desktop/images/19042025/02/41/image_19042025_02_42_05_10372.jpg
/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_14_9358.jpg
/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_24_10375.jpg
/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_35_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351717329","1351717209","1351717151","1351717031","1351717090","1351717252"],"photo_ids_order":["1351717031","1351717090","1351717151","1351717209","1351717252","1351717329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/01337a4d58d611365fec609ffa7ca4ce.jpg","text":"TemporaryFile(/tmp/multipartBody4316504998179824871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037153642,"filename":"image_19042025_02_42_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/19/6f02f90e875bf84a18d49b445f4ce5db.jpg","text":"TemporaryFile(/tmp/multipartBody8023392177729463579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037153642,"filename":"image_19042025_02_42_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55135de588a85dfceffb63f6724c0613.jpg","text":"TemporaryFile(/tmp/multipartBody6149509382174831353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037153642,"filename":"image_19042025_02_42_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d8205eaed0fe984e67c4a998ce604dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8220527654603948648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037153642,"filename":"image_19042025_02_41_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28d2c91774d41ba86833563f3a03cd2f.jpg","text":"TemporaryFile(/tmp/multipartBody1381934861977541303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037153642,"filename":"image_19042025_02_41_54_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b9065a07f81ff304f3a2638f7534561e.jpg","text":"TemporaryFile(/tmp/multipartBody6627257987926707890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037153642,"filename":"image_19042025_02_42_24_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351717151","file1":"1351717090","file0":"1351717031","file4":"1351717252","file5":"1351717329","file3":"1351717209"},"map_files_photo_id_array":[{"photo_id":"1351717329","filename":"file5"},{"photo_id":"1351717151","filename":"file2"},{"photo_id":"1351717252","filename":"file4"},{"photo_id":"1351717090","filename":"file1"},{"photo_id":"1351717031","filename":"file0"},{"photo_id":"1351717209","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351717329":["hashtag1","hashtag2"]},{"1351717209":["hashtag1","hashtag2"]},{"1351717151":["hashtag1","hashtag2"]},{"1351717031":["hashtag1","hashtag2"]},{"1351717090":["hashtag1","hashtag2"]},{"1351717252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351717329, 1351717209, 1351717151, 1351717031, 1351717090, 1351717252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.87414836883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:32:32.339387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_44_9364.jpg', '/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_54_10395.jpg', '/home/pi/Desktop/images/19042025/02/42/image_19042025_02_43_05_10345.jpg', '/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_14_9427.jpg', '/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_25_10431.jpg', '/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_34_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_44_9364.jpg
/home/pi/Desktop/images/19042025/02/42/image_19042025_02_42_54_10395.jpg
/home/pi/Desktop/images/19042025/02/42/image_19042025_02_43_05_10345.jpg
/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_14_9427.jpg
/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_25_10431.jpg
/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_34_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":["1351718352","1351717980","1351718293","1351718219","1351717792","1351718379"],"photo_ids_order":["1351717792","1351717980","1351718219","1351718293","1351718352","1351718379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e05de77152046bb0911bf999f30234d.jpg","text":"TemporaryFile(/tmp/multipartBody8015486943755100104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037212873,"filename":"image_19042025_02_43_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/19/e00a75edc25d1c312130622e009560ec.jpg","text":"TemporaryFile(/tmp/multipartBody1064340131625990904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037212873,"filename":"image_19042025_02_42_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/19/91a0f2a3ee2ae852d952a2a98eb8a18a.jpg","text":"TemporaryFile(/tmp/multipartBody1090939126957603362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037212873,"filename":"image_19042025_02_43_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/19/34b4de1b7460962e40b4a037ef599e4f.jpg","text":"TemporaryFile(/tmp/multipartBody3791268333266642683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037212873,"filename":"image_19042025_02_43_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f40231f39e1e2ff53efb3eb7ceffa537.jpg","text":"TemporaryFile(/tmp/multipartBody1242406283378016569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037212873,"filename":"image_19042025_02_42_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/19/1db9cb019b9a10b1c46c98b597a0abbc.jpg","text":"TemporaryFile(/tmp/multipartBody6026961001703148807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037212873,"filename":"image_19042025_02_43_34_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351718219","file1":"1351717980","file0":"1351717792","file4":"1351718352","file5":"1351718379","file3":"1351718293"},"map_files_photo_id_array":[{"photo_id":"1351718379","filename":"file5"},{"photo_id":"1351718219","filename":"file2"},{"photo_id":"1351718352","filename":"file4"},{"photo_id":"1351717980","filename":"file1"},{"photo_id":"1351717792","filename":"file0"},{"photo_id":"1351718293","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351718352":["hashtag1","hashtag2"]},{"1351717980":["hashtag1","hashtag2"]},{"1351718293":["hashtag1","hashtag2"]},{"1351718219":["hashtag1","hashtag2"]},{"1351717792":["hashtag1","hashtag2"]},{"1351718379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351718352, 1351717980, 1351718293, 1351718219, 1351717792, 1351718379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11589598655701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:33:32.678773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_44_10364.jpg', '/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_55_10425.jpg', '/home/pi/Desktop/images/19042025/02/43/image_19042025_02_44_04_9357.jpg', '/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_15_10376.jpg', '/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_24_9428.jpg', '/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_34_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_44_10364.jpg
/home/pi/Desktop/images/19042025/02/43/image_19042025_02_43_55_10425.jpg
/home/pi/Desktop/images/19042025/02/43/image_19042025_02_44_04_9357.jpg
/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_15_10376.jpg
/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_24_9428.jpg
/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_34_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":["1351719185","1351719344","1351718960","1351719064","1351719121","1351719010"],"photo_ids_order":["1351718960","1351719010","1351719064","1351719121","1351719185","1351719344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/40c8e6a74c02e352641fae60983c10e1.jpg","text":"TemporaryFile(/tmp/multipartBody5284553674283309405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037273231,"filename":"image_19042025_02_44_24_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0eade675e8815fb5e5be3c6dcb7a35ae.jpg","text":"TemporaryFile(/tmp/multipartBody6300365680066496689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037273231,"filename":"image_19042025_02_44_34_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/10234d203c9a2f95912e38f72fdd9b07.jpg","text":"TemporaryFile(/tmp/multipartBody4102863354009250182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037273231,"filename":"image_19042025_02_43_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/19/6e22f2e9589242cf76d705ad658ec3c9.jpg","text":"TemporaryFile(/tmp/multipartBody3925198235865576603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037273231,"filename":"image_19042025_02_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/19/2dd7664453e066daa68b3290fe240919.jpg","text":"TemporaryFile(/tmp/multipartBody2415789301032078325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037273231,"filename":"image_19042025_02_44_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/19/d38c543bc63286f5b2d5798db6555a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4304841195584534986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037273231,"filename":"image_19042025_02_43_55_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351719064","file1":"1351719010","file0":"1351718960","file4":"1351719185","file5":"1351719344","file3":"1351719121"},"map_files_photo_id_array":[{"photo_id":"1351719344","filename":"file5"},{"photo_id":"1351719064","filename":"file2"},{"photo_id":"1351719185","filename":"file4"},{"photo_id":"1351719010","filename":"file1"},{"photo_id":"1351718960","filename":"file0"},{"photo_id":"1351719121","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351719185":["hashtag1","hashtag2"]},{"1351719344":["hashtag1","hashtag2"]},{"1351718960":["hashtag1","hashtag2"]},{"1351719064":["hashtag1","hashtag2"]},{"1351719121":["hashtag1","hashtag2"]},{"1351719010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351719185, 1351719344, 1351718960, 1351719064, 1351719121, 1351719010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.983235597610474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:34:32.901586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_45_10375.jpg', '/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_54_9406.jpg', '/home/pi/Desktop/images/19042025/02/44/image_19042025_02_45_04_10366.jpg', '/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_14_9397.jpg', '/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_24_10366.jpg', '/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_45_10375.jpg
/home/pi/Desktop/images/19042025/02/44/image_19042025_02_44_54_9406.jpg
/home/pi/Desktop/images/19042025/02/44/image_19042025_02_45_04_10366.jpg
/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_14_9397.jpg
/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_24_10366.jpg
/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_35_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351720032","1351720082","1351720135","1351720164","1351719912","1351719977"],"photo_ids_order":["1351719912","1351719977","1351720032","1351720082","1351720135","1351720164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3a991fcc8a9684df2ce65d6c4fbc0e9.jpg","text":"TemporaryFile(/tmp/multipartBody5968592087015476021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037333455,"filename":"image_19042025_02_45_04_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/19/a0cac232d1adda77702009066b41ba7a.jpg","text":"TemporaryFile(/tmp/multipartBody7221919235102279163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037333455,"filename":"image_19042025_02_45_14_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a0e6271f1f87c20eff94697aa6e03075.jpg","text":"TemporaryFile(/tmp/multipartBody1944244885170340895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037333455,"filename":"image_19042025_02_45_24_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aeb095520132112e1e4066f48620a036.jpg","text":"TemporaryFile(/tmp/multipartBody4528132866772601001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037333455,"filename":"image_19042025_02_45_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/19/d27f80730eabec8d2f6df47709591cab.jpg","text":"TemporaryFile(/tmp/multipartBody343235812177090083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037333455,"filename":"image_19042025_02_44_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/19/02ec6f93e257827263dc47b92eb50358.jpg","text":"TemporaryFile(/tmp/multipartBody829717698238446006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037333455,"filename":"image_19042025_02_44_54_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351720032","file1":"1351719977","file0":"1351719912","file4":"1351720135","file5":"1351720164","file3":"1351720082"},"map_files_photo_id_array":[{"photo_id":"1351720164","filename":"file5"},{"photo_id":"1351720032","filename":"file2"},{"photo_id":"1351720135","filename":"file4"},{"photo_id":"1351719977","filename":"file1"},{"photo_id":"1351719912","filename":"file0"},{"photo_id":"1351720082","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351720032":["hashtag1","hashtag2"]},{"1351720082":["hashtag1","hashtag2"]},{"1351720135":["hashtag1","hashtag2"]},{"1351720164":["hashtag1","hashtag2"]},{"1351719912":["hashtag1","hashtag2"]},{"1351719977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351720032, 1351720082, 1351720135, 1351720164, 1351719912, 1351719977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10981273651123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:35:33.028145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_44_9360.jpg', '/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_54_10370.jpg', '/home/pi/Desktop/images/19042025/02/45/image_19042025_02_46_05_10358.jpg', '/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_14_9364.jpg', '/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_24_10372.jpg', '/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_34_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_44_9360.jpg
/home/pi/Desktop/images/19042025/02/45/image_19042025_02_45_54_10370.jpg
/home/pi/Desktop/images/19042025/02/45/image_19042025_02_46_05_10358.jpg
/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_14_9364.jpg
/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_24_10372.jpg
/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_34_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":["1351721363","1351721050","1351720963","1351721410","1351721313","1351721136"],"photo_ids_order":["1351720963","1351721050","1351721136","1351721313","1351721363","1351721410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7eaf4df0d84ca1f76e70f8aa3ffe90f9.jpg","text":"TemporaryFile(/tmp/multipartBody6329142334476155998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037393580,"filename":"image_19042025_02_46_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/19/e813fe22eb7773651651cea69120f469.jpg","text":"TemporaryFile(/tmp/multipartBody8236248672331456273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037393580,"filename":"image_19042025_02_45_54_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/19/e70b541ca83cacb6cef549f2f9f91a9f.jpg","text":"TemporaryFile(/tmp/multipartBody6843947132630781167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037393580,"filename":"image_19042025_02_45_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/19/553e1cd7b9b23a5eff9c0141e8ef54b6.jpg","text":"TemporaryFile(/tmp/multipartBody2832905179640020695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037393580,"filename":"image_19042025_02_46_34_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/19/b0124aa3018bf6b8ace9a47214cd58ba.jpg","text":"TemporaryFile(/tmp/multipartBody5852059408634115814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037393580,"filename":"image_19042025_02_46_14_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/62d50a41293e4f5b6c984dd7766641d2.jpg","text":"TemporaryFile(/tmp/multipartBody2836212091909552807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037393580,"filename":"image_19042025_02_46_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351721136","file1":"1351721050","file0":"1351720963","file4":"1351721363","file5":"1351721410","file3":"1351721313"},"map_files_photo_id_array":[{"photo_id":"1351721410","filename":"file5"},{"photo_id":"1351721136","filename":"file2"},{"photo_id":"1351721363","filename":"file4"},{"photo_id":"1351721050","filename":"file1"},{"photo_id":"1351720963","filename":"file0"},{"photo_id":"1351721313","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351721363":["hashtag1","hashtag2"]},{"1351721050":["hashtag1","hashtag2"]},{"1351720963":["hashtag1","hashtag2"]},{"1351721410":["hashtag1","hashtag2"]},{"1351721313":["hashtag1","hashtag2"]},{"1351721136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351721363, 1351721050, 1351720963, 1351721410, 1351721313, 1351721136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13648533821106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:36:32.231244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_44_10351.jpg', '/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_55_10357.jpg', '/home/pi/Desktop/images/19042025/02/46/image_19042025_02_47_04_9421.jpg', '/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_14_10377.jpg', '/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_25_10357.jpg', '/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_34_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_44_10351.jpg
/home/pi/Desktop/images/19042025/02/46/image_19042025_02_46_55_10357.jpg
/home/pi/Desktop/images/19042025/02/46/image_19042025_02_47_04_9421.jpg
/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_14_10377.jpg
/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_25_10357.jpg
/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_34_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":["1351722022","1351721982","1351721955","1351721928","1351721901","1351722077"],"photo_ids_order":["1351721901","1351721928","1351721955","1351721982","1351722022","1351722077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b282122c96f41bb4f5be9938a503d92a.jpg","text":"TemporaryFile(/tmp/multipartBody1480491043155217151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037452793,"filename":"image_19042025_02_47_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/19/dad9c918495b119814e7d002616a772e.jpg","text":"TemporaryFile(/tmp/multipartBody1042859886992350659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037452793,"filename":"image_19042025_02_47_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aec9e5f687089e3216314cae5ac6115f.jpg","text":"TemporaryFile(/tmp/multipartBody2208148577037254518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037452793,"filename":"image_19042025_02_47_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/19/91fe903de8295667588260c37a599379.jpg","text":"TemporaryFile(/tmp/multipartBody754790667347266793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037452793,"filename":"image_19042025_02_46_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/19/3670aefb7d8b6e7ad2750b11660dd456.jpg","text":"TemporaryFile(/tmp/multipartBody1347753295721354338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037452793,"filename":"image_19042025_02_46_44_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8de530f8b49b95402e15589867aae4ff.jpg","text":"TemporaryFile(/tmp/multipartBody2568614201542717862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037452793,"filename":"image_19042025_02_47_34_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351721955","file1":"1351721928","file0":"1351721901","file4":"1351722022","file5":"1351722077","file3":"1351721982"},"map_files_photo_id_array":[{"photo_id":"1351722077","filename":"file5"},{"photo_id":"1351721955","filename":"file2"},{"photo_id":"1351722022","filename":"file4"},{"photo_id":"1351721928","filename":"file1"},{"photo_id":"1351721901","filename":"file0"},{"photo_id":"1351721982","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351722022":["hashtag1","hashtag2"]},{"1351721982":["hashtag1","hashtag2"]},{"1351721955":["hashtag1","hashtag2"]},{"1351721928":["hashtag1","hashtag2"]},{"1351721901":["hashtag1","hashtag2"]},{"1351722077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351722022, 1351721982, 1351721955, 1351721928, 1351721901, 1351722077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8286337852478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:37:32.416729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_44_10337.jpg', '/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_55_10408.jpg', '/home/pi/Desktop/images/19042025/02/47/image_19042025_02_48_04_9365.jpg', '/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_15_10348.jpg', '/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_24_9351.jpg', '/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_34_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_44_10337.jpg
/home/pi/Desktop/images/19042025/02/47/image_19042025_02_47_55_10408.jpg
/home/pi/Desktop/images/19042025/02/47/image_19042025_02_48_04_9365.jpg
/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_15_10348.jpg
/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_24_9351.jpg
/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_34_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":["1351722436","1351722514","1351722549","1351722485","1351722458","1351722446"],"photo_ids_order":["1351722436","1351722446","1351722458","1351722485","1351722514","1351722549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34018130457c92caaa0675fc9b5a79d8.jpg","text":"TemporaryFile(/tmp/multipartBody2425424733770393036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037512969,"filename":"image_19042025_02_47_44_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9cd4247bd393c6d909914c7b8e752ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3794644534087012055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037512969,"filename":"image_19042025_02_48_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bb53b2167e4c8417fecf3eb9959649f5.jpg","text":"TemporaryFile(/tmp/multipartBody3891693976877346568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037512969,"filename":"image_19042025_02_48_34_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/19/6d09455a1a7c0e26f2eae239f13a4a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1678210780198154239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037512969,"filename":"image_19042025_02_48_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d17f0e3addb3903ad277011cd5e41956.jpg","text":"TemporaryFile(/tmp/multipartBody799059087497951044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037512969,"filename":"image_19042025_02_48_04_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/19/0ede28d8c1cd40106f0ad16c7768391f.jpg","text":"TemporaryFile(/tmp/multipartBody2572261096831339543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037512969,"filename":"image_19042025_02_47_55_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351722458","file1":"1351722446","file0":"1351722436","file4":"1351722514","file5":"1351722549","file3":"1351722485"},"map_files_photo_id_array":[{"photo_id":"1351722549","filename":"file5"},{"photo_id":"1351722458","filename":"file2"},{"photo_id":"1351722514","filename":"file4"},{"photo_id":"1351722446","filename":"file1"},{"photo_id":"1351722436","filename":"file0"},{"photo_id":"1351722485","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351722436":["hashtag1","hashtag2"]},{"1351722514":["hashtag1","hashtag2"]},{"1351722549":["hashtag1","hashtag2"]},{"1351722485":["hashtag1","hashtag2"]},{"1351722458":["hashtag1","hashtag2"]},{"1351722446":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351722436, 1351722514, 1351722549, 1351722485, 1351722458, 1351722446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08958601951599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:38:32.547556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_45_10359.jpg', '/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_54_9334.jpg', '/home/pi/Desktop/images/19042025/02/48/image_19042025_02_49_04_10355.jpg', '/home/pi/Desktop/images/19042025/02/49/image_19042025_02_49_15_10372.jpg', '/home/pi/Desktop/images/19042025/02/49/image_19042025_02_49_24_9403.jpg', '/home/pi/Desktop/images/19042025/02/49/image_19042025_02_49_44_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_45_10359.jpg
/home/pi/Desktop/images/19042025/02/48/image_19042025_02_48_54_9334.jpg
/home/pi/Desktop/images/19042025/02/48/image_19042025_02_49_04_10355.jpg
/home/pi/Desktop/images/19042025/02/49/image_19042025_02_49_15_10372.jpg
/home/pi/Desktop/images/19042025/02/49/image_19042025_02_49_24_9403.jpg
/home/pi/Desktop/images/19042025/02/49/image_19042025_02_49_44_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351723185","1351723260","1351722975","1351723364","1351723451","1351723037"],"photo_ids_order":["1351722975","1351723037","1351723185","1351723260","1351723364","1351723451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3fc68aeaf3f3eaa03627d130931e76c8.jpg","text":"TemporaryFile(/tmp/multipartBody3235844275037892204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037573082,"filename":"image_19042025_02_49_04_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5e0bb8ed15f5b76caa582f442c8fe61.jpg","text":"TemporaryFile(/tmp/multipartBody7516848055867914118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037573082,"filename":"image_19042025_02_49_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/19/7b5ea6a8661f88cd56f756fbb9991fe5.jpg","text":"TemporaryFile(/tmp/multipartBody9006488885927313791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037573082,"filename":"image_19042025_02_48_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/19/ea206298a77a7f63451e4e4f68b27c31.jpg","text":"TemporaryFile(/tmp/multipartBody5298268407206501104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037573082,"filename":"image_19042025_02_49_24_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8ad0a99fdd5e01072e4c5080e6b1ad6a.jpg","text":"TemporaryFile(/tmp/multipartBody2591611831362428228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037573082,"filename":"image_19042025_02_49_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/19/b979f1754d22f9610145462de141fe9c.jpg","text":"TemporaryFile(/tmp/multipartBody8114378331238482152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037573082,"filename":"image_19042025_02_48_54_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351723185","file1":"1351723037","file0":"1351722975","file4":"1351723364","file5":"1351723451","file3":"1351723260"},"map_files_photo_id_array":[{"photo_id":"1351723451","filename":"file5"},{"photo_id":"1351723185","filename":"file2"},{"photo_id":"1351723364","filename":"file4"},{"photo_id":"1351723037","filename":"file1"},{"photo_id":"1351722975","filename":"file0"},{"photo_id":"1351723260","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351723185":["hashtag1","hashtag2"]},{"1351723260":["hashtag1","hashtag2"]},{"1351722975":["hashtag1","hashtag2"]},{"1351723364":["hashtag1","hashtag2"]},{"1351723451":["hashtag1","hashtag2"]},{"1351723037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351723185, 1351723260, 1351722975, 1351723364, 1351723451, 1351723037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60242319107056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:39:32.788550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/49/image_19042025_02_49_54_10387.jpg', '/home/pi/Desktop/images/19042025/02/49/image_19042025_02_50_05_10352.jpg', '/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_14_9454.jpg', '/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_24_10349.jpg', '/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_34_9391.jpg', '/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_44_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/49/image_19042025_02_49_54_10387.jpg
/home/pi/Desktop/images/19042025/02/49/image_19042025_02_50_05_10352.jpg
/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_14_9454.jpg
/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_24_10349.jpg
/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_34_9391.jpg
/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_44_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351723960","1351724302","1351723998","1351724126","1351724374","1351724437"],"photo_ids_order":["1351723960","1351723998","1351724126","1351724302","1351724374","1351724437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa48d168df9986be55569848b9f5ce23.jpg","text":"TemporaryFile(/tmp/multipartBody2395237869342873019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037633347,"filename":"image_19042025_02_49_54_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b5d9c8409d2843128b168826e2959b21.jpg","text":"TemporaryFile(/tmp/multipartBody2784639751856826746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037633347,"filename":"image_19042025_02_50_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/19/ff8160aa5e569f37c89b6636ca1af96d.jpg","text":"TemporaryFile(/tmp/multipartBody4381917735773668405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037633347,"filename":"image_19042025_02_50_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/19/6956260a471d5cb0c4240d540e3b50c6.jpg","text":"TemporaryFile(/tmp/multipartBody5633836144564608090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037633347,"filename":"image_19042025_02_50_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/19/8a2cdadb2238e2b62ef6c4f6d6fe4c08.jpg","text":"TemporaryFile(/tmp/multipartBody4527827612861882980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037633347,"filename":"image_19042025_02_50_34_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/19/efaf91c6f9fb86b23d7f7eb7b158f415.jpg","text":"TemporaryFile(/tmp/multipartBody3929602659797675560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037633347,"filename":"image_19042025_02_50_44_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351724126","file1":"1351723998","file0":"1351723960","file4":"1351724374","file5":"1351724437","file3":"1351724302"},"map_files_photo_id_array":[{"photo_id":"1351724437","filename":"file5"},{"photo_id":"1351724126","filename":"file2"},{"photo_id":"1351724374","filename":"file4"},{"photo_id":"1351723998","filename":"file1"},{"photo_id":"1351723960","filename":"file0"},{"photo_id":"1351724302","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351723960":["hashtag1","hashtag2"]},{"1351724302":["hashtag1","hashtag2"]},{"1351723998":["hashtag1","hashtag2"]},{"1351724126":["hashtag1","hashtag2"]},{"1351724374":["hashtag1","hashtag2"]},{"1351724437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351723960, 1351724302, 1351723998, 1351724126, 1351724374, 1351724437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28321123123169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:40:33.058302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_55_10363.jpg', '/home/pi/Desktop/images/19042025/02/50/image_19042025_02_51_04_9452.jpg', '/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_14_10373.jpg', '/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_24_9369.jpg', '/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_34_10347.jpg', '/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_45_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/50/image_19042025_02_50_55_10363.jpg
/home/pi/Desktop/images/19042025/02/50/image_19042025_02_51_04_9452.jpg
/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_14_10373.jpg
/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_24_9369.jpg
/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_34_10347.jpg
/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_45_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351724806","1351724745","1351724601","1351724825","1351724633","1351724540"],"photo_ids_order":["1351724540","1351724601","1351724633","1351724745","1351724806","1351724825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/200bf77772d2ecbb9e5706caea2e134c.jpg","text":"TemporaryFile(/tmp/multipartBody2833704378815031160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037693617,"filename":"image_19042025_02_51_34_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad196ac420947ca834b20ed15f795f29.jpg","text":"TemporaryFile(/tmp/multipartBody1345231506765142348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037693617,"filename":"image_19042025_02_51_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/19/9057e64e60e4357647e974d7e5a8b704.jpg","text":"TemporaryFile(/tmp/multipartBody7059000793503276829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037693617,"filename":"image_19042025_02_51_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/19/9cec258b47ae08c9741bc12e4e9ea61a.jpg","text":"TemporaryFile(/tmp/multipartBody2307161268424716382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037693617,"filename":"image_19042025_02_51_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/19/78d7f89dab5773652ceeedef430b2105.jpg","text":"TemporaryFile(/tmp/multipartBody5620700173265312476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037693617,"filename":"image_19042025_02_51_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2bc6a8a4ba895fa09f7c86600f63147b.jpg","text":"TemporaryFile(/tmp/multipartBody4399075649804328995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037693617,"filename":"image_19042025_02_50_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351724633","file1":"1351724601","file0":"1351724540","file4":"1351724806","file5":"1351724825","file3":"1351724745"},"map_files_photo_id_array":[{"photo_id":"1351724825","filename":"file5"},{"photo_id":"1351724633","filename":"file2"},{"photo_id":"1351724806","filename":"file4"},{"photo_id":"1351724601","filename":"file1"},{"photo_id":"1351724540","filename":"file0"},{"photo_id":"1351724745","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351724806":["hashtag1","hashtag2"]},{"1351724745":["hashtag1","hashtag2"]},{"1351724601":["hashtag1","hashtag2"]},{"1351724825":["hashtag1","hashtag2"]},{"1351724633":["hashtag1","hashtag2"]},{"1351724540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351724806, 1351724745, 1351724601, 1351724825, 1351724633, 1351724540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.04825258255005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:41:32.252871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_54_9418.jpg', '/home/pi/Desktop/images/19042025/02/51/image_19042025_02_52_04_10361.jpg', '/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_15_10398.jpg', '/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_24_9356.jpg', '/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_35_10397.jpg', '/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_44_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/51/image_19042025_02_51_54_9418.jpg
/home/pi/Desktop/images/19042025/02/51/image_19042025_02_52_04_10361.jpg
/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_15_10398.jpg
/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_24_9356.jpg
/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_35_10397.jpg
/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_44_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351725078","1351725150","1351725227","1351725413","1351725302","1351725013"],"photo_ids_order":["1351725013","1351725078","1351725150","1351725227","1351725302","1351725413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5eda1425c161c8b5647f8f5b990c9e34.jpg","text":"TemporaryFile(/tmp/multipartBody1829235273424620586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037752807,"filename":"image_19042025_02_52_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/19/3e1fc23c82d2758f75cc965276c5dff0.jpg","text":"TemporaryFile(/tmp/multipartBody6729129686981444746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037752807,"filename":"image_19042025_02_52_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3a1de9eecc3387bab597f578f698f2a2.jpg","text":"TemporaryFile(/tmp/multipartBody4247597281273864109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037752807,"filename":"image_19042025_02_52_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/19/05cee24174b7ffd476de835db51cc6a2.jpg","text":"TemporaryFile(/tmp/multipartBody3146291103584897908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037752807,"filename":"image_19042025_02_52_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/19/f882f85087f939b95fd32ccee7c333ba.jpg","text":"TemporaryFile(/tmp/multipartBody4627036422097038185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037752807,"filename":"image_19042025_02_52_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/19/6349cc89fe2db4fe8a8609eeb6003cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5686914888713424696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037752807,"filename":"image_19042025_02_51_54_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351725150","file1":"1351725078","file0":"1351725013","file4":"1351725302","file5":"1351725413","file3":"1351725227"},"map_files_photo_id_array":[{"photo_id":"1351725413","filename":"file5"},{"photo_id":"1351725150","filename":"file2"},{"photo_id":"1351725302","filename":"file4"},{"photo_id":"1351725078","filename":"file1"},{"photo_id":"1351725013","filename":"file0"},{"photo_id":"1351725227","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351725078":["hashtag1","hashtag2"]},{"1351725150":["hashtag1","hashtag2"]},{"1351725227":["hashtag1","hashtag2"]},{"1351725413":["hashtag1","hashtag2"]},{"1351725302":["hashtag1","hashtag2"]},{"1351725013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351725078, 1351725150, 1351725227, 1351725413, 1351725302, 1351725013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67544984817505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:42:32.445096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_54_10391.jpg', '/home/pi/Desktop/images/19042025/02/52/image_19042025_02_53_05_10358.jpg', '/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_14_9437.jpg', '/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_24_10366.jpg', '/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_34_9441.jpg', '/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_44_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/52/image_19042025_02_52_54_10391.jpg
/home/pi/Desktop/images/19042025/02/52/image_19042025_02_53_05_10358.jpg
/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_14_9437.jpg
/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_24_10366.jpg
/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_34_9441.jpg
/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_44_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":["1351726019","1351725977","1351726075","1351725889","1351725943","1351726113"],"photo_ids_order":["1351725889","1351725943","1351725977","1351726019","1351726075","1351726113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5002780837002508e1c177e614fece01.jpg","text":"TemporaryFile(/tmp/multipartBody8528048582625926008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037812999,"filename":"image_19042025_02_53_24_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f193bf99877801a77bb6c66285ff5350.jpg","text":"TemporaryFile(/tmp/multipartBody2550345021165927397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037812999,"filename":"image_19042025_02_53_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/19/374fa14d297c8291e9488eac18083d12.jpg","text":"TemporaryFile(/tmp/multipartBody3998558024344730188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037812999,"filename":"image_19042025_02_53_34_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38bb84f87f2ce12ab128ceae5323f3c0.jpg","text":"TemporaryFile(/tmp/multipartBody7189030290603905117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037812999,"filename":"image_19042025_02_52_54_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/19/5f28c2b97cfd3cbebc9a020080a4b745.jpg","text":"TemporaryFile(/tmp/multipartBody138676789668174533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037812999,"filename":"image_19042025_02_53_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/19/d44528c548f3d8b9aa54e8fa668eee6c.jpg","text":"TemporaryFile(/tmp/multipartBody6902207122011363491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037812999,"filename":"image_19042025_02_53_44_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351725977","file1":"1351725943","file0":"1351725889","file4":"1351726075","file5":"1351726113","file3":"1351726019"},"map_files_photo_id_array":[{"photo_id":"1351726113","filename":"file5"},{"photo_id":"1351725977","filename":"file2"},{"photo_id":"1351726075","filename":"file4"},{"photo_id":"1351725943","filename":"file1"},{"photo_id":"1351725889","filename":"file0"},{"photo_id":"1351726019","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351726019":["hashtag1","hashtag2"]},{"1351725977":["hashtag1","hashtag2"]},{"1351726075":["hashtag1","hashtag2"]},{"1351725889":["hashtag1","hashtag2"]},{"1351725943":["hashtag1","hashtag2"]},{"1351726113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351726019, 1351725977, 1351726075, 1351725889, 1351725943, 1351726113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97078061103821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:43:32.722720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_55_10360.jpg', '/home/pi/Desktop/images/19042025/02/53/image_19042025_02_54_04_9414.jpg', '/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_14_10359.jpg', '/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_24_9486.jpg', '/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_34_10357.jpg', '/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/53/image_19042025_02_53_55_10360.jpg
/home/pi/Desktop/images/19042025/02/53/image_19042025_02_54_04_9414.jpg
/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_14_10359.jpg
/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_24_9486.jpg
/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_34_10357.jpg
/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_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":["1351726496","1351726397","1351726576","1351726903","1351726467","1351726620"],"photo_ids_order":["1351726397","1351726467","1351726496","1351726576","1351726620","1351726903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a30a95d70d1ce111d9e2a9463c4d77f.jpg","text":"TemporaryFile(/tmp/multipartBody7533112723688551006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037873276,"filename":"image_19042025_02_54_14_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/095211fbe6f26e7a8e64f1cfa69050ea.jpg","text":"TemporaryFile(/tmp/multipartBody6609685976622148182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037873276,"filename":"image_19042025_02_53_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/19/477b83d64db71b1ad570276dd6d2def3.jpg","text":"TemporaryFile(/tmp/multipartBody9028173532127633198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037873276,"filename":"image_19042025_02_54_24_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/19/43a7272b940ae9bed945b94944c9859a.jpg","text":"TemporaryFile(/tmp/multipartBody4753378559134256070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037873276,"filename":"image_19042025_02_54_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/19/58add3aa011bcca98899b4455111ea5f.jpg","text":"TemporaryFile(/tmp/multipartBody3249164323288705034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037873276,"filename":"image_19042025_02_54_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38851a6ebbcc30a81c799bd68deef0c1.jpg","text":"TemporaryFile(/tmp/multipartBody9026642312649028164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037873276,"filename":"image_19042025_02_54_34_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351726496","file1":"1351726467","file0":"1351726397","file4":"1351726620","file5":"1351726903","file3":"1351726576"},"map_files_photo_id_array":[{"photo_id":"1351726903","filename":"file5"},{"photo_id":"1351726496","filename":"file2"},{"photo_id":"1351726620","filename":"file4"},{"photo_id":"1351726467","filename":"file1"},{"photo_id":"1351726397","filename":"file0"},{"photo_id":"1351726576","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351726496":["hashtag1","hashtag2"]},{"1351726397":["hashtag1","hashtag2"]},{"1351726576":["hashtag1","hashtag2"]},{"1351726903":["hashtag1","hashtag2"]},{"1351726467":["hashtag1","hashtag2"]},{"1351726620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351726496, 1351726397, 1351726576, 1351726903, 1351726467, 1351726620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20108079910278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:44:32.954802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_54_9346.jpg', '/home/pi/Desktop/images/19042025/02/54/image_19042025_02_55_04_10349.jpg', '/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_15_10377.jpg', '/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_24_9348.jpg', '/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_34_10359.jpg', '/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_44_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/54/image_19042025_02_54_54_9346.jpg
/home/pi/Desktop/images/19042025/02/54/image_19042025_02_55_04_10349.jpg
/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_15_10377.jpg
/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_24_9348.jpg
/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_34_10359.jpg
/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_44_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":["1351727180","1351727240","1351727417","1351727293","1351727365","1351727337"],"photo_ids_order":["1351727180","1351727240","1351727293","1351727337","1351727365","1351727417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f97046bfe260cee859558fe80dfef7b.jpg","text":"TemporaryFile(/tmp/multipartBody7914943088909864468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037933507,"filename":"image_19042025_02_54_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/19/e31db602fd20091f4a7c2574325798f5.jpg","text":"TemporaryFile(/tmp/multipartBody6580985226912413179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037933507,"filename":"image_19042025_02_55_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/19/71ec89fbe5ec13996cfeeaca59f7fa08.jpg","text":"TemporaryFile(/tmp/multipartBody3907065161424411846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037933507,"filename":"image_19042025_02_55_44_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc156c049fdff168fe9752f931b12a52.jpg","text":"TemporaryFile(/tmp/multipartBody7064807161658252100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037933507,"filename":"image_19042025_02_55_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/19/9101cda60c552b3c8f6f702db8f5ae82.jpg","text":"TemporaryFile(/tmp/multipartBody1344199915136053996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037933507,"filename":"image_19042025_02_55_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/19/3156d0b3cf402c52ba4ad1666d3b1879.jpg","text":"TemporaryFile(/tmp/multipartBody1388087237619727202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037933507,"filename":"image_19042025_02_55_24_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351727293","file1":"1351727240","file0":"1351727180","file4":"1351727365","file5":"1351727417","file3":"1351727337"},"map_files_photo_id_array":[{"photo_id":"1351727417","filename":"file5"},{"photo_id":"1351727293","filename":"file2"},{"photo_id":"1351727365","filename":"file4"},{"photo_id":"1351727240","filename":"file1"},{"photo_id":"1351727180","filename":"file0"},{"photo_id":"1351727337","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351727180":["hashtag1","hashtag2"]},{"1351727240":["hashtag1","hashtag2"]},{"1351727417":["hashtag1","hashtag2"]},{"1351727293":["hashtag1","hashtag2"]},{"1351727365":["hashtag1","hashtag2"]},{"1351727337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351727180, 1351727240, 1351727417, 1351727293, 1351727365, 1351727337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.156108379364014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:45:32.130035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_54_10365.jpg', '/home/pi/Desktop/images/19042025/02/55/image_19042025_02_56_05_10424.jpg', '/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_14_9405.jpg', '/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_24_10374.jpg', '/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_34_9486.jpg', '/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_44_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/55/image_19042025_02_55_54_10365.jpg
/home/pi/Desktop/images/19042025/02/55/image_19042025_02_56_05_10424.jpg
/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_14_9405.jpg
/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_24_10374.jpg
/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_34_9486.jpg
/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_44_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351727717","1351727782","1351727720","1351727788","1351727824","1351727874"],"photo_ids_order":["1351727717","1351727720","1351727782","1351727788","1351727824","1351727874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d3edeab79a28c66e9d1ab89eb7530f0f.jpg","text":"TemporaryFile(/tmp/multipartBody718969213093735722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037992669,"filename":"image_19042025_02_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/19/79eeee9b46fc3c36de406a21aa1e4231.jpg","text":"TemporaryFile(/tmp/multipartBody891983363737586869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037992669,"filename":"image_19042025_02_56_14_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/19/bacf2c3cac99e95a7e333de3764e05ea.jpg","text":"TemporaryFile(/tmp/multipartBody1186093914558648729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037992669,"filename":"image_19042025_02_56_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/678d360a86a649f82a7d38d6a211f02e.jpg","text":"TemporaryFile(/tmp/multipartBody3691989811530388824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037992669,"filename":"image_19042025_02_56_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/19/8d7e45a8e8a7e2c8a1df8829db9e48be.jpg","text":"TemporaryFile(/tmp/multipartBody8405064748543116730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037992669,"filename":"image_19042025_02_56_34_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/19/8697b5a35ac5609c685996225fe61c2f.jpg","text":"TemporaryFile(/tmp/multipartBody6779263861099548491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745037992669,"filename":"image_19042025_02_56_44_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351727782","file1":"1351727720","file0":"1351727717","file4":"1351727824","file5":"1351727874","file3":"1351727788"},"map_files_photo_id_array":[{"photo_id":"1351727874","filename":"file5"},{"photo_id":"1351727782","filename":"file2"},{"photo_id":"1351727824","filename":"file4"},{"photo_id":"1351727720","filename":"file1"},{"photo_id":"1351727717","filename":"file0"},{"photo_id":"1351727788","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351727717":["hashtag1","hashtag2"]},{"1351727782":["hashtag1","hashtag2"]},{"1351727720":["hashtag1","hashtag2"]},{"1351727788":["hashtag1","hashtag2"]},{"1351727824":["hashtag1","hashtag2"]},{"1351727874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351727717, 1351727782, 1351727720, 1351727788, 1351727824, 1351727874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.936275243759155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:46:32.315944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_55_10356.jpg', '/home/pi/Desktop/images/19042025/02/56/image_19042025_02_57_04_9364.jpg', '/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_14_10367.jpg', '/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_24_9481.jpg', '/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_34_10348.jpg', '/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_45_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/56/image_19042025_02_56_55_10356.jpg
/home/pi/Desktop/images/19042025/02/56/image_19042025_02_57_04_9364.jpg
/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_14_10367.jpg
/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_24_9481.jpg
/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_34_10348.jpg
/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_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":["1351728416","1351728238","1351728103","1351728293","1351728365","1351728155"],"photo_ids_order":["1351728103","1351728155","1351728238","1351728293","1351728365","1351728416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/85da327d3b21dd448ba52a80d10d90f5.jpg","text":"TemporaryFile(/tmp/multipartBody6154080894729649871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038052858,"filename":"image_19042025_02_57_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/19/d6a35e979b378323547b2ce85d7bef16.jpg","text":"TemporaryFile(/tmp/multipartBody2194431918847901307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038052858,"filename":"image_19042025_02_57_14_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7fb6b4195211bfd024b6e155e110540e.jpg","text":"TemporaryFile(/tmp/multipartBody370744216460061217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038052858,"filename":"image_19042025_02_56_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/19/1211fd01da2c77828c47bebfdb30335e.jpg","text":"TemporaryFile(/tmp/multipartBody5252005260938121125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038052858,"filename":"image_19042025_02_57_24_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/19/6e766ce8aa9b4ce65534cea13a721d53.jpg","text":"TemporaryFile(/tmp/multipartBody4410774069262102149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038052858,"filename":"image_19042025_02_57_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/633299fa3469b94157021aaf5d2f9604.jpg","text":"TemporaryFile(/tmp/multipartBody3282979416997775504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038052858,"filename":"image_19042025_02_57_04_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351728238","file1":"1351728155","file0":"1351728103","file4":"1351728365","file5":"1351728416","file3":"1351728293"},"map_files_photo_id_array":[{"photo_id":"1351728416","filename":"file5"},{"photo_id":"1351728238","filename":"file2"},{"photo_id":"1351728365","filename":"file4"},{"photo_id":"1351728155","filename":"file1"},{"photo_id":"1351728103","filename":"file0"},{"photo_id":"1351728293","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351728416":["hashtag1","hashtag2"]},{"1351728238":["hashtag1","hashtag2"]},{"1351728103":["hashtag1","hashtag2"]},{"1351728293":["hashtag1","hashtag2"]},{"1351728365":["hashtag1","hashtag2"]},{"1351728155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351728416, 1351728238, 1351728103, 1351728293, 1351728365, 1351728155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.619203329086304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:47:32.491822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_54_9356.jpg', '/home/pi/Desktop/images/19042025/02/57/image_19042025_02_58_04_10349.jpg', '/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_15_10408.jpg', '/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_24_9347.jpg', '/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_34_10365.jpg', '/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_44_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/57/image_19042025_02_57_54_9356.jpg
/home/pi/Desktop/images/19042025/02/57/image_19042025_02_58_04_10349.jpg
/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_15_10408.jpg
/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_24_9347.jpg
/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_34_10365.jpg
/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_44_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351728676","1351728646","1351728706","1351728829","1351728596","1351728791"],"photo_ids_order":["1351728596","1351728646","1351728676","1351728706","1351728791","1351728829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5384df3848c7528a10e44916780cf52.jpg","text":"TemporaryFile(/tmp/multipartBody8034997757445211425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038113037,"filename":"image_19042025_02_58_15_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ca596d8c91a52e5616d4a5e32f7e7b86.jpg","text":"TemporaryFile(/tmp/multipartBody6726613554372588844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038113037,"filename":"image_19042025_02_58_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/19/22a59d5ad305233ecb394fbd7ae4ad67.jpg","text":"TemporaryFile(/tmp/multipartBody8627363625026074760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038113037,"filename":"image_19042025_02_58_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/19/70079d30e153dad5704c9802fe07ac93.jpg","text":"TemporaryFile(/tmp/multipartBody8067713613906127723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038113037,"filename":"image_19042025_02_58_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/19/43a2e0a6cc0e720411f840199204a631.jpg","text":"TemporaryFile(/tmp/multipartBody7617982762790912659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038113037,"filename":"image_19042025_02_57_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/19/2149ddc3eea9b777fc6af0f248fefe86.jpg","text":"TemporaryFile(/tmp/multipartBody5735513014074717183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038113037,"filename":"image_19042025_02_58_34_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351728676","file1":"1351728646","file0":"1351728596","file4":"1351728791","file5":"1351728829","file3":"1351728706"},"map_files_photo_id_array":[{"photo_id":"1351728829","filename":"file5"},{"photo_id":"1351728676","filename":"file2"},{"photo_id":"1351728791","filename":"file4"},{"photo_id":"1351728646","filename":"file1"},{"photo_id":"1351728596","filename":"file0"},{"photo_id":"1351728706","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351728676":["hashtag1","hashtag2"]},{"1351728646":["hashtag1","hashtag2"]},{"1351728706":["hashtag1","hashtag2"]},{"1351728829":["hashtag1","hashtag2"]},{"1351728596":["hashtag1","hashtag2"]},{"1351728791":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351728676, 1351728646, 1351728706, 1351728829, 1351728596, 1351728791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.827024221420288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:48:32.701132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_54_10452.jpg', '/home/pi/Desktop/images/19042025/02/58/image_19042025_02_59_05_10355.jpg', '/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_14_9422.jpg', '/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_24_10368.jpg', '/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_34_9437.jpg', '/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_44_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/58/image_19042025_02_58_54_10452.jpg
/home/pi/Desktop/images/19042025/02/58/image_19042025_02_59_05_10355.jpg
/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_14_9422.jpg
/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_24_10368.jpg
/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_34_9437.jpg
/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_44_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":["1351729069","1351729083","1351729092","1351728966","1351729019","1351729087"],"photo_ids_order":["1351728966","1351729019","1351729069","1351729083","1351729087","1351729092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b24081d7fb5f43dae1d8109862cfa91.jpg","text":"TemporaryFile(/tmp/multipartBody5050587435209772204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038173250,"filename":"image_19042025_02_59_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/19/c9817aa6d7e94482492792e094a8f5ea.jpg","text":"TemporaryFile(/tmp/multipartBody697081149502797270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038173250,"filename":"image_19042025_02_59_24_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/10c9663f24a997e192e0cd960a8a22f9.jpg","text":"TemporaryFile(/tmp/multipartBody5369934566038216029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038173250,"filename":"image_19042025_02_59_44_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/19/7b2226e445925292317b4a156f410aed.jpg","text":"TemporaryFile(/tmp/multipartBody6438443245619095383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038173250,"filename":"image_19042025_02_58_54_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/19/18805053980148e99ad48beb3ae269cd.jpg","text":"TemporaryFile(/tmp/multipartBody1243217910012784086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038173250,"filename":"image_19042025_02_59_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/458d4f13db65af8af48df06760a0837c.jpg","text":"TemporaryFile(/tmp/multipartBody1971372045236092395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038173250,"filename":"image_19042025_02_59_34_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351729069","file1":"1351729019","file0":"1351728966","file4":"1351729087","file5":"1351729092","file3":"1351729083"},"map_files_photo_id_array":[{"photo_id":"1351729092","filename":"file5"},{"photo_id":"1351729069","filename":"file2"},{"photo_id":"1351729087","filename":"file4"},{"photo_id":"1351729019","filename":"file1"},{"photo_id":"1351728966","filename":"file0"},{"photo_id":"1351729083","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351729069":["hashtag1","hashtag2"]},{"1351729083":["hashtag1","hashtag2"]},{"1351729092":["hashtag1","hashtag2"]},{"1351728966":["hashtag1","hashtag2"]},{"1351729019":["hashtag1","hashtag2"]},{"1351729087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351729069, 1351729083, 1351729092, 1351728966, 1351729019, 1351729087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.08480215072632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:49:32.905377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_55_10365.jpg', '/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_14_10082.jpg', '/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_25_10462.jpg', '/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_35_10355.jpg', '/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_45_9428.jpg', '/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_55_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/02/59/image_19042025_02_59_55_10365.jpg
/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_14_10082.jpg
/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_25_10462.jpg
/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_35_10355.jpg
/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_45_9428.jpg
/home/pi/Desktop/images/19042025/03/01/image_19042025_03_01_55_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351729801","1351729633","1351729839","1351729790","1351729155","1351729198"],"photo_ids_order":["1351729155","1351729198","1351729633","1351729790","1351729801","1351729839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f83c9db5dd25888de7e0cd4479cd3ba8.jpg","text":"TemporaryFile(/tmp/multipartBody2754034755010867069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038233457,"filename":"image_19042025_03_01_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e255b81963daa7cb785613cd47201d36.jpg","text":"TemporaryFile(/tmp/multipartBody4720615287837680757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038233457,"filename":"image_19042025_03_01_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0718647390eb593df70b6057f8e69e53.jpg","text":"TemporaryFile(/tmp/multipartBody9130874280568215234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038233457,"filename":"image_19042025_03_01_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d7a49cf7a3bf59be828d20b431000e6.jpg","text":"TemporaryFile(/tmp/multipartBody8979937404008469051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038233457,"filename":"image_19042025_03_01_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/19/719f639bacf79f9007eb44c5bf03809e.jpg","text":"TemporaryFile(/tmp/multipartBody8089082427732244827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038233457,"filename":"image_19042025_02_59_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/19/00083c5b67e220784adc1019da83dba9.jpg","text":"TemporaryFile(/tmp/multipartBody6035085340313521822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038233457,"filename":"image_19042025_03_01_14_10082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351729633","file1":"1351729198","file0":"1351729155","file4":"1351729801","file5":"1351729839","file3":"1351729790"},"map_files_photo_id_array":[{"photo_id":"1351729839","filename":"file5"},{"photo_id":"1351729633","filename":"file2"},{"photo_id":"1351729801","filename":"file4"},{"photo_id":"1351729198","filename":"file1"},{"photo_id":"1351729155","filename":"file0"},{"photo_id":"1351729790","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351729801":["hashtag1","hashtag2"]},{"1351729633":["hashtag1","hashtag2"]},{"1351729839":["hashtag1","hashtag2"]},{"1351729790":["hashtag1","hashtag2"]},{"1351729155":["hashtag1","hashtag2"]},{"1351729198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351729801, 1351729633, 1351729839, 1351729790, 1351729155, 1351729198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.15116810798645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:50:33.157310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/01/image_19042025_03_02_04_9337.jpg', '/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_15_10405.jpg', '/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_25_10346.jpg', '/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_35_9351.jpg', '/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_45_10401.jpg', '/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_54_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/01/image_19042025_03_02_04_9337.jpg
/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_15_10405.jpg
/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_25_10346.jpg
/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_35_9351.jpg
/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_45_10401.jpg
/home/pi/Desktop/images/19042025/03/02/image_19042025_03_02_54_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":["1351730027","1351730176","1351729962","1351729965","1351730147","1351730102"],"photo_ids_order":["1351729962","1351729965","1351730027","1351730102","1351730147","1351730176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a78b018df609ff5b2272a51352b6a49.jpg","text":"TemporaryFile(/tmp/multipartBody4968027308982135560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038293719,"filename":"image_19042025_03_02_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3198f9e126552be5fa80f123be252719.jpg","text":"TemporaryFile(/tmp/multipartBody3532765951326121201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038293719,"filename":"image_19042025_03_02_54_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ab7fad247c033baa5937d10d36e79ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7793367889960236181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038293719,"filename":"image_19042025_03_02_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1a992203dc2ed389c9040c95bde1e32.jpg","text":"TemporaryFile(/tmp/multipartBody8802516217399701710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038293719,"filename":"image_19042025_03_02_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/19/018fde1c3fe17e7e6c976ddf73b01683.jpg","text":"TemporaryFile(/tmp/multipartBody4501497165929169359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038293719,"filename":"image_19042025_03_02_45_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d2ab94ff6f1caea7d644f2b91474e9b.jpg","text":"TemporaryFile(/tmp/multipartBody7883971747077559230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038293719,"filename":"image_19042025_03_02_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351730027","file1":"1351729965","file0":"1351729962","file4":"1351730147","file5":"1351730176","file3":"1351730102"},"map_files_photo_id_array":[{"photo_id":"1351730176","filename":"file5"},{"photo_id":"1351730027","filename":"file2"},{"photo_id":"1351730147","filename":"file4"},{"photo_id":"1351729965","filename":"file1"},{"photo_id":"1351729962","filename":"file0"},{"photo_id":"1351730102","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351730027":["hashtag1","hashtag2"]},{"1351730176":["hashtag1","hashtag2"]},{"1351729962":["hashtag1","hashtag2"]},{"1351729965":["hashtag1","hashtag2"]},{"1351730147":["hashtag1","hashtag2"]},{"1351730102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351730027, 1351730176, 1351729962, 1351729965, 1351730147, 1351730102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.301424741744995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:51:32.437917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/02/image_19042025_03_03_05_10420.jpg', '/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_15_10433.jpg', '/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_24_9333.jpg', '/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_35_10440.jpg', '/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_44_9359.jpg', '/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/02/image_19042025_03_03_05_10420.jpg
/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_15_10433.jpg
/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_24_9333.jpg
/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_35_10440.jpg
/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_44_9359.jpg
/home/pi/Desktop/images/19042025/03/03/image_19042025_03_03_55_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351730764","1351730790","1351730733","1351730655","1351730829","1351730819"],"photo_ids_order":["1351730655","1351730733","1351730764","1351730790","1351730819","1351730829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b0ba1ae0371a453d96a46f4f7cf36d8a.jpg","text":"TemporaryFile(/tmp/multipartBody4340221545100071940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038352975,"filename":"image_19042025_03_03_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/19/b9be64d4327f90de0d23f1efba1ba675.jpg","text":"TemporaryFile(/tmp/multipartBody3130338229604685615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038352975,"filename":"image_19042025_03_03_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/19/b985166036cd359069951ecfb9c7f331.jpg","text":"TemporaryFile(/tmp/multipartBody8030790422517901562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038352975,"filename":"image_19042025_03_03_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/19/3aded267c9f9777f52a25ef8db7f734f.jpg","text":"TemporaryFile(/tmp/multipartBody94966463551660132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038352975,"filename":"image_19042025_03_03_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/19/e119f59fc1f0aaa3866210bdeae447a8.jpg","text":"TemporaryFile(/tmp/multipartBody5186329138769247238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038352975,"filename":"image_19042025_03_03_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/19/66df85075b9f6b5ceeeb8d91f265f8a0.jpg","text":"TemporaryFile(/tmp/multipartBody4140446016430121607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038352975,"filename":"image_19042025_03_03_44_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351730764","file1":"1351730733","file0":"1351730655","file4":"1351730819","file5":"1351730829","file3":"1351730790"},"map_files_photo_id_array":[{"photo_id":"1351730829","filename":"file5"},{"photo_id":"1351730764","filename":"file2"},{"photo_id":"1351730819","filename":"file4"},{"photo_id":"1351730733","filename":"file1"},{"photo_id":"1351730655","filename":"file0"},{"photo_id":"1351730790","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351730764":["hashtag1","hashtag2"]},{"1351730790":["hashtag1","hashtag2"]},{"1351730733":["hashtag1","hashtag2"]},{"1351730655":["hashtag1","hashtag2"]},{"1351730829":["hashtag1","hashtag2"]},{"1351730819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351730764, 1351730790, 1351730733, 1351730655, 1351730829, 1351730819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.060837268829346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:52:32.868064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/03/image_19042025_03_04_05_10357.jpg', '/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_14_9404.jpg', '/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_25_10469.jpg', '/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_34_9410.jpg', '/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_45_10411.jpg', '/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_55_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/03/image_19042025_03_04_05_10357.jpg
/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_14_9404.jpg
/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_25_10469.jpg
/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_34_9410.jpg
/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_45_10411.jpg
/home/pi/Desktop/images/19042025/03/04/image_19042025_03_04_55_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351730995","1351731013","1351731033","1351730970","1351731009","1351730981"],"photo_ids_order":["1351730970","1351730981","1351730995","1351731009","1351731013","1351731033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f6b3dcc058ab39ac6ed8ecd07761431.jpg","text":"TemporaryFile(/tmp/multipartBody8048711122787675960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038413416,"filename":"image_19042025_03_04_25_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71161bdf91697caffa4a59d879e65fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3261777631339041537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038413416,"filename":"image_19042025_03_04_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8919e375273c635ae8a2a646c466caf2.jpg","text":"TemporaryFile(/tmp/multipartBody9164293284732108624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038413416,"filename":"image_19042025_03_04_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f04cb444b550a03535a8ca30b8018dc2.jpg","text":"TemporaryFile(/tmp/multipartBody8716519293341879788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038413416,"filename":"image_19042025_03_04_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/176e8b9df2bc3c067e104da262cd4b43.jpg","text":"TemporaryFile(/tmp/multipartBody2886003103401488293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038413416,"filename":"image_19042025_03_04_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/19/075392937555451942da0e0eebc7d394.jpg","text":"TemporaryFile(/tmp/multipartBody1096493804961926242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038413416,"filename":"image_19042025_03_04_14_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351730995","file1":"1351730981","file0":"1351730970","file4":"1351731013","file5":"1351731033","file3":"1351731009"},"map_files_photo_id_array":[{"photo_id":"1351731033","filename":"file5"},{"photo_id":"1351730995","filename":"file2"},{"photo_id":"1351731013","filename":"file4"},{"photo_id":"1351730981","filename":"file1"},{"photo_id":"1351730970","filename":"file0"},{"photo_id":"1351731009","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351730995":["hashtag1","hashtag2"]},{"1351731013":["hashtag1","hashtag2"]},{"1351731033":["hashtag1","hashtag2"]},{"1351730970":["hashtag1","hashtag2"]},{"1351731009":["hashtag1","hashtag2"]},{"1351730981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351730995, 1351731013, 1351731033, 1351730970, 1351731009, 1351730981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.963037729263306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:53:33.022815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/04/image_19042025_03_05_04_9380.jpg', '/home/pi/Desktop/images/19042025/03/05/image_19042025_03_05_15_10395.jpg', '/home/pi/Desktop/images/19042025/03/05/image_19042025_03_05_25_10358.jpg', '/home/pi/Desktop/images/19042025/03/05/image_19042025_03_05_35_9338.jpg', '/home/pi/Desktop/images/19042025/03/05/image_19042025_03_05_55_10358.jpg', '/home/pi/Desktop/images/19042025/03/05/image_19042025_03_06_05_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/04/image_19042025_03_05_04_9380.jpg
/home/pi/Desktop/images/19042025/03/05/image_19042025_03_05_15_10395.jpg
/home/pi/Desktop/images/19042025/03/05/image_19042025_03_05_25_10358.jpg
/home/pi/Desktop/images/19042025/03/05/image_19042025_03_05_35_9338.jpg
/home/pi/Desktop/images/19042025/03/05/image_19042025_03_05_55_10358.jpg
/home/pi/Desktop/images/19042025/03/05/image_19042025_03_06_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":["1351731636","1351731609","1351731578","1351731405","1351731674","1351731311"],"photo_ids_order":["1351731311","1351731405","1351731578","1351731609","1351731636","1351731674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ff2ab7b9b298e65989bcbab2e165cbff.jpg","text":"TemporaryFile(/tmp/multipartBody6386397544828328019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038473571,"filename":"image_19042025_03_05_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/19/e0115ee4c9f1fd1ca3b7699a3e28d217.jpg","text":"TemporaryFile(/tmp/multipartBody3640401919423797175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038473571,"filename":"image_19042025_03_05_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/19/8e43020e3df6130a37a3b2b53c252f74.jpg","text":"TemporaryFile(/tmp/multipartBody5940634239873566395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038473571,"filename":"image_19042025_03_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/19/bca2ff851f126da2840157d2742476bb.jpg","text":"TemporaryFile(/tmp/multipartBody7674653318141521232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038473571,"filename":"image_19042025_03_05_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b5c904827c35afa4606dffc0dd97633.jpg","text":"TemporaryFile(/tmp/multipartBody4792272989725516605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038473571,"filename":"image_19042025_03_06_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/19/83f0d632f249304d629ef9ee53c45c3d.jpg","text":"TemporaryFile(/tmp/multipartBody1948841731872449112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038473571,"filename":"image_19042025_03_05_04_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351731578","file1":"1351731405","file0":"1351731311","file4":"1351731636","file5":"1351731674","file3":"1351731609"},"map_files_photo_id_array":[{"photo_id":"1351731674","filename":"file5"},{"photo_id":"1351731578","filename":"file2"},{"photo_id":"1351731636","filename":"file4"},{"photo_id":"1351731405","filename":"file1"},{"photo_id":"1351731311","filename":"file0"},{"photo_id":"1351731609","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351731636":["hashtag1","hashtag2"]},{"1351731609":["hashtag1","hashtag2"]},{"1351731578":["hashtag1","hashtag2"]},{"1351731405":["hashtag1","hashtag2"]},{"1351731674":["hashtag1","hashtag2"]},{"1351731311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351731636, 1351731609, 1351731578, 1351731405, 1351731674, 1351731311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41697835922241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:54:32.169461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_15_10460.jpg', '/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_24_9362.jpg', '/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_35_10417.jpg', '/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_45_10358.jpg', '/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_55_9361.jpg', '/home/pi/Desktop/images/19042025/03/06/image_19042025_03_07_05_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_15_10460.jpg
/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_24_9362.jpg
/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_35_10417.jpg
/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_45_10358.jpg
/home/pi/Desktop/images/19042025/03/06/image_19042025_03_06_55_9361.jpg
/home/pi/Desktop/images/19042025/03/06/image_19042025_03_07_05_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351732116","1351732085","1351732145","1351732049","1351731959","1351732016"],"photo_ids_order":["1351731959","1351732016","1351732049","1351732085","1351732116","1351732145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/93370eaebf7d82cf3853d9737e08dd7b.jpg","text":"TemporaryFile(/tmp/multipartBody1230977569097348175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038532733,"filename":"image_19042025_03_06_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ff27898214194a3206eb2336cb80ec6.jpg","text":"TemporaryFile(/tmp/multipartBody1864730626871044863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038532733,"filename":"image_19042025_03_06_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/19/2182ba8aeb90a6cdc7139fe63120b540.jpg","text":"TemporaryFile(/tmp/multipartBody3302074237857092429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038532733,"filename":"image_19042025_03_07_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6399fe75444061ec8bdc6918daf38503.jpg","text":"TemporaryFile(/tmp/multipartBody5120938347128053195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038532733,"filename":"image_19042025_03_06_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/19/8d896ba05ce478fb76d9272ed2c65072.jpg","text":"TemporaryFile(/tmp/multipartBody6828026965663104525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038532733,"filename":"image_19042025_03_06_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/19/451d3449e2a2eac8e8cc9786516345a1.jpg","text":"TemporaryFile(/tmp/multipartBody6159838066209572010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038532733,"filename":"image_19042025_03_06_24_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351732049","file1":"1351732016","file0":"1351731959","file4":"1351732116","file5":"1351732145","file3":"1351732085"},"map_files_photo_id_array":[{"photo_id":"1351732145","filename":"file5"},{"photo_id":"1351732049","filename":"file2"},{"photo_id":"1351732116","filename":"file4"},{"photo_id":"1351732016","filename":"file1"},{"photo_id":"1351731959","filename":"file0"},{"photo_id":"1351732085","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351732116":["hashtag1","hashtag2"]},{"1351732085":["hashtag1","hashtag2"]},{"1351732145":["hashtag1","hashtag2"]},{"1351732049":["hashtag1","hashtag2"]},{"1351731959":["hashtag1","hashtag2"]},{"1351732016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351732116, 1351732085, 1351732145, 1351732049, 1351731959, 1351732016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33645486831665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:55:32.287232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_14_9355.jpg', '/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_25_10463.jpg', '/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_35_10358.jpg', '/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_45_9355.jpg', '/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_55_10352.jpg', '/home/pi/Desktop/images/19042025/03/07/image_19042025_03_08_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_14_9355.jpg
/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_25_10463.jpg
/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_35_10358.jpg
/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_45_9355.jpg
/home/pi/Desktop/images/19042025/03/07/image_19042025_03_07_55_10352.jpg
/home/pi/Desktop/images/19042025/03/07/image_19042025_03_08_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351732188","1351732245","1351732152","1351732155","1351732218","1351732168"],"photo_ids_order":["1351732152","1351732155","1351732168","1351732188","1351732218","1351732245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/83acabd08237f17886e729a3e7e5839c.jpg","text":"TemporaryFile(/tmp/multipartBody1933674626011199672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038592838,"filename":"image_19042025_03_07_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f9df19cd62f2414ddb05694132d9d33c.jpg","text":"TemporaryFile(/tmp/multipartBody3772299333583910315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038592838,"filename":"image_19042025_03_08_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/19/7bca9bda3bde25bcc1c30f06a8f31bae.jpg","text":"TemporaryFile(/tmp/multipartBody6601740048933242814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038592838,"filename":"image_19042025_03_07_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/19/154642a7adaac88fd8e4de8bbf5733b3.jpg","text":"TemporaryFile(/tmp/multipartBody7609429942502992631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038592838,"filename":"image_19042025_03_07_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/19/69d58ccea81a729e48e3c29de087be53.jpg","text":"TemporaryFile(/tmp/multipartBody6297581137282733601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038592838,"filename":"image_19042025_03_07_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/19/8f36aaf3cde7108b1a5ce0fba3e8de3b.jpg","text":"TemporaryFile(/tmp/multipartBody8076612571730179845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038592838,"filename":"image_19042025_03_07_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351732168","file1":"1351732155","file0":"1351732152","file4":"1351732218","file5":"1351732245","file3":"1351732188"},"map_files_photo_id_array":[{"photo_id":"1351732245","filename":"file5"},{"photo_id":"1351732168","filename":"file2"},{"photo_id":"1351732218","filename":"file4"},{"photo_id":"1351732155","filename":"file1"},{"photo_id":"1351732152","filename":"file0"},{"photo_id":"1351732188","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351732188":["hashtag1","hashtag2"]},{"1351732245":["hashtag1","hashtag2"]},{"1351732152":["hashtag1","hashtag2"]},{"1351732155":["hashtag1","hashtag2"]},{"1351732218":["hashtag1","hashtag2"]},{"1351732168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351732188, 1351732245, 1351732152, 1351732155, 1351732218, 1351732168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.24687385559082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:56:32.531905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_15_9364.jpg', '/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_25_10371.jpg', '/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_34_9413.jpg', '/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_45_10426.jpg', '/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_55_10355.jpg', '/home/pi/Desktop/images/19042025/03/08/image_19042025_03_09_05_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_15_9364.jpg
/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_25_10371.jpg
/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_34_9413.jpg
/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_45_10426.jpg
/home/pi/Desktop/images/19042025/03/08/image_19042025_03_08_55_10355.jpg
/home/pi/Desktop/images/19042025/03/08/image_19042025_03_09_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":["1351732481","1351732478","1351732472","1351732474","1351732483","1351732468"],"photo_ids_order":["1351732468","1351732472","1351732474","1351732478","1351732481","1351732483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6610282d1565a458f8a4f60209a092c6.jpg","text":"TemporaryFile(/tmp/multipartBody1045230491766779962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038653078,"filename":"image_19042025_03_08_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9505d8a2845d98b8736630042fc53cd0.jpg","text":"TemporaryFile(/tmp/multipartBody671208612688606063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038653078,"filename":"image_19042025_03_08_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/19/561987ddc5a5d329c7599e23ae093a06.jpg","text":"TemporaryFile(/tmp/multipartBody4759180230923728885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038653078,"filename":"image_19042025_03_08_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/19/3ea2724aaca2056b217db24ce7526523.jpg","text":"TemporaryFile(/tmp/multipartBody1755569878400131500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038653078,"filename":"image_19042025_03_08_34_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b481da66b98436792e85b0b4328cc98a.jpg","text":"TemporaryFile(/tmp/multipartBody4994757732575309334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038653078,"filename":"image_19042025_03_09_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/19/e9544685eac5c3fb78db4dd50973d715.jpg","text":"TemporaryFile(/tmp/multipartBody791385276583222700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038653078,"filename":"image_19042025_03_08_15_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351732474","file1":"1351732472","file0":"1351732468","file4":"1351732481","file5":"1351732483","file3":"1351732478"},"map_files_photo_id_array":[{"photo_id":"1351732483","filename":"file5"},{"photo_id":"1351732474","filename":"file2"},{"photo_id":"1351732481","filename":"file4"},{"photo_id":"1351732472","filename":"file1"},{"photo_id":"1351732468","filename":"file0"},{"photo_id":"1351732478","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351732481":["hashtag1","hashtag2"]},{"1351732478":["hashtag1","hashtag2"]},{"1351732472":["hashtag1","hashtag2"]},{"1351732474":["hashtag1","hashtag2"]},{"1351732483":["hashtag1","hashtag2"]},{"1351732468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351732481, 1351732478, 1351732472, 1351732474, 1351732483, 1351732468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46760630607605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 06:57:32.717683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_15_10431.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_24_9427.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_35_10483.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_45_10361.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_55_9419.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_10_05_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_15_10431.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_24_9427.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_35_10483.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_45_10361.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_55_9419.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_10_05_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 06:59:03.881590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_15_10431.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_24_9427.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_35_10483.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_45_10361.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_55_9419.jpg', '/home/pi/Desktop/images/19042025/03/09/image_19042025_03_10_05_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_15_10431.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_24_9427.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_35_10483.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_45_10361.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_09_55_9419.jpg
/home/pi/Desktop/images/19042025/03/09/image_19042025_03_10_05_10415.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351733847","1351733675","1351733738","1351733939","1351733788","1351733638"],"photo_ids_order":["1351733638","1351733675","1351733738","1351733788","1351733847","1351733939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5431a9acbc9f63943182a97cb90d33bf.jpg","text":"TemporaryFile(/tmp/multipartBody1270285938489494199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038804453,"filename":"image_19042025_03_09_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/19/4374dd6790eeba000bbc9aba6b6d0b3d.jpg","text":"TemporaryFile(/tmp/multipartBody7109869834116443221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038804453,"filename":"image_19042025_03_09_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/19/2ee6533d867d0c437e3eb46cbda87362.jpg","text":"TemporaryFile(/tmp/multipartBody5165517578019147973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038804453,"filename":"image_19042025_03_09_35_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/19/7792d07f6fa64a65ba2618d9b6557685.jpg","text":"TemporaryFile(/tmp/multipartBody1842059909048134522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038804453,"filename":"image_19042025_03_10_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0923a31d1d36a869fefefbc397ca36c0.jpg","text":"TemporaryFile(/tmp/multipartBody4917541064052902300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038804453,"filename":"image_19042025_03_09_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/19/daad4a0fcebf5fb71322c0cd94fdece7.jpg","text":"TemporaryFile(/tmp/multipartBody4730500037938076851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038804453,"filename":"image_19042025_03_09_15_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351733738","file1":"1351733675","file0":"1351733638","file4":"1351733847","file5":"1351733939","file3":"1351733788"},"map_files_photo_id_array":[{"photo_id":"1351733939","filename":"file5"},{"photo_id":"1351733738","filename":"file2"},{"photo_id":"1351733847","filename":"file4"},{"photo_id":"1351733675","filename":"file1"},{"photo_id":"1351733638","filename":"file0"},{"photo_id":"1351733788","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351733847":["hashtag1","hashtag2"]},{"1351733675":["hashtag1","hashtag2"]},{"1351733738":["hashtag1","hashtag2"]},{"1351733939":["hashtag1","hashtag2"]},{"1351733788":["hashtag1","hashtag2"]},{"1351733638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351733847, 1351733675, 1351733738, 1351733939, 1351733788, 1351733638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47339344024658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 06:59:42.532474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_14_9359.jpg', '/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_25_10440.jpg', '/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_35_10410.jpg', '/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_45_9352.jpg', '/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_55_10358.jpg', '/home/pi/Desktop/images/19042025/03/10/image_19042025_03_11_04_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_14_9359.jpg
/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_25_10440.jpg
/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_35_10410.jpg
/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_45_9352.jpg
/home/pi/Desktop/images/19042025/03/10/image_19042025_03_10_55_10358.jpg
/home/pi/Desktop/images/19042025/03/10/image_19042025_03_11_04_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":["1351734259","1351734789","1351734186","1351734729","1351734621","1351734695"],"photo_ids_order":["1351734186","1351734259","1351734621","1351734695","1351734729","1351734789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66a857161a01176c6d13fbc269cef4f7.jpg","text":"TemporaryFile(/tmp/multipartBody6838477671460672937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038843079,"filename":"image_19042025_03_10_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/19/a165aa4440250037e2cddb30273ba122.jpg","text":"TemporaryFile(/tmp/multipartBody6329201412104975698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038843079,"filename":"image_19042025_03_11_04_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/19/afa75967f3d5bf4ab589b4d32d0b7d92.jpg","text":"TemporaryFile(/tmp/multipartBody2895185819278415454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038843079,"filename":"image_19042025_03_10_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/19/cf1ac978f1f61e6a070de914ec181d59.jpg","text":"TemporaryFile(/tmp/multipartBody2444507735843216414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038843079,"filename":"image_19042025_03_10_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/19/a2c1432e6c4ef87b821ba4c5d5e5c6de.jpg","text":"TemporaryFile(/tmp/multipartBody8727099960193584729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038843079,"filename":"image_19042025_03_10_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a404e9df20fea723c976825f8f5cbb4.jpg","text":"TemporaryFile(/tmp/multipartBody5401608837808722448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038843079,"filename":"image_19042025_03_10_45_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351734621","file1":"1351734259","file0":"1351734186","file4":"1351734729","file5":"1351734789","file3":"1351734695"},"map_files_photo_id_array":[{"photo_id":"1351734789","filename":"file5"},{"photo_id":"1351734621","filename":"file2"},{"photo_id":"1351734729","filename":"file4"},{"photo_id":"1351734259","filename":"file1"},{"photo_id":"1351734186","filename":"file0"},{"photo_id":"1351734695","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351734259":["hashtag1","hashtag2"]},{"1351734789":["hashtag1","hashtag2"]},{"1351734186":["hashtag1","hashtag2"]},{"1351734729":["hashtag1","hashtag2"]},{"1351734621":["hashtag1","hashtag2"]},{"1351734695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351734259, 1351734789, 1351734186, 1351734729, 1351734621, 1351734695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.677090644836426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:00:32.676801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/11/image_19042025_03_11_15_10430.jpg', '/home/pi/Desktop/images/19042025/03/11/image_19042025_03_11_25_10414.jpg', '/home/pi/Desktop/images/19042025/03/11/image_19042025_03_11_45_10456.jpg', '/home/pi/Desktop/images/19042025/03/11/image_19042025_03_11_54_9342.jpg', '/home/pi/Desktop/images/19042025/03/11/image_19042025_03_12_05_10545.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_14_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/11/image_19042025_03_11_15_10430.jpg
/home/pi/Desktop/images/19042025/03/11/image_19042025_03_11_25_10414.jpg
/home/pi/Desktop/images/19042025/03/11/image_19042025_03_11_45_10456.jpg
/home/pi/Desktop/images/19042025/03/11/image_19042025_03_11_54_9342.jpg
/home/pi/Desktop/images/19042025/03/11/image_19042025_03_12_05_10545.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_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":["1351735448","1351735456","1351735459","1351735204","1351735452","1351735374"],"photo_ids_order":["1351735204","1351735374","1351735448","1351735452","1351735456","1351735459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e06b741fc0dcec3a152dbbf7ff02b3f.jpg","text":"TemporaryFile(/tmp/multipartBody4948830288923139899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038893239,"filename":"image_19042025_03_11_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/19/2cd00919982a0ed5e93ca3b55acb010a.jpg","text":"TemporaryFile(/tmp/multipartBody3229332011856212654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038893239,"filename":"image_19042025_03_12_05_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/19/fb250f5c72c0376e5a6adc1ba9d481ef.jpg","text":"TemporaryFile(/tmp/multipartBody1097491224421646132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038893239,"filename":"image_19042025_03_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/19/11486f7aadd35e1b6880ec658f4e3438.jpg","text":"TemporaryFile(/tmp/multipartBody5132690773506273396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038893239,"filename":"image_19042025_03_11_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/19/6e717f6b14e24a86d5c3df0c68a147b1.jpg","text":"TemporaryFile(/tmp/multipartBody8218545967729278673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038893239,"filename":"image_19042025_03_11_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/19/f312e6926c434ed6b974e0e4c32c99e7.jpg","text":"TemporaryFile(/tmp/multipartBody139675137851912832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038893239,"filename":"image_19042025_03_11_25_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351735448","file1":"1351735374","file0":"1351735204","file4":"1351735456","file5":"1351735459","file3":"1351735452"},"map_files_photo_id_array":[{"photo_id":"1351735459","filename":"file5"},{"photo_id":"1351735448","filename":"file2"},{"photo_id":"1351735456","filename":"file4"},{"photo_id":"1351735374","filename":"file1"},{"photo_id":"1351735204","filename":"file0"},{"photo_id":"1351735452","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351735448":["hashtag1","hashtag2"]},{"1351735456":["hashtag1","hashtag2"]},{"1351735459":["hashtag1","hashtag2"]},{"1351735204":["hashtag1","hashtag2"]},{"1351735452":["hashtag1","hashtag2"]},{"1351735374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351735448, 1351735456, 1351735459, 1351735204, 1351735452, 1351735374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76376390457153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:01:32.956274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_25_10352.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_35_10422.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_44_9375.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_55_10480.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_13_04_9350.jpg', '/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_25_10352.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_35_10422.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_44_9375.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_55_10480.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_13_04_9350.jpg
/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_15_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48490142822265625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 07:01:42.908725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_25_10352.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_35_10422.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_44_9375.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_55_10480.jpg', '/home/pi/Desktop/images/19042025/03/12/image_19042025_03_13_04_9350.jpg', '/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_25_10352.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_35_10422.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_44_9375.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_12_55_10480.jpg
/home/pi/Desktop/images/19042025/03/12/image_19042025_03_13_04_9350.jpg
/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351735520","1351735648","1351735743","1351735581","1351735536","1351735524"],"photo_ids_order":["1351735520","1351735524","1351735536","1351735581","1351735648","1351735743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8097a1b73bb39259489ec25d199332af.jpg","text":"TemporaryFile(/tmp/multipartBody6545220261090348929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038963376,"filename":"image_19042025_03_12_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/19/d61f9c220161d9ba107dc9756c96dc3b.jpg","text":"TemporaryFile(/tmp/multipartBody1693633891781227715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038963376,"filename":"image_19042025_03_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/19/7e2a0fc1dcde41beb3be45d6b246da2c.jpg","text":"TemporaryFile(/tmp/multipartBody1848013817308213354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038963376,"filename":"image_19042025_03_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/19/69b9c86ef39a363826cfa2c523e1f73f.jpg","text":"TemporaryFile(/tmp/multipartBody995388888891930617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038963376,"filename":"image_19042025_03_12_55_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/401478ae2ab3b78267caac80ca1e30b4.jpg","text":"TemporaryFile(/tmp/multipartBody6936297154404832060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038963376,"filename":"image_19042025_03_12_44_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14574bce139a773aaf44d020852655c5.jpg","text":"TemporaryFile(/tmp/multipartBody248546318144680131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745038963376,"filename":"image_19042025_03_12_35_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351735536","file1":"1351735524","file0":"1351735520","file4":"1351735648","file5":"1351735743","file3":"1351735581"},"map_files_photo_id_array":[{"photo_id":"1351735743","filename":"file5"},{"photo_id":"1351735536","filename":"file2"},{"photo_id":"1351735648","filename":"file4"},{"photo_id":"1351735524","filename":"file1"},{"photo_id":"1351735520","filename":"file0"},{"photo_id":"1351735581","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351735520":["hashtag1","hashtag2"]},{"1351735648":["hashtag1","hashtag2"]},{"1351735743":["hashtag1","hashtag2"]},{"1351735581":["hashtag1","hashtag2"]},{"1351735536":["hashtag1","hashtag2"]},{"1351735524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351735520, 1351735648, 1351735743, 1351735581, 1351735536, 1351735524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.821755170822144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:02:32.225596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_25_10361.jpg', '/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_34_9374.jpg', '/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_45_10403.jpg', '/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_55_10450.jpg', '/home/pi/Desktop/images/19042025/03/13/image_19042025_03_14_05_9332.jpg', '/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_15_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_25_10361.jpg
/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_34_9374.jpg
/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_45_10403.jpg
/home/pi/Desktop/images/19042025/03/13/image_19042025_03_13_55_10450.jpg
/home/pi/Desktop/images/19042025/03/13/image_19042025_03_14_05_9332.jpg
/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_15_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":["1351736530","1351736439","1351736613","1351736594","1351736504","1351736633"],"photo_ids_order":["1351736439","1351736504","1351736530","1351736594","1351736613","1351736633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/889982f6a92149d836b997ad25fcea72.jpg","text":"TemporaryFile(/tmp/multipartBody7038068606566816255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039012790,"filename":"image_19042025_03_13_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7eae98eaa98d48e838620c03d1a85f4.jpg","text":"TemporaryFile(/tmp/multipartBody726990817347153249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039012790,"filename":"image_19042025_03_13_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/19/adfa18e44dd4d36a3cfcb48d2e03d90c.jpg","text":"TemporaryFile(/tmp/multipartBody6213559947047848579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039012790,"filename":"image_19042025_03_14_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b24922b165fa1a60b2e7990c9187fdf9.jpg","text":"TemporaryFile(/tmp/multipartBody3635126954734284824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039012790,"filename":"image_19042025_03_13_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/19/d9d07dda4966eedbaa6dc6d8159d52f3.jpg","text":"TemporaryFile(/tmp/multipartBody4229699251627472313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039012790,"filename":"image_19042025_03_13_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/19/cf4e97309f0942e9bd54fdfda07b74ad.jpg","text":"TemporaryFile(/tmp/multipartBody4158333204344679527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039012790,"filename":"image_19042025_03_14_15_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351736530","file1":"1351736504","file0":"1351736439","file4":"1351736613","file5":"1351736633","file3":"1351736594"},"map_files_photo_id_array":[{"photo_id":"1351736633","filename":"file5"},{"photo_id":"1351736530","filename":"file2"},{"photo_id":"1351736613","filename":"file4"},{"photo_id":"1351736504","filename":"file1"},{"photo_id":"1351736439","filename":"file0"},{"photo_id":"1351736594","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351736530":["hashtag1","hashtag2"]},{"1351736439":["hashtag1","hashtag2"]},{"1351736613":["hashtag1","hashtag2"]},{"1351736594":["hashtag1","hashtag2"]},{"1351736504":["hashtag1","hashtag2"]},{"1351736633":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351736530, 1351736439, 1351736613, 1351736594, 1351736504, 1351736633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55534052848816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:03:32.351558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_24_9398.jpg', '/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_35_10435.jpg', '/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_45_10367.jpg', '/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_55_9363.jpg', '/home/pi/Desktop/images/19042025/03/14/image_19042025_03_15_05_10454.jpg', '/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_14_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_24_9398.jpg
/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_35_10435.jpg
/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_45_10367.jpg
/home/pi/Desktop/images/19042025/03/14/image_19042025_03_14_55_9363.jpg
/home/pi/Desktop/images/19042025/03/14/image_19042025_03_15_05_10454.jpg
/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_14_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":["1351737019","1351736884","1351737045","1351736868","1351736907","1351736939"],"photo_ids_order":["1351736868","1351736884","1351736907","1351736939","1351737019","1351737045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/348bb26bf86b821b819074e60059e66f.jpg","text":"TemporaryFile(/tmp/multipartBody7236672505413972247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039072904,"filename":"image_19042025_03_15_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/19/f3694d070c3534088da71a8b6bb9d1fb.jpg","text":"TemporaryFile(/tmp/multipartBody5436445201140854660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039072904,"filename":"image_19042025_03_14_35_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e284288a13b14f2543d8b3a083e6f532.jpg","text":"TemporaryFile(/tmp/multipartBody3249021079801721970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039072904,"filename":"image_19042025_03_15_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/19/f5538e5101ee033c7f69a4b27a925467.jpg","text":"TemporaryFile(/tmp/multipartBody1087054268994659406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039072904,"filename":"image_19042025_03_14_24_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/19/513328b53ea30bb6abb80d361155ada1.jpg","text":"TemporaryFile(/tmp/multipartBody3695166724351178489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039072904,"filename":"image_19042025_03_14_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e30c8a491e10f6b6079671580ce74552.jpg","text":"TemporaryFile(/tmp/multipartBody966455971770100581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039072904,"filename":"image_19042025_03_14_55_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351736907","file1":"1351736884","file0":"1351736868","file4":"1351737019","file5":"1351737045","file3":"1351736939"},"map_files_photo_id_array":[{"photo_id":"1351737045","filename":"file5"},{"photo_id":"1351736907","filename":"file2"},{"photo_id":"1351737019","filename":"file4"},{"photo_id":"1351736884","filename":"file1"},{"photo_id":"1351736868","filename":"file0"},{"photo_id":"1351736939","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351737019":["hashtag1","hashtag2"]},{"1351736884":["hashtag1","hashtag2"]},{"1351737045":["hashtag1","hashtag2"]},{"1351736868":["hashtag1","hashtag2"]},{"1351736907":["hashtag1","hashtag2"]},{"1351736939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351737019, 1351736884, 1351737045, 1351736868, 1351736907, 1351736939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35224509239197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:04:32.670051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_25_10538.jpg', '/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_34_9343.jpg', '/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_45_10355.jpg', '/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_55_10354.jpg', '/home/pi/Desktop/images/19042025/03/15/image_19042025_03_16_04_9332.jpg', '/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_15_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_25_10538.jpg
/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_34_9343.jpg
/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_45_10355.jpg
/home/pi/Desktop/images/19042025/03/15/image_19042025_03_15_55_10354.jpg
/home/pi/Desktop/images/19042025/03/15/image_19042025_03_16_04_9332.jpg
/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_15_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":["1351737310","1351737205","1351737231","1351737284","1351737257","1351737158"],"photo_ids_order":["1351737158","1351737205","1351737231","1351737257","1351737284","1351737310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2363f145977431bf29d109f946114db6.jpg","text":"TemporaryFile(/tmp/multipartBody7246593169896302273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039134026,"filename":"image_19042025_03_16_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e989f4f3b89306d1d572f65f6ee638ec.jpg","text":"TemporaryFile(/tmp/multipartBody7709193451106799978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039134026,"filename":"image_19042025_03_15_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/51341497ed1c67c0ecae49f29f1101c3.jpg","text":"TemporaryFile(/tmp/multipartBody631930239830206761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039134026,"filename":"image_19042025_03_15_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d124f408e86cece8fbd0bfafb88b220c.jpg","text":"TemporaryFile(/tmp/multipartBody7197328066777756155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039134026,"filename":"image_19042025_03_16_04_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6e45a96e170b2d7990a3c53ca3e1ec77.jpg","text":"TemporaryFile(/tmp/multipartBody8163548590318178382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039134026,"filename":"image_19042025_03_15_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a462396039624da61c7fa7b17eec4735.jpg","text":"TemporaryFile(/tmp/multipartBody9119016014943562832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039134026,"filename":"image_19042025_03_15_25_10538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351737231","file1":"1351737205","file0":"1351737158","file4":"1351737284","file5":"1351737310","file3":"1351737257"},"map_files_photo_id_array":[{"photo_id":"1351737310","filename":"file5"},{"photo_id":"1351737231","filename":"file2"},{"photo_id":"1351737284","filename":"file4"},{"photo_id":"1351737205","filename":"file1"},{"photo_id":"1351737158","filename":"file0"},{"photo_id":"1351737257","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351737310":["hashtag1","hashtag2"]},{"1351737205":["hashtag1","hashtag2"]},{"1351737231":["hashtag1","hashtag2"]},{"1351737284":["hashtag1","hashtag2"]},{"1351737257":["hashtag1","hashtag2"]},{"1351737158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351737310, 1351737205, 1351737231, 1351737284, 1351737257, 1351737158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28789138793945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:05:32.787348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_25_10358.jpg', '/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_35_9409.jpg', '/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_45_10376.jpg', '/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_55_10348.jpg', '/home/pi/Desktop/images/19042025/03/16/image_19042025_03_17_05_9425.jpg', '/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_15_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_25_10358.jpg
/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_35_9409.jpg
/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_45_10376.jpg
/home/pi/Desktop/images/19042025/03/16/image_19042025_03_16_55_10348.jpg
/home/pi/Desktop/images/19042025/03/16/image_19042025_03_17_05_9425.jpg
/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_15_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351737549","1351737630","1351737705","1351737600","1351737575","1351737679"],"photo_ids_order":["1351737549","1351737575","1351737600","1351737630","1351737679","1351737705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a600eda10a7a64db12b7c3caa2a3f14e.jpg","text":"TemporaryFile(/tmp/multipartBody4016576049916208151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039193347,"filename":"image_19042025_03_16_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/19/09e37f31e7c01e2ddd75af0a9db4d90f.jpg","text":"TemporaryFile(/tmp/multipartBody248632637129833484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039193347,"filename":"image_19042025_03_16_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/19/b6cb20410d1db07b386d586beb882a49.jpg","text":"TemporaryFile(/tmp/multipartBody7612001255615458038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039193347,"filename":"image_19042025_03_17_15_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9bd79fbe59129441bcc08c3f264f9566.jpg","text":"TemporaryFile(/tmp/multipartBody7575205903419718417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039193347,"filename":"image_19042025_03_16_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/19/f6725563897989033f24ea292ae8626c.jpg","text":"TemporaryFile(/tmp/multipartBody1263136431815708294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039193347,"filename":"image_19042025_03_16_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/19/5893ae33233b309a936c7830753a0209.jpg","text":"TemporaryFile(/tmp/multipartBody5195558732169106409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039193347,"filename":"image_19042025_03_17_05_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351737600","file1":"1351737575","file0":"1351737549","file4":"1351737679","file5":"1351737705","file3":"1351737630"},"map_files_photo_id_array":[{"photo_id":"1351737705","filename":"file5"},{"photo_id":"1351737600","filename":"file2"},{"photo_id":"1351737679","filename":"file4"},{"photo_id":"1351737575","filename":"file1"},{"photo_id":"1351737549","filename":"file0"},{"photo_id":"1351737630","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351737549":["hashtag1","hashtag2"]},{"1351737630":["hashtag1","hashtag2"]},{"1351737705":["hashtag1","hashtag2"]},{"1351737600":["hashtag1","hashtag2"]},{"1351737575":["hashtag1","hashtag2"]},{"1351737679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351737549, 1351737630, 1351737705, 1351737600, 1351737575, 1351737679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.676435708999634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:06:33.178220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_24_9342.jpg', '/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_35_10419.jpg', '/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_44_9381.jpg', '/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_55_10374.jpg', '/home/pi/Desktop/images/19042025/03/17/image_19042025_03_18_05_10403.jpg', '/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_14_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_24_9342.jpg
/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_35_10419.jpg
/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_44_9381.jpg
/home/pi/Desktop/images/19042025/03/17/image_19042025_03_17_55_10374.jpg
/home/pi/Desktop/images/19042025/03/17/image_19042025_03_18_05_10403.jpg
/home/pi/Desktop/images/19042025/03/18/image_19042025_03_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":["1351737864","1351737858","1351737861","1351737866","1351737854","1351737856"],"photo_ids_order":["1351737854","1351737856","1351737858","1351737861","1351737864","1351737866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2589cd115a1a9ab5498f2dfb16c76cd6.jpg","text":"TemporaryFile(/tmp/multipartBody4101528355965102021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039253724,"filename":"image_19042025_03_18_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/19/0517e727e3894ee4c53747b875ad11e7.jpg","text":"TemporaryFile(/tmp/multipartBody9083994140282968124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039253724,"filename":"image_19042025_03_17_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c9a8fb153af053d98def598706d4d009.jpg","text":"TemporaryFile(/tmp/multipartBody7730948231524545040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039253724,"filename":"image_19042025_03_17_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39b8895654a0f15f7606137e396d672d.jpg","text":"TemporaryFile(/tmp/multipartBody1465124538001236775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039253724,"filename":"image_19042025_03_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/19/5b8ddc6c43e729d15026bfe1d77d323d.jpg","text":"TemporaryFile(/tmp/multipartBody3686808117186387666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039253724,"filename":"image_19042025_03_17_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/19/0d43405a320c2851e59ad2c330e6b937.jpg","text":"TemporaryFile(/tmp/multipartBody3993613695835387553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039253724,"filename":"image_19042025_03_17_35_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351737858","file1":"1351737856","file0":"1351737854","file4":"1351737864","file5":"1351737866","file3":"1351737861"},"map_files_photo_id_array":[{"photo_id":"1351737866","filename":"file5"},{"photo_id":"1351737858","filename":"file2"},{"photo_id":"1351737864","filename":"file4"},{"photo_id":"1351737856","filename":"file1"},{"photo_id":"1351737854","filename":"file0"},{"photo_id":"1351737861","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351737864":["hashtag1","hashtag2"]},{"1351737858":["hashtag1","hashtag2"]},{"1351737861":["hashtag1","hashtag2"]},{"1351737866":["hashtag1","hashtag2"]},{"1351737854":["hashtag1","hashtag2"]},{"1351737856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351737864, 1351737858, 1351737861, 1351737866, 1351737854, 1351737856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.606574296951294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:07:32.507157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_25_10396.jpg', '/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_35_10356.jpg', '/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_45_9342.jpg', '/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_55_10393.jpg', '/home/pi/Desktop/images/19042025/03/18/image_19042025_03_19_04_9378.jpg', '/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_15_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_25_10396.jpg
/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_35_10356.jpg
/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_45_9342.jpg
/home/pi/Desktop/images/19042025/03/18/image_19042025_03_18_55_10393.jpg
/home/pi/Desktop/images/19042025/03/18/image_19042025_03_19_04_9378.jpg
/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_15_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351738668","1351739048","1351739108","1351739021","1351739190","1351738986"],"photo_ids_order":["1351738668","1351738986","1351739021","1351739048","1351739108","1351739190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e2e9c1f7ea8251e3b78d9a4cc11cdb74.jpg","text":"TemporaryFile(/tmp/multipartBody5282201703959951705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039313054,"filename":"image_19042025_03_18_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ca3c180c9553959d0aef6ff3a47190d8.jpg","text":"TemporaryFile(/tmp/multipartBody6530891182966911060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039313054,"filename":"image_19042025_03_18_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/19/8893327d06cd07c613446e3f1f6839bb.jpg","text":"TemporaryFile(/tmp/multipartBody4412293265062802774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039313054,"filename":"image_19042025_03_19_04_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d918af617cd5d3cd673d845767356ce.jpg","text":"TemporaryFile(/tmp/multipartBody3093415350142167041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039313054,"filename":"image_19042025_03_18_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/19/9944684b10082c58e00ca8b2597e60a3.jpg","text":"TemporaryFile(/tmp/multipartBody657568856881749361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039313054,"filename":"image_19042025_03_19_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/19/1a1f9dd764119603e083357532901662.jpg","text":"TemporaryFile(/tmp/multipartBody6523042771093914045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039313054,"filename":"image_19042025_03_18_35_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351739021","file1":"1351738986","file0":"1351738668","file4":"1351739108","file5":"1351739190","file3":"1351739048"},"map_files_photo_id_array":[{"photo_id":"1351739190","filename":"file5"},{"photo_id":"1351739021","filename":"file2"},{"photo_id":"1351739108","filename":"file4"},{"photo_id":"1351738986","filename":"file1"},{"photo_id":"1351738668","filename":"file0"},{"photo_id":"1351739048","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351738668":["hashtag1","hashtag2"]},{"1351739048":["hashtag1","hashtag2"]},{"1351739108":["hashtag1","hashtag2"]},{"1351739021":["hashtag1","hashtag2"]},{"1351739190":["hashtag1","hashtag2"]},{"1351738986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351738668, 1351739048, 1351739108, 1351739021, 1351739190, 1351738986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.4642608165741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:08:32.516396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_25_10459.jpg', '/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_34_9344.jpg', '/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_45_10398.jpg', '/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_55_10364.jpg', '/home/pi/Desktop/images/19042025/03/19/image_19042025_03_20_05_9361.jpg', '/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_15_10495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_25_10459.jpg
/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_34_9344.jpg
/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_45_10398.jpg
/home/pi/Desktop/images/19042025/03/19/image_19042025_03_19_55_10364.jpg
/home/pi/Desktop/images/19042025/03/19/image_19042025_03_20_05_9361.jpg
/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_15_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":["1351739294","1351739582","1351739252","1351739395","1351739356","1351739329"],"photo_ids_order":["1351739252","1351739294","1351739329","1351739356","1351739395","1351739582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a9df8c3d52ef34e1b2f6bc5d4ee61b8.jpg","text":"TemporaryFile(/tmp/multipartBody1699472573030877397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039373079,"filename":"image_19042025_03_19_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/19/2571075182560e63c6478b875b77e14e.jpg","text":"TemporaryFile(/tmp/multipartBody4830800113540128110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039373079,"filename":"image_19042025_03_20_15_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/19/3536537524cb8c3c1ae358d119f3abad.jpg","text":"TemporaryFile(/tmp/multipartBody2831272035189696388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039373079,"filename":"image_19042025_03_19_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8570a5cc54cc72f9f8d2f83e0be5ecf2.jpg","text":"TemporaryFile(/tmp/multipartBody2711087444170032675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039373079,"filename":"image_19042025_03_20_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/45ef7d1e2161ab961418050f94fa0199.jpg","text":"TemporaryFile(/tmp/multipartBody48482669271210135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039373079,"filename":"image_19042025_03_19_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/19/c97bc2775d95e0df40a134dca13ab652.jpg","text":"TemporaryFile(/tmp/multipartBody206107537432229085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039373079,"filename":"image_19042025_03_19_45_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351739329","file1":"1351739294","file0":"1351739252","file4":"1351739395","file5":"1351739582","file3":"1351739356"},"map_files_photo_id_array":[{"photo_id":"1351739582","filename":"file5"},{"photo_id":"1351739329","filename":"file2"},{"photo_id":"1351739395","filename":"file4"},{"photo_id":"1351739294","filename":"file1"},{"photo_id":"1351739252","filename":"file0"},{"photo_id":"1351739356","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351739294":["hashtag1","hashtag2"]},{"1351739582":["hashtag1","hashtag2"]},{"1351739252":["hashtag1","hashtag2"]},{"1351739395":["hashtag1","hashtag2"]},{"1351739356":["hashtag1","hashtag2"]},{"1351739329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351739294, 1351739582, 1351739252, 1351739395, 1351739356, 1351739329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2213773727417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:09:32.738584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_24_9363.jpg', '/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_35_10466.jpg', '/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_44_9431.jpg', '/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_55_10344.jpg', '/home/pi/Desktop/images/19042025/03/20/image_19042025_03_21_05_10376.jpg', '/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_14_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_24_9363.jpg
/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_35_10466.jpg
/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_44_9431.jpg
/home/pi/Desktop/images/19042025/03/20/image_19042025_03_20_55_10344.jpg
/home/pi/Desktop/images/19042025/03/20/image_19042025_03_21_05_10376.jpg
/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_14_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":["1351740348","1351740299","1351740452","1351740617","1351740229","1351740400"],"photo_ids_order":["1351740229","1351740299","1351740348","1351740400","1351740452","1351740617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc3b8913878aed1b89e7977179d4cf03.jpg","text":"TemporaryFile(/tmp/multipartBody5426897781948566961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039433308,"filename":"image_19042025_03_20_44_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd5f3ee8521a5607329ac2ba3b854e4b.jpg","text":"TemporaryFile(/tmp/multipartBody5136868495058268346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039433308,"filename":"image_19042025_03_20_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/19/a28d12c8ac8f4e1816c295993e23062f.jpg","text":"TemporaryFile(/tmp/multipartBody2858336209452406365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039433308,"filename":"image_19042025_03_21_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/19/3f1a19edd6f068086263af6afb17205f.jpg","text":"TemporaryFile(/tmp/multipartBody6893194828382362027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039433308,"filename":"image_19042025_03_21_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/19/d206aa7085b4ba3a662608fd0942bc89.jpg","text":"TemporaryFile(/tmp/multipartBody1754649581269953555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039433308,"filename":"image_19042025_03_20_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/19/f203a3caa8cc41a5e4f24ea263857a63.jpg","text":"TemporaryFile(/tmp/multipartBody6106336200399969331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039433308,"filename":"image_19042025_03_20_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351740348","file1":"1351740299","file0":"1351740229","file4":"1351740452","file5":"1351740617","file3":"1351740400"},"map_files_photo_id_array":[{"photo_id":"1351740617","filename":"file5"},{"photo_id":"1351740348","filename":"file2"},{"photo_id":"1351740452","filename":"file4"},{"photo_id":"1351740299","filename":"file1"},{"photo_id":"1351740229","filename":"file0"},{"photo_id":"1351740400","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351740348":["hashtag1","hashtag2"]},{"1351740299":["hashtag1","hashtag2"]},{"1351740452":["hashtag1","hashtag2"]},{"1351740617":["hashtag1","hashtag2"]},{"1351740229":["hashtag1","hashtag2"]},{"1351740400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351740348, 1351740299, 1351740452, 1351740617, 1351740229, 1351740400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70175290107727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:10:33.105163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_25_10408.jpg', '/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_35_10337.jpg', '/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_45_9343.jpg', '/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_55_10361.jpg', '/home/pi/Desktop/images/19042025/03/21/image_19042025_03_22_04_9455.jpg', '/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_25_10408.jpg
/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_35_10337.jpg
/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_45_9343.jpg
/home/pi/Desktop/images/19042025/03/21/image_19042025_03_21_55_10361.jpg
/home/pi/Desktop/images/19042025/03/21/image_19042025_03_22_04_9455.jpg
/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351741212","1351741200","1351741088","1351741253","1351741237","1351740955"],"photo_ids_order":["1351740955","1351741088","1351741200","1351741212","1351741237","1351741253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5ae22cc0a4f202fb511a14398026fbf.jpg","text":"TemporaryFile(/tmp/multipartBody1176855812481979187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039493661,"filename":"image_19042025_03_21_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/19/c1abe120f95009bdee419420fdb4174e.jpg","text":"TemporaryFile(/tmp/multipartBody3344054032421170252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039493661,"filename":"image_19042025_03_21_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/19/3c2f66b3c8489d1427abf30bc4c75b30.jpg","text":"TemporaryFile(/tmp/multipartBody3820390343191236628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039493661,"filename":"image_19042025_03_21_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cb541b8da48aa8b228d408fa99361385.jpg","text":"TemporaryFile(/tmp/multipartBody2182038182106651052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039493661,"filename":"image_19042025_03_22_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/19/2e69e4c18bf95cab4c45d9817ff0643f.jpg","text":"TemporaryFile(/tmp/multipartBody5339916595394431488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039493661,"filename":"image_19042025_03_22_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/19/93de780694a3e1d1e71a89a0b9f0d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody4305491865595272260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039493661,"filename":"image_19042025_03_21_25_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351741200","file1":"1351741088","file0":"1351740955","file4":"1351741237","file5":"1351741253","file3":"1351741212"},"map_files_photo_id_array":[{"photo_id":"1351741253","filename":"file5"},{"photo_id":"1351741200","filename":"file2"},{"photo_id":"1351741237","filename":"file4"},{"photo_id":"1351741088","filename":"file1"},{"photo_id":"1351740955","filename":"file0"},{"photo_id":"1351741212","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351741212":["hashtag1","hashtag2"]},{"1351741200":["hashtag1","hashtag2"]},{"1351741088":["hashtag1","hashtag2"]},{"1351741253":["hashtag1","hashtag2"]},{"1351741237":["hashtag1","hashtag2"]},{"1351740955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351741212, 1351741200, 1351741088, 1351741253, 1351741237, 1351740955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.76594376564026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:11:32.231814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_25_10343.jpg', '/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_34_9363.jpg', '/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_45_10467.jpg', '/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_55_10348.jpg', '/home/pi/Desktop/images/19042025/03/22/image_19042025_03_23_05_9388.jpg', '/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_15_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_25_10343.jpg
/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_34_9363.jpg
/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_45_10467.jpg
/home/pi/Desktop/images/19042025/03/22/image_19042025_03_22_55_10348.jpg
/home/pi/Desktop/images/19042025/03/22/image_19042025_03_23_05_9388.jpg
/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_15_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351741326","1351741385","1351741370","1351741364","1351741367","1351741355"],"photo_ids_order":["1351741326","1351741355","1351741364","1351741367","1351741370","1351741385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/80d8e29892dcb72ce0bb08f0d9b8e9f8.jpg","text":"TemporaryFile(/tmp/multipartBody5041702984464290640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039552776,"filename":"image_19042025_03_22_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/19/8579895b5a183afcdc6d9209973a0a1a.jpg","text":"TemporaryFile(/tmp/multipartBody2005247899252769207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039552776,"filename":"image_19042025_03_23_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19bbd1e65e2021706a0d9dc9fe35b10d.jpg","text":"TemporaryFile(/tmp/multipartBody2050761424617622295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039552776,"filename":"image_19042025_03_23_05_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97435ef3df4cf0c20d5b5f292ebdf4ce.jpg","text":"TemporaryFile(/tmp/multipartBody6106142168678623855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039552776,"filename":"image_19042025_03_22_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/19/cb61fea83c245d4c1b4b2ba6e30b6cc8.jpg","text":"TemporaryFile(/tmp/multipartBody1362909814230889350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039552776,"filename":"image_19042025_03_22_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/19/88b56241743093fcded791cc6bfa5e14.jpg","text":"TemporaryFile(/tmp/multipartBody8498560672192762756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039552776,"filename":"image_19042025_03_22_34_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351741364","file1":"1351741355","file0":"1351741326","file4":"1351741370","file5":"1351741385","file3":"1351741367"},"map_files_photo_id_array":[{"photo_id":"1351741385","filename":"file5"},{"photo_id":"1351741364","filename":"file2"},{"photo_id":"1351741370","filename":"file4"},{"photo_id":"1351741355","filename":"file1"},{"photo_id":"1351741326","filename":"file0"},{"photo_id":"1351741367","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351741326":["hashtag1","hashtag2"]},{"1351741385":["hashtag1","hashtag2"]},{"1351741370":["hashtag1","hashtag2"]},{"1351741364":["hashtag1","hashtag2"]},{"1351741367":["hashtag1","hashtag2"]},{"1351741355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351741326, 1351741385, 1351741370, 1351741364, 1351741367, 1351741355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49222660064697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:12:32.355237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_24_9342.jpg', '/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_35_10485.jpg', '/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_45_10371.jpg', '/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_55_9364.jpg', '/home/pi/Desktop/images/19042025/03/23/image_19042025_03_24_05_10349.jpg', '/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_14_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_24_9342.jpg
/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_35_10485.jpg
/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_45_10371.jpg
/home/pi/Desktop/images/19042025/03/23/image_19042025_03_23_55_9364.jpg
/home/pi/Desktop/images/19042025/03/23/image_19042025_03_24_05_10349.jpg
/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_14_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":["1351742063","1351741970","1351742009","1351742086","1351741900","1351742037"],"photo_ids_order":["1351741900","1351741970","1351742009","1351742037","1351742063","1351742086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d25330e65b526d5d3dfa189fb3e9163f.jpg","text":"TemporaryFile(/tmp/multipartBody8473743822399897670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039612904,"filename":"image_19042025_03_24_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/19/8e9c5d12d8ee3ff6fd591645533385b5.jpg","text":"TemporaryFile(/tmp/multipartBody603935720109965421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039612904,"filename":"image_19042025_03_23_35_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dd340be1a1af688344eb70fd81c94fb3.jpg","text":"TemporaryFile(/tmp/multipartBody2093520543084751151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039612904,"filename":"image_19042025_03_23_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08cc6d9a328dfffc1c26391ab76ac038.jpg","text":"TemporaryFile(/tmp/multipartBody852509639566932783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039612904,"filename":"image_19042025_03_24_14_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae8e9029d27682df9382b21912159907.jpg","text":"TemporaryFile(/tmp/multipartBody3672141616574050197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039612904,"filename":"image_19042025_03_23_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c26305d4233836c499bb725b4aaedd64.jpg","text":"TemporaryFile(/tmp/multipartBody5874523923426643635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039612904,"filename":"image_19042025_03_23_55_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351742009","file1":"1351741970","file0":"1351741900","file4":"1351742063","file5":"1351742086","file3":"1351742037"},"map_files_photo_id_array":[{"photo_id":"1351742086","filename":"file5"},{"photo_id":"1351742009","filename":"file2"},{"photo_id":"1351742063","filename":"file4"},{"photo_id":"1351741970","filename":"file1"},{"photo_id":"1351741900","filename":"file0"},{"photo_id":"1351742037","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351742063":["hashtag1","hashtag2"]},{"1351741970":["hashtag1","hashtag2"]},{"1351742009":["hashtag1","hashtag2"]},{"1351742086":["hashtag1","hashtag2"]},{"1351741900":["hashtag1","hashtag2"]},{"1351742037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351742063, 1351741970, 1351742009, 1351742086, 1351741900, 1351742037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7562837600708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:13:32.491088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_25_10362.jpg', '/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_35_10358.jpg', '/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_44_9362.jpg', '/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_55_10444.jpg', '/home/pi/Desktop/images/19042025/03/24/image_19042025_03_25_04_9486.jpg', '/home/pi/Desktop/images/19042025/03/25/image_19042025_03_25_15_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_25_10362.jpg
/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_35_10358.jpg
/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_44_9362.jpg
/home/pi/Desktop/images/19042025/03/24/image_19042025_03_24_55_10444.jpg
/home/pi/Desktop/images/19042025/03/24/image_19042025_03_25_04_9486.jpg
/home/pi/Desktop/images/19042025/03/25/image_19042025_03_25_15_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":["1351742351","1351742341","1351742350","1351742271","1351742203","1351742346"],"photo_ids_order":["1351742203","1351742271","1351742341","1351742346","1351742350","1351742351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95eee0e335c897c136cbf3e2452ea065.jpg","text":"TemporaryFile(/tmp/multipartBody7342888674864657664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039673047,"filename":"image_19042025_03_25_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/19/27e639ddef0ccb094bcb80af17ad796c.jpg","text":"TemporaryFile(/tmp/multipartBody7838407894007402556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039673047,"filename":"image_19042025_03_24_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/19/1a559d81fb59f4a2e0f6ed6822504893.jpg","text":"TemporaryFile(/tmp/multipartBody3481428162251716094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039673047,"filename":"image_19042025_03_25_04_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/19/601b5e25dcba67631af80702892e9f6d.jpg","text":"TemporaryFile(/tmp/multipartBody812340312705130429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039673047,"filename":"image_19042025_03_24_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb1961b4bf3155528a4de7dc89fdd6b7.jpg","text":"TemporaryFile(/tmp/multipartBody625356739201866732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039673047,"filename":"image_19042025_03_24_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f0b3a29bc193fdc95cdad875cb431a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4131843272875764808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039673047,"filename":"image_19042025_03_24_55_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351742341","file1":"1351742271","file0":"1351742203","file4":"1351742350","file5":"1351742351","file3":"1351742346"},"map_files_photo_id_array":[{"photo_id":"1351742351","filename":"file5"},{"photo_id":"1351742341","filename":"file2"},{"photo_id":"1351742350","filename":"file4"},{"photo_id":"1351742271","filename":"file1"},{"photo_id":"1351742203","filename":"file0"},{"photo_id":"1351742346","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351742351":["hashtag1","hashtag2"]},{"1351742341":["hashtag1","hashtag2"]},{"1351742350":["hashtag1","hashtag2"]},{"1351742271":["hashtag1","hashtag2"]},{"1351742203":["hashtag1","hashtag2"]},{"1351742346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351742351, 1351742341, 1351742350, 1351742271, 1351742203, 1351742346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17336106300354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:14:32.862603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/25/image_19042025_03_25_25_10426.jpg', '/home/pi/Desktop/images/19042025/03/25/image_19042025_03_25_34_9351.jpg', '/home/pi/Desktop/images/19042025/03/25/image_19042025_03_25_45_10446.jpg', '/home/pi/Desktop/images/19042025/03/25/image_19042025_03_26_05_9364.jpg', '/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_15_10352.jpg', '/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_24_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/25/image_19042025_03_25_25_10426.jpg
/home/pi/Desktop/images/19042025/03/25/image_19042025_03_25_34_9351.jpg
/home/pi/Desktop/images/19042025/03/25/image_19042025_03_25_45_10446.jpg
/home/pi/Desktop/images/19042025/03/25/image_19042025_03_26_05_9364.jpg
/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_15_10352.jpg
/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_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":["1351742504","1351742470","1351742496","1351742499","1351742490","1351742484"],"photo_ids_order":["1351742470","1351742484","1351742490","1351742496","1351742499","1351742504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/05b5aa3b2af946a7e579f8497b252cb7.jpg","text":"TemporaryFile(/tmp/multipartBody8594547984470335275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039733418,"filename":"image_19042025_03_26_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/19/7c26bab3510b8ab5f345079527647d2c.jpg","text":"TemporaryFile(/tmp/multipartBody3542604206611274206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039733418,"filename":"image_19042025_03_25_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f6e5fb07adb2527ff1eba894bc579051.jpg","text":"TemporaryFile(/tmp/multipartBody6274656442439094578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039733418,"filename":"image_19042025_03_26_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/19/7b195cc535d7e8c5e4a2f65674cf9c0c.jpg","text":"TemporaryFile(/tmp/multipartBody597580572433975516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039733418,"filename":"image_19042025_03_26_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/19/3ab4558c670c3b3e386b6172684d908e.jpg","text":"TemporaryFile(/tmp/multipartBody2724379595767047467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039733418,"filename":"image_19042025_03_25_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6eb1505a6d9b15262123967218efd259.jpg","text":"TemporaryFile(/tmp/multipartBody7165982710542453648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039733418,"filename":"image_19042025_03_25_34_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351742490","file1":"1351742484","file0":"1351742470","file4":"1351742499","file5":"1351742504","file3":"1351742496"},"map_files_photo_id_array":[{"photo_id":"1351742504","filename":"file5"},{"photo_id":"1351742490","filename":"file2"},{"photo_id":"1351742499","filename":"file4"},{"photo_id":"1351742484","filename":"file1"},{"photo_id":"1351742470","filename":"file0"},{"photo_id":"1351742496","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351742504":["hashtag1","hashtag2"]},{"1351742470":["hashtag1","hashtag2"]},{"1351742496":["hashtag1","hashtag2"]},{"1351742499":["hashtag1","hashtag2"]},{"1351742490":["hashtag1","hashtag2"]},{"1351742484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351742504, 1351742470, 1351742496, 1351742499, 1351742490, 1351742484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74200201034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:15:33.040349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_35_10374.jpg', '/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_45_10416.jpg', '/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_55_9471.jpg', '/home/pi/Desktop/images/19042025/03/26/image_19042025_03_27_05_10456.jpg', '/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_14_9353.jpg', '/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_25_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_35_10374.jpg
/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_45_10416.jpg
/home/pi/Desktop/images/19042025/03/26/image_19042025_03_26_55_9471.jpg
/home/pi/Desktop/images/19042025/03/26/image_19042025_03_27_05_10456.jpg
/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_14_9353.jpg
/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_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":["1351742561","1351742578","1351742574","1351742577","1351742571","1351742544"],"photo_ids_order":["1351742544","1351742561","1351742571","1351742574","1351742577","1351742578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95988e4620d553d50bcc0e1f0e88158d.jpg","text":"TemporaryFile(/tmp/multipartBody3924177637490751620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039793587,"filename":"image_19042025_03_26_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/440d0e4c6bbf203a82b208c0bf9c93be.jpg","text":"TemporaryFile(/tmp/multipartBody5659995322016653540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039793587,"filename":"image_19042025_03_27_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e176ee435f0c8965ee73518bda4b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody2735109492864653805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039793587,"filename":"image_19042025_03_27_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/19/f61feeda21ff8b875d680e3ef0f5e3fc.jpg","text":"TemporaryFile(/tmp/multipartBody8768675184165975010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039793587,"filename":"image_19042025_03_27_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/19/3b899853bf834715c1b97ae55f2b932e.jpg","text":"TemporaryFile(/tmp/multipartBody111662541689891555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039793587,"filename":"image_19042025_03_26_55_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/16b9af0fa67ee7b1253b3e6b8a342c05.jpg","text":"TemporaryFile(/tmp/multipartBody6911437408358301763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039793587,"filename":"image_19042025_03_26_35_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351742571","file1":"1351742561","file0":"1351742544","file4":"1351742577","file5":"1351742578","file3":"1351742574"},"map_files_photo_id_array":[{"photo_id":"1351742578","filename":"file5"},{"photo_id":"1351742571","filename":"file2"},{"photo_id":"1351742577","filename":"file4"},{"photo_id":"1351742561","filename":"file1"},{"photo_id":"1351742544","filename":"file0"},{"photo_id":"1351742574","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351742561":["hashtag1","hashtag2"]},{"1351742578":["hashtag1","hashtag2"]},{"1351742574":["hashtag1","hashtag2"]},{"1351742577":["hashtag1","hashtag2"]},{"1351742571":["hashtag1","hashtag2"]},{"1351742544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351742561, 1351742578, 1351742574, 1351742577, 1351742571, 1351742544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33384895324707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:16:32.277758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_35_10366.jpg', '/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_45_9360.jpg', '/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_55_10365.jpg', '/home/pi/Desktop/images/19042025/03/27/image_19042025_03_28_05_10362.jpg', '/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_15_9356.jpg', '/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_25_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_35_10366.jpg
/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_45_9360.jpg
/home/pi/Desktop/images/19042025/03/27/image_19042025_03_27_55_10365.jpg
/home/pi/Desktop/images/19042025/03/27/image_19042025_03_28_05_10362.jpg
/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_15_9356.jpg
/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_25_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351742864","1351742909","1351742992","1351742953","1351742784","1351743015"],"photo_ids_order":["1351742784","1351742864","1351742909","1351742953","1351742992","1351743015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a7613532743e5241d158062f7473d2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3830099127822633964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039852846,"filename":"image_19042025_03_27_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/19/83e2cb6abb7634a86fa5734bd249bb6b.jpg","text":"TemporaryFile(/tmp/multipartBody1577079132858262875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039852846,"filename":"image_19042025_03_27_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/19/0e588a929fd218514a8800e91b477c42.jpg","text":"TemporaryFile(/tmp/multipartBody5153988319335855494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039852846,"filename":"image_19042025_03_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/19/efd820a15643e84aca4e3a26b1efca5f.jpg","text":"TemporaryFile(/tmp/multipartBody7093790215545248906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039852846,"filename":"image_19042025_03_28_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/19/ff1d0581ba7ecafc58f1731b5519b167.jpg","text":"TemporaryFile(/tmp/multipartBody3850872360595676451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039852846,"filename":"image_19042025_03_27_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/19/a8e77d8e1858e722e5a14adda27ce797.jpg","text":"TemporaryFile(/tmp/multipartBody6484312179679610101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039852846,"filename":"image_19042025_03_28_25_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351742909","file1":"1351742864","file0":"1351742784","file4":"1351742992","file5":"1351743015","file3":"1351742953"},"map_files_photo_id_array":[{"photo_id":"1351743015","filename":"file5"},{"photo_id":"1351742909","filename":"file2"},{"photo_id":"1351742992","filename":"file4"},{"photo_id":"1351742864","filename":"file1"},{"photo_id":"1351742784","filename":"file0"},{"photo_id":"1351742953","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351742864":["hashtag1","hashtag2"]},{"1351742909":["hashtag1","hashtag2"]},{"1351742992":["hashtag1","hashtag2"]},{"1351742953":["hashtag1","hashtag2"]},{"1351742784":["hashtag1","hashtag2"]},{"1351743015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351742864, 1351742909, 1351742992, 1351742953, 1351742784, 1351743015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.369914293289185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:17:32.500401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_34_9352.jpg', '/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_45_10466.jpg', '/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_55_10365.jpg', '/home/pi/Desktop/images/19042025/03/28/image_19042025_03_29_05_9343.jpg', '/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_15_10428.jpg', '/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_24_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_34_9352.jpg
/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_45_10466.jpg
/home/pi/Desktop/images/19042025/03/28/image_19042025_03_28_55_10365.jpg
/home/pi/Desktop/images/19042025/03/28/image_19042025_03_29_05_9343.jpg
/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_15_10428.jpg
/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_24_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":["1351743166","1351743268","1351743181","1351743244","1351743264","1351743155"],"photo_ids_order":["1351743155","1351743166","1351743181","1351743244","1351743264","1351743268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19646fec40cf59de7f06ad269347d48d.jpg","text":"TemporaryFile(/tmp/multipartBody3330584502153974974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039913053,"filename":"image_19042025_03_28_45_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf7913bd3c0a9a9129fd2e836c862263.jpg","text":"TemporaryFile(/tmp/multipartBody2467187309680111928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039913053,"filename":"image_19042025_03_29_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/19/f0b568a0a3fb35b447edb4c289472889.jpg","text":"TemporaryFile(/tmp/multipartBody2343926309015727491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039913053,"filename":"image_19042025_03_28_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/439231e47d6447d614cbd673d95d6c74.jpg","text":"TemporaryFile(/tmp/multipartBody4535859953171272058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039913053,"filename":"image_19042025_03_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/19/2b10bb8e7ef1a8e43f6ebfd6186064db.jpg","text":"TemporaryFile(/tmp/multipartBody5269590685194351334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039913053,"filename":"image_19042025_03_29_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/19/aa18b9436b6af316b9969e2bc0d78a36.jpg","text":"TemporaryFile(/tmp/multipartBody3184295319233313466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039913053,"filename":"image_19042025_03_28_34_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351743181","file1":"1351743166","file0":"1351743155","file4":"1351743264","file5":"1351743268","file3":"1351743244"},"map_files_photo_id_array":[{"photo_id":"1351743268","filename":"file5"},{"photo_id":"1351743181","filename":"file2"},{"photo_id":"1351743264","filename":"file4"},{"photo_id":"1351743166","filename":"file1"},{"photo_id":"1351743155","filename":"file0"},{"photo_id":"1351743244","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351743166":["hashtag1","hashtag2"]},{"1351743268":["hashtag1","hashtag2"]},{"1351743181":["hashtag1","hashtag2"]},{"1351743244":["hashtag1","hashtag2"]},{"1351743264":["hashtag1","hashtag2"]},{"1351743155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351743166, 1351743268, 1351743181, 1351743244, 1351743264, 1351743155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.406067848205566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:18:34.835003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_35_10451.jpg', '/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_45_10362.jpg', '/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_55_9364.jpg', '/home/pi/Desktop/images/19042025/03/29/image_19042025_03_30_05_10365.jpg', '/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_14_9386.jpg', '/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_25_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_35_10451.jpg
/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_45_10362.jpg
/home/pi/Desktop/images/19042025/03/29/image_19042025_03_29_55_9364.jpg
/home/pi/Desktop/images/19042025/03/29/image_19042025_03_30_05_10365.jpg
/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_14_9386.jpg
/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_25_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351743490","1351743520","1351743492","1351743516","1351743494","1351743488"],"photo_ids_order":["1351743488","1351743490","1351743492","1351743494","1351743516","1351743520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/724c767ad36f200ef8639dc0b05324ff.jpg","text":"TemporaryFile(/tmp/multipartBody3738020388640561952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039975366,"filename":"image_19042025_03_29_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/19/6594b121a3bfcd5c77317d48050aa369.jpg","text":"TemporaryFile(/tmp/multipartBody3335186457205590031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039975366,"filename":"image_19042025_03_30_25_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f1aeb8d809c179ee5072c1dd6d136e0b.jpg","text":"TemporaryFile(/tmp/multipartBody634301427615577860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039975366,"filename":"image_19042025_03_29_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/19/ebc4e2b1f0fc8a5f35e81d3102d2dddc.jpg","text":"TemporaryFile(/tmp/multipartBody1637674657558922670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039975366,"filename":"image_19042025_03_30_14_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/19/7d5f68e4c6eeb4339e8ace20a56ba680.jpg","text":"TemporaryFile(/tmp/multipartBody5957795118686247498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039975366,"filename":"image_19042025_03_30_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/63f59b31046c8c7da2aa9b555fbdc7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7580545956004551823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745039975366,"filename":"image_19042025_03_29_35_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351743492","file1":"1351743490","file0":"1351743488","file4":"1351743516","file5":"1351743520","file3":"1351743494"},"map_files_photo_id_array":[{"photo_id":"1351743520","filename":"file5"},{"photo_id":"1351743492","filename":"file2"},{"photo_id":"1351743516","filename":"file4"},{"photo_id":"1351743490","filename":"file1"},{"photo_id":"1351743488","filename":"file0"},{"photo_id":"1351743494","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351743490":["hashtag1","hashtag2"]},{"1351743520":["hashtag1","hashtag2"]},{"1351743492":["hashtag1","hashtag2"]},{"1351743516":["hashtag1","hashtag2"]},{"1351743494":["hashtag1","hashtag2"]},{"1351743488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351743490, 1351743520, 1351743492, 1351743516, 1351743494, 1351743488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78992056846619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:19:32.946779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_35_10370.jpg', '/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_45_9363.jpg', '/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_55_10370.jpg', '/home/pi/Desktop/images/19042025/03/30/image_19042025_03_31_05_10353.jpg', '/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_15_9359.jpg', '/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_35_10370.jpg
/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_45_9363.jpg
/home/pi/Desktop/images/19042025/03/30/image_19042025_03_30_55_10370.jpg
/home/pi/Desktop/images/19042025/03/30/image_19042025_03_31_05_10353.jpg
/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_15_9359.jpg
/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_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":["1351743617","1351743532","1351743591","1351743549","1351743534","1351743642"],"photo_ids_order":["1351743532","1351743534","1351743549","1351743591","1351743617","1351743642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a49e2045e132a00d9e37edb292a1b83c.jpg","text":"TemporaryFile(/tmp/multipartBody8108414120679608008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040033521,"filename":"image_19042025_03_31_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/19/813660a549c81d07cbb3069382278271.jpg","text":"TemporaryFile(/tmp/multipartBody2305053211074975305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040033521,"filename":"image_19042025_03_30_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/19/9c3e29b0d9e73c67d15ab63248313b53.jpg","text":"TemporaryFile(/tmp/multipartBody6807979021383495837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040033521,"filename":"image_19042025_03_31_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e10da155b1fae373e8bf1894f0f7d167.jpg","text":"TemporaryFile(/tmp/multipartBody243359725506121896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040033521,"filename":"image_19042025_03_30_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/19/f1f1b32edf5f5af1cb636e972ec301b9.jpg","text":"TemporaryFile(/tmp/multipartBody6993913161255779084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040033521,"filename":"image_19042025_03_30_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/19/ec65fbbaad29354214011407f81a7763.jpg","text":"TemporaryFile(/tmp/multipartBody7390969262081112379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040033521,"filename":"image_19042025_03_31_25_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351743549","file1":"1351743534","file0":"1351743532","file4":"1351743617","file5":"1351743642","file3":"1351743591"},"map_files_photo_id_array":[{"photo_id":"1351743642","filename":"file5"},{"photo_id":"1351743549","filename":"file2"},{"photo_id":"1351743617","filename":"file4"},{"photo_id":"1351743534","filename":"file1"},{"photo_id":"1351743532","filename":"file0"},{"photo_id":"1351743591","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351743617":["hashtag1","hashtag2"]},{"1351743532":["hashtag1","hashtag2"]},{"1351743591":["hashtag1","hashtag2"]},{"1351743549":["hashtag1","hashtag2"]},{"1351743534":["hashtag1","hashtag2"]},{"1351743642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351743617, 1351743532, 1351743591, 1351743549, 1351743534, 1351743642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.814409971237183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:20:32.251106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_34_9358.jpg', '/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_45_10346.jpg', '/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_55_10428.jpg', '/home/pi/Desktop/images/19042025/03/31/image_19042025_03_32_04_9348.jpg', '/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_15_10397.jpg', '/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_34_9358.jpg
/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_45_10346.jpg
/home/pi/Desktop/images/19042025/03/31/image_19042025_03_31_55_10428.jpg
/home/pi/Desktop/images/19042025/03/31/image_19042025_03_32_04_9348.jpg
/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_15_10397.jpg
/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_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":["1351743701","1351743721","1351743696","1351743715","1351743723","1351743698"],"photo_ids_order":["1351743696","1351743698","1351743701","1351743715","1351743721","1351743723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b107c47113084249c98739b10bcc256.jpg","text":"TemporaryFile(/tmp/multipartBody5226015557949368475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040092799,"filename":"image_19042025_03_31_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/19/7fd45ae2b66bd4687b2ddbc7fb7c4be4.jpg","text":"TemporaryFile(/tmp/multipartBody7661898696953084118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040092799,"filename":"image_19042025_03_32_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/19/2829075fdad038188f9a5a42ac4ff5a9.jpg","text":"TemporaryFile(/tmp/multipartBody1215866986106179476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040092799,"filename":"image_19042025_03_31_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/19/2b3eab7b6df8682a6277b33f88e0aed1.jpg","text":"TemporaryFile(/tmp/multipartBody4148461368928454836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040092799,"filename":"image_19042025_03_32_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/19/6f01eafef43f17dedbe5fa3e7b1a1876.jpg","text":"TemporaryFile(/tmp/multipartBody3860852797308453354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040092799,"filename":"image_19042025_03_32_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a09412e9a129201b75cff601ada478e5.jpg","text":"TemporaryFile(/tmp/multipartBody2516422684797453662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040092799,"filename":"image_19042025_03_31_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351743701","file1":"1351743698","file0":"1351743696","file4":"1351743721","file5":"1351743723","file3":"1351743715"},"map_files_photo_id_array":[{"photo_id":"1351743723","filename":"file5"},{"photo_id":"1351743701","filename":"file2"},{"photo_id":"1351743721","filename":"file4"},{"photo_id":"1351743698","filename":"file1"},{"photo_id":"1351743696","filename":"file0"},{"photo_id":"1351743715","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351743701":["hashtag1","hashtag2"]},{"1351743721":["hashtag1","hashtag2"]},{"1351743696":["hashtag1","hashtag2"]},{"1351743715":["hashtag1","hashtag2"]},{"1351743723":["hashtag1","hashtag2"]},{"1351743698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351743701, 1351743721, 1351743696, 1351743715, 1351743723, 1351743698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.642090559005737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:21:32.495095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_35_9344.jpg', '/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_45_10362.jpg', '/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_54_9346.jpg', '/home/pi/Desktop/images/19042025/03/32/image_19042025_03_33_05_10395.jpg', '/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_15_10374.jpg', '/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_24_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_35_9344.jpg
/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_45_10362.jpg
/home/pi/Desktop/images/19042025/03/32/image_19042025_03_32_54_9346.jpg
/home/pi/Desktop/images/19042025/03/32/image_19042025_03_33_05_10395.jpg
/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_15_10374.jpg
/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_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":["1351743812","1351743809","1351743820","1351743817","1351743814","1351743822"],"photo_ids_order":["1351743809","1351743812","1351743814","1351743817","1351743820","1351743822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c2029326dd297efd3a6d01a968d23f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1715939823659372402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040153048,"filename":"image_19042025_03_32_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/19/72ffaffea55207fdc6f61abd1eddbd42.jpg","text":"TemporaryFile(/tmp/multipartBody2950706536085304845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040153048,"filename":"image_19042025_03_32_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/19/641abd3714edd24f1b5924b0cd312d36.jpg","text":"TemporaryFile(/tmp/multipartBody1849666914179651011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040153048,"filename":"image_19042025_03_33_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/19/4a14df7b910267bd4cd342ae494833af.jpg","text":"TemporaryFile(/tmp/multipartBody6737801884863388102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040153048,"filename":"image_19042025_03_33_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/beaad7d31efe66c907278318cfb7119a.jpg","text":"TemporaryFile(/tmp/multipartBody5868893392381699401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040153048,"filename":"image_19042025_03_32_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/19/cf3423d755c03b415e8d339c020fae31.jpg","text":"TemporaryFile(/tmp/multipartBody3642817699101074725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040153048,"filename":"image_19042025_03_33_24_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351743814","file1":"1351743812","file0":"1351743809","file4":"1351743820","file5":"1351743822","file3":"1351743817"},"map_files_photo_id_array":[{"photo_id":"1351743822","filename":"file5"},{"photo_id":"1351743814","filename":"file2"},{"photo_id":"1351743820","filename":"file4"},{"photo_id":"1351743812","filename":"file1"},{"photo_id":"1351743809","filename":"file0"},{"photo_id":"1351743817","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351743812":["hashtag1","hashtag2"]},{"1351743809":["hashtag1","hashtag2"]},{"1351743820":["hashtag1","hashtag2"]},{"1351743817":["hashtag1","hashtag2"]},{"1351743814":["hashtag1","hashtag2"]},{"1351743822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351743812, 1351743809, 1351743820, 1351743817, 1351743814, 1351743822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.79167103767395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:22:32.603483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_35_10403.jpg', '/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_45_10366.jpg', '/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_55_9354.jpg', '/home/pi/Desktop/images/19042025/03/33/image_19042025_03_34_05_10371.jpg', '/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_14_9398.jpg', '/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_25_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_35_10403.jpg
/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_45_10366.jpg
/home/pi/Desktop/images/19042025/03/33/image_19042025_03_33_55_9354.jpg
/home/pi/Desktop/images/19042025/03/33/image_19042025_03_34_05_10371.jpg
/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_14_9398.jpg
/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_25_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351744279","1351744267","1351744327","1351744335","1351744332","1351744295"],"photo_ids_order":["1351744267","1351744279","1351744295","1351744327","1351744332","1351744335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/593a4bc31a760bc20e0442b87eef88ac.jpg","text":"TemporaryFile(/tmp/multipartBody4059609469042517910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040213170,"filename":"image_19042025_03_33_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/19/81c2f8ada7cfcaa69b1486bc69bb4a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7801233024581420369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040213170,"filename":"image_19042025_03_33_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/88e1f66f34779d2bc9f64b6cd157a952.jpg","text":"TemporaryFile(/tmp/multipartBody448512624842275390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040213170,"filename":"image_19042025_03_34_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/19/13df6f74fc088c8cb8998f3f52508412.jpg","text":"TemporaryFile(/tmp/multipartBody8441206900254048481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040213170,"filename":"image_19042025_03_34_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/19/74d645f3d7107607de920b31839160e4.jpg","text":"TemporaryFile(/tmp/multipartBody4807822935448089605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040213170,"filename":"image_19042025_03_34_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/19/ede8347c36a7454b33770e35c9b77964.jpg","text":"TemporaryFile(/tmp/multipartBody1271455012591902498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040213170,"filename":"image_19042025_03_33_55_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351744295","file1":"1351744279","file0":"1351744267","file4":"1351744332","file5":"1351744335","file3":"1351744327"},"map_files_photo_id_array":[{"photo_id":"1351744335","filename":"file5"},{"photo_id":"1351744295","filename":"file2"},{"photo_id":"1351744332","filename":"file4"},{"photo_id":"1351744279","filename":"file1"},{"photo_id":"1351744267","filename":"file0"},{"photo_id":"1351744327","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351744279":["hashtag1","hashtag2"]},{"1351744267":["hashtag1","hashtag2"]},{"1351744327":["hashtag1","hashtag2"]},{"1351744335":["hashtag1","hashtag2"]},{"1351744332":["hashtag1","hashtag2"]},{"1351744295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351744279, 1351744267, 1351744327, 1351744335, 1351744332, 1351744295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.69803547859192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:23:32.848375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_35_10363.jpg', '/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_44_9435.jpg', '/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_55_10487.jpg', '/home/pi/Desktop/images/19042025/03/34/image_19042025_03_35_04_9343.jpg', '/home/pi/Desktop/images/19042025/03/35/image_19042025_03_35_15_10352.jpg', '/home/pi/Desktop/images/19042025/03/35/image_19042025_03_35_25_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_35_10363.jpg
/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_44_9435.jpg
/home/pi/Desktop/images/19042025/03/34/image_19042025_03_34_55_10487.jpg
/home/pi/Desktop/images/19042025/03/34/image_19042025_03_35_04_9343.jpg
/home/pi/Desktop/images/19042025/03/35/image_19042025_03_35_15_10352.jpg
/home/pi/Desktop/images/19042025/03/35/image_19042025_03_35_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":["1351744381","1351744375","1351744378","1351744371","1351744365","1351744368"],"photo_ids_order":["1351744365","1351744368","1351744371","1351744375","1351744378","1351744381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e5368d2854b1623ca9c832fdf9c7345.jpg","text":"TemporaryFile(/tmp/multipartBody7854067067602298381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040273402,"filename":"image_19042025_03_35_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/19/7b99a1f3c039f9f8aa9ac08c639c1543.jpg","text":"TemporaryFile(/tmp/multipartBody726612893271502714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040273402,"filename":"image_19042025_03_35_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/19/d8c91da181b71e83f9c3e07aea4e160e.jpg","text":"TemporaryFile(/tmp/multipartBody6235760077104214422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040273402,"filename":"image_19042025_03_35_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7466c39678962083809cd396c5cf1e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7235561697862654297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040273402,"filename":"image_19042025_03_34_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/19/0a82bcb2c2d0a208b8e45945de545688.jpg","text":"TemporaryFile(/tmp/multipartBody3157441769194498652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040273402,"filename":"image_19042025_03_34_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/19/8116e79c29f49bdd47de0a8a2bad6e8c.jpg","text":"TemporaryFile(/tmp/multipartBody965362214188905505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040273402,"filename":"image_19042025_03_34_44_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351744371","file1":"1351744368","file0":"1351744365","file4":"1351744378","file5":"1351744381","file3":"1351744375"},"map_files_photo_id_array":[{"photo_id":"1351744381","filename":"file5"},{"photo_id":"1351744371","filename":"file2"},{"photo_id":"1351744378","filename":"file4"},{"photo_id":"1351744368","filename":"file1"},{"photo_id":"1351744365","filename":"file0"},{"photo_id":"1351744375","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351744381":["hashtag1","hashtag2"]},{"1351744375":["hashtag1","hashtag2"]},{"1351744378":["hashtag1","hashtag2"]},{"1351744371":["hashtag1","hashtag2"]},{"1351744365":["hashtag1","hashtag2"]},{"1351744368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351744381, 1351744375, 1351744378, 1351744371, 1351744365, 1351744368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.192078590393066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:24:33.069841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/35/image_19042025_03_35_45_10431.jpg', '/home/pi/Desktop/images/19042025/03/35/image_19042025_03_35_54_9419.jpg', '/home/pi/Desktop/images/19042025/03/35/image_19042025_03_36_05_10349.jpg', '/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_15_10412.jpg', '/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_24_9330.jpg', '/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_35_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/35/image_19042025_03_35_45_10431.jpg
/home/pi/Desktop/images/19042025/03/35/image_19042025_03_35_54_9419.jpg
/home/pi/Desktop/images/19042025/03/35/image_19042025_03_36_05_10349.jpg
/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_15_10412.jpg
/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_24_9330.jpg
/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_35_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351744627","1351744630","1351744638","1351744653","1351744610","1351744634"],"photo_ids_order":["1351744610","1351744627","1351744630","1351744634","1351744638","1351744653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ca9573e336b0714b0cb687403d0c9b0.jpg","text":"TemporaryFile(/tmp/multipartBody364166493543451384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040333624,"filename":"image_19042025_03_35_54_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/788857a90bb426c97f6ba3ebd10766e3.jpg","text":"TemporaryFile(/tmp/multipartBody4989084795962151127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040333624,"filename":"image_19042025_03_36_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/19/6a520efdb99868dab8e0ef0e7986ae5a.jpg","text":"TemporaryFile(/tmp/multipartBody3457215506311803246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040333624,"filename":"image_19042025_03_36_24_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/18654c13027ffbf96efed56a3932768f.jpg","text":"TemporaryFile(/tmp/multipartBody2821773181936583385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040333624,"filename":"image_19042025_03_36_35_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87c05ecc8fbb1483bd8d3f046f240bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5743942044562746339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040333624,"filename":"image_19042025_03_35_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/19/9fdc038158b9cc58aecfce5890a6b264.jpg","text":"TemporaryFile(/tmp/multipartBody8413406965983856783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040333624,"filename":"image_19042025_03_36_15_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351744630","file1":"1351744627","file0":"1351744610","file4":"1351744638","file5":"1351744653","file3":"1351744634"},"map_files_photo_id_array":[{"photo_id":"1351744653","filename":"file5"},{"photo_id":"1351744630","filename":"file2"},{"photo_id":"1351744638","filename":"file4"},{"photo_id":"1351744627","filename":"file1"},{"photo_id":"1351744610","filename":"file0"},{"photo_id":"1351744634","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351744627":["hashtag1","hashtag2"]},{"1351744630":["hashtag1","hashtag2"]},{"1351744638":["hashtag1","hashtag2"]},{"1351744653":["hashtag1","hashtag2"]},{"1351744610":["hashtag1","hashtag2"]},{"1351744634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351744627, 1351744630, 1351744638, 1351744653, 1351744610, 1351744634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91615867614746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:25:32.191337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_45_10372.jpg', '/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_55_9346.jpg', '/home/pi/Desktop/images/19042025/03/36/image_19042025_03_37_05_10415.jpg', '/home/pi/Desktop/images/19042025/03/37/image_19042025_03_37_14_9350.jpg', '/home/pi/Desktop/images/19042025/03/37/image_19042025_03_37_25_10408.jpg', '/home/pi/Desktop/images/19042025/03/37/image_19042025_03_37_35_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_45_10372.jpg
/home/pi/Desktop/images/19042025/03/36/image_19042025_03_36_55_9346.jpg
/home/pi/Desktop/images/19042025/03/36/image_19042025_03_37_05_10415.jpg
/home/pi/Desktop/images/19042025/03/37/image_19042025_03_37_14_9350.jpg
/home/pi/Desktop/images/19042025/03/37/image_19042025_03_37_25_10408.jpg
/home/pi/Desktop/images/19042025/03/37/image_19042025_03_37_35_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351745280","1351745097","1351745034","1351745229","1351745007","1351745165"],"photo_ids_order":["1351745007","1351745034","1351745097","1351745165","1351745229","1351745280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f33e3c67e75b183235b3ebb5a5ae0af7.jpg","text":"TemporaryFile(/tmp/multipartBody217948723903941704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040392748,"filename":"image_19042025_03_37_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/19/0482787b9d4f58d345e5a3e40c4e6e4d.jpg","text":"TemporaryFile(/tmp/multipartBody1257031962462983773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040392748,"filename":"image_19042025_03_37_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48a17bd427bc16c700aeeb0643db0da3.jpg","text":"TemporaryFile(/tmp/multipartBody8318744719036612307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040392748,"filename":"image_19042025_03_36_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/19/58233d1f70e4a65ca56357f09c0652a9.jpg","text":"TemporaryFile(/tmp/multipartBody3349550045002592581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040392748,"filename":"image_19042025_03_37_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/19/1eda7371b4cf9ca7e3e8125b9acd19e6.jpg","text":"TemporaryFile(/tmp/multipartBody5391453082278134294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040392748,"filename":"image_19042025_03_36_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/19/fe34a5aebfe00dad8d185e75f4ce8f74.jpg","text":"TemporaryFile(/tmp/multipartBody4527020583478446013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040392748,"filename":"image_19042025_03_37_14_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351745097","file1":"1351745034","file0":"1351745007","file4":"1351745229","file5":"1351745280","file3":"1351745165"},"map_files_photo_id_array":[{"photo_id":"1351745280","filename":"file5"},{"photo_id":"1351745097","filename":"file2"},{"photo_id":"1351745229","filename":"file4"},{"photo_id":"1351745034","filename":"file1"},{"photo_id":"1351745007","filename":"file0"},{"photo_id":"1351745165","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351745280":["hashtag1","hashtag2"]},{"1351745097":["hashtag1","hashtag2"]},{"1351745034":["hashtag1","hashtag2"]},{"1351745229":["hashtag1","hashtag2"]},{"1351745007":["hashtag1","hashtag2"]},{"1351745165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351745280, 1351745097, 1351745034, 1351745229, 1351745007, 1351745165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54522705078125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:26:32.429974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/37/image_19042025_03_38_04_9332.jpg', '/home/pi/Desktop/images/19042025/03/38/image_19042025_03_38_15_10479.jpg', '/home/pi/Desktop/images/19042025/03/38/image_19042025_03_38_25_10425.jpg', '/home/pi/Desktop/images/19042025/03/38/image_19042025_03_38_35_9443.jpg', '/home/pi/Desktop/images/19042025/03/38/image_19042025_03_38_45_10463.jpg', '/home/pi/Desktop/images/19042025/03/38/image_19042025_03_39_05_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/37/image_19042025_03_38_04_9332.jpg
/home/pi/Desktop/images/19042025/03/38/image_19042025_03_38_15_10479.jpg
/home/pi/Desktop/images/19042025/03/38/image_19042025_03_38_25_10425.jpg
/home/pi/Desktop/images/19042025/03/38/image_19042025_03_38_35_9443.jpg
/home/pi/Desktop/images/19042025/03/38/image_19042025_03_38_45_10463.jpg
/home/pi/Desktop/images/19042025/03/38/image_19042025_03_39_05_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":["1351745898","1351745928","1351745699","1351745873","1351745846","1351745726"],"photo_ids_order":["1351745699","1351745726","1351745846","1351745873","1351745898","1351745928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/828ff8b3179821e4537cab3abf65a11c.jpg","text":"TemporaryFile(/tmp/multipartBody9129990581324381005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040452994,"filename":"image_19042025_03_38_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/19/24a392a4287eb9e4d663dbfa7d90cc09.jpg","text":"TemporaryFile(/tmp/multipartBody144346400414040661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040452994,"filename":"image_19042025_03_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/19/9324c93d356de2125eed38db91221d29.jpg","text":"TemporaryFile(/tmp/multipartBody3191148684286067361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040452994,"filename":"image_19042025_03_38_04_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/530d31a4a7b70709c667cd5dd63d1741.jpg","text":"TemporaryFile(/tmp/multipartBody8546916296894666003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040452994,"filename":"image_19042025_03_38_35_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87eaafd36150bc6e36c3adb61a357984.jpg","text":"TemporaryFile(/tmp/multipartBody4148084321911621743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040452994,"filename":"image_19042025_03_38_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64289dc8e7c20b98a719f2760c7dedbd.jpg","text":"TemporaryFile(/tmp/multipartBody1218214873183294184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040452994,"filename":"image_19042025_03_38_15_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351745846","file1":"1351745726","file0":"1351745699","file4":"1351745898","file5":"1351745928","file3":"1351745873"},"map_files_photo_id_array":[{"photo_id":"1351745928","filename":"file5"},{"photo_id":"1351745846","filename":"file2"},{"photo_id":"1351745898","filename":"file4"},{"photo_id":"1351745726","filename":"file1"},{"photo_id":"1351745699","filename":"file0"},{"photo_id":"1351745873","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351745898":["hashtag1","hashtag2"]},{"1351745928":["hashtag1","hashtag2"]},{"1351745699":["hashtag1","hashtag2"]},{"1351745873":["hashtag1","hashtag2"]},{"1351745846":["hashtag1","hashtag2"]},{"1351745726":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351745898, 1351745928, 1351745699, 1351745873, 1351745846, 1351745726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82514500617981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:27:32.699575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_15_10374.jpg', '/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_25_9341.jpg', '/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_35_10443.jpg', '/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_45_9470.jpg', '/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_55_10342.jpg', '/home/pi/Desktop/images/19042025/03/39/image_19042025_03_40_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_15_10374.jpg
/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_25_9341.jpg
/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_35_10443.jpg
/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_45_9470.jpg
/home/pi/Desktop/images/19042025/03/39/image_19042025_03_39_55_10342.jpg
/home/pi/Desktop/images/19042025/03/39/image_19042025_03_40_05_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351746051","1351746021","1351746018","1351746029","1351746022","1351746025"],"photo_ids_order":["1351746018","1351746021","1351746022","1351746025","1351746029","1351746051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a592b45c58fae2143dbe72665308184e.jpg","text":"TemporaryFile(/tmp/multipartBody8445642417619418785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040513252,"filename":"image_19042025_03_40_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/600b8918df74e6ac78568f3a898d71a8.jpg","text":"TemporaryFile(/tmp/multipartBody6381585192909171469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040513252,"filename":"image_19042025_03_39_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ed2f16b1acf56aa40bfda57375cba629.jpg","text":"TemporaryFile(/tmp/multipartBody8953975420267296742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040513252,"filename":"image_19042025_03_39_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/19/7e2f91fd25b3c30030f39751fa814916.jpg","text":"TemporaryFile(/tmp/multipartBody1392942033727610994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040513252,"filename":"image_19042025_03_39_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/19/305c303d1af21a4bc7342ec4dbb0e93d.jpg","text":"TemporaryFile(/tmp/multipartBody8371051251771284007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040513252,"filename":"image_19042025_03_39_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/19/e6518ab9cf716fad90a0d92d65318365.jpg","text":"TemporaryFile(/tmp/multipartBody6712366168596291407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040513252,"filename":"image_19042025_03_39_45_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351746022","file1":"1351746021","file0":"1351746018","file4":"1351746029","file5":"1351746051","file3":"1351746025"},"map_files_photo_id_array":[{"photo_id":"1351746051","filename":"file5"},{"photo_id":"1351746022","filename":"file2"},{"photo_id":"1351746029","filename":"file4"},{"photo_id":"1351746021","filename":"file1"},{"photo_id":"1351746018","filename":"file0"},{"photo_id":"1351746025","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351746051":["hashtag1","hashtag2"]},{"1351746021":["hashtag1","hashtag2"]},{"1351746018":["hashtag1","hashtag2"]},{"1351746029":["hashtag1","hashtag2"]},{"1351746022":["hashtag1","hashtag2"]},{"1351746025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351746051, 1351746021, 1351746018, 1351746029, 1351746022, 1351746025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.24819326400757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:28:32.878582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_15_9380.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_25_10375.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_34_9348.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_45_10479.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_55_10379.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_41_05_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_15_9380.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_25_10375.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_34_9348.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_45_10479.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_55_10379.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_41_05_9405.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5359859466552734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 07:28:42.912810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_15_9380.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_25_10375.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_34_9348.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_45_10479.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_55_10379.jpg', '/home/pi/Desktop/images/19042025/03/40/image_19042025_03_41_05_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_15_9380.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_25_10375.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_34_9348.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_45_10479.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_40_55_10379.jpg
/home/pi/Desktop/images/19042025/03/40/image_19042025_03_41_05_9405.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":["1351746377","1351746431","1351746560","1351746362","1351746326","1351746403"],"photo_ids_order":["1351746326","1351746362","1351746377","1351746403","1351746431","1351746560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7948a4144bceef0f0434a8f147e4a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody7216828498653550419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040583397,"filename":"image_19042025_03_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/19/86a840b6a19bce888206400e2acd6cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7748086955296448583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040583397,"filename":"image_19042025_03_40_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/19/18f543d9e570ed5b8c65dfa5ae286561.jpg","text":"TemporaryFile(/tmp/multipartBody8340215904741144447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040583397,"filename":"image_19042025_03_41_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3497c6e671192fe4cb75a0bc30236496.jpg","text":"TemporaryFile(/tmp/multipartBody3885667288233460776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040583397,"filename":"image_19042025_03_40_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/19/72fdd321b4f6595158e241f573442566.jpg","text":"TemporaryFile(/tmp/multipartBody2055857934162260272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040583397,"filename":"image_19042025_03_40_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/92423e1860dc4976334775b4b27e7240.jpg","text":"TemporaryFile(/tmp/multipartBody626015909306954338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040583397,"filename":"image_19042025_03_40_45_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351746377","file1":"1351746362","file0":"1351746326","file4":"1351746431","file5":"1351746560","file3":"1351746403"},"map_files_photo_id_array":[{"photo_id":"1351746560","filename":"file5"},{"photo_id":"1351746377","filename":"file2"},{"photo_id":"1351746431","filename":"file4"},{"photo_id":"1351746362","filename":"file1"},{"photo_id":"1351746326","filename":"file0"},{"photo_id":"1351746403","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351746377":["hashtag1","hashtag2"]},{"1351746431":["hashtag1","hashtag2"]},{"1351746560":["hashtag1","hashtag2"]},{"1351746362":["hashtag1","hashtag2"]},{"1351746326":["hashtag1","hashtag2"]},{"1351746403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351746377, 1351746431, 1351746560, 1351746362, 1351746326, 1351746403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.98802661895752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:29:53.260325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_15_10463.jpg', '/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_25_9465.jpg', '/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_35_10376.jpg', '/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_45_10346.jpg', '/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_55_9357.jpg', '/home/pi/Desktop/images/19042025/03/41/image_19042025_03_42_05_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_15_10463.jpg
/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_25_9465.jpg
/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_35_10376.jpg
/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_45_10346.jpg
/home/pi/Desktop/images/19042025/03/41/image_19042025_03_41_55_9357.jpg
/home/pi/Desktop/images/19042025/03/41/image_19042025_03_42_05_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351746774","1351746746","1351746719","1351746790","1351746757","1351746762"],"photo_ids_order":["1351746719","1351746746","1351746757","1351746762","1351746774","1351746790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae4c43a835462913eece0bb34774a0e4.jpg","text":"TemporaryFile(/tmp/multipartBody1865022027326850955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040653836,"filename":"image_19042025_03_41_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/19/97fc9f4c099bbb7a44b799754418d36b.jpg","text":"TemporaryFile(/tmp/multipartBody5259748423431430644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040653836,"filename":"image_19042025_03_41_25_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd580393f5929714bdd929faf4ed5bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5636880237141761118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040653836,"filename":"image_19042025_03_41_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/19/361fb917496ccea875193a7d790cfb50.jpg","text":"TemporaryFile(/tmp/multipartBody1424708993974915212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040653836,"filename":"image_19042025_03_42_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98dd507c7d1619f621e89d6aa3945044.jpg","text":"TemporaryFile(/tmp/multipartBody4382426035364332839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040653836,"filename":"image_19042025_03_41_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/19/db1731b51bde8822c06123f15fe19d16.jpg","text":"TemporaryFile(/tmp/multipartBody3561981336567175680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040653836,"filename":"image_19042025_03_41_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351746757","file1":"1351746746","file0":"1351746719","file4":"1351746774","file5":"1351746790","file3":"1351746762"},"map_files_photo_id_array":[{"photo_id":"1351746790","filename":"file5"},{"photo_id":"1351746757","filename":"file2"},{"photo_id":"1351746774","filename":"file4"},{"photo_id":"1351746746","filename":"file1"},{"photo_id":"1351746719","filename":"file0"},{"photo_id":"1351746762","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351746774":["hashtag1","hashtag2"]},{"1351746746":["hashtag1","hashtag2"]},{"1351746719":["hashtag1","hashtag2"]},{"1351746790":["hashtag1","hashtag2"]},{"1351746757":["hashtag1","hashtag2"]},{"1351746762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351746774, 1351746746, 1351746719, 1351746790, 1351746757, 1351746762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.49918508529663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 07:30:42.379623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_14_9364.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_25_10461.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_35_10390.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_45_9354.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_55_10338.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_43_04_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_14_9364.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_25_10461.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_35_10390.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_45_9354.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_55_10338.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_43_04_9350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45687294006347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:30:52.420280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_14_9364.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_25_10461.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_35_10390.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_45_9354.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_55_10338.jpg', '/home/pi/Desktop/images/19042025/03/42/image_19042025_03_43_04_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_14_9364.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_25_10461.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_35_10390.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_45_9354.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_42_55_10338.jpg
/home/pi/Desktop/images/19042025/03/42/image_19042025_03_43_04_9350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351746852","1351746846","1351746855","1351746849","1351746836","1351746908"],"photo_ids_order":["1351746836","1351746846","1351746849","1351746852","1351746855","1351746908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/43c2e468e66f14c91cbe162fb072c789.jpg","text":"TemporaryFile(/tmp/multipartBody919242801957834816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040712906,"filename":"image_19042025_03_42_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/19/f532269f89b47f8dd263f96b3b96d016.jpg","text":"TemporaryFile(/tmp/multipartBody1684374336367240392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040712906,"filename":"image_19042025_03_42_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/19/aab601b81964a1aad4f6e56e78448b2b.jpg","text":"TemporaryFile(/tmp/multipartBody6534501986426609551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040712906,"filename":"image_19042025_03_42_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/82f77f9dd31bc58c77304520b90c3d04.jpg","text":"TemporaryFile(/tmp/multipartBody3288602344715927233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040712906,"filename":"image_19042025_03_42_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/19/feb9e11c830f771fd8933c6fd5bbf0e2.jpg","text":"TemporaryFile(/tmp/multipartBody2194944361449675078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040712906,"filename":"image_19042025_03_42_14_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4eb5c528eebc912a9304b4911d6a9aa8.jpg","text":"TemporaryFile(/tmp/multipartBody7087928082744167695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040712906,"filename":"image_19042025_03_43_04_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351746849","file1":"1351746846","file0":"1351746836","file4":"1351746855","file5":"1351746908","file3":"1351746852"},"map_files_photo_id_array":[{"photo_id":"1351746908","filename":"file5"},{"photo_id":"1351746849","filename":"file2"},{"photo_id":"1351746855","filename":"file4"},{"photo_id":"1351746846","filename":"file1"},{"photo_id":"1351746836","filename":"file0"},{"photo_id":"1351746852","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351746852":["hashtag1","hashtag2"]},{"1351746846":["hashtag1","hashtag2"]},{"1351746855":["hashtag1","hashtag2"]},{"1351746849":["hashtag1","hashtag2"]},{"1351746836":["hashtag1","hashtag2"]},{"1351746908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351746852, 1351746846, 1351746855, 1351746849, 1351746836, 1351746908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19266080856323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:31:32.564025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_15_10390.jpg', '/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_25_10339.jpg', '/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_34_9346.jpg', '/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_45_10449.jpg', '/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_55_10354.jpg', '/home/pi/Desktop/images/19042025/03/43/image_19042025_03_44_05_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_15_10390.jpg
/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_25_10339.jpg
/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_34_9346.jpg
/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_45_10449.jpg
/home/pi/Desktop/images/19042025/03/43/image_19042025_03_43_55_10354.jpg
/home/pi/Desktop/images/19042025/03/43/image_19042025_03_44_05_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":["1351746942","1351746918","1351747004","1351746949","1351746916","1351747044"],"photo_ids_order":["1351746916","1351746918","1351746942","1351746949","1351747004","1351747044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/76eca059e0e4ae268c7909a78f3a589c.jpg","text":"TemporaryFile(/tmp/multipartBody8261514514824351075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040753151,"filename":"image_19042025_03_43_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/19/c892b25f7fd392198bfde9e88c25982d.jpg","text":"TemporaryFile(/tmp/multipartBody4665744071709040137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040753151,"filename":"image_19042025_03_43_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2615070b1976b1f3ddbb10e40534838e.jpg","text":"TemporaryFile(/tmp/multipartBody3520004586657745584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040753151,"filename":"image_19042025_03_43_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/19/aef879ffa789841972d2d4d9d4f85ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6914164015222851279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040753151,"filename":"image_19042025_03_43_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae3ddc669581f37df4ff4ec30a1356b3.jpg","text":"TemporaryFile(/tmp/multipartBody7610827287931587138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040753151,"filename":"image_19042025_03_43_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/02d3236d3a0fa4e94411e73acfb99637.jpg","text":"TemporaryFile(/tmp/multipartBody3426293583320190716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040753151,"filename":"image_19042025_03_44_05_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351746942","file1":"1351746918","file0":"1351746916","file4":"1351747004","file5":"1351747044","file3":"1351746949"},"map_files_photo_id_array":[{"photo_id":"1351747044","filename":"file5"},{"photo_id":"1351746942","filename":"file2"},{"photo_id":"1351747004","filename":"file4"},{"photo_id":"1351746918","filename":"file1"},{"photo_id":"1351746916","filename":"file0"},{"photo_id":"1351746949","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351746942":["hashtag1","hashtag2"]},{"1351746918":["hashtag1","hashtag2"]},{"1351747004":["hashtag1","hashtag2"]},{"1351746949":["hashtag1","hashtag2"]},{"1351746916":["hashtag1","hashtag2"]},{"1351747044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351746942, 1351746918, 1351747004, 1351746949, 1351746916, 1351747044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23774290084839 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:32:32.860674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_15_10449.jpg', '/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_24_9355.jpg', '/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_35_10429.jpg', '/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_45_10421.jpg', '/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_55_9348.jpg', '/home/pi/Desktop/images/19042025/03/44/image_19042025_03_45_05_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_15_10449.jpg
/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_24_9355.jpg
/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_35_10429.jpg
/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_45_10421.jpg
/home/pi/Desktop/images/19042025/03/44/image_19042025_03_44_55_9348.jpg
/home/pi/Desktop/images/19042025/03/44/image_19042025_03_45_05_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":["1351747361","1351747316","1351747363","1351747342","1351747353","1351747356"],"photo_ids_order":["1351747316","1351747342","1351747353","1351747356","1351747361","1351747363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9a5642438f58c3aa789ec1d6a9e5349.jpg","text":"TemporaryFile(/tmp/multipartBody1711959758056319860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040813426,"filename":"image_19042025_03_44_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2004310baa50a66c23ebf1866397bd03.jpg","text":"TemporaryFile(/tmp/multipartBody6240292138959992349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040813426,"filename":"image_19042025_03_44_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/19/088981fb3fa19d45320d136697fc5974.jpg","text":"TemporaryFile(/tmp/multipartBody8746330361987031153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040813426,"filename":"image_19042025_03_45_05_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/77bbf3d42795cf332a6a242d89eabd21.jpg","text":"TemporaryFile(/tmp/multipartBody55697434714186997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040813426,"filename":"image_19042025_03_44_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/19/4ddb4a665f061fe6c9642264f3b94512.jpg","text":"TemporaryFile(/tmp/multipartBody5048564889988204219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040813426,"filename":"image_19042025_03_44_35_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae4e8283dc8165e20465c83cd5d0c9ab.jpg","text":"TemporaryFile(/tmp/multipartBody5824357231818889480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040813426,"filename":"image_19042025_03_44_45_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351747353","file1":"1351747342","file0":"1351747316","file4":"1351747361","file5":"1351747363","file3":"1351747356"},"map_files_photo_id_array":[{"photo_id":"1351747363","filename":"file5"},{"photo_id":"1351747353","filename":"file2"},{"photo_id":"1351747361","filename":"file4"},{"photo_id":"1351747342","filename":"file1"},{"photo_id":"1351747316","filename":"file0"},{"photo_id":"1351747356","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351747361":["hashtag1","hashtag2"]},{"1351747316":["hashtag1","hashtag2"]},{"1351747363":["hashtag1","hashtag2"]},{"1351747342":["hashtag1","hashtag2"]},{"1351747353":["hashtag1","hashtag2"]},{"1351747356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351747361, 1351747316, 1351747363, 1351747342, 1351747353, 1351747356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.74359393119812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:33:33.129507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/45/image_19042025_03_45_14_9352.jpg', '/home/pi/Desktop/images/19042025/03/45/image_19042025_03_45_25_10457.jpg', '/home/pi/Desktop/images/19042025/03/45/image_19042025_03_45_45_9362.jpg', '/home/pi/Desktop/images/19042025/03/45/image_19042025_03_45_55_10428.jpg', '/home/pi/Desktop/images/19042025/03/45/image_19042025_03_46_04_9341.jpg', '/home/pi/Desktop/images/19042025/03/46/image_19042025_03_46_25_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/45/image_19042025_03_45_14_9352.jpg
/home/pi/Desktop/images/19042025/03/45/image_19042025_03_45_25_10457.jpg
/home/pi/Desktop/images/19042025/03/45/image_19042025_03_45_45_9362.jpg
/home/pi/Desktop/images/19042025/03/45/image_19042025_03_45_55_10428.jpg
/home/pi/Desktop/images/19042025/03/45/image_19042025_03_46_04_9341.jpg
/home/pi/Desktop/images/19042025/03/46/image_19042025_03_46_25_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351747404","1351747387","1351747392","1351747530","1351747488","1351747431"],"photo_ids_order":["1351747387","1351747392","1351747404","1351747431","1351747488","1351747530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19a2a34e1692637f2cdda0e0392305bb.jpg","text":"TemporaryFile(/tmp/multipartBody8015122047099182314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040873680,"filename":"image_19042025_03_45_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/19/ce43ddd0e536330ef74c17444a451a78.jpg","text":"TemporaryFile(/tmp/multipartBody2355088168217304156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040873680,"filename":"image_19042025_03_45_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/19/f2de5cdb48ba3f5afea3116b60b1c063.jpg","text":"TemporaryFile(/tmp/multipartBody4204166255458864518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040873680,"filename":"image_19042025_03_45_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/19/80a41c6e20c8a3c29c72deb9e23f2a03.jpg","text":"TemporaryFile(/tmp/multipartBody8265933658264476352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040873680,"filename":"image_19042025_03_46_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/19/827647838ccb79e3a79cb4e6f0fdb006.jpg","text":"TemporaryFile(/tmp/multipartBody8709870707585404246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040873680,"filename":"image_19042025_03_46_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/19/613904832233bfc4ae7a1b3504d4b0f7.jpg","text":"TemporaryFile(/tmp/multipartBody855563796463036012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040873680,"filename":"image_19042025_03_45_55_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351747404","file1":"1351747392","file0":"1351747387","file4":"1351747488","file5":"1351747530","file3":"1351747431"},"map_files_photo_id_array":[{"photo_id":"1351747530","filename":"file5"},{"photo_id":"1351747404","filename":"file2"},{"photo_id":"1351747488","filename":"file4"},{"photo_id":"1351747392","filename":"file1"},{"photo_id":"1351747387","filename":"file0"},{"photo_id":"1351747431","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351747404":["hashtag1","hashtag2"]},{"1351747387":["hashtag1","hashtag2"]},{"1351747392":["hashtag1","hashtag2"]},{"1351747530":["hashtag1","hashtag2"]},{"1351747488":["hashtag1","hashtag2"]},{"1351747431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351747404, 1351747387, 1351747392, 1351747530, 1351747488, 1351747431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21794366836548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:34:32.282086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/46/image_19042025_03_46_34_9347.jpg', '/home/pi/Desktop/images/19042025/03/46/image_19042025_03_46_45_10454.jpg', '/home/pi/Desktop/images/19042025/03/46/image_19042025_03_46_55_10363.jpg', '/home/pi/Desktop/images/19042025/03/46/image_19042025_03_47_05_9359.jpg', '/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_15_10440.jpg', '/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_24_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/46/image_19042025_03_46_34_9347.jpg
/home/pi/Desktop/images/19042025/03/46/image_19042025_03_46_45_10454.jpg
/home/pi/Desktop/images/19042025/03/46/image_19042025_03_46_55_10363.jpg
/home/pi/Desktop/images/19042025/03/46/image_19042025_03_47_05_9359.jpg
/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_15_10440.jpg
/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_24_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351747605","1351747640","1351747715","1351747601","1351747672","1351747704"],"photo_ids_order":["1351747601","1351747605","1351747640","1351747672","1351747704","1351747715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c1146c04c49e7fe02f4002f73c6b8039.jpg","text":"TemporaryFile(/tmp/multipartBody339385448873018344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040932827,"filename":"image_19042025_03_46_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/19/12d04b75fea794ce9c1b9a3483b589f2.jpg","text":"TemporaryFile(/tmp/multipartBody4397041766251234093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040932827,"filename":"image_19042025_03_46_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/19/f0d7377abbb45866a7006171736668b2.jpg","text":"TemporaryFile(/tmp/multipartBody6226166238540446331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040932827,"filename":"image_19042025_03_47_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/19/8f16dd91e1902ce58b666511da714a83.jpg","text":"TemporaryFile(/tmp/multipartBody6624836512728545115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040932827,"filename":"image_19042025_03_46_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/19/c5be3a1bae572ca8d33bec46c11a6d06.jpg","text":"TemporaryFile(/tmp/multipartBody4584884141600461970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040932827,"filename":"image_19042025_03_47_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/19/56e0b512b189d040bc6b3cb19eb0631d.jpg","text":"TemporaryFile(/tmp/multipartBody288495532016835774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040932827,"filename":"image_19042025_03_47_15_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351747640","file1":"1351747605","file0":"1351747601","file4":"1351747704","file5":"1351747715","file3":"1351747672"},"map_files_photo_id_array":[{"photo_id":"1351747715","filename":"file5"},{"photo_id":"1351747640","filename":"file2"},{"photo_id":"1351747704","filename":"file4"},{"photo_id":"1351747605","filename":"file1"},{"photo_id":"1351747601","filename":"file0"},{"photo_id":"1351747672","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351747605":["hashtag1","hashtag2"]},{"1351747640":["hashtag1","hashtag2"]},{"1351747715":["hashtag1","hashtag2"]},{"1351747601":["hashtag1","hashtag2"]},{"1351747672":["hashtag1","hashtag2"]},{"1351747704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351747605, 1351747640, 1351747715, 1351747601, 1351747672, 1351747704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47151780128479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:35:32.602253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_35_10422.jpg', '/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_45_10358.jpg', '/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_55_9362.jpg', '/home/pi/Desktop/images/19042025/03/47/image_19042025_03_48_05_10368.jpg', '/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_14_9363.jpg', '/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_25_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_35_10422.jpg
/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_45_10358.jpg
/home/pi/Desktop/images/19042025/03/47/image_19042025_03_47_55_9362.jpg
/home/pi/Desktop/images/19042025/03/47/image_19042025_03_48_05_10368.jpg
/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_14_9363.jpg
/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_25_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":["1351748080","1351747930","1351747807","1351747983","1351747872","1351747776"],"photo_ids_order":["1351747776","1351747807","1351747872","1351747930","1351747983","1351748080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3355a6838c41ecf06ff200a2f57c084a.jpg","text":"TemporaryFile(/tmp/multipartBody7530162189216304301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040993168,"filename":"image_19042025_03_48_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/19/38bc88bd068ea4b043ddb2a65954efda.jpg","text":"TemporaryFile(/tmp/multipartBody334805889454392015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040993168,"filename":"image_19042025_03_48_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0dd2f02f6ed1dcbb4a4b142f4244a3be.jpg","text":"TemporaryFile(/tmp/multipartBody3695676456741388456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040993168,"filename":"image_19042025_03_47_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/19/43f45b7c6a701ac12e379a7b152d5954.jpg","text":"TemporaryFile(/tmp/multipartBody8966080658271516199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040993168,"filename":"image_19042025_03_48_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/19/48e9d7d291803d92c75ba6ac153ad405.jpg","text":"TemporaryFile(/tmp/multipartBody4829360694535928251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040993168,"filename":"image_19042025_03_47_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/19/983e041fbdf1f662792868d297d992d4.jpg","text":"TemporaryFile(/tmp/multipartBody4605577266791262775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745040993168,"filename":"image_19042025_03_47_35_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351747872","file1":"1351747807","file0":"1351747776","file4":"1351747983","file5":"1351748080","file3":"1351747930"},"map_files_photo_id_array":[{"photo_id":"1351748080","filename":"file5"},{"photo_id":"1351747872","filename":"file2"},{"photo_id":"1351747983","filename":"file4"},{"photo_id":"1351747807","filename":"file1"},{"photo_id":"1351747776","filename":"file0"},{"photo_id":"1351747930","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351748080":["hashtag1","hashtag2"]},{"1351747930":["hashtag1","hashtag2"]},{"1351747807":["hashtag1","hashtag2"]},{"1351747983":["hashtag1","hashtag2"]},{"1351747872":["hashtag1","hashtag2"]},{"1351747776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351748080, 1351747930, 1351747807, 1351747983, 1351747872, 1351747776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46056795120239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:36:33.079288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_35_10406.jpg', '/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_44_9359.jpg', '/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_55_10451.jpg', '/home/pi/Desktop/images/19042025/03/48/image_19042025_03_49_05_10354.jpg', '/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_15_9355.jpg', '/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_25_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_35_10406.jpg
/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_44_9359.jpg
/home/pi/Desktop/images/19042025/03/48/image_19042025_03_48_55_10451.jpg
/home/pi/Desktop/images/19042025/03/48/image_19042025_03_49_05_10354.jpg
/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_15_9355.jpg
/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_25_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351748270","1351748443","1351748298","1351748379","1351748352","1351748325"],"photo_ids_order":["1351748270","1351748298","1351748325","1351748352","1351748379","1351748443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08254efd733976c9289ab61a87318c12.jpg","text":"TemporaryFile(/tmp/multipartBody5855391471701741337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041053759,"filename":"image_19042025_03_48_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/45710a230a955ba315885722088c3ced.jpg","text":"TemporaryFile(/tmp/multipartBody5877230190352628590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041053759,"filename":"image_19042025_03_49_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/19/ba5c635254018538253961f04ec41c75.jpg","text":"TemporaryFile(/tmp/multipartBody6019440536186287655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041053759,"filename":"image_19042025_03_48_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/19/12ac6fb98c12da8bbe38bce0daa644e3.jpg","text":"TemporaryFile(/tmp/multipartBody8272367471163036796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041053759,"filename":"image_19042025_03_49_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/19/ee83704f17eaf2443cda6b7244f025ab.jpg","text":"TemporaryFile(/tmp/multipartBody4209933821005107575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041053759,"filename":"image_19042025_03_49_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/848b33f00af6f7b04d3682ae6c2b46a3.jpg","text":"TemporaryFile(/tmp/multipartBody8421941711626005692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041053759,"filename":"image_19042025_03_48_55_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351748325","file1":"1351748298","file0":"1351748270","file4":"1351748379","file5":"1351748443","file3":"1351748352"},"map_files_photo_id_array":[{"photo_id":"1351748443","filename":"file5"},{"photo_id":"1351748325","filename":"file2"},{"photo_id":"1351748379","filename":"file4"},{"photo_id":"1351748298","filename":"file1"},{"photo_id":"1351748270","filename":"file0"},{"photo_id":"1351748352","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351748270":["hashtag1","hashtag2"]},{"1351748443":["hashtag1","hashtag2"]},{"1351748298":["hashtag1","hashtag2"]},{"1351748379":["hashtag1","hashtag2"]},{"1351748352":["hashtag1","hashtag2"]},{"1351748325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351748270, 1351748443, 1351748298, 1351748379, 1351748352, 1351748325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.704400062561035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:37:33.004194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_34_9346.jpg', '/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_45_10483.jpg', '/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_55_10344.jpg', '/home/pi/Desktop/images/19042025/03/49/image_19042025_03_50_05_9340.jpg', '/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_15_10425.jpg', '/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_24_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_34_9346.jpg
/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_45_10483.jpg
/home/pi/Desktop/images/19042025/03/49/image_19042025_03_49_55_10344.jpg
/home/pi/Desktop/images/19042025/03/49/image_19042025_03_50_05_9340.jpg
/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_15_10425.jpg
/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_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":["1351748651","1351748698","1351748704","1351748694","1351748700","1351748678"],"photo_ids_order":["1351748651","1351748678","1351748694","1351748698","1351748700","1351748704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c85029234e9c16add6b4eb7d5b5711c9.jpg","text":"TemporaryFile(/tmp/multipartBody357399577602888376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041113566,"filename":"image_19042025_03_49_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/19/72839128a075f93258721ef1a164ec67.jpg","text":"TemporaryFile(/tmp/multipartBody8539498767698397013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041113566,"filename":"image_19042025_03_50_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/19/a61127ee659988094860a1afa1023c09.jpg","text":"TemporaryFile(/tmp/multipartBody8834152797676078808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041113566,"filename":"image_19042025_03_50_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/19/fb8f0b99f273a17347dca32e07097338.jpg","text":"TemporaryFile(/tmp/multipartBody5069469954980653482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041113566,"filename":"image_19042025_03_49_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/19/1d0633baf8db48e40f6b1b292f8d7e01.jpg","text":"TemporaryFile(/tmp/multipartBody2402875067754188104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041113566,"filename":"image_19042025_03_50_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/19/17197c435b70f9126512f21c4631400a.jpg","text":"TemporaryFile(/tmp/multipartBody1989516226780371841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041113566,"filename":"image_19042025_03_49_45_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351748694","file1":"1351748678","file0":"1351748651","file4":"1351748700","file5":"1351748704","file3":"1351748698"},"map_files_photo_id_array":[{"photo_id":"1351748704","filename":"file5"},{"photo_id":"1351748694","filename":"file2"},{"photo_id":"1351748700","filename":"file4"},{"photo_id":"1351748678","filename":"file1"},{"photo_id":"1351748651","filename":"file0"},{"photo_id":"1351748698","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351748651":["hashtag1","hashtag2"]},{"1351748698":["hashtag1","hashtag2"]},{"1351748704":["hashtag1","hashtag2"]},{"1351748694":["hashtag1","hashtag2"]},{"1351748700":["hashtag1","hashtag2"]},{"1351748678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351748651, 1351748698, 1351748704, 1351748694, 1351748700, 1351748678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.329789876937866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:38:32.218699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_35_10369.jpg', '/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_45_10429.jpg', '/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_54_9356.jpg', '/home/pi/Desktop/images/19042025/03/50/image_19042025_03_51_05_10442.jpg', '/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_15_10364.jpg', '/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_25_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_35_10369.jpg
/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_45_10429.jpg
/home/pi/Desktop/images/19042025/03/50/image_19042025_03_50_54_9356.jpg
/home/pi/Desktop/images/19042025/03/50/image_19042025_03_51_05_10442.jpg
/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_15_10364.jpg
/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_25_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351748750","1351748785","1351748803","1351748787","1351748754","1351748780"],"photo_ids_order":["1351748750","1351748754","1351748780","1351748785","1351748787","1351748803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8dc9cf4e65a0e23aa1c1bc803ce2c402.jpg","text":"TemporaryFile(/tmp/multipartBody6427509894979373755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041172782,"filename":"image_19042025_03_50_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/19/6721e2a826455e2d6925c731fb963e6a.jpg","text":"TemporaryFile(/tmp/multipartBody6092050405427790248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041172782,"filename":"image_19042025_03_51_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ddfd69d93868b9d8e646db22755def8f.jpg","text":"TemporaryFile(/tmp/multipartBody82253307437847353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041172782,"filename":"image_19042025_03_51_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/19/5f76e98378f5cd30012cf012c83760d0.jpg","text":"TemporaryFile(/tmp/multipartBody4827694878757117642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041172782,"filename":"image_19042025_03_51_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/19/2feec7ee739e3766afd5ce1d4cedb3c3.jpg","text":"TemporaryFile(/tmp/multipartBody3229905901229575708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041172782,"filename":"image_19042025_03_50_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/19/7994d135916cb0ca9cc725348fd6ee2a.jpg","text":"TemporaryFile(/tmp/multipartBody1042965105111080931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041172782,"filename":"image_19042025_03_50_54_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351748780","file1":"1351748754","file0":"1351748750","file4":"1351748787","file5":"1351748803","file3":"1351748785"},"map_files_photo_id_array":[{"photo_id":"1351748803","filename":"file5"},{"photo_id":"1351748780","filename":"file2"},{"photo_id":"1351748787","filename":"file4"},{"photo_id":"1351748754","filename":"file1"},{"photo_id":"1351748750","filename":"file0"},{"photo_id":"1351748785","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351748750":["hashtag1","hashtag2"]},{"1351748785":["hashtag1","hashtag2"]},{"1351748803":["hashtag1","hashtag2"]},{"1351748787":["hashtag1","hashtag2"]},{"1351748754":["hashtag1","hashtag2"]},{"1351748780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351748750, 1351748785, 1351748803, 1351748787, 1351748754, 1351748780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.55841898918152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:39:32.407122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_35_10413.jpg', '/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_44_9421.jpg', '/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_55_10414.jpg', '/home/pi/Desktop/images/19042025/03/51/image_19042025_03_52_04_9413.jpg', '/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_15_10381.jpg', '/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_25_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_35_10413.jpg
/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_44_9421.jpg
/home/pi/Desktop/images/19042025/03/51/image_19042025_03_51_55_10414.jpg
/home/pi/Desktop/images/19042025/03/51/image_19042025_03_52_04_9413.jpg
/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_15_10381.jpg
/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_25_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":["1351749256","1351749172","1351749268","1351749229","1351749195","1351749233"],"photo_ids_order":["1351749172","1351749195","1351749229","1351749233","1351749256","1351749268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/67fc9337b2bba6cc9133592a965de941.jpg","text":"TemporaryFile(/tmp/multipartBody1468314594278825916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041232966,"filename":"image_19042025_03_52_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/19/90ab1093849f7615c75a87af59eeebfb.jpg","text":"TemporaryFile(/tmp/multipartBody6348298696100123764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041232966,"filename":"image_19042025_03_51_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/066bdb5d251e84461c0c4aec613ae366.jpg","text":"TemporaryFile(/tmp/multipartBody8337558884643639825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041232966,"filename":"image_19042025_03_52_25_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b124bc4202009d11724c877517e88a1.jpg","text":"TemporaryFile(/tmp/multipartBody9001187141241830053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041232966,"filename":"image_19042025_03_51_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/19/0d6afcae5c4200d008f378e1d6515e33.jpg","text":"TemporaryFile(/tmp/multipartBody8753677751766610901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041232966,"filename":"image_19042025_03_51_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/19/dbe73527c95079e6b3f78c1990bb4fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6240260643506636198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041232966,"filename":"image_19042025_03_52_04_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351749229","file1":"1351749195","file0":"1351749172","file4":"1351749256","file5":"1351749268","file3":"1351749233"},"map_files_photo_id_array":[{"photo_id":"1351749268","filename":"file5"},{"photo_id":"1351749229","filename":"file2"},{"photo_id":"1351749256","filename":"file4"},{"photo_id":"1351749195","filename":"file1"},{"photo_id":"1351749172","filename":"file0"},{"photo_id":"1351749233","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351749256":["hashtag1","hashtag2"]},{"1351749172":["hashtag1","hashtag2"]},{"1351749268":["hashtag1","hashtag2"]},{"1351749229":["hashtag1","hashtag2"]},{"1351749195":["hashtag1","hashtag2"]},{"1351749233":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351749256, 1351749172, 1351749268, 1351749229, 1351749195, 1351749233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96072745323181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:40:32.585168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_34_9337.jpg', '/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_45_10462.jpg', '/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_55_10338.jpg', '/home/pi/Desktop/images/19042025/03/52/image_19042025_03_53_05_9339.jpg', '/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_15_10361.jpg', '/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_24_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_34_9337.jpg
/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_45_10462.jpg
/home/pi/Desktop/images/19042025/03/52/image_19042025_03_52_55_10338.jpg
/home/pi/Desktop/images/19042025/03/52/image_19042025_03_53_05_9339.jpg
/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_15_10361.jpg
/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_24_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":["1351749292","1351749404","1351749351","1351749324","1351749377","1351749275"],"photo_ids_order":["1351749275","1351749292","1351749324","1351749351","1351749377","1351749404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f60300e1cc333b67722d886923490d39.jpg","text":"TemporaryFile(/tmp/multipartBody6803701801381153460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041293139,"filename":"image_19042025_03_52_45_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ebcf10bc460b8bde64568ce26228e214.jpg","text":"TemporaryFile(/tmp/multipartBody8429143041221392986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041293139,"filename":"image_19042025_03_53_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/19/084c8d356c753382c1972790cbfc185d.jpg","text":"TemporaryFile(/tmp/multipartBody7469610638206405215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041293139,"filename":"image_19042025_03_53_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/19/9e3a8e02de9d7de8ec992e849d286ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6955858076102357866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041293139,"filename":"image_19042025_03_52_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eefff61fdfe88d652b18f7a241d91adf.jpg","text":"TemporaryFile(/tmp/multipartBody6676228079641076899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041293139,"filename":"image_19042025_03_53_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/19/9fc148c22e89c93e1b5ea2c4804e5c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3891848478232097601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041293139,"filename":"image_19042025_03_52_34_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351749324","file1":"1351749292","file0":"1351749275","file4":"1351749377","file5":"1351749404","file3":"1351749351"},"map_files_photo_id_array":[{"photo_id":"1351749404","filename":"file5"},{"photo_id":"1351749324","filename":"file2"},{"photo_id":"1351749377","filename":"file4"},{"photo_id":"1351749292","filename":"file1"},{"photo_id":"1351749275","filename":"file0"},{"photo_id":"1351749351","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351749292":["hashtag1","hashtag2"]},{"1351749404":["hashtag1","hashtag2"]},{"1351749351":["hashtag1","hashtag2"]},{"1351749324":["hashtag1","hashtag2"]},{"1351749377":["hashtag1","hashtag2"]},{"1351749275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351749292, 1351749404, 1351749351, 1351749324, 1351749377, 1351749275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.977133989334106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:41:32.732957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_35_10366.jpg', '/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_45_10357.jpg', '/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_54_9419.jpg', '/home/pi/Desktop/images/19042025/03/53/image_19042025_03_54_05_10470.jpg', '/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_15_10344.jpg', '/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_35_10366.jpg
/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_45_10357.jpg
/home/pi/Desktop/images/19042025/03/53/image_19042025_03_53_54_9419.jpg
/home/pi/Desktop/images/19042025/03/53/image_19042025_03_54_05_10470.jpg
/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_15_10344.jpg
/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_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":["1351749676","1351749664","1351749678","1351749615","1351749638","1351749653"],"photo_ids_order":["1351749615","1351749638","1351749653","1351749664","1351749676","1351749678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/edf4b66124d35b92902a5f5dc567dbcf.jpg","text":"TemporaryFile(/tmp/multipartBody2016603599370489692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041353282,"filename":"image_19042025_03_54_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2b974b670c72fa1b9d50334b61c5332f.jpg","text":"TemporaryFile(/tmp/multipartBody2186385794055658131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041353282,"filename":"image_19042025_03_54_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/19/3f59602ccb2245d1675dcbd4411bbf89.jpg","text":"TemporaryFile(/tmp/multipartBody7105052193972111083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041353282,"filename":"image_19042025_03_54_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/19/c842b61cd2f1619a19587970ecc296f5.jpg","text":"TemporaryFile(/tmp/multipartBody8061074515200846151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041353282,"filename":"image_19042025_03_53_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/19/a52498fb35db75129cf9bafc59a38cfc.jpg","text":"TemporaryFile(/tmp/multipartBody7241558977956381572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041353282,"filename":"image_19042025_03_53_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1704ebefc5563c4cdeceb5d14cde8822.jpg","text":"TemporaryFile(/tmp/multipartBody5108000771813262513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041353282,"filename":"image_19042025_03_53_54_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351749653","file1":"1351749638","file0":"1351749615","file4":"1351749676","file5":"1351749678","file3":"1351749664"},"map_files_photo_id_array":[{"photo_id":"1351749678","filename":"file5"},{"photo_id":"1351749653","filename":"file2"},{"photo_id":"1351749676","filename":"file4"},{"photo_id":"1351749638","filename":"file1"},{"photo_id":"1351749615","filename":"file0"},{"photo_id":"1351749664","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351749676":["hashtag1","hashtag2"]},{"1351749664":["hashtag1","hashtag2"]},{"1351749678":["hashtag1","hashtag2"]},{"1351749615":["hashtag1","hashtag2"]},{"1351749638":["hashtag1","hashtag2"]},{"1351749653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351749676, 1351749664, 1351749678, 1351749615, 1351749638, 1351749653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.55991268157959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:42:33.002319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_35_10428.jpg', '/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_44_9431.jpg', '/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_55_10443.jpg', '/home/pi/Desktop/images/19042025/03/54/image_19042025_03_55_05_10381.jpg', '/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_15_9332.jpg', '/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_35_10428.jpg
/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_44_9431.jpg
/home/pi/Desktop/images/19042025/03/54/image_19042025_03_54_55_10443.jpg
/home/pi/Desktop/images/19042025/03/54/image_19042025_03_55_05_10381.jpg
/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_15_9332.jpg
/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_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":["1351749988","1351750081","1351750075","1351750077","1351750065","1351750035"],"photo_ids_order":["1351749988","1351750035","1351750065","1351750075","1351750077","1351750081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/16de7e07cf6b4aafd214dec94b01b9a2.jpg","text":"TemporaryFile(/tmp/multipartBody1135888760417968620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041413559,"filename":"image_19042025_03_54_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/19/74803a05a12355eb00c031d9e3a0dc43.jpg","text":"TemporaryFile(/tmp/multipartBody7131966606286181651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041413559,"filename":"image_19042025_03_55_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/19/c27b16b0264fdef24ba842f951763a23.jpg","text":"TemporaryFile(/tmp/multipartBody2440116736957657076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041413559,"filename":"image_19042025_03_55_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/19/bb13a61952f956c8c9d734ddd0e6df49.jpg","text":"TemporaryFile(/tmp/multipartBody5607980453454918764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041413559,"filename":"image_19042025_03_55_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b0f88eaf471e175a9fae91be8b210be.jpg","text":"TemporaryFile(/tmp/multipartBody3749899938886422956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041413559,"filename":"image_19042025_03_54_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/19/0a5ab30a7febf91fddf5eb3a6190ba31.jpg","text":"TemporaryFile(/tmp/multipartBody6989652927573222103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041413559,"filename":"image_19042025_03_54_44_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351750065","file1":"1351750035","file0":"1351749988","file4":"1351750077","file5":"1351750081","file3":"1351750075"},"map_files_photo_id_array":[{"photo_id":"1351750081","filename":"file5"},{"photo_id":"1351750065","filename":"file2"},{"photo_id":"1351750077","filename":"file4"},{"photo_id":"1351750035","filename":"file1"},{"photo_id":"1351749988","filename":"file0"},{"photo_id":"1351750075","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351749988":["hashtag1","hashtag2"]},{"1351750081":["hashtag1","hashtag2"]},{"1351750075":["hashtag1","hashtag2"]},{"1351750077":["hashtag1","hashtag2"]},{"1351750065":["hashtag1","hashtag2"]},{"1351750035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351749988, 1351750081, 1351750075, 1351750077, 1351750065, 1351750035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28583741188049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:43:32.316523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_34_9343.jpg', '/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_45_10489.jpg', '/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_55_10383.jpg', '/home/pi/Desktop/images/19042025/03/55/image_19042025_03_56_05_9346.jpg', '/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_15_10367.jpg', '/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_25_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_34_9343.jpg
/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_45_10489.jpg
/home/pi/Desktop/images/19042025/03/55/image_19042025_03_55_55_10383.jpg
/home/pi/Desktop/images/19042025/03/55/image_19042025_03_56_05_9346.jpg
/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_15_10367.jpg
/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_25_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351750145","1351750156","1351750161","1351750158","1351750152","1351750163"],"photo_ids_order":["1351750145","1351750152","1351750156","1351750158","1351750161","1351750163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/357a4f288564cf2bb7410b3ad3feccee.jpg","text":"TemporaryFile(/tmp/multipartBody1241827965208081170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041472854,"filename":"image_19042025_03_55_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c60b67881745ecc02b36c28f54cdcb8.jpg","text":"TemporaryFile(/tmp/multipartBody2381836938677620791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041472854,"filename":"image_19042025_03_55_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/19/ff76a9a266768860e9270175fa3cea9c.jpg","text":"TemporaryFile(/tmp/multipartBody2139962955919793846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041472854,"filename":"image_19042025_03_56_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da931b1de100ce07b0f33e20aca1d6e5.jpg","text":"TemporaryFile(/tmp/multipartBody4895530817055480685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041472854,"filename":"image_19042025_03_56_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/19/292087d343b0c719a6d10ba0f9f5c29d.jpg","text":"TemporaryFile(/tmp/multipartBody194300469739758047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041472854,"filename":"image_19042025_03_55_45_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a097524fa761e1c43dfca7ee76c77099.jpg","text":"TemporaryFile(/tmp/multipartBody38334789580884414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041472854,"filename":"image_19042025_03_56_25_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351750156","file1":"1351750152","file0":"1351750145","file4":"1351750161","file5":"1351750163","file3":"1351750158"},"map_files_photo_id_array":[{"photo_id":"1351750163","filename":"file5"},{"photo_id":"1351750156","filename":"file2"},{"photo_id":"1351750161","filename":"file4"},{"photo_id":"1351750152","filename":"file1"},{"photo_id":"1351750145","filename":"file0"},{"photo_id":"1351750158","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351750145":["hashtag1","hashtag2"]},{"1351750156":["hashtag1","hashtag2"]},{"1351750161":["hashtag1","hashtag2"]},{"1351750158":["hashtag1","hashtag2"]},{"1351750152":["hashtag1","hashtag2"]},{"1351750163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351750145, 1351750156, 1351750161, 1351750158, 1351750152, 1351750163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.604960203170776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:44:32.443598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_35_9349.jpg', '/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_45_10446.jpg', '/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_54_9340.jpg', '/home/pi/Desktop/images/19042025/03/56/image_19042025_03_57_05_10424.jpg', '/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_15_10425.jpg', '/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_25_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_35_9349.jpg
/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_45_10446.jpg
/home/pi/Desktop/images/19042025/03/56/image_19042025_03_56_54_9340.jpg
/home/pi/Desktop/images/19042025/03/56/image_19042025_03_57_05_10424.jpg
/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_15_10425.jpg
/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_25_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351750208","1351750177","1351750264","1351750237","1351750173","1351750184"],"photo_ids_order":["1351750173","1351750177","1351750184","1351750208","1351750237","1351750264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/68dbeb63b107066fb909f72efd14ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody4671701839555178234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041532989,"filename":"image_19042025_03_57_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b50a34ec8182daadb5eb0199a7d12363.jpg","text":"TemporaryFile(/tmp/multipartBody1019960880895774090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041532989,"filename":"image_19042025_03_56_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a630a2202b09c7d1d96f71a407cc4dae.jpg","text":"TemporaryFile(/tmp/multipartBody1256013685414186278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041532989,"filename":"image_19042025_03_57_25_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/54de6faf1a8858cd828e43a6c01e3e7e.jpg","text":"TemporaryFile(/tmp/multipartBody9053642276584442681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041532989,"filename":"image_19042025_03_57_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae74feed6d1e68a2089766eaa640a549.jpg","text":"TemporaryFile(/tmp/multipartBody8211866125296679007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041532989,"filename":"image_19042025_03_56_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/19/ebd7661a7e78020a45297fa14fe8e6ea.jpg","text":"TemporaryFile(/tmp/multipartBody8107942402636380273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041532989,"filename":"image_19042025_03_56_54_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351750184","file1":"1351750177","file0":"1351750173","file4":"1351750237","file5":"1351750264","file3":"1351750208"},"map_files_photo_id_array":[{"photo_id":"1351750264","filename":"file5"},{"photo_id":"1351750184","filename":"file2"},{"photo_id":"1351750237","filename":"file4"},{"photo_id":"1351750177","filename":"file1"},{"photo_id":"1351750173","filename":"file0"},{"photo_id":"1351750208","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351750208":["hashtag1","hashtag2"]},{"1351750177":["hashtag1","hashtag2"]},{"1351750264":["hashtag1","hashtag2"]},{"1351750237":["hashtag1","hashtag2"]},{"1351750173":["hashtag1","hashtag2"]},{"1351750184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351750208, 1351750177, 1351750264, 1351750237, 1351750173, 1351750184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90064597129822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:45:32.746465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_35_10437.jpg', '/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_44_9356.jpg', '/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_55_10478.jpg', '/home/pi/Desktop/images/19042025/03/57/image_19042025_03_58_04_9418.jpg', '/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_15_10358.jpg', '/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_25_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_35_10437.jpg
/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_44_9356.jpg
/home/pi/Desktop/images/19042025/03/57/image_19042025_03_57_55_10478.jpg
/home/pi/Desktop/images/19042025/03/57/image_19042025_03_58_04_9418.jpg
/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_15_10358.jpg
/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_25_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351750457","1351750445","1351750453","1351750462","1351750441","1351750449"],"photo_ids_order":["1351750441","1351750445","1351750449","1351750453","1351750457","1351750462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39bc72adf8cab7f10962645b731c1064.jpg","text":"TemporaryFile(/tmp/multipartBody996308233604721615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041593295,"filename":"image_19042025_03_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/19/2c08359988dceffc8b34cdcb5f631de5.jpg","text":"TemporaryFile(/tmp/multipartBody5877273994235790619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041593295,"filename":"image_19042025_03_57_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/19/bbbd56190d9eb096166fb4a07bb96cb9.jpg","text":"TemporaryFile(/tmp/multipartBody4431039846043302696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041593295,"filename":"image_19042025_03_58_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/19/e5058779c6fcad70f21a6a6062e8d765.jpg","text":"TemporaryFile(/tmp/multipartBody6732493490020633648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041593295,"filename":"image_19042025_03_58_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/19/42d2cf9b625e571a08171032f6eeaed2.jpg","text":"TemporaryFile(/tmp/multipartBody7976299438842403142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041593295,"filename":"image_19042025_03_57_35_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e1c21bfdfddc019ec7f4d16ddad5a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3930453399773770147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041593295,"filename":"image_19042025_03_57_55_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351750449","file1":"1351750445","file0":"1351750441","file4":"1351750457","file5":"1351750462","file3":"1351750453"},"map_files_photo_id_array":[{"photo_id":"1351750462","filename":"file5"},{"photo_id":"1351750449","filename":"file2"},{"photo_id":"1351750457","filename":"file4"},{"photo_id":"1351750445","filename":"file1"},{"photo_id":"1351750441","filename":"file0"},{"photo_id":"1351750453","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351750457":["hashtag1","hashtag2"]},{"1351750445":["hashtag1","hashtag2"]},{"1351750453":["hashtag1","hashtag2"]},{"1351750462":["hashtag1","hashtag2"]},{"1351750441":["hashtag1","hashtag2"]},{"1351750449":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351750457, 1351750445, 1351750453, 1351750462, 1351750441, 1351750449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.489224195480347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:46:32.976852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_35_9424.jpg', '/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_45_10465.jpg', '/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_54_9344.jpg', '/home/pi/Desktop/images/19042025/03/58/image_19042025_03_59_05_10389.jpg', '/home/pi/Desktop/images/19042025/03/59/image_19042025_03_59_15_10349.jpg', '/home/pi/Desktop/images/19042025/03/59/image_19042025_03_59_24_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_35_9424.jpg
/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_45_10465.jpg
/home/pi/Desktop/images/19042025/03/58/image_19042025_03_58_54_9344.jpg
/home/pi/Desktop/images/19042025/03/58/image_19042025_03_59_05_10389.jpg
/home/pi/Desktop/images/19042025/03/59/image_19042025_03_59_15_10349.jpg
/home/pi/Desktop/images/19042025/03/59/image_19042025_03_59_24_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351750811","1351750780","1351750776","1351750839","1351750815","1351750772"],"photo_ids_order":["1351750772","1351750776","1351750780","1351750811","1351750815","1351750839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/41aa8e4ad72bf2cf61c7e87741194ec0.jpg","text":"TemporaryFile(/tmp/multipartBody5516380056237959615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041653542,"filename":"image_19042025_03_59_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/19/d07589eecfba632e185ad8b5e4b238c0.jpg","text":"TemporaryFile(/tmp/multipartBody7146135603636047875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041653542,"filename":"image_19042025_03_58_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0cb51cd569957f89229a5c754ffc7be4.jpg","text":"TemporaryFile(/tmp/multipartBody4904914208778953606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041653542,"filename":"image_19042025_03_58_45_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e2b2fc7ff886aad5238e46e94ad28647.jpg","text":"TemporaryFile(/tmp/multipartBody7892746291849129333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041653542,"filename":"image_19042025_03_59_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/19/3538f1d237fe0f231108218f8eb6f2a4.jpg","text":"TemporaryFile(/tmp/multipartBody5382480953389109496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041653542,"filename":"image_19042025_03_59_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/19/346f19302127a76159759f2cc8d796f2.jpg","text":"TemporaryFile(/tmp/multipartBody706868170969574647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041653542,"filename":"image_19042025_03_58_35_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351750780","file1":"1351750776","file0":"1351750772","file4":"1351750815","file5":"1351750839","file3":"1351750811"},"map_files_photo_id_array":[{"photo_id":"1351750839","filename":"file5"},{"photo_id":"1351750780","filename":"file2"},{"photo_id":"1351750815","filename":"file4"},{"photo_id":"1351750776","filename":"file1"},{"photo_id":"1351750772","filename":"file0"},{"photo_id":"1351750811","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351750811":["hashtag1","hashtag2"]},{"1351750780":["hashtag1","hashtag2"]},{"1351750776":["hashtag1","hashtag2"]},{"1351750839":["hashtag1","hashtag2"]},{"1351750815":["hashtag1","hashtag2"]},{"1351750772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351750811, 1351750780, 1351750776, 1351750839, 1351750815, 1351750772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69887399673462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:47:32.214841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/03/59/image_19042025_03_59_45_10349.jpg', '/home/pi/Desktop/images/19042025/03/59/image_19042025_03_59_55_9462.jpg', '/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_14_10069.jpg', '/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_24_10372.jpg', '/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_35_10366.jpg', '/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_44_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/03/59/image_19042025_03_59_45_10349.jpg
/home/pi/Desktop/images/19042025/03/59/image_19042025_03_59_55_9462.jpg
/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_14_10069.jpg
/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_24_10372.jpg
/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_35_10366.jpg
/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_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":["1351751020","1351751008","1351751022","1351751016","1351751019","1351751012"],"photo_ids_order":["1351751008","1351751012","1351751016","1351751019","1351751020","1351751022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/372dba4ee06a912c0355299c35c32eb6.jpg","text":"TemporaryFile(/tmp/multipartBody605795788496153992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041712774,"filename":"image_19042025_04_01_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/19/9fd397a1932126a4aed7478f7e2a966e.jpg","text":"TemporaryFile(/tmp/multipartBody2592990846761005755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041712774,"filename":"image_19042025_03_59_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/19/ce80c2bf1d8c87974dc5c620e75faa8b.jpg","text":"TemporaryFile(/tmp/multipartBody236683233048896511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041712774,"filename":"image_19042025_04_01_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/19/df7e8c4d360c9f23cb2b7b7d4c5be0e9.jpg","text":"TemporaryFile(/tmp/multipartBody3613929969393468135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041712774,"filename":"image_19042025_04_01_14_10069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6724e0795726f697922a7ba0598d48c6.jpg","text":"TemporaryFile(/tmp/multipartBody2452502469954175559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041712774,"filename":"image_19042025_04_01_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/19/44cb8e4a12117789bc21aca7fabf1ac4.jpg","text":"TemporaryFile(/tmp/multipartBody6330556520093448898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041712774,"filename":"image_19042025_03_59_55_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351751016","file1":"1351751012","file0":"1351751008","file4":"1351751020","file5":"1351751022","file3":"1351751019"},"map_files_photo_id_array":[{"photo_id":"1351751022","filename":"file5"},{"photo_id":"1351751016","filename":"file2"},{"photo_id":"1351751020","filename":"file4"},{"photo_id":"1351751012","filename":"file1"},{"photo_id":"1351751008","filename":"file0"},{"photo_id":"1351751019","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351751020":["hashtag1","hashtag2"]},{"1351751008":["hashtag1","hashtag2"]},{"1351751022":["hashtag1","hashtag2"]},{"1351751016":["hashtag1","hashtag2"]},{"1351751019":["hashtag1","hashtag2"]},{"1351751012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351751020, 1351751008, 1351751022, 1351751016, 1351751019, 1351751012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.503355741500854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:48:32.351756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_54_10346.jpg', '/home/pi/Desktop/images/19042025/04/01/image_19042025_04_02_05_10459.jpg', '/home/pi/Desktop/images/19042025/04/02/image_19042025_04_02_25_10376.jpg', '/home/pi/Desktop/images/19042025/04/02/image_19042025_04_02_34_9374.jpg', '/home/pi/Desktop/images/19042025/04/02/image_19042025_04_02_55_10347.jpg', '/home/pi/Desktop/images/19042025/04/02/image_19042025_04_03_04_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/01/image_19042025_04_01_54_10346.jpg
/home/pi/Desktop/images/19042025/04/01/image_19042025_04_02_05_10459.jpg
/home/pi/Desktop/images/19042025/04/02/image_19042025_04_02_25_10376.jpg
/home/pi/Desktop/images/19042025/04/02/image_19042025_04_02_34_9374.jpg
/home/pi/Desktop/images/19042025/04/02/image_19042025_04_02_55_10347.jpg
/home/pi/Desktop/images/19042025/04/02/image_19042025_04_03_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":["1351751036","1351751032","1351751046","1351751028","1351751043","1351751045"],"photo_ids_order":["1351751028","1351751032","1351751036","1351751043","1351751045","1351751046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/45a4d82e3aa426295da06ebf61c3c121.jpg","text":"TemporaryFile(/tmp/multipartBody4961094109983566832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041772911,"filename":"image_19042025_04_02_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/19/59d8067c95489ed07620ffe512dde568.jpg","text":"TemporaryFile(/tmp/multipartBody3600906938215312459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041772911,"filename":"image_19042025_04_02_05_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5a202f35bd55699268002bf3173afcbb.jpg","text":"TemporaryFile(/tmp/multipartBody2402136402599280128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041772911,"filename":"image_19042025_04_03_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/19/62cfb871fae0c63dec774c3bdfbdea88.jpg","text":"TemporaryFile(/tmp/multipartBody114951043185063727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041772911,"filename":"image_19042025_04_01_54_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bbb3ffb6a877d99cb3a697112bb25506.jpg","text":"TemporaryFile(/tmp/multipartBody7643529469005066434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041772911,"filename":"image_19042025_04_02_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/19/d1f84133dcaddbd60ae90123721710bb.jpg","text":"TemporaryFile(/tmp/multipartBody2690481581767030243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041772911,"filename":"image_19042025_04_02_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351751036","file1":"1351751032","file0":"1351751028","file4":"1351751045","file5":"1351751046","file3":"1351751043"},"map_files_photo_id_array":[{"photo_id":"1351751046","filename":"file5"},{"photo_id":"1351751036","filename":"file2"},{"photo_id":"1351751045","filename":"file4"},{"photo_id":"1351751032","filename":"file1"},{"photo_id":"1351751028","filename":"file0"},{"photo_id":"1351751043","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351751036":["hashtag1","hashtag2"]},{"1351751032":["hashtag1","hashtag2"]},{"1351751046":["hashtag1","hashtag2"]},{"1351751028":["hashtag1","hashtag2"]},{"1351751043":["hashtag1","hashtag2"]},{"1351751045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351751036, 1351751032, 1351751046, 1351751028, 1351751043, 1351751045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98035478591919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:49:32.498750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/03/image_19042025_04_03_25_10422.jpg', '/home/pi/Desktop/images/19042025/04/03/image_19042025_04_03_34_9346.jpg', '/home/pi/Desktop/images/19042025/04/03/image_19042025_04_03_45_10362.jpg', '/home/pi/Desktop/images/19042025/04/03/image_19042025_04_03_54_9405.jpg', '/home/pi/Desktop/images/19042025/04/03/image_19042025_04_04_04_10366.jpg', '/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_15_10498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/03/image_19042025_04_03_25_10422.jpg
/home/pi/Desktop/images/19042025/04/03/image_19042025_04_03_34_9346.jpg
/home/pi/Desktop/images/19042025/04/03/image_19042025_04_03_45_10362.jpg
/home/pi/Desktop/images/19042025/04/03/image_19042025_04_03_54_9405.jpg
/home/pi/Desktop/images/19042025/04/03/image_19042025_04_04_04_10366.jpg
/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_15_10498.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":["1351751120","1351751114","1351751098","1351751059","1351751076","1351751205"],"photo_ids_order":["1351751059","1351751076","1351751098","1351751114","1351751120","1351751205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89fb851682653a595d71c5606af3cfba.jpg","text":"TemporaryFile(/tmp/multipartBody4085765979313718612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041833043,"filename":"image_19042025_04_04_04_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/19/67f86d5ae65a31cbdd28ae61dd23f29b.jpg","text":"TemporaryFile(/tmp/multipartBody6547003887532348514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041833043,"filename":"image_19042025_04_03_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/19/133eb67ef4c73c4a069ffea53a87fc4e.jpg","text":"TemporaryFile(/tmp/multipartBody7017881530379710333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041833043,"filename":"image_19042025_04_03_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/19/9dd8b26342e3820df0021b80e59183eb.jpg","text":"TemporaryFile(/tmp/multipartBody5754298133295446503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041833043,"filename":"image_19042025_04_03_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a36a25712d4e9a8b379e2030b2d53fd4.jpg","text":"TemporaryFile(/tmp/multipartBody2087931889379713099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041833043,"filename":"image_19042025_04_03_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/31bde3293df931dfa457e93cac06f797.jpg","text":"TemporaryFile(/tmp/multipartBody2036907866494897671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041833043,"filename":"image_19042025_04_04_15_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351751098","file1":"1351751076","file0":"1351751059","file4":"1351751120","file5":"1351751205","file3":"1351751114"},"map_files_photo_id_array":[{"photo_id":"1351751205","filename":"file5"},{"photo_id":"1351751098","filename":"file2"},{"photo_id":"1351751120","filename":"file4"},{"photo_id":"1351751076","filename":"file1"},{"photo_id":"1351751059","filename":"file0"},{"photo_id":"1351751114","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351751120":["hashtag1","hashtag2"]},{"1351751114":["hashtag1","hashtag2"]},{"1351751098":["hashtag1","hashtag2"]},{"1351751059":["hashtag1","hashtag2"]},{"1351751076":["hashtag1","hashtag2"]},{"1351751205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351751120, 1351751114, 1351751098, 1351751059, 1351751076, 1351751205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.53526306152344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 07:50:42.706884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_24_9342.jpg', '/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_35_10360.jpg', '/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_44_9426.jpg', '/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_54_10363.jpg', '/home/pi/Desktop/images/19042025/04/04/image_19042025_04_05_05_10434.jpg', '/home/pi/Desktop/images/19042025/04/05/image_19042025_04_05_14_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_24_9342.jpg
/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_35_10360.jpg
/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_44_9426.jpg
/home/pi/Desktop/images/19042025/04/04/image_19042025_04_04_54_10363.jpg
/home/pi/Desktop/images/19042025/04/04/image_19042025_04_05_05_10434.jpg
/home/pi/Desktop/images/19042025/04/05/image_19042025_04_05_14_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":["1351751240","1351751309","1351751331","1351751325","1351751304","1351751264"],"photo_ids_order":["1351751240","1351751264","1351751304","1351751309","1351751325","1351751331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb7fe7488e8dbfb8db2cd3538dbded6b.jpg","text":"TemporaryFile(/tmp/multipartBody1508877055625837990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041903274,"filename":"image_19042025_04_04_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/19/43af6e0e218fb5e714f81a92f875f445.jpg","text":"TemporaryFile(/tmp/multipartBody8697338343634219138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041903274,"filename":"image_19042025_04_04_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/19/b5aebfa28e4c8233ba6c0bd9bca9044e.jpg","text":"TemporaryFile(/tmp/multipartBody5323771031820710180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041903274,"filename":"image_19042025_04_05_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/19/410d35d5a918cf29918adb4917924a97.jpg","text":"TemporaryFile(/tmp/multipartBody3823706966061041091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041903274,"filename":"image_19042025_04_05_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/19/44484d8bf1b7c759b8ad964deebcce1a.jpg","text":"TemporaryFile(/tmp/multipartBody4169277708912822604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041903274,"filename":"image_19042025_04_04_44_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f658d99a34710eeade3026a9ec3b30f2.jpg","text":"TemporaryFile(/tmp/multipartBody5072508207901950182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041903274,"filename":"image_19042025_04_04_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351751304","file1":"1351751264","file0":"1351751240","file4":"1351751325","file5":"1351751331","file3":"1351751309"},"map_files_photo_id_array":[{"photo_id":"1351751331","filename":"file5"},{"photo_id":"1351751304","filename":"file2"},{"photo_id":"1351751325","filename":"file4"},{"photo_id":"1351751264","filename":"file1"},{"photo_id":"1351751240","filename":"file0"},{"photo_id":"1351751309","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351751240":["hashtag1","hashtag2"]},{"1351751309":["hashtag1","hashtag2"]},{"1351751331":["hashtag1","hashtag2"]},{"1351751325":["hashtag1","hashtag2"]},{"1351751304":["hashtag1","hashtag2"]},{"1351751264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351751240, 1351751309, 1351751331, 1351751325, 1351751304, 1351751264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.71725583076477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 07:51:42.923929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/05/image_19042025_04_05_25_10464.jpg', '/home/pi/Desktop/images/19042025/04/05/image_19042025_04_05_44_10366.jpg', '/home/pi/Desktop/images/19042025/04/05/image_19042025_04_05_55_10410.jpg', '/home/pi/Desktop/images/19042025/04/05/image_19042025_04_06_04_9367.jpg', '/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_15_10356.jpg', '/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_24_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/05/image_19042025_04_05_25_10464.jpg
/home/pi/Desktop/images/19042025/04/05/image_19042025_04_05_44_10366.jpg
/home/pi/Desktop/images/19042025/04/05/image_19042025_04_05_55_10410.jpg
/home/pi/Desktop/images/19042025/04/05/image_19042025_04_06_04_9367.jpg
/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_15_10356.jpg
/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_24_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351751479","1351751404","1351751439","1351751462","1351751456","1351751441"],"photo_ids_order":["1351751404","1351751439","1351751441","1351751456","1351751462","1351751479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/970f6bc1c4a1d2a3ac12543ada1b8a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7896212283235742611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041963468,"filename":"image_19042025_04_06_24_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/19/6651172809cc789065ca5e07b7cbc3d1.jpg","text":"TemporaryFile(/tmp/multipartBody3746288082805592707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041963468,"filename":"image_19042025_04_05_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6f1d4b9f7964b72d9221ec21b21dcf3f.jpg","text":"TemporaryFile(/tmp/multipartBody4103856763110502985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041963468,"filename":"image_19042025_04_05_44_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6dca8ea17573060c08ae196097bb0a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4219339623948232822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041963468,"filename":"image_19042025_04_06_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/19/a47751c9717566272e41e1d52c106e71.jpg","text":"TemporaryFile(/tmp/multipartBody5162622017277310400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041963468,"filename":"image_19042025_04_06_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/19/ebb7360e43b59075c32786a06fd05782.jpg","text":"TemporaryFile(/tmp/multipartBody588845738117544215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745041963468,"filename":"image_19042025_04_05_55_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351751441","file1":"1351751439","file0":"1351751404","file4":"1351751462","file5":"1351751479","file3":"1351751456"},"map_files_photo_id_array":[{"photo_id":"1351751479","filename":"file5"},{"photo_id":"1351751441","filename":"file2"},{"photo_id":"1351751462","filename":"file4"},{"photo_id":"1351751439","filename":"file1"},{"photo_id":"1351751404","filename":"file0"},{"photo_id":"1351751456","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351751479":["hashtag1","hashtag2"]},{"1351751404":["hashtag1","hashtag2"]},{"1351751439":["hashtag1","hashtag2"]},{"1351751462":["hashtag1","hashtag2"]},{"1351751456":["hashtag1","hashtag2"]},{"1351751441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351751479, 1351751404, 1351751439, 1351751462, 1351751456, 1351751441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.455342531204224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:52:33.139325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_34_10379.jpg', '/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_45_10363.jpg', '/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_54_9373.jpg', '/home/pi/Desktop/images/19042025/04/06/image_19042025_04_07_04_10351.jpg', '/home/pi/Desktop/images/19042025/04/07/image_19042025_04_07_14_9502.jpg', '/home/pi/Desktop/images/19042025/04/07/image_19042025_04_07_24_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_34_10379.jpg
/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_45_10363.jpg
/home/pi/Desktop/images/19042025/04/06/image_19042025_04_06_54_9373.jpg
/home/pi/Desktop/images/19042025/04/06/image_19042025_04_07_04_10351.jpg
/home/pi/Desktop/images/19042025/04/07/image_19042025_04_07_14_9502.jpg
/home/pi/Desktop/images/19042025/04/07/image_19042025_04_07_24_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":["1351751519","1351751568","1351751577","1351751570","1351751573","1351751576"],"photo_ids_order":["1351751519","1351751568","1351751570","1351751573","1351751576","1351751577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/557fa0dc04f6f51fb97cad0c95d9470a.jpg","text":"TemporaryFile(/tmp/multipartBody747266607379353889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042013702,"filename":"image_19042025_04_06_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/19/9f94525f3e3bb29b5fd10d47fe80752c.jpg","text":"TemporaryFile(/tmp/multipartBody8942877874865201817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042013702,"filename":"image_19042025_04_06_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/19/86ae24737614a497002d3cce7ea86f62.jpg","text":"TemporaryFile(/tmp/multipartBody4252090907858295095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042013702,"filename":"image_19042025_04_07_24_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/19/df332d85b116c4ae5d4608a442bb5f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2575494278818517436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042013702,"filename":"image_19042025_04_06_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/19/921ff57ad583c687ccd83a72bc46c692.jpg","text":"TemporaryFile(/tmp/multipartBody3309203210531891941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042013702,"filename":"image_19042025_04_07_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6bed0564e57b45ae005a48b57d8e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody5216401157580472953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042013702,"filename":"image_19042025_04_07_14_9502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351751570","file1":"1351751568","file0":"1351751519","file4":"1351751576","file5":"1351751577","file3":"1351751573"},"map_files_photo_id_array":[{"photo_id":"1351751577","filename":"file5"},{"photo_id":"1351751570","filename":"file2"},{"photo_id":"1351751576","filename":"file4"},{"photo_id":"1351751568","filename":"file1"},{"photo_id":"1351751519","filename":"file0"},{"photo_id":"1351751573","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351751519":["hashtag1","hashtag2"]},{"1351751568":["hashtag1","hashtag2"]},{"1351751577":["hashtag1","hashtag2"]},{"1351751570":["hashtag1","hashtag2"]},{"1351751573":["hashtag1","hashtag2"]},{"1351751576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351751519, 1351751568, 1351751577, 1351751570, 1351751573, 1351751576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69729709625244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:53:32.314780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/07/image_19042025_04_07_35_10385.jpg', '/home/pi/Desktop/images/19042025/04/07/image_19042025_04_07_54_10371.jpg', '/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_14_9444.jpg', '/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_25_10472.jpg', '/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_34_9424.jpg', '/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/07/image_19042025_04_07_35_10385.jpg
/home/pi/Desktop/images/19042025/04/07/image_19042025_04_07_54_10371.jpg
/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_14_9444.jpg
/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_25_10472.jpg
/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_34_9424.jpg
/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_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":["1351751603","1351751592","1351751676","1351751631","1351751588","1351751600"],"photo_ids_order":["1351751588","1351751592","1351751600","1351751603","1351751631","1351751676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fbd457dd8097c280169061d266962161.jpg","text":"TemporaryFile(/tmp/multipartBody5784892693512407731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042072862,"filename":"image_19042025_04_08_25_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2476fe88acd7d75f555c330390060f48.jpg","text":"TemporaryFile(/tmp/multipartBody4620995223760628841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042072862,"filename":"image_19042025_04_07_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/19/84480abc8224381bff5fe40c1d6be069.jpg","text":"TemporaryFile(/tmp/multipartBody5671440266765077082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042072862,"filename":"image_19042025_04_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/19/f322c433bc7f6389b84f0df998b48016.jpg","text":"TemporaryFile(/tmp/multipartBody7203566069246825039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042072862,"filename":"image_19042025_04_08_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c10b06294ebbc04c2dfb46b2e0455afc.jpg","text":"TemporaryFile(/tmp/multipartBody2927475183689519680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042072862,"filename":"image_19042025_04_07_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/19/0ef8ab8f2127f8b0a1de326a748aa1f1.jpg","text":"TemporaryFile(/tmp/multipartBody2716995441267122865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042072862,"filename":"image_19042025_04_08_14_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351751600","file1":"1351751592","file0":"1351751588","file4":"1351751631","file5":"1351751676","file3":"1351751603"},"map_files_photo_id_array":[{"photo_id":"1351751676","filename":"file5"},{"photo_id":"1351751600","filename":"file2"},{"photo_id":"1351751631","filename":"file4"},{"photo_id":"1351751592","filename":"file1"},{"photo_id":"1351751588","filename":"file0"},{"photo_id":"1351751603","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351751603":["hashtag1","hashtag2"]},{"1351751592":["hashtag1","hashtag2"]},{"1351751676":["hashtag1","hashtag2"]},{"1351751631":["hashtag1","hashtag2"]},{"1351751588":["hashtag1","hashtag2"]},{"1351751600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351751603, 1351751592, 1351751676, 1351751631, 1351751588, 1351751600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.326842784881592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:54:32.626515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_54_9425.jpg', '/home/pi/Desktop/images/19042025/04/08/image_19042025_04_09_04_10389.jpg', '/home/pi/Desktop/images/19042025/04/09/image_19042025_04_09_24_9414.jpg', '/home/pi/Desktop/images/19042025/04/09/image_19042025_04_09_34_10352.jpg', '/home/pi/Desktop/images/19042025/04/09/image_19042025_04_09_45_10391.jpg', '/home/pi/Desktop/images/19042025/04/09/image_19042025_04_09_54_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/08/image_19042025_04_08_54_9425.jpg
/home/pi/Desktop/images/19042025/04/08/image_19042025_04_09_04_10389.jpg
/home/pi/Desktop/images/19042025/04/09/image_19042025_04_09_24_9414.jpg
/home/pi/Desktop/images/19042025/04/09/image_19042025_04_09_34_10352.jpg
/home/pi/Desktop/images/19042025/04/09/image_19042025_04_09_45_10391.jpg
/home/pi/Desktop/images/19042025/04/09/image_19042025_04_09_54_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":["1351752151","1351752093","1351752177","1351752030","1351752122","1351752002"],"photo_ids_order":["1351752002","1351752030","1351752093","1351752122","1351752151","1351752177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/821ca0c9ab0dee2c0e572e23bc790c05.jpg","text":"TemporaryFile(/tmp/multipartBody3687655938177716459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042133162,"filename":"image_19042025_04_09_45_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ca89b9cad9159ca0311a2b7e469c14fc.jpg","text":"TemporaryFile(/tmp/multipartBody9184307766665038160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042133162,"filename":"image_19042025_04_09_24_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32a6f1747f378aca96edc9185b8ed7ae.jpg","text":"TemporaryFile(/tmp/multipartBody8546622322685684087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042133162,"filename":"image_19042025_04_09_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/19/d3ab2036493d4ebd7f3098742f7564a5.jpg","text":"TemporaryFile(/tmp/multipartBody3487557140432542290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042133162,"filename":"image_19042025_04_09_04_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98565a2f883c6b1d55a1818ffdbdcd26.jpg","text":"TemporaryFile(/tmp/multipartBody580673373800487677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042133162,"filename":"image_19042025_04_09_34_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b0fd974f6f5a409b6af4d80759cfb6ff.jpg","text":"TemporaryFile(/tmp/multipartBody16134407238499779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042133162,"filename":"image_19042025_04_08_54_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351752093","file1":"1351752030","file0":"1351752002","file4":"1351752151","file5":"1351752177","file3":"1351752122"},"map_files_photo_id_array":[{"photo_id":"1351752177","filename":"file5"},{"photo_id":"1351752093","filename":"file2"},{"photo_id":"1351752151","filename":"file4"},{"photo_id":"1351752030","filename":"file1"},{"photo_id":"1351752002","filename":"file0"},{"photo_id":"1351752122","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351752151":["hashtag1","hashtag2"]},{"1351752093":["hashtag1","hashtag2"]},{"1351752177":["hashtag1","hashtag2"]},{"1351752030":["hashtag1","hashtag2"]},{"1351752122":["hashtag1","hashtag2"]},{"1351752002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351752151, 1351752093, 1351752177, 1351752030, 1351752122, 1351752002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.495806217193604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:55:32.772943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/09/image_19042025_04_10_05_10343.jpg', '/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_15_10334.jpg', '/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_24_9434.jpg', '/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_35_10363.jpg', '/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_44_9349.jpg', '/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_54_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/09/image_19042025_04_10_05_10343.jpg
/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_15_10334.jpg
/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_24_9434.jpg
/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_35_10363.jpg
/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_44_9349.jpg
/home/pi/Desktop/images/19042025/04/10/image_19042025_04_10_54_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":["1351752760","1351752721","1351752822","1351752581","1351752850","1351752553"],"photo_ids_order":["1351752553","1351752581","1351752721","1351752760","1351752822","1351752850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2798ca5cae742ff68da610ed03e44d5.jpg","text":"TemporaryFile(/tmp/multipartBody3260325024208222448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042193321,"filename":"image_19042025_04_10_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/19/1e8e85d945e8817121dfeaeb04bb5380.jpg","text":"TemporaryFile(/tmp/multipartBody8905377990394200665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042193321,"filename":"image_19042025_04_10_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/19/72f28640e9fb182a72d03348d161b243.jpg","text":"TemporaryFile(/tmp/multipartBody182245053587306368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042193321,"filename":"image_19042025_04_10_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/19/7b210e187c4bc1a95ebd25cc612e297b.jpg","text":"TemporaryFile(/tmp/multipartBody8186301466637431028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042193321,"filename":"image_19042025_04_10_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/19/3583db3a9acc8817ee2f83119d256f46.jpg","text":"TemporaryFile(/tmp/multipartBody1567492433617316757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042193321,"filename":"image_19042025_04_10_54_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8fef5bcaada57cd8d75a039643a9ec6e.jpg","text":"TemporaryFile(/tmp/multipartBody7757467703275735039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042193321,"filename":"image_19042025_04_10_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351752721","file1":"1351752581","file0":"1351752553","file4":"1351752822","file5":"1351752850","file3":"1351752760"},"map_files_photo_id_array":[{"photo_id":"1351752850","filename":"file5"},{"photo_id":"1351752721","filename":"file2"},{"photo_id":"1351752822","filename":"file4"},{"photo_id":"1351752581","filename":"file1"},{"photo_id":"1351752553","filename":"file0"},{"photo_id":"1351752760","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351752760":["hashtag1","hashtag2"]},{"1351752721":["hashtag1","hashtag2"]},{"1351752822":["hashtag1","hashtag2"]},{"1351752581":["hashtag1","hashtag2"]},{"1351752850":["hashtag1","hashtag2"]},{"1351752553":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351752760, 1351752721, 1351752822, 1351752581, 1351752850, 1351752553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95890712738037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:56:32.996689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/10/image_19042025_04_11_05_10457.jpg', '/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_14_9375.jpg', '/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_25_10618.jpg', '/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_34_9357.jpg', '/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_45_10339.jpg', '/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_54_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/10/image_19042025_04_11_05_10457.jpg
/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_14_9375.jpg
/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_25_10618.jpg
/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_34_9357.jpg
/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_45_10339.jpg
/home/pi/Desktop/images/19042025/04/11/image_19042025_04_11_54_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":["1351753344","1351753176","1351753245","1351753311","1351753438","1351753204"],"photo_ids_order":["1351753176","1351753204","1351753245","1351753311","1351753344","1351753438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/577873bcda99cf166dee3935ff5e7a63.jpg","text":"TemporaryFile(/tmp/multipartBody6051030791600002187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042253540,"filename":"image_19042025_04_11_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/19/e711fc576729d5b7eb142bcf9914b12a.jpg","text":"TemporaryFile(/tmp/multipartBody964956111716460173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042253540,"filename":"image_19042025_04_11_05_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e9fb898852fc072e985e15fe33259aca.jpg","text":"TemporaryFile(/tmp/multipartBody97584068923666939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042253540,"filename":"image_19042025_04_11_25_10618.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f8b5ba485b35aa66a742364d61f7965.jpg","text":"TemporaryFile(/tmp/multipartBody2845645502118079670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042253540,"filename":"image_19042025_04_11_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/19/120c5ca6bf9784aeaaf139adf73e385c.jpg","text":"TemporaryFile(/tmp/multipartBody8335962416376179692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042253540,"filename":"image_19042025_04_11_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/411dabfb9f1f6b9c4d0213bf74e89e24.jpg","text":"TemporaryFile(/tmp/multipartBody862795531069024526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042253540,"filename":"image_19042025_04_11_14_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351753245","file1":"1351753204","file0":"1351753176","file4":"1351753344","file5":"1351753438","file3":"1351753311"},"map_files_photo_id_array":[{"photo_id":"1351753438","filename":"file5"},{"photo_id":"1351753245","filename":"file2"},{"photo_id":"1351753344","filename":"file4"},{"photo_id":"1351753204","filename":"file1"},{"photo_id":"1351753176","filename":"file0"},{"photo_id":"1351753311","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351753344":["hashtag1","hashtag2"]},{"1351753176":["hashtag1","hashtag2"]},{"1351753245":["hashtag1","hashtag2"]},{"1351753311":["hashtag1","hashtag2"]},{"1351753438":["hashtag1","hashtag2"]},{"1351753204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351753344, 1351753176, 1351753245, 1351753311, 1351753438, 1351753204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.72738027572632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 07:57:32.173042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/11/image_19042025_04_12_04_10374.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_15_10362.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_24_9389.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_34_10361.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_45_10419.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_54_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/11/image_19042025_04_12_04_10374.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_15_10362.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_24_9389.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_34_10361.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_45_10419.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_54_9369.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-19 07:59:04.497131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/11/image_19042025_04_12_04_10374.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_15_10362.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_24_9389.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_34_10361.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_45_10419.jpg', '/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_54_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/11/image_19042025_04_12_04_10374.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_15_10362.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_24_9389.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_34_10361.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_45_10419.jpg
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_12_54_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":["1351754259","1351754151","1351753964","1351754411","1351754497","1351754563"],"photo_ids_order":["1351753964","1351754151","1351754259","1351754411","1351754497","1351754563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4ee58d4dd0250691db1dd48d3112dcad.jpg","text":"TemporaryFile(/tmp/multipartBody3791028790510050308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042405169,"filename":"image_19042025_04_12_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/19/d6f53389e7da5bf2455b8e9c3e110865.jpg","text":"TemporaryFile(/tmp/multipartBody7987687163502048611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042405169,"filename":"image_19042025_04_12_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/19/0241624ee39f03d4ef74d5103c809bae.jpg","text":"TemporaryFile(/tmp/multipartBody7516636826142465928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042405169,"filename":"image_19042025_04_12_04_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/df413d0853680ae56abda430509b1371.jpg","text":"TemporaryFile(/tmp/multipartBody3331627259191961264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042405169,"filename":"image_19042025_04_12_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/19/63f23efb233b0587312301e01fc704d9.jpg","text":"TemporaryFile(/tmp/multipartBody651633651523375325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042405169,"filename":"image_19042025_04_12_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/19/3a2cc9e889e0e088b9226ca3bbc732bc.jpg","text":"TemporaryFile(/tmp/multipartBody6123147827145379614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042405169,"filename":"image_19042025_04_12_54_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351754259","file1":"1351754151","file0":"1351753964","file4":"1351754497","file5":"1351754563","file3":"1351754411"},"map_files_photo_id_array":[{"photo_id":"1351754563","filename":"file5"},{"photo_id":"1351754259","filename":"file2"},{"photo_id":"1351754497","filename":"file4"},{"photo_id":"1351754151","filename":"file1"},{"photo_id":"1351753964","filename":"file0"},{"photo_id":"1351754411","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351754259":["hashtag1","hashtag2"]},{"1351754151":["hashtag1","hashtag2"]},{"1351753964":["hashtag1","hashtag2"]},{"1351754411":["hashtag1","hashtag2"]},{"1351754497":["hashtag1","hashtag2"]},{"1351754563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351754259, 1351754151, 1351753964, 1351754411, 1351754497, 1351754563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.19090723991394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:00:02.822794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/12/image_19042025_04_13_05_10366.jpg', '/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_15_10346.jpg', '/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_24_9331.jpg', '/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_35_10369.jpg', '/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_44_9354.jpg', '/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_54_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/12/image_19042025_04_13_05_10366.jpg
/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_15_10346.jpg
/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_24_9331.jpg
/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_35_10369.jpg
/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_44_9354.jpg
/home/pi/Desktop/images/19042025/04/13/image_19042025_04_13_54_10447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351754951","1351755100","1351754863","1351754938","1351754902","1351754970"],"photo_ids_order":["1351754863","1351754902","1351754938","1351754951","1351754970","1351755100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/905d20226b02e3da79d238535ae3a122.jpg","text":"TemporaryFile(/tmp/multipartBody6967458610354869267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042463516,"filename":"image_19042025_04_13_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/19/35fff1eb79cbc36cb1adbc8e5d441190.jpg","text":"TemporaryFile(/tmp/multipartBody5732884389026062469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042463516,"filename":"image_19042025_04_13_54_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/19/45ba4fca4bc78df0a0508980ebcbfb64.jpg","text":"TemporaryFile(/tmp/multipartBody8111075823210275398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042463516,"filename":"image_19042025_04_13_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/19/955b64670f5e89d8c6e7411a244fb653.jpg","text":"TemporaryFile(/tmp/multipartBody7195501920067257977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042463516,"filename":"image_19042025_04_13_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/19/8b6e60f9272bed40d36f5826da99ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody1882859712617819050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042463516,"filename":"image_19042025_04_13_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d0b782f2ac1302da7a05681284feb1e1.jpg","text":"TemporaryFile(/tmp/multipartBody5621188881131590815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042463516,"filename":"image_19042025_04_13_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351754938","file1":"1351754902","file0":"1351754863","file4":"1351754970","file5":"1351755100","file3":"1351754951"},"map_files_photo_id_array":[{"photo_id":"1351755100","filename":"file5"},{"photo_id":"1351754938","filename":"file2"},{"photo_id":"1351754970","filename":"file4"},{"photo_id":"1351754902","filename":"file1"},{"photo_id":"1351754863","filename":"file0"},{"photo_id":"1351754951","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351754951":["hashtag1","hashtag2"]},{"1351755100":["hashtag1","hashtag2"]},{"1351754863":["hashtag1","hashtag2"]},{"1351754938":["hashtag1","hashtag2"]},{"1351754902":["hashtag1","hashtag2"]},{"1351754970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351754951, 1351755100, 1351754863, 1351754938, 1351754902, 1351754970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.196821451187134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:00:42.128351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/13/image_19042025_04_14_05_10472.jpg', '/home/pi/Desktop/images/19042025/04/14/image_19042025_04_14_14_9334.jpg', '/home/pi/Desktop/images/19042025/04/14/image_19042025_04_14_25_10350.jpg', '/home/pi/Desktop/images/19042025/04/14/image_19042025_04_14_34_9415.jpg', '/home/pi/Desktop/images/19042025/04/14/image_19042025_04_14_55_10451.jpg', '/home/pi/Desktop/images/19042025/04/14/image_19042025_04_15_04_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/13/image_19042025_04_14_05_10472.jpg
/home/pi/Desktop/images/19042025/04/14/image_19042025_04_14_14_9334.jpg
/home/pi/Desktop/images/19042025/04/14/image_19042025_04_14_25_10350.jpg
/home/pi/Desktop/images/19042025/04/14/image_19042025_04_14_34_9415.jpg
/home/pi/Desktop/images/19042025/04/14/image_19042025_04_14_55_10451.jpg
/home/pi/Desktop/images/19042025/04/14/image_19042025_04_15_04_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":["1351755776","1351755749","1351755679","1351755855","1351755828","1351755720"],"photo_ids_order":["1351755679","1351755720","1351755749","1351755776","1351755828","1351755855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/30c857399e808beb3b818999d231e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody656575991638490670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042502678,"filename":"image_19042025_04_14_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/19/e964675cb15ac50335e4f1771aad3a60.jpg","text":"TemporaryFile(/tmp/multipartBody2089671713634102752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042502678,"filename":"image_19042025_04_14_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/326004d5b9c5d856d0b617d01848073e.jpg","text":"TemporaryFile(/tmp/multipartBody5459682638154582893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042502678,"filename":"image_19042025_04_14_05_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6afb73a5b7e2ad711069fe678ad9b90d.jpg","text":"TemporaryFile(/tmp/multipartBody428798735443443161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042502678,"filename":"image_19042025_04_15_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/19/6a2a948e5a759295feddf055d375b8ba.jpg","text":"TemporaryFile(/tmp/multipartBody566245167281274697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042502678,"filename":"image_19042025_04_14_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/50d5ae2ee4928da4bb84f1acd25b35f9.jpg","text":"TemporaryFile(/tmp/multipartBody8169944756373547253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042502678,"filename":"image_19042025_04_14_14_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351755749","file1":"1351755720","file0":"1351755679","file4":"1351755828","file5":"1351755855","file3":"1351755776"},"map_files_photo_id_array":[{"photo_id":"1351755855","filename":"file5"},{"photo_id":"1351755749","filename":"file2"},{"photo_id":"1351755828","filename":"file4"},{"photo_id":"1351755720","filename":"file1"},{"photo_id":"1351755679","filename":"file0"},{"photo_id":"1351755776","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351755776":["hashtag1","hashtag2"]},{"1351755749":["hashtag1","hashtag2"]},{"1351755679":["hashtag1","hashtag2"]},{"1351755855":["hashtag1","hashtag2"]},{"1351755828":["hashtag1","hashtag2"]},{"1351755720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351755776, 1351755749, 1351755679, 1351755855, 1351755828, 1351755720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.547667741775513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:01:32.294984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_15_10415.jpg', '/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_24_9354.jpg', '/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_34_10357.jpg', '/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_45_10372.jpg', '/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_54_9412.jpg', '/home/pi/Desktop/images/19042025/04/15/image_19042025_04_16_04_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_15_10415.jpg
/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_24_9354.jpg
/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_34_10357.jpg
/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_45_10372.jpg
/home/pi/Desktop/images/19042025/04/15/image_19042025_04_15_54_9412.jpg
/home/pi/Desktop/images/19042025/04/15/image_19042025_04_16_04_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":["1351756562","1351756310","1351756195","1351756255","1351756394","1351756673"],"photo_ids_order":["1351756195","1351756255","1351756310","1351756394","1351756562","1351756673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29315b8154b69151007324105a8e5d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4873503938640436013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042552842,"filename":"image_19042025_04_15_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/19/33e4c2201e7c05b45869fb323faf32aa.jpg","text":"TemporaryFile(/tmp/multipartBody5430233113217493102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042552842,"filename":"image_19042025_04_15_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/19/66c5e3ed22a6a34bddd2fbe0cdeeeff7.jpg","text":"TemporaryFile(/tmp/multipartBody98867269109160027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042552842,"filename":"image_19042025_04_15_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/19/85ab0236a56f8ed8f67cae0004157078.jpg","text":"TemporaryFile(/tmp/multipartBody6976620907245875405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042552842,"filename":"image_19042025_04_15_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4447425825f320fb7fa00da4a553727.jpg","text":"TemporaryFile(/tmp/multipartBody2901011553625579957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042552842,"filename":"image_19042025_04_15_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/006e681cc5acc32dd431ca3f805e3a11.jpg","text":"TemporaryFile(/tmp/multipartBody1597159959002924426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042552842,"filename":"image_19042025_04_16_04_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351756310","file1":"1351756255","file0":"1351756195","file4":"1351756562","file5":"1351756673","file3":"1351756394"},"map_files_photo_id_array":[{"photo_id":"1351756673","filename":"file5"},{"photo_id":"1351756310","filename":"file2"},{"photo_id":"1351756562","filename":"file4"},{"photo_id":"1351756255","filename":"file1"},{"photo_id":"1351756195","filename":"file0"},{"photo_id":"1351756394","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351756562":["hashtag1","hashtag2"]},{"1351756310":["hashtag1","hashtag2"]},{"1351756195":["hashtag1","hashtag2"]},{"1351756255":["hashtag1","hashtag2"]},{"1351756394":["hashtag1","hashtag2"]},{"1351756673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351756562, 1351756310, 1351756195, 1351756255, 1351756394, 1351756673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.311338663101196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:02:32.447013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/16/image_19042025_04_16_15_10388.jpg', '/home/pi/Desktop/images/19042025/04/16/image_19042025_04_16_35_10419.jpg', '/home/pi/Desktop/images/19042025/04/16/image_19042025_04_16_44_9456.jpg', '/home/pi/Desktop/images/19042025/04/16/image_19042025_04_17_05_10434.jpg', '/home/pi/Desktop/images/19042025/04/17/image_19042025_04_17_14_9336.jpg', '/home/pi/Desktop/images/19042025/04/17/image_19042025_04_17_25_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/16/image_19042025_04_16_15_10388.jpg
/home/pi/Desktop/images/19042025/04/16/image_19042025_04_16_35_10419.jpg
/home/pi/Desktop/images/19042025/04/16/image_19042025_04_16_44_9456.jpg
/home/pi/Desktop/images/19042025/04/16/image_19042025_04_17_05_10434.jpg
/home/pi/Desktop/images/19042025/04/17/image_19042025_04_17_14_9336.jpg
/home/pi/Desktop/images/19042025/04/17/image_19042025_04_17_25_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":["1351757032","1351757100","1351757072","1351756976","1351757012","1351756943"],"photo_ids_order":["1351756943","1351756976","1351757012","1351757032","1351757072","1351757100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8eacb3d450f54c6dcf1b8b7c0196c495.jpg","text":"TemporaryFile(/tmp/multipartBody2321122579385779578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042612984,"filename":"image_19042025_04_17_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66d73d02213dc8054ba14987f6776582.jpg","text":"TemporaryFile(/tmp/multipartBody9046590401723103407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042612984,"filename":"image_19042025_04_17_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/19/15dce2681bc6af2b91377d6d97496bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4836894661824812734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042612984,"filename":"image_19042025_04_17_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/19/6ac23b6b4b61956c7eb5eaed4de02519.jpg","text":"TemporaryFile(/tmp/multipartBody951967647149550411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042612984,"filename":"image_19042025_04_16_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32d6c4cad0d46ea4aae7ca5376a2b4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7690755572079648689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042612984,"filename":"image_19042025_04_16_44_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e21756f4844633686161caa6e9d438ae.jpg","text":"TemporaryFile(/tmp/multipartBody3540944958005474140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042612984,"filename":"image_19042025_04_16_15_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351757012","file1":"1351756976","file0":"1351756943","file4":"1351757072","file5":"1351757100","file3":"1351757032"},"map_files_photo_id_array":[{"photo_id":"1351757100","filename":"file5"},{"photo_id":"1351757012","filename":"file2"},{"photo_id":"1351757072","filename":"file4"},{"photo_id":"1351756976","filename":"file1"},{"photo_id":"1351756943","filename":"file0"},{"photo_id":"1351757032","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351757032":["hashtag1","hashtag2"]},{"1351757100":["hashtag1","hashtag2"]},{"1351757072":["hashtag1","hashtag2"]},{"1351756976":["hashtag1","hashtag2"]},{"1351757012":["hashtag1","hashtag2"]},{"1351756943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351757032, 1351757100, 1351757072, 1351756976, 1351757012, 1351756943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.690574407577515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:03:32.732126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/17/image_19042025_04_17_44_10375.jpg', '/home/pi/Desktop/images/19042025/04/17/image_19042025_04_17_55_10414.jpg', '/home/pi/Desktop/images/19042025/04/17/image_19042025_04_18_04_9365.jpg', '/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_15_10349.jpg', '/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_25_10395.jpg', '/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_34_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/17/image_19042025_04_17_44_10375.jpg
/home/pi/Desktop/images/19042025/04/17/image_19042025_04_17_55_10414.jpg
/home/pi/Desktop/images/19042025/04/17/image_19042025_04_18_04_9365.jpg
/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_15_10349.jpg
/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_25_10395.jpg
/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_34_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":["1351757623","1351757431","1351757329","1351757401","1351757517","1351757354"],"photo_ids_order":["1351757329","1351757354","1351757401","1351757431","1351757517","1351757623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99a04cae94e835cbfaf2d1dcff5bf8b4.jpg","text":"TemporaryFile(/tmp/multipartBody4632249188651744684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042673282,"filename":"image_19042025_04_18_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/19/54cca10c2b43a5affbf175eb461740a4.jpg","text":"TemporaryFile(/tmp/multipartBody2168393959880895548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042673282,"filename":"image_19042025_04_18_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dfe2f895415a865b2337890f0e9d94e3.jpg","text":"TemporaryFile(/tmp/multipartBody6808535911662143336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042673282,"filename":"image_19042025_04_17_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/19/5997a4e41cd0450a56b03f7bc9564e5e.jpg","text":"TemporaryFile(/tmp/multipartBody1134147282153336588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042673282,"filename":"image_19042025_04_18_04_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/19/ac2e89abece1aab6bcf10026bdfe3970.jpg","text":"TemporaryFile(/tmp/multipartBody4324171863525133708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042673282,"filename":"image_19042025_04_18_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ceb001b83df791114529c461ca47e285.jpg","text":"TemporaryFile(/tmp/multipartBody985454612159996685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042673282,"filename":"image_19042025_04_17_55_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351757401","file1":"1351757354","file0":"1351757329","file4":"1351757517","file5":"1351757623","file3":"1351757431"},"map_files_photo_id_array":[{"photo_id":"1351757623","filename":"file5"},{"photo_id":"1351757401","filename":"file2"},{"photo_id":"1351757517","filename":"file4"},{"photo_id":"1351757354","filename":"file1"},{"photo_id":"1351757329","filename":"file0"},{"photo_id":"1351757431","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351757623":["hashtag1","hashtag2"]},{"1351757431":["hashtag1","hashtag2"]},{"1351757329":["hashtag1","hashtag2"]},{"1351757401":["hashtag1","hashtag2"]},{"1351757517":["hashtag1","hashtag2"]},{"1351757354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351757623, 1351757431, 1351757329, 1351757401, 1351757517, 1351757354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.922508239746094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:04:32.951435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_45_10530.jpg', '/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_54_9445.jpg', '/home/pi/Desktop/images/19042025/04/18/image_19042025_04_19_05_10369.jpg', '/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_14_9437.jpg', '/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_24_10370.jpg', '/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_35_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_45_10530.jpg
/home/pi/Desktop/images/19042025/04/18/image_19042025_04_18_54_9445.jpg
/home/pi/Desktop/images/19042025/04/18/image_19042025_04_19_05_10369.jpg
/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_14_9437.jpg
/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_24_10370.jpg
/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_35_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":["1351757983","1351757986","1351758016","1351758018","1351757972","1351757981"],"photo_ids_order":["1351757972","1351757981","1351757983","1351757986","1351758016","1351758018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/59910069e3bd5df360a3cfc719ee8c14.jpg","text":"TemporaryFile(/tmp/multipartBody8045363740756942974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042733510,"filename":"image_19042025_04_19_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/19/1a9ced0b5f61b63a8f8f100f117ab0bf.jpg","text":"TemporaryFile(/tmp/multipartBody150931342335686368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042733510,"filename":"image_19042025_04_19_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/19/e832ca8606825fa35aa6692092ecc52b.jpg","text":"TemporaryFile(/tmp/multipartBody3716743396148191231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042733510,"filename":"image_19042025_04_19_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/19/8b54d4ef734c34f6d8117a11afde3e44.jpg","text":"TemporaryFile(/tmp/multipartBody5150632941915159002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042733510,"filename":"image_19042025_04_19_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c0f8f55769a0f436407bbd2a1edab3b7.jpg","text":"TemporaryFile(/tmp/multipartBody7519930721350626817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042733510,"filename":"image_19042025_04_18_45_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f3e64a13a582321fcd23071d612e8f0.jpg","text":"TemporaryFile(/tmp/multipartBody2028511844670768609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042733510,"filename":"image_19042025_04_18_54_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351757983","file1":"1351757981","file0":"1351757972","file4":"1351758016","file5":"1351758018","file3":"1351757986"},"map_files_photo_id_array":[{"photo_id":"1351758018","filename":"file5"},{"photo_id":"1351757983","filename":"file2"},{"photo_id":"1351758016","filename":"file4"},{"photo_id":"1351757981","filename":"file1"},{"photo_id":"1351757972","filename":"file0"},{"photo_id":"1351757986","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351757983":["hashtag1","hashtag2"]},{"1351757986":["hashtag1","hashtag2"]},{"1351758016":["hashtag1","hashtag2"]},{"1351758018":["hashtag1","hashtag2"]},{"1351757972":["hashtag1","hashtag2"]},{"1351757981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351757983, 1351757986, 1351758016, 1351758018, 1351757972, 1351757981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80578684806824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:05:33.145530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_44_9351.jpg', '/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_55_10358.jpg', '/home/pi/Desktop/images/19042025/04/19/image_19042025_04_20_04_9475.jpg', '/home/pi/Desktop/images/19042025/04/20/image_19042025_04_20_25_10401.jpg', '/home/pi/Desktop/images/19042025/04/20/image_19042025_04_20_34_9361.jpg', '/home/pi/Desktop/images/19042025/04/20/image_19042025_04_20_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_44_9351.jpg
/home/pi/Desktop/images/19042025/04/19/image_19042025_04_19_55_10358.jpg
/home/pi/Desktop/images/19042025/04/19/image_19042025_04_20_04_9475.jpg
/home/pi/Desktop/images/19042025/04/20/image_19042025_04_20_25_10401.jpg
/home/pi/Desktop/images/19042025/04/20/image_19042025_04_20_34_9361.jpg
/home/pi/Desktop/images/19042025/04/20/image_19042025_04_20_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351758093","1351758095","1351758129","1351758098","1351758128","1351758101"],"photo_ids_order":["1351758093","1351758095","1351758098","1351758101","1351758128","1351758129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf6eff2242cab305d7a21160dfa29ac9.jpg","text":"TemporaryFile(/tmp/multipartBody1050153339185100578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042793699,"filename":"image_19042025_04_19_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/19/1cd28c88f51da6794c2504669ee07dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8477854161683568319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042793699,"filename":"image_19042025_04_19_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9d109adaeeb6fa66b7e90548449d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody3024081494459192068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042793699,"filename":"image_19042025_04_20_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d833577ffefd18b2a532d12f38737ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6245722420588047656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042793699,"filename":"image_19042025_04_20_04_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/19/81414fd8c52dfc24aaf4ee8c45b4e4be.jpg","text":"TemporaryFile(/tmp/multipartBody8501644218958287980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042793699,"filename":"image_19042025_04_20_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/19/6c0a8c5d848693d5d29ad4ff44d913f2.jpg","text":"TemporaryFile(/tmp/multipartBody2902031353700493845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042793699,"filename":"image_19042025_04_20_25_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758098","file1":"1351758095","file0":"1351758093","file4":"1351758128","file5":"1351758129","file3":"1351758101"},"map_files_photo_id_array":[{"photo_id":"1351758129","filename":"file5"},{"photo_id":"1351758098","filename":"file2"},{"photo_id":"1351758128","filename":"file4"},{"photo_id":"1351758095","filename":"file1"},{"photo_id":"1351758093","filename":"file0"},{"photo_id":"1351758101","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758093":["hashtag1","hashtag2"]},{"1351758095":["hashtag1","hashtag2"]},{"1351758129":["hashtag1","hashtag2"]},{"1351758098":["hashtag1","hashtag2"]},{"1351758128":["hashtag1","hashtag2"]},{"1351758101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758093, 1351758095, 1351758129, 1351758098, 1351758128, 1351758101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.574284076690674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:06:32.468243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/20/image_19042025_04_20_54_9468.jpg', '/home/pi/Desktop/images/19042025/04/20/image_19042025_04_21_04_10360.jpg', '/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_15_10461.jpg', '/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_24_9339.jpg', '/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_34_10359.jpg', '/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_45_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/20/image_19042025_04_20_54_9468.jpg
/home/pi/Desktop/images/19042025/04/20/image_19042025_04_21_04_10360.jpg
/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_15_10461.jpg
/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_24_9339.jpg
/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_34_10359.jpg
/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_45_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351758436","1351758231","1351758185","1351758413","1351758394","1351758367"],"photo_ids_order":["1351758185","1351758231","1351758367","1351758394","1351758413","1351758436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/539bd33264251904948f29ad9f29bd0f.jpg","text":"TemporaryFile(/tmp/multipartBody1097435622789495918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042853016,"filename":"image_19042025_04_21_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/19/8ac4397a93c9ceeae9ed9cb02f86a6d4.jpg","text":"TemporaryFile(/tmp/multipartBody896310999172218303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042853016,"filename":"image_19042025_04_21_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/19/56ef25b50acdc2656c482177e90a0bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6456072616284472699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042853016,"filename":"image_19042025_04_20_54_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/19/ac37c55ad6bea46bf6fbe0a022cbb2b0.jpg","text":"TemporaryFile(/tmp/multipartBody1819039181016599567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042853016,"filename":"image_19042025_04_21_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/19/8d596c8a368ba6aaf095b49c55a73a19.jpg","text":"TemporaryFile(/tmp/multipartBody2070210417530508723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042853016,"filename":"image_19042025_04_21_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/19/c9628ef9596df71dd132de783e7a1ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1645540930980532767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042853016,"filename":"image_19042025_04_21_15_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758367","file1":"1351758231","file0":"1351758185","file4":"1351758413","file5":"1351758436","file3":"1351758394"},"map_files_photo_id_array":[{"photo_id":"1351758436","filename":"file5"},{"photo_id":"1351758367","filename":"file2"},{"photo_id":"1351758413","filename":"file4"},{"photo_id":"1351758231","filename":"file1"},{"photo_id":"1351758185","filename":"file0"},{"photo_id":"1351758394","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758436":["hashtag1","hashtag2"]},{"1351758231":["hashtag1","hashtag2"]},{"1351758185":["hashtag1","hashtag2"]},{"1351758413":["hashtag1","hashtag2"]},{"1351758394":["hashtag1","hashtag2"]},{"1351758367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758436, 1351758231, 1351758185, 1351758413, 1351758394, 1351758367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.885387897491455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:07:32.674487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_54_9449.jpg', '/home/pi/Desktop/images/19042025/04/21/image_19042025_04_22_05_10355.jpg', '/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_14_9336.jpg', '/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_24_10407.jpg', '/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_35_10422.jpg', '/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_44_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/21/image_19042025_04_21_54_9449.jpg
/home/pi/Desktop/images/19042025/04/21/image_19042025_04_22_05_10355.jpg
/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_14_9336.jpg
/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_24_10407.jpg
/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_35_10422.jpg
/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_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":["1351758502","1351758456","1351758501","1351758452","1351758478","1351758460"],"photo_ids_order":["1351758452","1351758456","1351758460","1351758478","1351758501","1351758502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71ddba506a06318ba98250175526bf31.jpg","text":"TemporaryFile(/tmp/multipartBody8071441097435313055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042914882,"filename":"image_19042025_04_22_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/19/5a78f781fa06d83e0c9b4d2060175c59.jpg","text":"TemporaryFile(/tmp/multipartBody1865402019319865457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042914882,"filename":"image_19042025_04_22_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/19/0a58218a9a0c04b4d9cd424ac584afc3.jpg","text":"TemporaryFile(/tmp/multipartBody6292010431888118644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042914882,"filename":"image_19042025_04_22_35_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d48429c9373f41044dc249e4310376b3.jpg","text":"TemporaryFile(/tmp/multipartBody3827543122287750941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042914882,"filename":"image_19042025_04_21_54_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ca32a9a5b6feb26d8305e0fc521d8ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8526833343972736490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042914882,"filename":"image_19042025_04_22_24_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e3c44af16d65558138405e6c1a23076e.jpg","text":"TemporaryFile(/tmp/multipartBody1832143379872780293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042914882,"filename":"image_19042025_04_22_14_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758460","file1":"1351758456","file0":"1351758452","file4":"1351758501","file5":"1351758502","file3":"1351758478"},"map_files_photo_id_array":[{"photo_id":"1351758502","filename":"file5"},{"photo_id":"1351758460","filename":"file2"},{"photo_id":"1351758501","filename":"file4"},{"photo_id":"1351758456","filename":"file1"},{"photo_id":"1351758452","filename":"file0"},{"photo_id":"1351758478","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758502":["hashtag1","hashtag2"]},{"1351758456":["hashtag1","hashtag2"]},{"1351758501":["hashtag1","hashtag2"]},{"1351758452":["hashtag1","hashtag2"]},{"1351758478":["hashtag1","hashtag2"]},{"1351758460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758502, 1351758456, 1351758501, 1351758452, 1351758478, 1351758460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56540274620056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:08:33.001709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_55_10353.jpg', '/home/pi/Desktop/images/19042025/04/22/image_19042025_04_23_04_9374.jpg', '/home/pi/Desktop/images/19042025/04/23/image_19042025_04_23_25_10354.jpg', '/home/pi/Desktop/images/19042025/04/23/image_19042025_04_23_34_9338.jpg', '/home/pi/Desktop/images/19042025/04/23/image_19042025_04_23_44_10368.jpg', '/home/pi/Desktop/images/19042025/04/23/image_19042025_04_23_55_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/22/image_19042025_04_22_55_10353.jpg
/home/pi/Desktop/images/19042025/04/22/image_19042025_04_23_04_9374.jpg
/home/pi/Desktop/images/19042025/04/23/image_19042025_04_23_25_10354.jpg
/home/pi/Desktop/images/19042025/04/23/image_19042025_04_23_34_9338.jpg
/home/pi/Desktop/images/19042025/04/23/image_19042025_04_23_44_10368.jpg
/home/pi/Desktop/images/19042025/04/23/image_19042025_04_23_55_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351758625","1351758663","1351758666","1351758668","1351758659","1351758629"],"photo_ids_order":["1351758625","1351758629","1351758659","1351758663","1351758666","1351758668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38a532b20bfc7ca4a2a9a35d7776399c.jpg","text":"TemporaryFile(/tmp/multipartBody246865099186743382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042973577,"filename":"image_19042025_04_22_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/564f6ce29264b3d06594c67424291bc8.jpg","text":"TemporaryFile(/tmp/multipartBody5593354768587907917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042973577,"filename":"image_19042025_04_23_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/19/5d2fc94cae0e821e5fa2c69257de8eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7520676841489754823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042973577,"filename":"image_19042025_04_23_44_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f8b596d89c6d0be4838a4fbd57a4d39c.jpg","text":"TemporaryFile(/tmp/multipartBody7907205289706654283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042973577,"filename":"image_19042025_04_23_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac5e02adf3ee80c28ca147d1c2746bdf.jpg","text":"TemporaryFile(/tmp/multipartBody5708889944213652707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042973577,"filename":"image_19042025_04_23_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/df03ba6c7ee9a1f2fc4ee069fc59edf3.jpg","text":"TemporaryFile(/tmp/multipartBody6252438686295916994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745042973577,"filename":"image_19042025_04_23_04_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758659","file1":"1351758629","file0":"1351758625","file4":"1351758666","file5":"1351758668","file3":"1351758663"},"map_files_photo_id_array":[{"photo_id":"1351758668","filename":"file5"},{"photo_id":"1351758659","filename":"file2"},{"photo_id":"1351758666","filename":"file4"},{"photo_id":"1351758629","filename":"file1"},{"photo_id":"1351758625","filename":"file0"},{"photo_id":"1351758663","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758625":["hashtag1","hashtag2"]},{"1351758663":["hashtag1","hashtag2"]},{"1351758666":["hashtag1","hashtag2"]},{"1351758668":["hashtag1","hashtag2"]},{"1351758659":["hashtag1","hashtag2"]},{"1351758629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758625, 1351758663, 1351758666, 1351758668, 1351758659, 1351758629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30431532859802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:09:32.169474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/23/image_19042025_04_24_04_9359.jpg', '/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_14_10352.jpg', '/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_25_10400.jpg', '/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_34_9383.jpg', '/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_45_10356.jpg', '/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_54_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/23/image_19042025_04_24_04_9359.jpg
/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_14_10352.jpg
/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_25_10400.jpg
/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_34_9383.jpg
/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_45_10356.jpg
/home/pi/Desktop/images/19042025/04/24/image_19042025_04_24_54_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":["1351758777","1351758828","1351758746","1351758758","1351758803","1351758850"],"photo_ids_order":["1351758746","1351758758","1351758777","1351758803","1351758828","1351758850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/881efc851a12dae58b03236e8a6c16bf.jpg","text":"TemporaryFile(/tmp/multipartBody7333792431029085282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043032718,"filename":"image_19042025_04_24_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/19/baa59f78451e9307b6123a44ad03b520.jpg","text":"TemporaryFile(/tmp/multipartBody1055763602305788154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043032718,"filename":"image_19042025_04_24_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/19/23dd68a2b34a6b4a9a9b8eb9ecce45b0.jpg","text":"TemporaryFile(/tmp/multipartBody2430676807456681370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043032718,"filename":"image_19042025_04_24_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/19/d1df6b4317e8ab7c2de659a2ade6a466.jpg","text":"TemporaryFile(/tmp/multipartBody9182267269878068623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043032718,"filename":"image_19042025_04_24_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/19/5550b1ad41a3fea9882d403fea9e208d.jpg","text":"TemporaryFile(/tmp/multipartBody2959674027126220541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043032718,"filename":"image_19042025_04_24_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/77d7ab38112f071cd828f8ffc1a7c79c.jpg","text":"TemporaryFile(/tmp/multipartBody5423954155473549504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043032718,"filename":"image_19042025_04_24_54_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758777","file1":"1351758758","file0":"1351758746","file4":"1351758828","file5":"1351758850","file3":"1351758803"},"map_files_photo_id_array":[{"photo_id":"1351758850","filename":"file5"},{"photo_id":"1351758777","filename":"file2"},{"photo_id":"1351758828","filename":"file4"},{"photo_id":"1351758758","filename":"file1"},{"photo_id":"1351758746","filename":"file0"},{"photo_id":"1351758803","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758777":["hashtag1","hashtag2"]},{"1351758828":["hashtag1","hashtag2"]},{"1351758746":["hashtag1","hashtag2"]},{"1351758758":["hashtag1","hashtag2"]},{"1351758803":["hashtag1","hashtag2"]},{"1351758850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758777, 1351758828, 1351758746, 1351758758, 1351758803, 1351758850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23556113243103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:10:32.407600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/24/image_19042025_04_25_04_10359.jpg', '/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_15_10335.jpg', '/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_24_9424.jpg', '/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_34_10368.jpg', '/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_45_10448.jpg', '/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_54_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/24/image_19042025_04_25_04_10359.jpg
/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_15_10335.jpg
/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_24_9424.jpg
/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_34_10368.jpg
/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_45_10448.jpg
/home/pi/Desktop/images/19042025/04/25/image_19042025_04_25_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351758879","1351758876","1351758890","1351758887","1351758872","1351758883"],"photo_ids_order":["1351758872","1351758876","1351758879","1351758883","1351758887","1351758890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cfc0935ef87c638c01b5fa0812a01884.jpg","text":"TemporaryFile(/tmp/multipartBody4969264795713597242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043092979,"filename":"image_19042025_04_25_24_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/19/809948e6e2e872ee222418ad093aca4e.jpg","text":"TemporaryFile(/tmp/multipartBody6881907233965989262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043092979,"filename":"image_19042025_04_25_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a2aa5641e5abe417a6b503fd8b67f2b7.jpg","text":"TemporaryFile(/tmp/multipartBody5372768550737753304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043092979,"filename":"image_19042025_04_25_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/19/aea4803657534a42b38cf47b0f396cce.jpg","text":"TemporaryFile(/tmp/multipartBody7200009092663480743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043092979,"filename":"image_19042025_04_25_45_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3632a7a4215918acb6bf1e8dcbd75aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2295335171518755117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043092979,"filename":"image_19042025_04_25_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/19/2c8a405befab6047507998819a67523f.jpg","text":"TemporaryFile(/tmp/multipartBody6928045432503858737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043092979,"filename":"image_19042025_04_25_34_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758879","file1":"1351758876","file0":"1351758872","file4":"1351758887","file5":"1351758890","file3":"1351758883"},"map_files_photo_id_array":[{"photo_id":"1351758890","filename":"file5"},{"photo_id":"1351758879","filename":"file2"},{"photo_id":"1351758887","filename":"file4"},{"photo_id":"1351758876","filename":"file1"},{"photo_id":"1351758872","filename":"file0"},{"photo_id":"1351758883","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758879":["hashtag1","hashtag2"]},{"1351758876":["hashtag1","hashtag2"]},{"1351758890":["hashtag1","hashtag2"]},{"1351758887":["hashtag1","hashtag2"]},{"1351758872":["hashtag1","hashtag2"]},{"1351758883":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758879, 1351758876, 1351758890, 1351758887, 1351758872, 1351758883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8856475353241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:11:32.669423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/25/image_19042025_04_26_05_10367.jpg', '/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_14_9340.jpg', '/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_24_10346.jpg', '/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_35_10354.jpg', '/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_44_9361.jpg', '/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_54_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/25/image_19042025_04_26_05_10367.jpg
/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_14_9340.jpg
/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_24_10346.jpg
/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_35_10354.jpg
/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_44_9361.jpg
/home/pi/Desktop/images/19042025/04/26/image_19042025_04_26_54_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351758925","1351758924","1351758906","1351758909","1351758920","1351758914"],"photo_ids_order":["1351758906","1351758909","1351758914","1351758920","1351758924","1351758925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/897f88662136a8b59b268ae2ca163a75.jpg","text":"TemporaryFile(/tmp/multipartBody3640891337563221127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043153219,"filename":"image_19042025_04_26_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/19/745657498ca8a42e39e7567b7fb2a1d3.jpg","text":"TemporaryFile(/tmp/multipartBody2969822313980555909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043153219,"filename":"image_19042025_04_26_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/19/309671e225f96ba1ae36f97a152ab108.jpg","text":"TemporaryFile(/tmp/multipartBody6594435879301538609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043153219,"filename":"image_19042025_04_26_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/19/0d8a9c636f65d55eb998783f0b9f6bd0.jpg","text":"TemporaryFile(/tmp/multipartBody3418868545631432683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043153219,"filename":"image_19042025_04_26_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/19/8817764a2c4cba6f62ed85901e4a72a6.jpg","text":"TemporaryFile(/tmp/multipartBody875448511112503177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043153219,"filename":"image_19042025_04_26_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/19/6533c25edd345cb9c554b9253e20aa4b.jpg","text":"TemporaryFile(/tmp/multipartBody4795747098553245696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043153219,"filename":"image_19042025_04_26_24_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758914","file1":"1351758909","file0":"1351758906","file4":"1351758924","file5":"1351758925","file3":"1351758920"},"map_files_photo_id_array":[{"photo_id":"1351758925","filename":"file5"},{"photo_id":"1351758914","filename":"file2"},{"photo_id":"1351758924","filename":"file4"},{"photo_id":"1351758909","filename":"file1"},{"photo_id":"1351758906","filename":"file0"},{"photo_id":"1351758920","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758925":["hashtag1","hashtag2"]},{"1351758924":["hashtag1","hashtag2"]},{"1351758906":["hashtag1","hashtag2"]},{"1351758909":["hashtag1","hashtag2"]},{"1351758920":["hashtag1","hashtag2"]},{"1351758914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758925, 1351758924, 1351758906, 1351758909, 1351758920, 1351758914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.937593460083008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:12:32.832618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/26/image_19042025_04_27_05_10378.jpg', '/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_14_9331.jpg', '/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_24_10390.jpg', '/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_35_10427.jpg', '/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_44_9354.jpg', '/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/26/image_19042025_04_27_05_10378.jpg
/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_14_9331.jpg
/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_24_10390.jpg
/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_35_10427.jpg
/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_44_9354.jpg
/home/pi/Desktop/images/19042025/04/27/image_19042025_04_27_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":["1351758960","1351758950","1351758953","1351758947","1351758956","1351758964"],"photo_ids_order":["1351758947","1351758950","1351758953","1351758956","1351758960","1351758964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f44959b5a2c5f3b10992610c91e8ccfb.jpg","text":"TemporaryFile(/tmp/multipartBody5507683926110885057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043213377,"filename":"image_19042025_04_27_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/19/aa45ed87bbd4072eb3c52269e59e3517.jpg","text":"TemporaryFile(/tmp/multipartBody2669809278971512473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043213377,"filename":"image_19042025_04_27_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5cfa5ef6261fec93c6dd590b5389a73f.jpg","text":"TemporaryFile(/tmp/multipartBody7395788421321724592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043213377,"filename":"image_19042025_04_27_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/19/8ab8eed2f673ecb558c4a77353466be8.jpg","text":"TemporaryFile(/tmp/multipartBody1935893893468333006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043213377,"filename":"image_19042025_04_27_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/19/79c58e3e099261962d1ed5c3710f582f.jpg","text":"TemporaryFile(/tmp/multipartBody8077479738093347879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043213377,"filename":"image_19042025_04_27_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0996b66fbebe79ed6f73817a8f9ac11a.jpg","text":"TemporaryFile(/tmp/multipartBody4395509322475356198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043213377,"filename":"image_19042025_04_27_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758953","file1":"1351758950","file0":"1351758947","file4":"1351758960","file5":"1351758964","file3":"1351758956"},"map_files_photo_id_array":[{"photo_id":"1351758964","filename":"file5"},{"photo_id":"1351758953","filename":"file2"},{"photo_id":"1351758960","filename":"file4"},{"photo_id":"1351758950","filename":"file1"},{"photo_id":"1351758947","filename":"file0"},{"photo_id":"1351758956","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758960":["hashtag1","hashtag2"]},{"1351758950":["hashtag1","hashtag2"]},{"1351758953":["hashtag1","hashtag2"]},{"1351758947":["hashtag1","hashtag2"]},{"1351758956":["hashtag1","hashtag2"]},{"1351758964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758960, 1351758950, 1351758953, 1351758947, 1351758956, 1351758964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00969362258911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:13:33.011902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/27/image_19042025_04_28_04_9425.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_14_10354.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_25_10527.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_34_9349.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_45_10382.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_54_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/27/image_19042025_04_28_04_9425.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_14_10354.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_25_10527.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_34_9349.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_45_10382.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_54_9387.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4888174533843994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:13:43.077413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/27/image_19042025_04_28_04_9425.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_14_10354.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_25_10527.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_34_9349.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_45_10382.jpg', '/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_54_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/27/image_19042025_04_28_04_9425.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_14_10354.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_25_10527.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_34_9349.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_45_10382.jpg
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_28_54_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351758996","1351759013","1351759007","1351759001","1351759004","1351759006"],"photo_ids_order":["1351758996","1351759001","1351759004","1351759006","1351759007","1351759013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97262ae9de0e0b88dda86bfa0513e21f.jpg","text":"TemporaryFile(/tmp/multipartBody2978951800848167592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043283560,"filename":"image_19042025_04_28_04_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b743bd5489bbaea245d0df8a7a44d215.jpg","text":"TemporaryFile(/tmp/multipartBody3594435417948443984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043283560,"filename":"image_19042025_04_28_54_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e9987e45e3eef9f5d7def1defc8ef96e.jpg","text":"TemporaryFile(/tmp/multipartBody8352698961329363438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043283560,"filename":"image_19042025_04_28_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/19/b904a51f64884ee92fbc25e8e10522fe.jpg","text":"TemporaryFile(/tmp/multipartBody362639916962954090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043283560,"filename":"image_19042025_04_28_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/19/0faf91722fd46e21a3bdcc4f9f583290.jpg","text":"TemporaryFile(/tmp/multipartBody1293007670366564985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043283560,"filename":"image_19042025_04_28_25_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71e380aa2e1bee416176aae40a2ca12a.jpg","text":"TemporaryFile(/tmp/multipartBody7471101437120826287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043283560,"filename":"image_19042025_04_28_34_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351759004","file1":"1351759001","file0":"1351758996","file4":"1351759007","file5":"1351759013","file3":"1351759006"},"map_files_photo_id_array":[{"photo_id":"1351759013","filename":"file5"},{"photo_id":"1351759004","filename":"file2"},{"photo_id":"1351759007","filename":"file4"},{"photo_id":"1351759001","filename":"file1"},{"photo_id":"1351758996","filename":"file0"},{"photo_id":"1351759006","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351758996":["hashtag1","hashtag2"]},{"1351759013":["hashtag1","hashtag2"]},{"1351759007":["hashtag1","hashtag2"]},{"1351759001":["hashtag1","hashtag2"]},{"1351759004":["hashtag1","hashtag2"]},{"1351759006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351758996, 1351759013, 1351759007, 1351759001, 1351759004, 1351759006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54026556015015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:14:32.236320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/28/image_19042025_04_29_04_10409.jpg', '/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_15_10432.jpg', '/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_24_9329.jpg', '/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_35_10362.jpg', '/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_44_9429.jpg', '/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_54_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/28/image_19042025_04_29_04_10409.jpg
/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_15_10432.jpg
/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_24_9329.jpg
/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_35_10362.jpg
/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_44_9429.jpg
/home/pi/Desktop/images/19042025/04/29/image_19042025_04_29_54_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":["1351759038","1351759032","1351759034","1351759042","1351759045","1351759048"],"photo_ids_order":["1351759032","1351759034","1351759038","1351759042","1351759045","1351759048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba87aa67888477ce1ad41ed2ab7b6a81.jpg","text":"TemporaryFile(/tmp/multipartBody3911923224613937049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043332785,"filename":"image_19042025_04_29_24_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a849006a6ca2df5601280e013ce94721.jpg","text":"TemporaryFile(/tmp/multipartBody3647094684013801803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043332785,"filename":"image_19042025_04_29_04_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/19/23bab01c78df4ff855af44139a4ac68f.jpg","text":"TemporaryFile(/tmp/multipartBody4385559676316981948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043332785,"filename":"image_19042025_04_29_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/19/25193e092f2da71982aa1f59121b2906.jpg","text":"TemporaryFile(/tmp/multipartBody5469192177368360154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043332785,"filename":"image_19042025_04_29_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/19/92ce6d293e8de909b36a6f04239be2ef.jpg","text":"TemporaryFile(/tmp/multipartBody8886184945122880791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043332785,"filename":"image_19042025_04_29_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/19/14dbc1a2786f5177172b8356dff741dd.jpg","text":"TemporaryFile(/tmp/multipartBody3073153869431218901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043332785,"filename":"image_19042025_04_29_54_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351759038","file1":"1351759034","file0":"1351759032","file4":"1351759045","file5":"1351759048","file3":"1351759042"},"map_files_photo_id_array":[{"photo_id":"1351759048","filename":"file5"},{"photo_id":"1351759038","filename":"file2"},{"photo_id":"1351759045","filename":"file4"},{"photo_id":"1351759034","filename":"file1"},{"photo_id":"1351759032","filename":"file0"},{"photo_id":"1351759042","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351759038":["hashtag1","hashtag2"]},{"1351759032":["hashtag1","hashtag2"]},{"1351759034":["hashtag1","hashtag2"]},{"1351759042":["hashtag1","hashtag2"]},{"1351759045":["hashtag1","hashtag2"]},{"1351759048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351759038, 1351759032, 1351759034, 1351759042, 1351759045, 1351759048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.676706790924072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:15:32.385942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/29/image_19042025_04_30_05_10383.jpg', '/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_14_9419.jpg', '/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_25_10358.jpg', '/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_34_9427.jpg', '/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_44_10378.jpg', '/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_55_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/29/image_19042025_04_30_05_10383.jpg
/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_14_9419.jpg
/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_25_10358.jpg
/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_34_9427.jpg
/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_44_10378.jpg
/home/pi/Desktop/images/19042025/04/30/image_19042025_04_30_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":["1351759257","1351759287","1351759230","1351759369","1351759342","1351759315"],"photo_ids_order":["1351759230","1351759257","1351759287","1351759315","1351759342","1351759369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d96fd9de9bd9415ef2ddf440245ab8c9.jpg","text":"TemporaryFile(/tmp/multipartBody7017262491149242097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043392996,"filename":"image_19042025_04_30_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/19/711358dcafb0542220f3b855765d6c98.jpg","text":"TemporaryFile(/tmp/multipartBody5918455770495154728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043392996,"filename":"image_19042025_04_30_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/19/3365e47f322093872418878c355eb930.jpg","text":"TemporaryFile(/tmp/multipartBody3983933144939136864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043392996,"filename":"image_19042025_04_30_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dee0ca25d3c623b145495ed40997dde1.jpg","text":"TemporaryFile(/tmp/multipartBody925218375405430310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043392996,"filename":"image_19042025_04_30_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/19/90e1115da5d2488082b926c725f8d1a0.jpg","text":"TemporaryFile(/tmp/multipartBody1896466152895941093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043392996,"filename":"image_19042025_04_30_44_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/19/fdf528e4df0c0be62b7e31e34b5b91b6.jpg","text":"TemporaryFile(/tmp/multipartBody5751045055178510780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043392996,"filename":"image_19042025_04_30_34_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351759287","file1":"1351759257","file0":"1351759230","file4":"1351759342","file5":"1351759369","file3":"1351759315"},"map_files_photo_id_array":[{"photo_id":"1351759369","filename":"file5"},{"photo_id":"1351759287","filename":"file2"},{"photo_id":"1351759342","filename":"file4"},{"photo_id":"1351759257","filename":"file1"},{"photo_id":"1351759230","filename":"file0"},{"photo_id":"1351759315","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351759257":["hashtag1","hashtag2"]},{"1351759287":["hashtag1","hashtag2"]},{"1351759230":["hashtag1","hashtag2"]},{"1351759369":["hashtag1","hashtag2"]},{"1351759342":["hashtag1","hashtag2"]},{"1351759315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351759257, 1351759287, 1351759230, 1351759369, 1351759342, 1351759315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.49985671043396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:16:32.597789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/30/image_19042025_04_31_04_9406.jpg', '/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_14_10339.jpg', '/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_25_10421.jpg', '/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_34_9449.jpg', '/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_45_10380.jpg', '/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_54_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/30/image_19042025_04_31_04_9406.jpg
/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_14_10339.jpg
/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_25_10421.jpg
/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_34_9449.jpg
/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_45_10380.jpg
/home/pi/Desktop/images/19042025/04/31/image_19042025_04_31_54_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":["1351759652","1351759631","1351759640","1351759634","1351759648","1351759615"],"photo_ids_order":["1351759615","1351759631","1351759634","1351759640","1351759648","1351759652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fe297c5c56955e29162a909f425c0b06.jpg","text":"TemporaryFile(/tmp/multipartBody2943505021847703337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043453144,"filename":"image_19042025_04_31_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/478c955eae6d8744a136cecdb7873a39.jpg","text":"TemporaryFile(/tmp/multipartBody4008183882511616102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043453144,"filename":"image_19042025_04_31_14_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/19/282bd0b9984e13f369c29e23657988f4.jpg","text":"TemporaryFile(/tmp/multipartBody754106441452216123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043453144,"filename":"image_19042025_04_31_34_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f45ce33246b13cd28e273427545d91b.jpg","text":"TemporaryFile(/tmp/multipartBody5317578989103298963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043453144,"filename":"image_19042025_04_31_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/19/7c7345d6b004ba7b7ef9e7aa259cdc9f.jpg","text":"TemporaryFile(/tmp/multipartBody2078384656134518181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043453144,"filename":"image_19042025_04_31_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/19/a07e196d1d992ef66e9727c9f5301fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6768000705789239653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043453144,"filename":"image_19042025_04_31_04_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351759634","file1":"1351759631","file0":"1351759615","file4":"1351759648","file5":"1351759652","file3":"1351759640"},"map_files_photo_id_array":[{"photo_id":"1351759652","filename":"file5"},{"photo_id":"1351759634","filename":"file2"},{"photo_id":"1351759648","filename":"file4"},{"photo_id":"1351759631","filename":"file1"},{"photo_id":"1351759615","filename":"file0"},{"photo_id":"1351759640","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351759652":["hashtag1","hashtag2"]},{"1351759631":["hashtag1","hashtag2"]},{"1351759640":["hashtag1","hashtag2"]},{"1351759634":["hashtag1","hashtag2"]},{"1351759648":["hashtag1","hashtag2"]},{"1351759615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351759652, 1351759631, 1351759640, 1351759634, 1351759648, 1351759615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91356658935547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:17:32.748560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/31/image_19042025_04_32_04_10363.jpg', '/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_15_10403.jpg', '/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_24_9354.jpg', '/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_35_10364.jpg', '/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_44_9441.jpg', '/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_54_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/31/image_19042025_04_32_04_10363.jpg
/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_15_10403.jpg
/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_24_9354.jpg
/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_35_10364.jpg
/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_44_9441.jpg
/home/pi/Desktop/images/19042025/04/32/image_19042025_04_32_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":["1351759878","1351759836","1351759830","1351759871","1351759847","1351759861"],"photo_ids_order":["1351759830","1351759836","1351759847","1351759861","1351759871","1351759878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae1c2f7ef5b677301831acda607e4e02.jpg","text":"TemporaryFile(/tmp/multipartBody4857782836434033594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043513302,"filename":"image_19042025_04_32_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/19/f1fe65777dd4ed084cb4a398af6c89c4.jpg","text":"TemporaryFile(/tmp/multipartBody8825109230196353210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043513302,"filename":"image_19042025_04_32_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/19/e616bdf892ac2bc5e93ee9df7e666cde.jpg","text":"TemporaryFile(/tmp/multipartBody1967789067850702618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043513302,"filename":"image_19042025_04_32_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/540f86eb25d961e32bb4389e89495ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2446239534324323419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043513302,"filename":"image_19042025_04_32_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/19/beba717184f44c1f65b884d8ecd7ab3f.jpg","text":"TemporaryFile(/tmp/multipartBody4661640917046249261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043513302,"filename":"image_19042025_04_32_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/19/870b7f66f3a9eb71ff8beee7855a82bf.jpg","text":"TemporaryFile(/tmp/multipartBody4510638800596497235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043513302,"filename":"image_19042025_04_32_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351759847","file1":"1351759836","file0":"1351759830","file4":"1351759871","file5":"1351759878","file3":"1351759861"},"map_files_photo_id_array":[{"photo_id":"1351759878","filename":"file5"},{"photo_id":"1351759847","filename":"file2"},{"photo_id":"1351759871","filename":"file4"},{"photo_id":"1351759836","filename":"file1"},{"photo_id":"1351759830","filename":"file0"},{"photo_id":"1351759861","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351759878":["hashtag1","hashtag2"]},{"1351759836":["hashtag1","hashtag2"]},{"1351759830":["hashtag1","hashtag2"]},{"1351759871":["hashtag1","hashtag2"]},{"1351759847":["hashtag1","hashtag2"]},{"1351759861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351759878, 1351759836, 1351759830, 1351759871, 1351759847, 1351759861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.195374488830566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:18:32.889032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/32/image_19042025_04_33_05_10358.jpg', '/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_14_9376.jpg', '/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_24_10371.jpg', '/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_34_9510.jpg', '/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_44_10364.jpg', '/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_55_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/32/image_19042025_04_33_05_10358.jpg
/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_14_9376.jpg
/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_24_10371.jpg
/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_34_9510.jpg
/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_44_10364.jpg
/home/pi/Desktop/images/19042025/04/33/image_19042025_04_33_55_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":["1351760020","1351760013","1351760001","1351760007","1351759999","1351760024"],"photo_ids_order":["1351759999","1351760001","1351760007","1351760013","1351760020","1351760024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa65972608e5443d2e7ef39fba103dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1035394523232855095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043573431,"filename":"image_19042025_04_33_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/19/d6b1193022fab0bedad8187d8733ed10.jpg","text":"TemporaryFile(/tmp/multipartBody7792605370225503647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043573431,"filename":"image_19042025_04_33_34_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/19/dd9a184098d47705fece44b699448e32.jpg","text":"TemporaryFile(/tmp/multipartBody5995080498880721570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043573431,"filename":"image_19042025_04_33_14_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c9fd1b96299140e51d09fba5da1a6d81.jpg","text":"TemporaryFile(/tmp/multipartBody8567515472687875912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043573431,"filename":"image_19042025_04_33_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/19/99d26885825037cbf80ecdb5f6d6a4a6.jpg","text":"TemporaryFile(/tmp/multipartBody1949604778353735018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043573431,"filename":"image_19042025_04_33_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/19/a922d9693768f819b1df9d133b76daa4.jpg","text":"TemporaryFile(/tmp/multipartBody4579695995020474971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043573431,"filename":"image_19042025_04_33_55_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760007","file1":"1351760001","file0":"1351759999","file4":"1351760020","file5":"1351760024","file3":"1351760013"},"map_files_photo_id_array":[{"photo_id":"1351760024","filename":"file5"},{"photo_id":"1351760007","filename":"file2"},{"photo_id":"1351760020","filename":"file4"},{"photo_id":"1351760001","filename":"file1"},{"photo_id":"1351759999","filename":"file0"},{"photo_id":"1351760013","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760020":["hashtag1","hashtag2"]},{"1351760013":["hashtag1","hashtag2"]},{"1351760001":["hashtag1","hashtag2"]},{"1351760007":["hashtag1","hashtag2"]},{"1351759999":["hashtag1","hashtag2"]},{"1351760024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760020, 1351760013, 1351760001, 1351760007, 1351759999, 1351760024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67384123802185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:19:32.153949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/33/image_19042025_04_34_04_9366.jpg', '/home/pi/Desktop/images/19042025/04/34/image_19042025_04_34_14_10327.jpg', '/home/pi/Desktop/images/19042025/04/34/image_19042025_04_34_25_10414.jpg', '/home/pi/Desktop/images/19042025/04/34/image_19042025_04_34_34_9346.jpg', '/home/pi/Desktop/images/19042025/04/34/image_19042025_04_34_54_9366.jpg', '/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_15_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/33/image_19042025_04_34_04_9366.jpg
/home/pi/Desktop/images/19042025/04/34/image_19042025_04_34_14_10327.jpg
/home/pi/Desktop/images/19042025/04/34/image_19042025_04_34_25_10414.jpg
/home/pi/Desktop/images/19042025/04/34/image_19042025_04_34_34_9346.jpg
/home/pi/Desktop/images/19042025/04/34/image_19042025_04_34_54_9366.jpg
/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_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":["1351760200","1351760190","1351760214","1351760195","1351760185","1351760164"],"photo_ids_order":["1351760164","1351760185","1351760190","1351760195","1351760200","1351760214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32c245fd5ae69e40ce0b119ec38364e9.jpg","text":"TemporaryFile(/tmp/multipartBody6282887630108740905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043632697,"filename":"image_19042025_04_34_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2fc081b221614bfaf37452fb2b1bad20.jpg","text":"TemporaryFile(/tmp/multipartBody6203805982702327091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043632697,"filename":"image_19042025_04_34_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/19/01476652973a82677b768a6db9980205.jpg","text":"TemporaryFile(/tmp/multipartBody2008279794315239026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043632697,"filename":"image_19042025_04_35_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/19/1425db73bbfb53520982b520b567fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody5213782769079795193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043632697,"filename":"image_19042025_04_34_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/43e6c50a33a812ea6252cd43dfee8c57.jpg","text":"TemporaryFile(/tmp/multipartBody1373706885268958780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043632697,"filename":"image_19042025_04_34_14_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f7119a76f2ca1b78ed21a74bde554610.jpg","text":"TemporaryFile(/tmp/multipartBody7035353797246353971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043632697,"filename":"image_19042025_04_34_04_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760190","file1":"1351760185","file0":"1351760164","file4":"1351760200","file5":"1351760214","file3":"1351760195"},"map_files_photo_id_array":[{"photo_id":"1351760214","filename":"file5"},{"photo_id":"1351760190","filename":"file2"},{"photo_id":"1351760200","filename":"file4"},{"photo_id":"1351760185","filename":"file1"},{"photo_id":"1351760164","filename":"file0"},{"photo_id":"1351760195","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760200":["hashtag1","hashtag2"]},{"1351760190":["hashtag1","hashtag2"]},{"1351760214":["hashtag1","hashtag2"]},{"1351760195":["hashtag1","hashtag2"]},{"1351760185":["hashtag1","hashtag2"]},{"1351760164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760200, 1351760190, 1351760214, 1351760195, 1351760185, 1351760164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.213671922683716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:20:32.352343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_24_9401.jpg', '/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_34_10365.jpg', '/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_44_9477.jpg', '/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_54_10358.jpg', '/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_14_9330.jpg', '/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_24_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_24_9401.jpg
/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_34_10365.jpg
/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_44_9477.jpg
/home/pi/Desktop/images/19042025/04/35/image_19042025_04_35_54_10358.jpg
/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_14_9330.jpg
/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_24_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":["1351760257","1351760259","1351760250","1351760255","1351760234","1351760237"],"photo_ids_order":["1351760234","1351760237","1351760250","1351760255","1351760257","1351760259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/01ef7d95f488f81946d5030accd6260d.jpg","text":"TemporaryFile(/tmp/multipartBody936456914077909713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043692907,"filename":"image_19042025_04_36_14_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7ce6cb5374a8a6a937c2da3f5a7a52e.jpg","text":"TemporaryFile(/tmp/multipartBody5729549864563827250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043692907,"filename":"image_19042025_04_36_24_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d57c377e3256e4aa19c7e1405a63d784.jpg","text":"TemporaryFile(/tmp/multipartBody3890280464084943384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043692907,"filename":"image_19042025_04_35_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/19/8e00f58ea11341263cf8326a0cfaba6c.jpg","text":"TemporaryFile(/tmp/multipartBody5332016779722054635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043692907,"filename":"image_19042025_04_35_54_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9edaa7c45c6064d68a40507446a7b6ca.jpg","text":"TemporaryFile(/tmp/multipartBody478202612426551202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043692907,"filename":"image_19042025_04_35_24_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3dc90dc564f00b772d978872357603e4.jpg","text":"TemporaryFile(/tmp/multipartBody2855409243198467970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043692907,"filename":"image_19042025_04_35_34_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760250","file1":"1351760237","file0":"1351760234","file4":"1351760257","file5":"1351760259","file3":"1351760255"},"map_files_photo_id_array":[{"photo_id":"1351760259","filename":"file5"},{"photo_id":"1351760250","filename":"file2"},{"photo_id":"1351760257","filename":"file4"},{"photo_id":"1351760237","filename":"file1"},{"photo_id":"1351760234","filename":"file0"},{"photo_id":"1351760255","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760257":["hashtag1","hashtag2"]},{"1351760259":["hashtag1","hashtag2"]},{"1351760250":["hashtag1","hashtag2"]},{"1351760255":["hashtag1","hashtag2"]},{"1351760234":["hashtag1","hashtag2"]},{"1351760237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760257, 1351760259, 1351760250, 1351760255, 1351760234, 1351760237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.396756410598755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:21:32.575248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_35_10394.jpg', '/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_44_9362.jpg', '/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_55_10342.jpg', '/home/pi/Desktop/images/19042025/04/36/image_19042025_04_37_05_10344.jpg', '/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_14_9344.jpg', '/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_35_10394.jpg
/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_44_9362.jpg
/home/pi/Desktop/images/19042025/04/36/image_19042025_04_36_55_10342.jpg
/home/pi/Desktop/images/19042025/04/36/image_19042025_04_37_05_10344.jpg
/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_14_9344.jpg
/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_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":["1351760289","1351760313","1351760273","1351760321","1351760284","1351760278"],"photo_ids_order":["1351760273","1351760278","1351760284","1351760289","1351760313","1351760321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d73a44e1c49bc9ec2697088d9d29c155.jpg","text":"TemporaryFile(/tmp/multipartBody7533360622926285402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043753126,"filename":"image_19042025_04_37_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/19/48e5a0f39934ed6f246b0a8719a63024.jpg","text":"TemporaryFile(/tmp/multipartBody3523001247972041781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043753126,"filename":"image_19042025_04_37_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9255d25268f65961aec1a25ea56b0898.jpg","text":"TemporaryFile(/tmp/multipartBody2236466784017673526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043753126,"filename":"image_19042025_04_36_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/88661901045d55d2db1ea73674271277.jpg","text":"TemporaryFile(/tmp/multipartBody2412707384704174104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043753126,"filename":"image_19042025_04_37_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1577ae7ddbbca893a0b5a1c58dfc4474.jpg","text":"TemporaryFile(/tmp/multipartBody8916199868351865033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043753126,"filename":"image_19042025_04_36_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/19/92486a143036c050027f65219440b7b6.jpg","text":"TemporaryFile(/tmp/multipartBody6430659637126074748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043753126,"filename":"image_19042025_04_36_44_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760284","file1":"1351760278","file0":"1351760273","file4":"1351760313","file5":"1351760321","file3":"1351760289"},"map_files_photo_id_array":[{"photo_id":"1351760321","filename":"file5"},{"photo_id":"1351760284","filename":"file2"},{"photo_id":"1351760313","filename":"file4"},{"photo_id":"1351760278","filename":"file1"},{"photo_id":"1351760273","filename":"file0"},{"photo_id":"1351760289","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760289":["hashtag1","hashtag2"]},{"1351760313":["hashtag1","hashtag2"]},{"1351760273":["hashtag1","hashtag2"]},{"1351760321":["hashtag1","hashtag2"]},{"1351760284":["hashtag1","hashtag2"]},{"1351760278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760289, 1351760313, 1351760273, 1351760321, 1351760284, 1351760278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4814088344574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:22:32.833873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_34_9408.jpg', '/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_44_10377.jpg', '/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_55_10434.jpg', '/home/pi/Desktop/images/19042025/04/37/image_19042025_04_38_04_9345.jpg', '/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_15_10397.jpg', '/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_24_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_34_9408.jpg
/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_44_10377.jpg
/home/pi/Desktop/images/19042025/04/37/image_19042025_04_37_55_10434.jpg
/home/pi/Desktop/images/19042025/04/37/image_19042025_04_38_04_9345.jpg
/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_15_10397.jpg
/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_24_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351760512","1351760460","1351760505","1351760514","1351760471","1351760456"],"photo_ids_order":["1351760456","1351760460","1351760471","1351760505","1351760512","1351760514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/78a191aad6ff2d7fcf1d92bca31d225a.jpg","text":"TemporaryFile(/tmp/multipartBody8380689878965269701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043813402,"filename":"image_19042025_04_38_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/19/c3b5b88b055173ac699ac1e878371e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1249490611936531855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043813402,"filename":"image_19042025_04_37_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/19/52cdce52fb585104c920e95906fb2dd4.jpg","text":"TemporaryFile(/tmp/multipartBody8782350021204851917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043813402,"filename":"image_19042025_04_38_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/19/4a72660e63b929cfb774aca9bde0aedd.jpg","text":"TemporaryFile(/tmp/multipartBody7119936827959712460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043813402,"filename":"image_19042025_04_38_24_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1bf54d37b2fca978eba23836e725dc17.jpg","text":"TemporaryFile(/tmp/multipartBody8509511210341800944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043813402,"filename":"image_19042025_04_37_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/19/579c29f559ac37cde3c4bec982151326.jpg","text":"TemporaryFile(/tmp/multipartBody522780357810586069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043813402,"filename":"image_19042025_04_37_34_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760471","file1":"1351760460","file0":"1351760456","file4":"1351760512","file5":"1351760514","file3":"1351760505"},"map_files_photo_id_array":[{"photo_id":"1351760514","filename":"file5"},{"photo_id":"1351760471","filename":"file2"},{"photo_id":"1351760512","filename":"file4"},{"photo_id":"1351760460","filename":"file1"},{"photo_id":"1351760456","filename":"file0"},{"photo_id":"1351760505","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760512":["hashtag1","hashtag2"]},{"1351760460":["hashtag1","hashtag2"]},{"1351760505":["hashtag1","hashtag2"]},{"1351760514":["hashtag1","hashtag2"]},{"1351760471":["hashtag1","hashtag2"]},{"1351760456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760512, 1351760460, 1351760505, 1351760514, 1351760471, 1351760456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2823691368103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:23:33.096942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_34_10346.jpg', '/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_44_9562.jpg', '/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_54_10356.jpg', '/home/pi/Desktop/images/19042025/04/38/image_19042025_04_39_04_9970.jpg', '/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_15_10352.jpg', '/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_24_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_34_10346.jpg
/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_44_9562.jpg
/home/pi/Desktop/images/19042025/04/38/image_19042025_04_38_54_10356.jpg
/home/pi/Desktop/images/19042025/04/38/image_19042025_04_39_04_9970.jpg
/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_15_10352.jpg
/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_24_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":["1351760665","1351760623","1351760626","1351760620","1351760685","1351760639"],"photo_ids_order":["1351760620","1351760623","1351760626","1351760639","1351760665","1351760685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d309d3b30a46055d8b1da31639502a3.jpg","text":"TemporaryFile(/tmp/multipartBody7965987344929959586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043873668,"filename":"image_19042025_04_39_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/19/be03bd556a19947bd5b6190d339b06c2.jpg","text":"TemporaryFile(/tmp/multipartBody4476755525613471120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043873668,"filename":"image_19042025_04_38_44_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/19/19a6d123bcdd8417a10785c273d4f8ea.jpg","text":"TemporaryFile(/tmp/multipartBody4062051037370398528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043873668,"filename":"image_19042025_04_38_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/19/2a09c31aeaa1f1df5756cc7a157b466d.jpg","text":"TemporaryFile(/tmp/multipartBody179875315528171990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043873668,"filename":"image_19042025_04_38_34_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f64cc8eb8b1913da4562ea03b867c869.jpg","text":"TemporaryFile(/tmp/multipartBody2478004518198420866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043873668,"filename":"image_19042025_04_39_24_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/19/176c58fcc1184c9b8d95e99983448ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1846172105280868530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043873668,"filename":"image_19042025_04_39_04_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760626","file1":"1351760623","file0":"1351760620","file4":"1351760665","file5":"1351760685","file3":"1351760639"},"map_files_photo_id_array":[{"photo_id":"1351760685","filename":"file5"},{"photo_id":"1351760626","filename":"file2"},{"photo_id":"1351760665","filename":"file4"},{"photo_id":"1351760623","filename":"file1"},{"photo_id":"1351760620","filename":"file0"},{"photo_id":"1351760639","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760665":["hashtag1","hashtag2"]},{"1351760623":["hashtag1","hashtag2"]},{"1351760626":["hashtag1","hashtag2"]},{"1351760620":["hashtag1","hashtag2"]},{"1351760685":["hashtag1","hashtag2"]},{"1351760639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760665, 1351760623, 1351760626, 1351760620, 1351760685, 1351760639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.027528524398804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:24:32.381874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_34_10361.jpg', '/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_45_10418.jpg', '/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_54_9451.jpg', '/home/pi/Desktop/images/19042025/04/39/image_19042025_04_40_05_10359.jpg', '/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_14_9413.jpg', '/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_24_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_34_10361.jpg
/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_45_10418.jpg
/home/pi/Desktop/images/19042025/04/39/image_19042025_04_39_54_9451.jpg
/home/pi/Desktop/images/19042025/04/39/image_19042025_04_40_05_10359.jpg
/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_14_9413.jpg
/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_24_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351760709","1351760703","1351760706","1351760711","1351760714","1351760717"],"photo_ids_order":["1351760703","1351760706","1351760709","1351760711","1351760714","1351760717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7d72f3cb436561de9ecce513c1973f63.jpg","text":"TemporaryFile(/tmp/multipartBody5509561943112181541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043932924,"filename":"image_19042025_04_39_54_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/19/0098baa185ae301c0057de0a4ad62cf8.jpg","text":"TemporaryFile(/tmp/multipartBody35671940700706966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043932924,"filename":"image_19042025_04_39_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/19/5746cdbe4d7a1ad860cdd153d6c92999.jpg","text":"TemporaryFile(/tmp/multipartBody3760011253170000502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043932924,"filename":"image_19042025_04_39_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/19/f850314976e67bf2a0157b37b33d2152.jpg","text":"TemporaryFile(/tmp/multipartBody115940597841998652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043932924,"filename":"image_19042025_04_40_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/19/a7297ea2e258ae768d7bf8ea81fa8522.jpg","text":"TemporaryFile(/tmp/multipartBody8287599625245662298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043932924,"filename":"image_19042025_04_40_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/19/8b494fc524358ff5ae173cc496cd11c6.jpg","text":"TemporaryFile(/tmp/multipartBody212174438216018893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043932924,"filename":"image_19042025_04_40_24_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760709","file1":"1351760706","file0":"1351760703","file4":"1351760714","file5":"1351760717","file3":"1351760711"},"map_files_photo_id_array":[{"photo_id":"1351760717","filename":"file5"},{"photo_id":"1351760709","filename":"file2"},{"photo_id":"1351760714","filename":"file4"},{"photo_id":"1351760706","filename":"file1"},{"photo_id":"1351760703","filename":"file0"},{"photo_id":"1351760711","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760709":["hashtag1","hashtag2"]},{"1351760703":["hashtag1","hashtag2"]},{"1351760706":["hashtag1","hashtag2"]},{"1351760711":["hashtag1","hashtag2"]},{"1351760714":["hashtag1","hashtag2"]},{"1351760717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760709, 1351760703, 1351760706, 1351760711, 1351760714, 1351760717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.712887287139893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:25:32.711134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_35_10431.jpg', '/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_44_9449.jpg', '/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_55_10361.jpg', '/home/pi/Desktop/images/19042025/04/40/image_19042025_04_41_04_9421.jpg', '/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_14_10343.jpg', '/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_25_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_35_10431.jpg
/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_44_9449.jpg
/home/pi/Desktop/images/19042025/04/40/image_19042025_04_40_55_10361.jpg
/home/pi/Desktop/images/19042025/04/40/image_19042025_04_41_04_9421.jpg
/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_14_10343.jpg
/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_25_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":["1351760743","1351760731","1351760763","1351760760","1351760754","1351760734"],"photo_ids_order":["1351760731","1351760734","1351760743","1351760754","1351760760","1351760763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3229c5e4d4bc2815e9efa986fcb6fa78.jpg","text":"TemporaryFile(/tmp/multipartBody5767877202889530128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043993265,"filename":"image_19042025_04_40_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/19/3c01655ac2c2b36ecd4a5bae68516cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6214278523883405840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043993265,"filename":"image_19042025_04_40_35_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ee72d390a47c498fba63a70e2939fcb.jpg","text":"TemporaryFile(/tmp/multipartBody4065947686489127226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043993265,"filename":"image_19042025_04_41_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/19/23426438774c11f89bbe15ce393903ae.jpg","text":"TemporaryFile(/tmp/multipartBody7212581456281729857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043993265,"filename":"image_19042025_04_41_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/19/026de2b27eda60c58d0a35bd81797f96.jpg","text":"TemporaryFile(/tmp/multipartBody9172281318291995060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043993265,"filename":"image_19042025_04_41_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/19/0b4b24c96dd5f98e11eca781a39b71ef.jpg","text":"TemporaryFile(/tmp/multipartBody5508055541387734522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745043993265,"filename":"image_19042025_04_40_44_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760743","file1":"1351760734","file0":"1351760731","file4":"1351760760","file5":"1351760763","file3":"1351760754"},"map_files_photo_id_array":[{"photo_id":"1351760763","filename":"file5"},{"photo_id":"1351760743","filename":"file2"},{"photo_id":"1351760760","filename":"file4"},{"photo_id":"1351760734","filename":"file1"},{"photo_id":"1351760731","filename":"file0"},{"photo_id":"1351760754","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760743":["hashtag1","hashtag2"]},{"1351760731":["hashtag1","hashtag2"]},{"1351760763":["hashtag1","hashtag2"]},{"1351760760":["hashtag1","hashtag2"]},{"1351760754":["hashtag1","hashtag2"]},{"1351760734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760743, 1351760731, 1351760763, 1351760760, 1351760754, 1351760734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.238178253173828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:26:32.868440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_34_9418.jpg', '/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_45_10361.jpg', '/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_54_9437.jpg', '/home/pi/Desktop/images/19042025/04/41/image_19042025_04_42_04_10355.jpg', '/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_15_10396.jpg', '/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_24_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_34_9418.jpg
/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_45_10361.jpg
/home/pi/Desktop/images/19042025/04/41/image_19042025_04_41_54_9437.jpg
/home/pi/Desktop/images/19042025/04/41/image_19042025_04_42_04_10355.jpg
/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_15_10396.jpg
/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_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":["1351760880","1351760856","1351760858","1351760890","1351760869","1351760854"],"photo_ids_order":["1351760854","1351760856","1351760858","1351760869","1351760880","1351760890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5cc1146abee865c342de5be21b608a8.jpg","text":"TemporaryFile(/tmp/multipartBody5747229667460838377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044053437,"filename":"image_19042025_04_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/19/4b6a77b3ca69d00205339680fead512b.jpg","text":"TemporaryFile(/tmp/multipartBody3315647405206163756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044053437,"filename":"image_19042025_04_41_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/19/bedf81fca7b32b7a86b0d59f316bc260.jpg","text":"TemporaryFile(/tmp/multipartBody7026784000992211834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044053437,"filename":"image_19042025_04_41_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/19/db5c20382ab5d67bf6cc0b3727e185a9.jpg","text":"TemporaryFile(/tmp/multipartBody8557759365184468322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044053437,"filename":"image_19042025_04_42_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/19/1b8b30d2d580637319965c0afd75f273.jpg","text":"TemporaryFile(/tmp/multipartBody4631441759072858242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044053437,"filename":"image_19042025_04_42_04_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c641b237412793630e79eda31684fbbc.jpg","text":"TemporaryFile(/tmp/multipartBody5606942235266932460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044053437,"filename":"image_19042025_04_41_34_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760858","file1":"1351760856","file0":"1351760854","file4":"1351760880","file5":"1351760890","file3":"1351760869"},"map_files_photo_id_array":[{"photo_id":"1351760890","filename":"file5"},{"photo_id":"1351760858","filename":"file2"},{"photo_id":"1351760880","filename":"file4"},{"photo_id":"1351760856","filename":"file1"},{"photo_id":"1351760854","filename":"file0"},{"photo_id":"1351760869","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760880":["hashtag1","hashtag2"]},{"1351760856":["hashtag1","hashtag2"]},{"1351760858":["hashtag1","hashtag2"]},{"1351760890":["hashtag1","hashtag2"]},{"1351760869":["hashtag1","hashtag2"]},{"1351760854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760880, 1351760856, 1351760858, 1351760890, 1351760869, 1351760854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.943140506744385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:27:32.202544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_35_10357.jpg', '/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_44_9369.jpg', '/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_54_10363.jpg', '/home/pi/Desktop/images/19042025/04/42/image_19042025_04_43_05_10365.jpg', '/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_14_9459.jpg', '/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_24_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_35_10357.jpg
/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_44_9369.jpg
/home/pi/Desktop/images/19042025/04/42/image_19042025_04_42_54_10363.jpg
/home/pi/Desktop/images/19042025/04/42/image_19042025_04_43_05_10365.jpg
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_14_9459.jpg
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_24_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351760935","1351760917","1351760928","1351760924","1351760912","1351760932"],"photo_ids_order":["1351760912","1351760917","1351760924","1351760928","1351760932","1351760935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2d22a9cd7dd90a5c5c89c6fa495dcada.jpg","text":"TemporaryFile(/tmp/multipartBody2339582505661603506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044112754,"filename":"image_19042025_04_43_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/19/d6270ff941566bb4e834a30d902fe222.jpg","text":"TemporaryFile(/tmp/multipartBody8843576240637310639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044112754,"filename":"image_19042025_04_42_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/19/fa6e918ff7ddf10223d44a4ea4bedb8c.jpg","text":"TemporaryFile(/tmp/multipartBody326217453926278866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044112754,"filename":"image_19042025_04_43_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/19/db8b85eacb35ba7fbe7cef7e38adf416.jpg","text":"TemporaryFile(/tmp/multipartBody2619571576838895618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044112754,"filename":"image_19042025_04_42_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/19/c18970469cbf8ebe6b85c8b0c9e9060d.jpg","text":"TemporaryFile(/tmp/multipartBody3181874192073444354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044112754,"filename":"image_19042025_04_42_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/19/8e860f107f5fba78aa4d49db700a5b90.jpg","text":"TemporaryFile(/tmp/multipartBody913517431793079600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044112754,"filename":"image_19042025_04_43_14_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760924","file1":"1351760917","file0":"1351760912","file4":"1351760932","file5":"1351760935","file3":"1351760928"},"map_files_photo_id_array":[{"photo_id":"1351760935","filename":"file5"},{"photo_id":"1351760924","filename":"file2"},{"photo_id":"1351760932","filename":"file4"},{"photo_id":"1351760917","filename":"file1"},{"photo_id":"1351760912","filename":"file0"},{"photo_id":"1351760928","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760935":["hashtag1","hashtag2"]},{"1351760917":["hashtag1","hashtag2"]},{"1351760928":["hashtag1","hashtag2"]},{"1351760924":["hashtag1","hashtag2"]},{"1351760912":["hashtag1","hashtag2"]},{"1351760932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760935, 1351760917, 1351760928, 1351760924, 1351760912, 1351760932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.270697355270386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:28:32.460772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_35_10369.jpg', '/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_44_9356.jpg', '/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_55_10418.jpg', '/home/pi/Desktop/images/19042025/04/43/image_19042025_04_44_04_9428.jpg', '/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_14_10350.jpg', '/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_25_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_35_10369.jpg
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_44_9356.jpg
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_55_10418.jpg
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_44_04_9428.jpg
/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_14_10350.jpg
/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_25_10405.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4679088592529297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:28:42.365542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_35_10369.jpg', '/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_44_9356.jpg', '/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_55_10418.jpg', '/home/pi/Desktop/images/19042025/04/43/image_19042025_04_44_04_9428.jpg', '/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_14_10350.jpg', '/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_25_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_35_10369.jpg
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_44_9356.jpg
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_43_55_10418.jpg
/home/pi/Desktop/images/19042025/04/43/image_19042025_04_44_04_9428.jpg
/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_14_10350.jpg
/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_25_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":["1351760955","1351760964","1351760958","1351760962","1351760965","1351760950"],"photo_ids_order":["1351760950","1351760955","1351760958","1351760962","1351760964","1351760965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04ff4445703212625a56832c33b0d8d7.jpg","text":"TemporaryFile(/tmp/multipartBody1779003670951248706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044182846,"filename":"image_19042025_04_43_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/19/0d1439ba0d8a6b70a659197da1eb382b.jpg","text":"TemporaryFile(/tmp/multipartBody67070516715065542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044182846,"filename":"image_19042025_04_44_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/19/90cb6e6e848538aaa2bae29b001c1846.jpg","text":"TemporaryFile(/tmp/multipartBody6114823023304790272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044182846,"filename":"image_19042025_04_43_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/19/332ecfa1c3b2cbb8a7fd7f316e3b99e4.jpg","text":"TemporaryFile(/tmp/multipartBody6010701937036817059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044182846,"filename":"image_19042025_04_44_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/19/755f1f3a3095e8a93fcb53ac33ed7c49.jpg","text":"TemporaryFile(/tmp/multipartBody2040278863441029148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044182846,"filename":"image_19042025_04_44_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/19/d874d96dbefb0a3844eee0720abad0bb.jpg","text":"TemporaryFile(/tmp/multipartBody8602698202977919984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044182846,"filename":"image_19042025_04_43_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760958","file1":"1351760955","file0":"1351760950","file4":"1351760964","file5":"1351760965","file3":"1351760962"},"map_files_photo_id_array":[{"photo_id":"1351760965","filename":"file5"},{"photo_id":"1351760958","filename":"file2"},{"photo_id":"1351760964","filename":"file4"},{"photo_id":"1351760955","filename":"file1"},{"photo_id":"1351760950","filename":"file0"},{"photo_id":"1351760962","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760955":["hashtag1","hashtag2"]},{"1351760964":["hashtag1","hashtag2"]},{"1351760958":["hashtag1","hashtag2"]},{"1351760962":["hashtag1","hashtag2"]},{"1351760965":["hashtag1","hashtag2"]},{"1351760950":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760955, 1351760964, 1351760958, 1351760962, 1351760965, 1351760950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.53034543991089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:29:32.724422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_34_9351.jpg', '/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_45_10414.jpg', '/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_54_9364.jpg', '/home/pi/Desktop/images/19042025/04/44/image_19042025_04_45_04_10345.jpg', '/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_15_10367.jpg', '/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_24_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_34_9351.jpg
/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_45_10414.jpg
/home/pi/Desktop/images/19042025/04/44/image_19042025_04_44_54_9364.jpg
/home/pi/Desktop/images/19042025/04/44/image_19042025_04_45_04_10345.jpg
/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_15_10367.jpg
/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_24_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":["1351760991","1351760988","1351760975","1351760980","1351760983","1351760992"],"photo_ids_order":["1351760975","1351760980","1351760983","1351760988","1351760991","1351760992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2a589c25c3efcc6a0aabab05e52058c5.jpg","text":"TemporaryFile(/tmp/multipartBody7539139882703978543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044233269,"filename":"image_19042025_04_45_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/336d194d049b8f872093d2f5a765c025.jpg","text":"TemporaryFile(/tmp/multipartBody551061246645940989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044233269,"filename":"image_19042025_04_45_04_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb3365c55ef97616848dc502ddd7aa2b.jpg","text":"TemporaryFile(/tmp/multipartBody490582838309077923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044233269,"filename":"image_19042025_04_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/19/39441fc9d0e98ad5ce124cc16c2f9538.jpg","text":"TemporaryFile(/tmp/multipartBody3511219840658180147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044233269,"filename":"image_19042025_04_44_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/19/c7cde349c1b75d1e914f9f38bd24a95d.jpg","text":"TemporaryFile(/tmp/multipartBody8434086127904041782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044233269,"filename":"image_19042025_04_44_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c22c24907a8f6e8b516836eadcd1d0a3.jpg","text":"TemporaryFile(/tmp/multipartBody652927862188328049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044233269,"filename":"image_19042025_04_45_24_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760983","file1":"1351760980","file0":"1351760975","file4":"1351760991","file5":"1351760992","file3":"1351760988"},"map_files_photo_id_array":[{"photo_id":"1351760992","filename":"file5"},{"photo_id":"1351760983","filename":"file2"},{"photo_id":"1351760991","filename":"file4"},{"photo_id":"1351760980","filename":"file1"},{"photo_id":"1351760975","filename":"file0"},{"photo_id":"1351760988","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351760991":["hashtag1","hashtag2"]},{"1351760988":["hashtag1","hashtag2"]},{"1351760975":["hashtag1","hashtag2"]},{"1351760980":["hashtag1","hashtag2"]},{"1351760983":["hashtag1","hashtag2"]},{"1351760992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351760991, 1351760988, 1351760975, 1351760980, 1351760983, 1351760992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80279850959778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:30:32.937525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_34_10373.jpg', '/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_45_10449.jpg', '/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_54_9347.jpg', '/home/pi/Desktop/images/19042025/04/45/image_19042025_04_46_05_10357.jpg', '/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_14_9408.jpg', '/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_24_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_34_10373.jpg
/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_45_10449.jpg
/home/pi/Desktop/images/19042025/04/45/image_19042025_04_45_54_9347.jpg
/home/pi/Desktop/images/19042025/04/45/image_19042025_04_46_05_10357.jpg
/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_14_9408.jpg
/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_24_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":["1351761060","1351761063","1351761066","1351761048","1351761029","1351761023"],"photo_ids_order":["1351761023","1351761029","1351761048","1351761060","1351761063","1351761066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2b2fcda1eebea7e9fae9ad1520ffe065.jpg","text":"TemporaryFile(/tmp/multipartBody7251617559674274751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044293579,"filename":"image_19042025_04_46_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/abe37da7d38378dfd692721b4c19bcf4.jpg","text":"TemporaryFile(/tmp/multipartBody8300257214430582795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044293579,"filename":"image_19042025_04_46_14_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f84247c07ef56686553e2d21423ea52b.jpg","text":"TemporaryFile(/tmp/multipartBody5757779287828722392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044293579,"filename":"image_19042025_04_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/19/ec15009b52444b4fe2b7e5a81b196b70.jpg","text":"TemporaryFile(/tmp/multipartBody5514114822247077179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044293579,"filename":"image_19042025_04_45_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/19/a14606a5e57add66b0945812513fb095.jpg","text":"TemporaryFile(/tmp/multipartBody7122581903959324898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044293579,"filename":"image_19042025_04_45_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce7c1c261236540071b6ffc59b30ff40.jpg","text":"TemporaryFile(/tmp/multipartBody6261694834262494707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044293579,"filename":"image_19042025_04_45_34_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351761048","file1":"1351761029","file0":"1351761023","file4":"1351761063","file5":"1351761066","file3":"1351761060"},"map_files_photo_id_array":[{"photo_id":"1351761066","filename":"file5"},{"photo_id":"1351761048","filename":"file2"},{"photo_id":"1351761063","filename":"file4"},{"photo_id":"1351761029","filename":"file1"},{"photo_id":"1351761023","filename":"file0"},{"photo_id":"1351761060","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351761060":["hashtag1","hashtag2"]},{"1351761063":["hashtag1","hashtag2"]},{"1351761066":["hashtag1","hashtag2"]},{"1351761048":["hashtag1","hashtag2"]},{"1351761029":["hashtag1","hashtag2"]},{"1351761023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351761060, 1351761063, 1351761066, 1351761048, 1351761029, 1351761023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65113615989685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:31:33.747203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_35_10392.jpg', '/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_44_9352.jpg', '/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_54_10364.jpg', '/home/pi/Desktop/images/19042025/04/46/image_19042025_04_47_05_10384.jpg', '/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_14_9343.jpg', '/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_25_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_35_10392.jpg
/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_44_9352.jpg
/home/pi/Desktop/images/19042025/04/46/image_19042025_04_46_54_10364.jpg
/home/pi/Desktop/images/19042025/04/46/image_19042025_04_47_05_10384.jpg
/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_14_9343.jpg
/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_25_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":["1351761231","1351761140","1351761143","1351761224","1351761157","1351761220"],"photo_ids_order":["1351761140","1351761143","1351761157","1351761220","1351761224","1351761231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9011cbae250e5363eeab1d99474541a3.jpg","text":"TemporaryFile(/tmp/multipartBody255041717546859836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044354295,"filename":"image_19042025_04_47_25_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fce6ea3410cce6dba3a1f28db89f781d.jpg","text":"TemporaryFile(/tmp/multipartBody1821734735891588616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044354295,"filename":"image_19042025_04_46_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e68d01a93908f02405a9252b5d9beda5.jpg","text":"TemporaryFile(/tmp/multipartBody208590754566089101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044354295,"filename":"image_19042025_04_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/19/092cfa62d82fbbff0b5e6f8aad2f35c0.jpg","text":"TemporaryFile(/tmp/multipartBody1917542228211140769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044354295,"filename":"image_19042025_04_47_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/19/e43017cb2c71e62f7ee0da8ed163131e.jpg","text":"TemporaryFile(/tmp/multipartBody6201253243971376694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044354295,"filename":"image_19042025_04_46_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/19/2d50766741fc1ebba0591f65925a109a.jpg","text":"TemporaryFile(/tmp/multipartBody6961278886768110799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044354295,"filename":"image_19042025_04_47_05_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351761157","file1":"1351761143","file0":"1351761140","file4":"1351761224","file5":"1351761231","file3":"1351761220"},"map_files_photo_id_array":[{"photo_id":"1351761231","filename":"file5"},{"photo_id":"1351761157","filename":"file2"},{"photo_id":"1351761224","filename":"file4"},{"photo_id":"1351761143","filename":"file1"},{"photo_id":"1351761140","filename":"file0"},{"photo_id":"1351761220","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351761231":["hashtag1","hashtag2"]},{"1351761140":["hashtag1","hashtag2"]},{"1351761143":["hashtag1","hashtag2"]},{"1351761224":["hashtag1","hashtag2"]},{"1351761157":["hashtag1","hashtag2"]},{"1351761220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351761231, 1351761140, 1351761143, 1351761224, 1351761157, 1351761220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.43256950378418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:32:32.618716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_34_9359.jpg', '/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_44_10381.jpg', '/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_55_10403.jpg', '/home/pi/Desktop/images/19042025/04/47/image_19042025_04_48_04_9414.jpg', '/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_14_10345.jpg', '/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_24_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_34_9359.jpg
/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_44_10381.jpg
/home/pi/Desktop/images/19042025/04/47/image_19042025_04_47_55_10403.jpg
/home/pi/Desktop/images/19042025/04/47/image_19042025_04_48_04_9414.jpg
/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_14_10345.jpg
/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_24_9460.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":["1351761441","1351761264","1351761344","1351761361","1351761340","1351761262"],"photo_ids_order":["1351761262","1351761264","1351761340","1351761344","1351761361","1351761441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4a0103ed0aec71e2d2842b409effb12.jpg","text":"TemporaryFile(/tmp/multipartBody1542119032632970467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044413175,"filename":"image_19042025_04_48_24_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c8a9822c91d4e27f4da2c119b1def944.jpg","text":"TemporaryFile(/tmp/multipartBody8012965803247379943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044413175,"filename":"image_19042025_04_47_44_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1e6433e0235d05a51ab238475d6e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody5399716099698352533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044413175,"filename":"image_19042025_04_48_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e5e1470c928b5730802081e85bac062.jpg","text":"TemporaryFile(/tmp/multipartBody248234292508181989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044413175,"filename":"image_19042025_04_48_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/19/999f24629a6e83b9426e71f175518e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4087250336103780583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044413175,"filename":"image_19042025_04_47_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/19/cccfcb4f37941d10fe20909308b51598.jpg","text":"TemporaryFile(/tmp/multipartBody7384241806971450155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044413175,"filename":"image_19042025_04_47_34_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351761340","file1":"1351761264","file0":"1351761262","file4":"1351761361","file5":"1351761441","file3":"1351761344"},"map_files_photo_id_array":[{"photo_id":"1351761441","filename":"file5"},{"photo_id":"1351761340","filename":"file2"},{"photo_id":"1351761361","filename":"file4"},{"photo_id":"1351761264","filename":"file1"},{"photo_id":"1351761262","filename":"file0"},{"photo_id":"1351761344","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351761441":["hashtag1","hashtag2"]},{"1351761264":["hashtag1","hashtag2"]},{"1351761344":["hashtag1","hashtag2"]},{"1351761361":["hashtag1","hashtag2"]},{"1351761340":["hashtag1","hashtag2"]},{"1351761262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351761441, 1351761264, 1351761344, 1351761361, 1351761340, 1351761262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.56168031692505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:33:42.830895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_34_10359.jpg', '/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_45_10496.jpg', '/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_54_9426.jpg', '/home/pi/Desktop/images/19042025/04/48/image_19042025_04_49_05_10365.jpg', '/home/pi/Desktop/images/19042025/04/49/image_19042025_04_49_14_9393.jpg', '/home/pi/Desktop/images/19042025/04/49/image_19042025_04_49_24_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_34_10359.jpg
/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_45_10496.jpg
/home/pi/Desktop/images/19042025/04/48/image_19042025_04_48_54_9426.jpg
/home/pi/Desktop/images/19042025/04/48/image_19042025_04_49_05_10365.jpg
/home/pi/Desktop/images/19042025/04/49/image_19042025_04_49_14_9393.jpg
/home/pi/Desktop/images/19042025/04/49/image_19042025_04_49_24_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":["1351761708","1351761596","1351761682","1351761620","1351761571","1351761646"],"photo_ids_order":["1351761571","1351761596","1351761620","1351761646","1351761682","1351761708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc007e4c6622bab9c892577ef602bfba.jpg","text":"TemporaryFile(/tmp/multipartBody811770773362431926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044483397,"filename":"image_19042025_04_49_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/19/5afd164b91b156553924d742448a31c7.jpg","text":"TemporaryFile(/tmp/multipartBody6376575458518834767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044483397,"filename":"image_19042025_04_48_45_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/19/c7f70c93a99253a85741ff8c37202533.jpg","text":"TemporaryFile(/tmp/multipartBody4713924287187367115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044483397,"filename":"image_19042025_04_49_14_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4277d1f785a927bcbf022b82fa548fa0.jpg","text":"TemporaryFile(/tmp/multipartBody993523990663251701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044483397,"filename":"image_19042025_04_48_54_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b8974803767695fad4b1388f48ff20d.jpg","text":"TemporaryFile(/tmp/multipartBody4332370811715781910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044483397,"filename":"image_19042025_04_48_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/19/d756dcaa7caf87d39de40350ecc8698a.jpg","text":"TemporaryFile(/tmp/multipartBody2939979706575432783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044483397,"filename":"image_19042025_04_49_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351761620","file1":"1351761596","file0":"1351761571","file4":"1351761682","file5":"1351761708","file3":"1351761646"},"map_files_photo_id_array":[{"photo_id":"1351761708","filename":"file5"},{"photo_id":"1351761620","filename":"file2"},{"photo_id":"1351761682","filename":"file4"},{"photo_id":"1351761596","filename":"file1"},{"photo_id":"1351761571","filename":"file0"},{"photo_id":"1351761646","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351761708":["hashtag1","hashtag2"]},{"1351761596":["hashtag1","hashtag2"]},{"1351761682":["hashtag1","hashtag2"]},{"1351761620":["hashtag1","hashtag2"]},{"1351761571":["hashtag1","hashtag2"]},{"1351761646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351761708, 1351761596, 1351761682, 1351761620, 1351761571, 1351761646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.785672664642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:34:33.041185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/49/image_19042025_04_49_35_10499.jpg', '/home/pi/Desktop/images/19042025/04/49/image_19042025_04_49_44_9341.jpg', '/home/pi/Desktop/images/19042025/04/49/image_19042025_04_50_04_9446.jpg', '/home/pi/Desktop/images/19042025/04/50/image_19042025_04_50_14_10375.jpg', '/home/pi/Desktop/images/19042025/04/50/image_19042025_04_50_25_10391.jpg', '/home/pi/Desktop/images/19042025/04/50/image_19042025_04_50_34_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/49/image_19042025_04_49_35_10499.jpg
/home/pi/Desktop/images/19042025/04/49/image_19042025_04_49_44_9341.jpg
/home/pi/Desktop/images/19042025/04/49/image_19042025_04_50_04_9446.jpg
/home/pi/Desktop/images/19042025/04/50/image_19042025_04_50_14_10375.jpg
/home/pi/Desktop/images/19042025/04/50/image_19042025_04_50_25_10391.jpg
/home/pi/Desktop/images/19042025/04/50/image_19042025_04_50_34_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":["1351762043","1351761962","1351762016","1351762069","1351761937","1351761990"],"photo_ids_order":["1351761937","1351761962","1351761990","1351762016","1351762043","1351762069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee486d08fcc2219f2a03cf654296021f.jpg","text":"TemporaryFile(/tmp/multipartBody7320158711759699788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044533614,"filename":"image_19042025_04_50_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e7da0555636de79fc659f6489ba33da.jpg","text":"TemporaryFile(/tmp/multipartBody7993098299572992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044533614,"filename":"image_19042025_04_49_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/19/4d7740da91d6cd15ce9c9ff16c26867c.jpg","text":"TemporaryFile(/tmp/multipartBody48740794320244267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044533614,"filename":"image_19042025_04_50_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/19/d53b541cf8c96f0b0ff01dba145ce7cb.jpg","text":"TemporaryFile(/tmp/multipartBody2744550575931762282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044533614,"filename":"image_19042025_04_50_34_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/51e29314054d73ce760329441ef5532a.jpg","text":"TemporaryFile(/tmp/multipartBody2202348561268308123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044533614,"filename":"image_19042025_04_49_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/19/3bd5ff70df2122af74b0c35e6f684a23.jpg","text":"TemporaryFile(/tmp/multipartBody412291564913561000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044533614,"filename":"image_19042025_04_50_04_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351761990","file1":"1351761962","file0":"1351761937","file4":"1351762043","file5":"1351762069","file3":"1351762016"},"map_files_photo_id_array":[{"photo_id":"1351762069","filename":"file5"},{"photo_id":"1351761990","filename":"file2"},{"photo_id":"1351762043","filename":"file4"},{"photo_id":"1351761962","filename":"file1"},{"photo_id":"1351761937","filename":"file0"},{"photo_id":"1351762016","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351762043":["hashtag1","hashtag2"]},{"1351761962":["hashtag1","hashtag2"]},{"1351762016":["hashtag1","hashtag2"]},{"1351762069":["hashtag1","hashtag2"]},{"1351761937":["hashtag1","hashtag2"]},{"1351761990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351762043, 1351761962, 1351762016, 1351762069, 1351761937, 1351761990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38339591026306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:35:32.217148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/50/image_19042025_04_50_54_9458.jpg', '/home/pi/Desktop/images/19042025/04/50/image_19042025_04_51_04_10370.jpg', '/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_15_10400.jpg', '/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_24_9349.jpg', '/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_34_10363.jpg', '/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/50/image_19042025_04_50_54_9458.jpg
/home/pi/Desktop/images/19042025/04/50/image_19042025_04_51_04_10370.jpg
/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_15_10400.jpg
/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_24_9349.jpg
/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_34_10363.jpg
/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_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":["1351762368","1351762652","1351762525","1351762417","1351762593","1351762470"],"photo_ids_order":["1351762368","1351762417","1351762470","1351762525","1351762593","1351762652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99ec9c103243512bc28c5357aa15a86d.jpg","text":"TemporaryFile(/tmp/multipartBody1751914435444296907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044592763,"filename":"image_19042025_04_50_54_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a73f5060891d69cac95b3a0578a4a688.jpg","text":"TemporaryFile(/tmp/multipartBody6116663970374896050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044592763,"filename":"image_19042025_04_51_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/19/f94c8fee154c1a72adae9d7cdccf7fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7780352519256202562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044592763,"filename":"image_19042025_04_51_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/19/907f1845cf6e1315331e979be0b0fa4c.jpg","text":"TemporaryFile(/tmp/multipartBody1478197999269417169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044592763,"filename":"image_19042025_04_51_04_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/440b5551453466a1c54a4f49b20ba5c7.jpg","text":"TemporaryFile(/tmp/multipartBody1577893882179288992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044592763,"filename":"image_19042025_04_51_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/19/5ad3a99c6f112ac217c86d7c0161aa14.jpg","text":"TemporaryFile(/tmp/multipartBody1250762301831649190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044592763,"filename":"image_19042025_04_51_15_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351762470","file1":"1351762417","file0":"1351762368","file4":"1351762593","file5":"1351762652","file3":"1351762525"},"map_files_photo_id_array":[{"photo_id":"1351762652","filename":"file5"},{"photo_id":"1351762470","filename":"file2"},{"photo_id":"1351762593","filename":"file4"},{"photo_id":"1351762417","filename":"file1"},{"photo_id":"1351762368","filename":"file0"},{"photo_id":"1351762525","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351762368":["hashtag1","hashtag2"]},{"1351762652":["hashtag1","hashtag2"]},{"1351762525":["hashtag1","hashtag2"]},{"1351762417":["hashtag1","hashtag2"]},{"1351762593":["hashtag1","hashtag2"]},{"1351762470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351762368, 1351762652, 1351762525, 1351762417, 1351762593, 1351762470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.368809938430786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:36:32.425668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_54_9357.jpg', '/home/pi/Desktop/images/19042025/04/51/image_19042025_04_52_05_10361.jpg', '/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_14_9448.jpg', '/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_24_10351.jpg', '/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_35_10416.jpg', '/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_44_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/51/image_19042025_04_51_54_9357.jpg
/home/pi/Desktop/images/19042025/04/51/image_19042025_04_52_05_10361.jpg
/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_14_9448.jpg
/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_24_10351.jpg
/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_35_10416.jpg
/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_44_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351763180","1351763204","1351763132","1351763110","1351763088","1351763157"],"photo_ids_order":["1351763088","1351763110","1351763132","1351763157","1351763180","1351763204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2035bbbaf5d13d7761abe2b48248e427.jpg","text":"TemporaryFile(/tmp/multipartBody2994433885204933578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044653442,"filename":"image_19042025_04_52_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04e384958c67d0c318f58c0d75bdfe1c.jpg","text":"TemporaryFile(/tmp/multipartBody1832850959294161422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044653442,"filename":"image_19042025_04_52_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/19/c0db25bb25b1afd73f0681c00e143ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6169896399048576843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044653442,"filename":"image_19042025_04_52_14_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/19/568791029755bcc2653cc17d1411220b.jpg","text":"TemporaryFile(/tmp/multipartBody599190059292566945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044653442,"filename":"image_19042025_04_52_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/19/e961e7a3423710cb75b0ea5fdb5ac400.jpg","text":"TemporaryFile(/tmp/multipartBody2308725438777956059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044653442,"filename":"image_19042025_04_51_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c8df46e7de3b626691ee3c79755b1be5.jpg","text":"TemporaryFile(/tmp/multipartBody4477019103357081191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044653442,"filename":"image_19042025_04_52_24_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351763132","file1":"1351763110","file0":"1351763088","file4":"1351763180","file5":"1351763204","file3":"1351763157"},"map_files_photo_id_array":[{"photo_id":"1351763204","filename":"file5"},{"photo_id":"1351763132","filename":"file2"},{"photo_id":"1351763180","filename":"file4"},{"photo_id":"1351763110","filename":"file1"},{"photo_id":"1351763088","filename":"file0"},{"photo_id":"1351763157","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351763180":["hashtag1","hashtag2"]},{"1351763204":["hashtag1","hashtag2"]},{"1351763132":["hashtag1","hashtag2"]},{"1351763110":["hashtag1","hashtag2"]},{"1351763088":["hashtag1","hashtag2"]},{"1351763157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351763180, 1351763204, 1351763132, 1351763110, 1351763088, 1351763157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92786264419556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:37:32.872400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_55_10355.jpg', '/home/pi/Desktop/images/19042025/04/52/image_19042025_04_53_05_10374.jpg', '/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_14_9382.jpg', '/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_25_10359.jpg', '/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_34_9433.jpg', '/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_44_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/52/image_19042025_04_52_55_10355.jpg
/home/pi/Desktop/images/19042025/04/52/image_19042025_04_53_05_10374.jpg
/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_14_9382.jpg
/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_25_10359.jpg
/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_34_9433.jpg
/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_44_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":["1351763400","1351763540","1351763507","1351763466","1351763382","1351763430"],"photo_ids_order":["1351763382","1351763400","1351763430","1351763466","1351763507","1351763540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/46e0131e3e0520de9481ce7cc19b116d.jpg","text":"TemporaryFile(/tmp/multipartBody1812003198516031542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044713468,"filename":"image_19042025_04_53_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/19/7061896650c7565a8e359c4056014985.jpg","text":"TemporaryFile(/tmp/multipartBody3689311137240763541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044713468,"filename":"image_19042025_04_53_44_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/19/99b9491f4f473ccd8efae67f02dce11a.jpg","text":"TemporaryFile(/tmp/multipartBody820752750844806997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044713468,"filename":"image_19042025_04_53_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/19/baa3025bd21a7df7c82a4349dbc458b9.jpg","text":"TemporaryFile(/tmp/multipartBody2745757689649220647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044713468,"filename":"image_19042025_04_53_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/19/160ca94680f621df334bc7cef17a35e3.jpg","text":"TemporaryFile(/tmp/multipartBody4931749557758142562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044713468,"filename":"image_19042025_04_52_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3aba4bf9838d5afa98d9cab101b1da86.jpg","text":"TemporaryFile(/tmp/multipartBody8333544358613486046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044713468,"filename":"image_19042025_04_53_14_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351763430","file1":"1351763400","file0":"1351763382","file4":"1351763507","file5":"1351763540","file3":"1351763466"},"map_files_photo_id_array":[{"photo_id":"1351763540","filename":"file5"},{"photo_id":"1351763430","filename":"file2"},{"photo_id":"1351763507","filename":"file4"},{"photo_id":"1351763400","filename":"file1"},{"photo_id":"1351763382","filename":"file0"},{"photo_id":"1351763466","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351763400":["hashtag1","hashtag2"]},{"1351763540":["hashtag1","hashtag2"]},{"1351763507":["hashtag1","hashtag2"]},{"1351763466":["hashtag1","hashtag2"]},{"1351763382":["hashtag1","hashtag2"]},{"1351763430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351763400, 1351763540, 1351763507, 1351763466, 1351763382, 1351763430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0859169960022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:38:33.101370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_55_10425.jpg', '/home/pi/Desktop/images/19042025/04/53/image_19042025_04_54_04_9352.jpg', '/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_15_10352.jpg', '/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_24_9441.jpg', '/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_34_10380.jpg', '/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_45_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/53/image_19042025_04_53_55_10425.jpg
/home/pi/Desktop/images/19042025/04/53/image_19042025_04_54_04_9352.jpg
/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_15_10352.jpg
/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_24_9441.jpg
/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_34_10380.jpg
/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_45_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":["1351764334","1351764343","1351764136","1351764288","1351764330","1351763999"],"photo_ids_order":["1351763999","1351764136","1351764288","1351764330","1351764334","1351764343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3795bcdaaaa605813730d334be5a6664.jpg","text":"TemporaryFile(/tmp/multipartBody945701794689193108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044773645,"filename":"image_19042025_04_54_34_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/19/5ebf75f510e482316af8ecc00ec62b70.jpg","text":"TemporaryFile(/tmp/multipartBody5432555446823699823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044773645,"filename":"image_19042025_04_54_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c5562bcb24496e611bc793063f2eba9e.jpg","text":"TemporaryFile(/tmp/multipartBody4038634323093760413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044773645,"filename":"image_19042025_04_54_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/19/01230d8ed7d535732e43d60595d07e54.jpg","text":"TemporaryFile(/tmp/multipartBody7693576911575086291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044773645,"filename":"image_19042025_04_54_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/19/45a10203fc2352df6429dc312aede213.jpg","text":"TemporaryFile(/tmp/multipartBody6316199812623401580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044773645,"filename":"image_19042025_04_54_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/19/2b33388733a45b79d735418491f3d108.jpg","text":"TemporaryFile(/tmp/multipartBody3065357404488620605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044773645,"filename":"image_19042025_04_53_55_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351764288","file1":"1351764136","file0":"1351763999","file4":"1351764334","file5":"1351764343","file3":"1351764330"},"map_files_photo_id_array":[{"photo_id":"1351764343","filename":"file5"},{"photo_id":"1351764288","filename":"file2"},{"photo_id":"1351764334","filename":"file4"},{"photo_id":"1351764136","filename":"file1"},{"photo_id":"1351763999","filename":"file0"},{"photo_id":"1351764330","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351764334":["hashtag1","hashtag2"]},{"1351764343":["hashtag1","hashtag2"]},{"1351764136":["hashtag1","hashtag2"]},{"1351764288":["hashtag1","hashtag2"]},{"1351764330":["hashtag1","hashtag2"]},{"1351763999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351764334, 1351764343, 1351764136, 1351764288, 1351764330, 1351763999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.31226110458374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:39:32.225431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_54_9331.jpg', '/home/pi/Desktop/images/19042025/04/54/image_19042025_04_55_04_10349.jpg', '/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_14_9446.jpg', '/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_24_10375.jpg', '/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_35_10386.jpg', '/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_44_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/54/image_19042025_04_54_54_9331.jpg
/home/pi/Desktop/images/19042025/04/54/image_19042025_04_55_04_10349.jpg
/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_14_9446.jpg
/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_24_10375.jpg
/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_35_10386.jpg
/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_44_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":["1351764769","1351764664","1351764876","1351764639","1351764825","1351764927"],"photo_ids_order":["1351764639","1351764664","1351764769","1351764825","1351764876","1351764927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a051171c89d950698303c8d58af6551.jpg","text":"TemporaryFile(/tmp/multipartBody1932964248536688063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044832785,"filename":"image_19042025_04_55_14_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/19/dd0e8223ca348a02ff7c4edb28b9dcff.jpg","text":"TemporaryFile(/tmp/multipartBody8728867522890079391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044832785,"filename":"image_19042025_04_55_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/19/1bd5189ec75210453f0098ce111acac6.jpg","text":"TemporaryFile(/tmp/multipartBody2356595903277437577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044832785,"filename":"image_19042025_04_55_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/19/1c7158fecdce689d64a35db8af0d99b2.jpg","text":"TemporaryFile(/tmp/multipartBody3975327553821771723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044832785,"filename":"image_19042025_04_54_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/19/fff00e5cfdec21d7b603e8841a94fecd.jpg","text":"TemporaryFile(/tmp/multipartBody3185663551849354001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044832785,"filename":"image_19042025_04_55_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/19/8cf1c0b16f2d4f936c2e432160c76a17.jpg","text":"TemporaryFile(/tmp/multipartBody4208642331851816948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044832785,"filename":"image_19042025_04_55_44_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351764769","file1":"1351764664","file0":"1351764639","file4":"1351764876","file5":"1351764927","file3":"1351764825"},"map_files_photo_id_array":[{"photo_id":"1351764927","filename":"file5"},{"photo_id":"1351764769","filename":"file2"},{"photo_id":"1351764876","filename":"file4"},{"photo_id":"1351764664","filename":"file1"},{"photo_id":"1351764639","filename":"file0"},{"photo_id":"1351764825","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351764769":["hashtag1","hashtag2"]},{"1351764664":["hashtag1","hashtag2"]},{"1351764876":["hashtag1","hashtag2"]},{"1351764639":["hashtag1","hashtag2"]},{"1351764825":["hashtag1","hashtag2"]},{"1351764927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351764769, 1351764664, 1351764876, 1351764639, 1351764825, 1351764927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.274322271347046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:40:32.450609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_55_10356.jpg', '/home/pi/Desktop/images/19042025/04/55/image_19042025_04_56_04_9446.jpg', '/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_14_10387.jpg', '/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_25_10354.jpg', '/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_34_9349.jpg', '/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_44_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/55/image_19042025_04_55_55_10356.jpg
/home/pi/Desktop/images/19042025/04/55/image_19042025_04_56_04_9446.jpg
/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_14_10387.jpg
/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_25_10354.jpg
/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_34_9349.jpg
/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_44_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":["1351765663","1351765666","1351765686","1351765725","1351765707","1351765703"],"photo_ids_order":["1351765663","1351765666","1351765686","1351765703","1351765707","1351765725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a86471dd8e191d60a84a71861c7f8c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6276425773954970723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044893012,"filename":"image_19042025_04_55_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/19/14157fd1594777dd5309bbba2733e9a4.jpg","text":"TemporaryFile(/tmp/multipartBody1799820605751443829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044893012,"filename":"image_19042025_04_56_04_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/19/ee04ba8c8007b72453da518c02fa3b00.jpg","text":"TemporaryFile(/tmp/multipartBody1271957563961484034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044893012,"filename":"image_19042025_04_56_14_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d5fb9438f348211b3909e8ccf394727f.jpg","text":"TemporaryFile(/tmp/multipartBody7545259101481920492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044893012,"filename":"image_19042025_04_56_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/19/cb20e34fe6fe4db03ebd1cf82fbd3fe0.jpg","text":"TemporaryFile(/tmp/multipartBody5990281673240550284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044893012,"filename":"image_19042025_04_56_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/19/4c4dd30d9b4199a810fbee85ae0e2fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8598444899387791566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044893012,"filename":"image_19042025_04_56_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351765686","file1":"1351765666","file0":"1351765663","file4":"1351765707","file5":"1351765725","file3":"1351765703"},"map_files_photo_id_array":[{"photo_id":"1351765725","filename":"file5"},{"photo_id":"1351765686","filename":"file2"},{"photo_id":"1351765707","filename":"file4"},{"photo_id":"1351765666","filename":"file1"},{"photo_id":"1351765663","filename":"file0"},{"photo_id":"1351765703","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351765663":["hashtag1","hashtag2"]},{"1351765666":["hashtag1","hashtag2"]},{"1351765686":["hashtag1","hashtag2"]},{"1351765725":["hashtag1","hashtag2"]},{"1351765707":["hashtag1","hashtag2"]},{"1351765703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351765663, 1351765666, 1351765686, 1351765725, 1351765707, 1351765703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.136118412017822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:41:32.639343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_55_10406.jpg', '/home/pi/Desktop/images/19042025/04/56/image_19042025_04_57_04_9366.jpg', '/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_15_10350.jpg', '/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_25_10338.jpg', '/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_34_9456.jpg', '/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_45_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/56/image_19042025_04_56_55_10406.jpg
/home/pi/Desktop/images/19042025/04/56/image_19042025_04_57_04_9366.jpg
/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_15_10350.jpg
/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_25_10338.jpg
/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_34_9456.jpg
/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_45_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351765933","1351765875","1351765911","1351765869","1351765917","1351765892"],"photo_ids_order":["1351765869","1351765875","1351765892","1351765911","1351765917","1351765933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04b6bdb4288dc273fc3041438a5028b6.jpg","text":"TemporaryFile(/tmp/multipartBody8112388691454194489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044953191,"filename":"image_19042025_04_57_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/435946e9c317d760b04625d7499eff67.jpg","text":"TemporaryFile(/tmp/multipartBody2416738420481220605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044953191,"filename":"image_19042025_04_57_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/19/c3d875e28a0032aa8945748e06a57137.jpg","text":"TemporaryFile(/tmp/multipartBody6209819172837960905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044953191,"filename":"image_19042025_04_57_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/be00e632efb2bc485d1ee9f3ebd44595.jpg","text":"TemporaryFile(/tmp/multipartBody4542512132137443958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044953191,"filename":"image_19042025_04_56_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a31a7b00b1152c670cad73848664956.jpg","text":"TemporaryFile(/tmp/multipartBody4913760469237486130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044953191,"filename":"image_19042025_04_57_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/19/44c572448bce4e1a94e9a4186035a219.jpg","text":"TemporaryFile(/tmp/multipartBody382841322486581430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745044953191,"filename":"image_19042025_04_57_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351765892","file1":"1351765875","file0":"1351765869","file4":"1351765917","file5":"1351765933","file3":"1351765911"},"map_files_photo_id_array":[{"photo_id":"1351765933","filename":"file5"},{"photo_id":"1351765892","filename":"file2"},{"photo_id":"1351765917","filename":"file4"},{"photo_id":"1351765875","filename":"file1"},{"photo_id":"1351765869","filename":"file0"},{"photo_id":"1351765911","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351765933":["hashtag1","hashtag2"]},{"1351765875":["hashtag1","hashtag2"]},{"1351765911":["hashtag1","hashtag2"]},{"1351765869":["hashtag1","hashtag2"]},{"1351765917":["hashtag1","hashtag2"]},{"1351765892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351765933, 1351765875, 1351765911, 1351765869, 1351765917, 1351765892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.981180906295776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:42:32.875846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_54_9346.jpg', '/home/pi/Desktop/images/19042025/04/57/image_19042025_04_58_05_10384.jpg', '/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_14_9455.jpg', '/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_24_10366.jpg', '/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_35_10365.jpg', '/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_44_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/57/image_19042025_04_57_54_9346.jpg
/home/pi/Desktop/images/19042025/04/57/image_19042025_04_58_05_10384.jpg
/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_14_9455.jpg
/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_24_10366.jpg
/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_35_10365.jpg
/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_44_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351766076","1351766157","1351766180","1351766129","1351766102","1351766051"],"photo_ids_order":["1351766051","1351766076","1351766102","1351766129","1351766157","1351766180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19d16b8d8cc4532628bf0427eee377cb.jpg","text":"TemporaryFile(/tmp/multipartBody2136916826911572348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045013421,"filename":"image_19042025_04_58_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/19/629614fd297846844d2540970fc7a526.jpg","text":"TemporaryFile(/tmp/multipartBody2985106088990642942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045013421,"filename":"image_19042025_04_58_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/36499ed65720172ed345b527ab8a7a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1922717773836741836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045013421,"filename":"image_19042025_04_58_44_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32c172a4587a494086c69bb36a919352.jpg","text":"TemporaryFile(/tmp/multipartBody8317397747831461119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045013421,"filename":"image_19042025_04_58_24_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1041706b1d7dbcde51c9674762a5693.jpg","text":"TemporaryFile(/tmp/multipartBody4179665078177654332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045013421,"filename":"image_19042025_04_58_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/19/721968db6754b6616ad56d2ea623dbaa.jpg","text":"TemporaryFile(/tmp/multipartBody5431100791104017577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045013421,"filename":"image_19042025_04_57_54_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351766102","file1":"1351766076","file0":"1351766051","file4":"1351766157","file5":"1351766180","file3":"1351766129"},"map_files_photo_id_array":[{"photo_id":"1351766180","filename":"file5"},{"photo_id":"1351766102","filename":"file2"},{"photo_id":"1351766157","filename":"file4"},{"photo_id":"1351766076","filename":"file1"},{"photo_id":"1351766051","filename":"file0"},{"photo_id":"1351766129","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351766076":["hashtag1","hashtag2"]},{"1351766157":["hashtag1","hashtag2"]},{"1351766180":["hashtag1","hashtag2"]},{"1351766129":["hashtag1","hashtag2"]},{"1351766102":["hashtag1","hashtag2"]},{"1351766051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351766076, 1351766157, 1351766180, 1351766129, 1351766102, 1351766051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.47241449356079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:43:33.123163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_55_10426.jpg', '/home/pi/Desktop/images/19042025/04/58/image_19042025_04_59_04_9432.jpg', '/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_14_10371.jpg', '/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_25_10402.jpg', '/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_34_9358.jpg', '/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/58/image_19042025_04_58_55_10426.jpg
/home/pi/Desktop/images/19042025/04/58/image_19042025_04_59_04_9432.jpg
/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_14_10371.jpg
/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_25_10402.jpg
/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_34_9358.jpg
/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_45_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351766743","1351766769","1351766598","1351766646","1351766714","1351766671"],"photo_ids_order":["1351766598","1351766646","1351766671","1351766714","1351766743","1351766769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1adab18fe0f195d09030585afc13bc99.jpg","text":"TemporaryFile(/tmp/multipartBody8076572696802026191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045073679,"filename":"image_19042025_04_59_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/19/6f01b17baa7f5a8488769e9765036e46.jpg","text":"TemporaryFile(/tmp/multipartBody4594534773534614356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045073679,"filename":"image_19042025_04_59_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/19/b38fbc6a97ae85a2e54bc662f22e0881.jpg","text":"TemporaryFile(/tmp/multipartBody670017705990196876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045073679,"filename":"image_19042025_04_58_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/19/be9a1765c2606f5c78bef91d545f8f7d.jpg","text":"TemporaryFile(/tmp/multipartBody2420486598904134129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045073679,"filename":"image_19042025_04_59_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/19/b7d34b29d5d77d288b51e02737ddd62e.jpg","text":"TemporaryFile(/tmp/multipartBody3330811546001403639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045073679,"filename":"image_19042025_04_59_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b58b6d7eb14aeb3730583bd390a965dd.jpg","text":"TemporaryFile(/tmp/multipartBody987226734546759099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045073679,"filename":"image_19042025_04_59_14_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351766671","file1":"1351766646","file0":"1351766598","file4":"1351766743","file5":"1351766769","file3":"1351766714"},"map_files_photo_id_array":[{"photo_id":"1351766769","filename":"file5"},{"photo_id":"1351766671","filename":"file2"},{"photo_id":"1351766743","filename":"file4"},{"photo_id":"1351766646","filename":"file1"},{"photo_id":"1351766598","filename":"file0"},{"photo_id":"1351766714","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351766743":["hashtag1","hashtag2"]},{"1351766769":["hashtag1","hashtag2"]},{"1351766598":["hashtag1","hashtag2"]},{"1351766646":["hashtag1","hashtag2"]},{"1351766714":["hashtag1","hashtag2"]},{"1351766671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351766743, 1351766769, 1351766598, 1351766646, 1351766714, 1351766671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75200963020325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:44:32.179553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_54_9430.jpg', '/home/pi/Desktop/images/19042025/05/01/image_19042025_05_01_14_10074.jpg', '/home/pi/Desktop/images/19042025/05/01/image_19042025_05_01_25_10361.jpg', '/home/pi/Desktop/images/19042025/05/01/image_19042025_05_02_05_10363.jpg', '/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_15_9368.jpg', '/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_25_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/04/59/image_19042025_04_59_54_9430.jpg
/home/pi/Desktop/images/19042025/05/01/image_19042025_05_01_14_10074.jpg
/home/pi/Desktop/images/19042025/05/01/image_19042025_05_01_25_10361.jpg
/home/pi/Desktop/images/19042025/05/01/image_19042025_05_02_05_10363.jpg
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_15_9368.jpg
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_25_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351766882","1351766885","1351766879","1351766870","1351766873","1351766876"],"photo_ids_order":["1351766870","1351766873","1351766876","1351766879","1351766882","1351766885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/85c80952cc8589e2b75e80f5b9b43c7b.jpg","text":"TemporaryFile(/tmp/multipartBody1705547407075126246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045132702,"filename":"image_19042025_05_02_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/19/0878999a653b44f824a8fd8163487dab.jpg","text":"TemporaryFile(/tmp/multipartBody8638522325649162538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045132702,"filename":"image_19042025_05_02_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ae2d033b8a8eeb64557b578aa1a6cae.jpg","text":"TemporaryFile(/tmp/multipartBody6015894829596703075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045132702,"filename":"image_19042025_05_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/19/377b32190dcb8f74078378421d3b35ca.jpg","text":"TemporaryFile(/tmp/multipartBody5723292747851300505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045132702,"filename":"image_19042025_04_59_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/19/a69db11e58ae14bcb90fdf8fe066f573.jpg","text":"TemporaryFile(/tmp/multipartBody6858790778548923560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045132702,"filename":"image_19042025_05_01_14_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/19/00f573b39d131449cfa0335a3cddf715.jpg","text":"TemporaryFile(/tmp/multipartBody7940708329614171894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045132702,"filename":"image_19042025_05_01_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351766876","file1":"1351766873","file0":"1351766870","file4":"1351766882","file5":"1351766885","file3":"1351766879"},"map_files_photo_id_array":[{"photo_id":"1351766885","filename":"file5"},{"photo_id":"1351766876","filename":"file2"},{"photo_id":"1351766882","filename":"file4"},{"photo_id":"1351766873","filename":"file1"},{"photo_id":"1351766870","filename":"file0"},{"photo_id":"1351766879","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351766882":["hashtag1","hashtag2"]},{"1351766885":["hashtag1","hashtag2"]},{"1351766879":["hashtag1","hashtag2"]},{"1351766870":["hashtag1","hashtag2"]},{"1351766873":["hashtag1","hashtag2"]},{"1351766876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351766882, 1351766885, 1351766879, 1351766870, 1351766873, 1351766876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86444115638733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:45:32.458086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_34_9348.jpg', '/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_45_10359.jpg', '/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_55_10413.jpg', '/home/pi/Desktop/images/19042025/05/02/image_19042025_05_03_04_9349.jpg', '/home/pi/Desktop/images/19042025/05/03/image_19042025_05_03_15_10430.jpg', '/home/pi/Desktop/images/19042025/05/03/image_19042025_05_03_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_34_9348.jpg
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_45_10359.jpg
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_55_10413.jpg
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_03_04_9349.jpg
/home/pi/Desktop/images/19042025/05/03/image_19042025_05_03_15_10430.jpg
/home/pi/Desktop/images/19042025/05/03/image_19042025_05_03_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":["1351767087","1351767095","1351767098","1351767091","1351767097","1351767090"],"photo_ids_order":["1351767087","1351767090","1351767091","1351767095","1351767097","1351767098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eca7b5deb33551c806d00912ec19481c.jpg","text":"TemporaryFile(/tmp/multipartBody301340222756024596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045192991,"filename":"image_19042025_05_02_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25223913df859c352a8b823b2e35345a.jpg","text":"TemporaryFile(/tmp/multipartBody3458466732987122480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045192991,"filename":"image_19042025_05_03_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/19/ec2dc19969e0aa2a513366ee91b13c56.jpg","text":"TemporaryFile(/tmp/multipartBody1752589286491811088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045192991,"filename":"image_19042025_05_03_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/19/be119e4a09fc6bb40322765053fe9697.jpg","text":"TemporaryFile(/tmp/multipartBody7280666054114565575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045192991,"filename":"image_19042025_05_02_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/19/792666f78c5acfd242e8a125208af0b0.jpg","text":"TemporaryFile(/tmp/multipartBody1884675688141460121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045192991,"filename":"image_19042025_05_03_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/19/5150233c95f1ee71906a7ccc94c55cd0.jpg","text":"TemporaryFile(/tmp/multipartBody5654954273447058978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045192991,"filename":"image_19042025_05_02_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767091","file1":"1351767090","file0":"1351767087","file4":"1351767097","file5":"1351767098","file3":"1351767095"},"map_files_photo_id_array":[{"photo_id":"1351767098","filename":"file5"},{"photo_id":"1351767091","filename":"file2"},{"photo_id":"1351767097","filename":"file4"},{"photo_id":"1351767090","filename":"file1"},{"photo_id":"1351767087","filename":"file0"},{"photo_id":"1351767095","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767087":["hashtag1","hashtag2"]},{"1351767095":["hashtag1","hashtag2"]},{"1351767098":["hashtag1","hashtag2"]},{"1351767091":["hashtag1","hashtag2"]},{"1351767097":["hashtag1","hashtag2"]},{"1351767090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767087, 1351767095, 1351767098, 1351767091, 1351767097, 1351767090)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351767091 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_55_10413.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351767091 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_55_10413.jpg";
uploaded 6 photos
time to upload: 57.54044198989868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:46:32.637826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:46:42.606275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 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-19 08:47:03.930204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_34_9348.jpg', '/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_45_10359.jpg', '/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_55_10413.jpg', '/home/pi/Desktop/images/19042025/05/02/image_19042025_05_03_04_9349.jpg', '/home/pi/Desktop/images/19042025/05/03/image_19042025_05_03_15_10430.jpg', '/home/pi/Desktop/images/19042025/05/03/image_19042025_05_03_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_34_9348.jpg
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_45_10359.jpg
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_02_55_10413.jpg
/home/pi/Desktop/images/19042025/05/02/image_19042025_05_03_04_9349.jpg
/home/pi/Desktop/images/19042025/05/03/image_19042025_05_03_15_10430.jpg
/home/pi/Desktop/images/19042025/05/03/image_19042025_05_03_25_10381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351767261","1351767182","1351767185","1351767179","1351767206","1351767232"],"photo_ids_order":["1351767179","1351767182","1351767185","1351767206","1351767232","1351767261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1478ba66cf7ce6c644309e72074e387b.jpg","text":"TemporaryFile(/tmp/multipartBody6764606038304804142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045284639,"filename":"image_19042025_05_03_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/19/bffed1a3be53900983e471ade94777d6.jpg","text":"TemporaryFile(/tmp/multipartBody8526337434851496324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045284639,"filename":"image_19042025_05_02_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/19/1211a76c4e0abd1884a862f1a79ef400.jpg","text":"TemporaryFile(/tmp/multipartBody8843648731133898939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045284639,"filename":"image_19042025_05_02_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/19/7ecf1ef916fae6855fdc74958bfb67f2.jpg","text":"TemporaryFile(/tmp/multipartBody1286185324347342980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045284639,"filename":"image_19042025_05_02_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b85e7fbe9792a3ff9f73f7d7df420da.jpg","text":"TemporaryFile(/tmp/multipartBody2511745495855652329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045284639,"filename":"image_19042025_05_03_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/19/185b4c632e38bcd1d6a071c9dedc9257.jpg","text":"TemporaryFile(/tmp/multipartBody4633931700989445557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045284639,"filename":"image_19042025_05_03_15_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767185","file1":"1351767182","file0":"1351767179","file4":"1351767232","file5":"1351767261","file3":"1351767206"},"map_files_photo_id_array":[{"photo_id":"1351767261","filename":"file5"},{"photo_id":"1351767185","filename":"file2"},{"photo_id":"1351767232","filename":"file4"},{"photo_id":"1351767182","filename":"file1"},{"photo_id":"1351767179","filename":"file0"},{"photo_id":"1351767206","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767261":["hashtag1","hashtag2"]},{"1351767182":["hashtag1","hashtag2"]},{"1351767185":["hashtag1","hashtag2"]},{"1351767179":["hashtag1","hashtag2"]},{"1351767206":["hashtag1","hashtag2"]},{"1351767232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767261, 1351767182, 1351767185, 1351767179, 1351767206, 1351767232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.512389659881592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:47:42.589123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_14_9373.jpg', '/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_25_10425.jpg', '/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_35_10430.jpg', '/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_45_9357.jpg', '/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_55_10407.jpg', '/home/pi/Desktop/images/19042025/05/04/image_19042025_05_05_04_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_14_9373.jpg
/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_25_10425.jpg
/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_35_10430.jpg
/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_45_9357.jpg
/home/pi/Desktop/images/19042025/05/04/image_19042025_05_04_55_10407.jpg
/home/pi/Desktop/images/19042025/05/04/image_19042025_05_05_04_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351767339","1351767342","1351767341","1351767334","1351767337","1351767331"],"photo_ids_order":["1351767331","1351767334","1351767337","1351767339","1351767341","1351767342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34dfc6e84525f572463cb00a2303c1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8173364301873579005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045323130,"filename":"image_19042025_05_04_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a501a274a0c3dad11f2928595c5bcfcd.jpg","text":"TemporaryFile(/tmp/multipartBody3396593448897872434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045323130,"filename":"image_19042025_05_05_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/19/ffa610a59e603de777599d6783b1d08b.jpg","text":"TemporaryFile(/tmp/multipartBody2387616324833340433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045323130,"filename":"image_19042025_05_04_55_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d073a962f6ba885b9e7a860ae18857a.jpg","text":"TemporaryFile(/tmp/multipartBody4675556273257363880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045323130,"filename":"image_19042025_05_04_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/42955e20342c8b23b2341f0355ca19f4.jpg","text":"TemporaryFile(/tmp/multipartBody2097919622585129262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045323130,"filename":"image_19042025_05_04_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56bb61d989f6c7ae4df7860f2ea79eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1770128459389208772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045323130,"filename":"image_19042025_05_04_14_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767337","file1":"1351767334","file0":"1351767331","file4":"1351767341","file5":"1351767342","file3":"1351767339"},"map_files_photo_id_array":[{"photo_id":"1351767342","filename":"file5"},{"photo_id":"1351767337","filename":"file2"},{"photo_id":"1351767341","filename":"file4"},{"photo_id":"1351767334","filename":"file1"},{"photo_id":"1351767331","filename":"file0"},{"photo_id":"1351767339","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767339":["hashtag1","hashtag2"]},{"1351767342":["hashtag1","hashtag2"]},{"1351767341":["hashtag1","hashtag2"]},{"1351767334":["hashtag1","hashtag2"]},{"1351767337":["hashtag1","hashtag2"]},{"1351767331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767339, 1351767342, 1351767341, 1351767334, 1351767337, 1351767331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.4437735080719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:48:32.731269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_15_10353.jpg', '/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_25_10459.jpg', '/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_34_9337.jpg', '/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_45_10398.jpg', '/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_55_10378.jpg', '/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_15_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_15_10353.jpg
/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_25_10459.jpg
/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_34_9337.jpg
/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_45_10398.jpg
/home/pi/Desktop/images/19042025/05/05/image_19042025_05_05_55_10378.jpg
/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_15_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":["1351767372","1351767366","1351767369","1351767377","1351767362","1351767379"],"photo_ids_order":["1351767362","1351767366","1351767369","1351767372","1351767377","1351767379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/80ac38563ed2be3bb848138676a211ea.jpg","text":"TemporaryFile(/tmp/multipartBody2136075779348087875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045373272,"filename":"image_19042025_05_05_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/19/7522731957d51fb4b12855cce40b186f.jpg","text":"TemporaryFile(/tmp/multipartBody6236476804651964146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045373272,"filename":"image_19042025_05_05_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0cf1bb387b0665f3f209d9ae1880b280.jpg","text":"TemporaryFile(/tmp/multipartBody1508031127626937999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045373272,"filename":"image_19042025_05_05_34_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aba4a8de6c9d98f0921635b27f75ab47.jpg","text":"TemporaryFile(/tmp/multipartBody65223575768393048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045373272,"filename":"image_19042025_05_05_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/19/a01cf1b315f9ca855f0759f5bbd8b714.jpg","text":"TemporaryFile(/tmp/multipartBody3043261401802513331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045373272,"filename":"image_19042025_05_05_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/257fa65ab5ea93774c90df0351bb2452.jpg","text":"TemporaryFile(/tmp/multipartBody2880101064830686810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045373272,"filename":"image_19042025_05_06_15_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767369","file1":"1351767366","file0":"1351767362","file4":"1351767377","file5":"1351767379","file3":"1351767372"},"map_files_photo_id_array":[{"photo_id":"1351767379","filename":"file5"},{"photo_id":"1351767369","filename":"file2"},{"photo_id":"1351767377","filename":"file4"},{"photo_id":"1351767366","filename":"file1"},{"photo_id":"1351767362","filename":"file0"},{"photo_id":"1351767372","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767372":["hashtag1","hashtag2"]},{"1351767366":["hashtag1","hashtag2"]},{"1351767369":["hashtag1","hashtag2"]},{"1351767377":["hashtag1","hashtag2"]},{"1351767362":["hashtag1","hashtag2"]},{"1351767379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767372, 1351767366, 1351767369, 1351767377, 1351767362, 1351767379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73018217086792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:49:32.900767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_24_9349.jpg', '/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_35_10487.jpg', '/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_45_10358.jpg', '/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_55_9352.jpg', '/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_14_9360.jpg', '/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_25_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_24_9349.jpg
/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_35_10487.jpg
/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_45_10358.jpg
/home/pi/Desktop/images/19042025/05/06/image_19042025_05_06_55_9352.jpg
/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_14_9360.jpg
/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_25_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":["1351767399","1351767408","1351767402","1351767416","1351767418","1351767412"],"photo_ids_order":["1351767399","1351767402","1351767408","1351767412","1351767416","1351767418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a5ec75d8924d4948e669217a35032ce.jpg","text":"TemporaryFile(/tmp/multipartBody211911765980422053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045433451,"filename":"image_19042025_05_06_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/19/4c43681b1cb9749b6e8c2db818121b3a.jpg","text":"TemporaryFile(/tmp/multipartBody3282798382408014742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045433451,"filename":"image_19042025_05_06_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/19/da92ee4204c98badc17a26e6c7d7c1e9.jpg","text":"TemporaryFile(/tmp/multipartBody970508070334869201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045433451,"filename":"image_19042025_05_06_35_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/19/16080d37353cc8b28d53a510a1de6889.jpg","text":"TemporaryFile(/tmp/multipartBody3787100595714003358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045433451,"filename":"image_19042025_05_07_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/19/b89a9921861bd9ecc4ae45414ecf4082.jpg","text":"TemporaryFile(/tmp/multipartBody911115233757035506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045433451,"filename":"image_19042025_05_07_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba992e08a0f24a6cb1a878bdb675899e.jpg","text":"TemporaryFile(/tmp/multipartBody3391773143522654006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045433451,"filename":"image_19042025_05_06_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767408","file1":"1351767402","file0":"1351767399","file4":"1351767416","file5":"1351767418","file3":"1351767412"},"map_files_photo_id_array":[{"photo_id":"1351767418","filename":"file5"},{"photo_id":"1351767408","filename":"file2"},{"photo_id":"1351767416","filename":"file4"},{"photo_id":"1351767402","filename":"file1"},{"photo_id":"1351767399","filename":"file0"},{"photo_id":"1351767412","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767399":["hashtag1","hashtag2"]},{"1351767408":["hashtag1","hashtag2"]},{"1351767402":["hashtag1","hashtag2"]},{"1351767416":["hashtag1","hashtag2"]},{"1351767418":["hashtag1","hashtag2"]},{"1351767412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767399, 1351767408, 1351767402, 1351767416, 1351767418, 1351767412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15182590484619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:50:33.096355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_35_10347.jpg', '/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_45_9368.jpg', '/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_55_10403.jpg', '/home/pi/Desktop/images/19042025/05/07/image_19042025_05_08_04_9409.jpg', '/home/pi/Desktop/images/19042025/05/08/image_19042025_05_08_25_10341.jpg', '/home/pi/Desktop/images/19042025/05/08/image_19042025_05_08_34_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_35_10347.jpg
/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_45_9368.jpg
/home/pi/Desktop/images/19042025/05/07/image_19042025_05_07_55_10403.jpg
/home/pi/Desktop/images/19042025/05/07/image_19042025_05_08_04_9409.jpg
/home/pi/Desktop/images/19042025/05/08/image_19042025_05_08_25_10341.jpg
/home/pi/Desktop/images/19042025/05/08/image_19042025_05_08_34_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":["1351767459","1351767463","1351767466","1351767451","1351767454","1351767448"],"photo_ids_order":["1351767448","1351767451","1351767454","1351767459","1351767463","1351767466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37cc1d0b3fe4262293f69ff4b366a133.jpg","text":"TemporaryFile(/tmp/multipartBody5284631417711081067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045493632,"filename":"image_19042025_05_08_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/19/0dd260c3c9c19535d575893cc42752e2.jpg","text":"TemporaryFile(/tmp/multipartBody2692261751261442167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045493632,"filename":"image_19042025_05_08_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/19/9775d22b8a282c4ff38d2f176b8b2f4b.jpg","text":"TemporaryFile(/tmp/multipartBody2097818546644839590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045493632,"filename":"image_19042025_05_08_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/19/35c095551e782938cde53b6ff800901c.jpg","text":"TemporaryFile(/tmp/multipartBody5216947837644205331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045493632,"filename":"image_19042025_05_07_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/19/b76597e9ce727263300d0fc7c5a56bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7149158732829003335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045493632,"filename":"image_19042025_05_07_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/19/8614e6760662b6a062b47ee4913577dc.jpg","text":"TemporaryFile(/tmp/multipartBody4712209958630314048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045493632,"filename":"image_19042025_05_07_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767454","file1":"1351767451","file0":"1351767448","file4":"1351767463","file5":"1351767466","file3":"1351767459"},"map_files_photo_id_array":[{"photo_id":"1351767466","filename":"file5"},{"photo_id":"1351767454","filename":"file2"},{"photo_id":"1351767463","filename":"file4"},{"photo_id":"1351767451","filename":"file1"},{"photo_id":"1351767448","filename":"file0"},{"photo_id":"1351767459","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767459":["hashtag1","hashtag2"]},{"1351767463":["hashtag1","hashtag2"]},{"1351767466":["hashtag1","hashtag2"]},{"1351767451":["hashtag1","hashtag2"]},{"1351767454":["hashtag1","hashtag2"]},{"1351767448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767459, 1351767463, 1351767466, 1351767451, 1351767454, 1351767448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.91847562789917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:51:32.306662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/08/image_19042025_05_08_45_10455.jpg', '/home/pi/Desktop/images/19042025/05/08/image_19042025_05_08_55_10345.jpg', '/home/pi/Desktop/images/19042025/05/08/image_19042025_05_09_05_9351.jpg', '/home/pi/Desktop/images/19042025/05/09/image_19042025_05_09_15_10427.jpg', '/home/pi/Desktop/images/19042025/05/09/image_19042025_05_09_35_10359.jpg', '/home/pi/Desktop/images/19042025/05/09/image_19042025_05_09_45_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/08/image_19042025_05_08_45_10455.jpg
/home/pi/Desktop/images/19042025/05/08/image_19042025_05_08_55_10345.jpg
/home/pi/Desktop/images/19042025/05/08/image_19042025_05_09_05_9351.jpg
/home/pi/Desktop/images/19042025/05/09/image_19042025_05_09_15_10427.jpg
/home/pi/Desktop/images/19042025/05/09/image_19042025_05_09_35_10359.jpg
/home/pi/Desktop/images/19042025/05/09/image_19042025_05_09_45_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351767497","1351767501","1351767488","1351767503","1351767484","1351767493"],"photo_ids_order":["1351767484","1351767488","1351767493","1351767497","1351767501","1351767503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c8ed83abeb59bb9183f34634432b9f4c.jpg","text":"TemporaryFile(/tmp/multipartBody8783208767826736010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045552848,"filename":"image_19042025_05_09_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/19/dc997a087392c3df7500d48cd3dc2658.jpg","text":"TemporaryFile(/tmp/multipartBody4373218601030613382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045552848,"filename":"image_19042025_05_09_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/31960845f5a014f5cc68c80295ce34a8.jpg","text":"TemporaryFile(/tmp/multipartBody4360511265310247284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045552848,"filename":"image_19042025_05_08_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/19/a5b9ec28b94d390ca50732a8cd67d647.jpg","text":"TemporaryFile(/tmp/multipartBody7961417555748010512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045552848,"filename":"image_19042025_05_09_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/19/ccf5eaba06219d74d7843465a2813490.jpg","text":"TemporaryFile(/tmp/multipartBody2191837999777590177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045552848,"filename":"image_19042025_05_08_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/19/98ec2096e151c096af4e60a4eadc28c3.jpg","text":"TemporaryFile(/tmp/multipartBody2891839761324077246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045552848,"filename":"image_19042025_05_09_05_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767493","file1":"1351767488","file0":"1351767484","file4":"1351767501","file5":"1351767503","file3":"1351767497"},"map_files_photo_id_array":[{"photo_id":"1351767503","filename":"file5"},{"photo_id":"1351767493","filename":"file2"},{"photo_id":"1351767501","filename":"file4"},{"photo_id":"1351767488","filename":"file1"},{"photo_id":"1351767484","filename":"file0"},{"photo_id":"1351767497","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767497":["hashtag1","hashtag2"]},{"1351767501":["hashtag1","hashtag2"]},{"1351767488":["hashtag1","hashtag2"]},{"1351767503":["hashtag1","hashtag2"]},{"1351767484":["hashtag1","hashtag2"]},{"1351767493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767497, 1351767501, 1351767488, 1351767503, 1351767484, 1351767493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02475690841675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:52:32.609645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/09/image_19042025_05_09_54_9346.jpg', '/home/pi/Desktop/images/19042025/05/09/image_19042025_05_10_05_10460.jpg', '/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_14_9369.jpg', '/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_25_10405.jpg', '/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_35_10445.jpg', '/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_45_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/09/image_19042025_05_09_54_9346.jpg
/home/pi/Desktop/images/19042025/05/09/image_19042025_05_10_05_10460.jpg
/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_14_9369.jpg
/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_25_10405.jpg
/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_35_10445.jpg
/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_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":["1351767537","1351767542","1351767521","1351767539","1351767524","1351767544"],"photo_ids_order":["1351767521","1351767524","1351767537","1351767539","1351767542","1351767544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/301333058feb9763baf2df453ba5a5cc.jpg","text":"TemporaryFile(/tmp/multipartBody2463460477849457851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045613149,"filename":"image_19042025_05_10_14_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0759becd020cb8536ba92282da48d1bc.jpg","text":"TemporaryFile(/tmp/multipartBody3381687205716352466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045613149,"filename":"image_19042025_05_10_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/234afed9dd8b43ba6e317b0b341bfad6.jpg","text":"TemporaryFile(/tmp/multipartBody3039482934248479278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045613149,"filename":"image_19042025_05_09_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/19/94e49cef3a3e370eaefa64974640aebc.jpg","text":"TemporaryFile(/tmp/multipartBody1165046152870255979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045613149,"filename":"image_19042025_05_10_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/19/ce45f0f0ee373835831c3bdc6d00931b.jpg","text":"TemporaryFile(/tmp/multipartBody8214639157946596347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045613149,"filename":"image_19042025_05_10_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/19/6ab5c5f4d0dba8512a68c73e361b53af.jpg","text":"TemporaryFile(/tmp/multipartBody1351028956528041247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045613149,"filename":"image_19042025_05_10_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767537","file1":"1351767524","file0":"1351767521","file4":"1351767542","file5":"1351767544","file3":"1351767539"},"map_files_photo_id_array":[{"photo_id":"1351767544","filename":"file5"},{"photo_id":"1351767537","filename":"file2"},{"photo_id":"1351767542","filename":"file4"},{"photo_id":"1351767524","filename":"file1"},{"photo_id":"1351767521","filename":"file0"},{"photo_id":"1351767539","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767537":["hashtag1","hashtag2"]},{"1351767542":["hashtag1","hashtag2"]},{"1351767521":["hashtag1","hashtag2"]},{"1351767539":["hashtag1","hashtag2"]},{"1351767524":["hashtag1","hashtag2"]},{"1351767544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767537, 1351767542, 1351767521, 1351767539, 1351767524, 1351767544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.950437784194946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:53:32.658462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_55_10355.jpg', '/home/pi/Desktop/images/19042025/05/10/image_19042025_05_11_05_10348.jpg', '/home/pi/Desktop/images/19042025/05/11/image_19042025_05_11_15_9328.jpg', '/home/pi/Desktop/images/19042025/05/11/image_19042025_05_11_25_10336.jpg', '/home/pi/Desktop/images/19042025/05/11/image_19042025_05_11_35_10355.jpg', '/home/pi/Desktop/images/19042025/05/11/image_19042025_05_12_05_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/10/image_19042025_05_10_55_10355.jpg
/home/pi/Desktop/images/19042025/05/10/image_19042025_05_11_05_10348.jpg
/home/pi/Desktop/images/19042025/05/11/image_19042025_05_11_15_9328.jpg
/home/pi/Desktop/images/19042025/05/11/image_19042025_05_11_25_10336.jpg
/home/pi/Desktop/images/19042025/05/11/image_19042025_05_11_35_10355.jpg
/home/pi/Desktop/images/19042025/05/11/image_19042025_05_12_05_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":["1351767572","1351767560","1351767563","1351767574","1351767568","1351767556"],"photo_ids_order":["1351767556","1351767560","1351767563","1351767568","1351767572","1351767574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/80f8fa2650b8c4597e758d0562fac613.jpg","text":"TemporaryFile(/tmp/multipartBody8207534806885799607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045673474,"filename":"image_19042025_05_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/19/ee098844f6aee8662b886d41fce917fc.jpg","text":"TemporaryFile(/tmp/multipartBody5847445527639485920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045673474,"filename":"image_19042025_05_11_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/19/744e879aa1b7526a26d63dbe36ef5688.jpg","text":"TemporaryFile(/tmp/multipartBody3995941751891728881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045673474,"filename":"image_19042025_05_11_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c727c0c5511b01d417be3356404169d.jpg","text":"TemporaryFile(/tmp/multipartBody4510614992705663628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045673474,"filename":"image_19042025_05_12_05_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97daffebe22e903f55cc45988cd07e44.jpg","text":"TemporaryFile(/tmp/multipartBody1684369850634850687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045673474,"filename":"image_19042025_05_11_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7325d8f00d1fe0786379605985e5d892.jpg","text":"TemporaryFile(/tmp/multipartBody989687795668615758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045673474,"filename":"image_19042025_05_10_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767563","file1":"1351767560","file0":"1351767556","file4":"1351767572","file5":"1351767574","file3":"1351767568"},"map_files_photo_id_array":[{"photo_id":"1351767574","filename":"file5"},{"photo_id":"1351767563","filename":"file2"},{"photo_id":"1351767572","filename":"file4"},{"photo_id":"1351767560","filename":"file1"},{"photo_id":"1351767556","filename":"file0"},{"photo_id":"1351767568","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767572":["hashtag1","hashtag2"]},{"1351767560":["hashtag1","hashtag2"]},{"1351767563":["hashtag1","hashtag2"]},{"1351767574":["hashtag1","hashtag2"]},{"1351767568":["hashtag1","hashtag2"]},{"1351767556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767572, 1351767560, 1351767563, 1351767574, 1351767568, 1351767556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.476094007492065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:54:33.050970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_15_10416.jpg', '/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_35_10352.jpg', '/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_45_10350.jpg', '/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_54_9375.jpg', '/home/pi/Desktop/images/19042025/05/12/image_19042025_05_13_05_10413.jpg', '/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_15_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_15_10416.jpg
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_35_10352.jpg
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_45_10350.jpg
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_54_9375.jpg
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_13_05_10413.jpg
/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_15_10358.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45857667922973633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:54:42.910996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_15_10416.jpg', '/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_35_10352.jpg', '/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_45_10350.jpg', '/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_54_9375.jpg', '/home/pi/Desktop/images/19042025/05/12/image_19042025_05_13_05_10413.jpg', '/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_15_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_15_10416.jpg
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_35_10352.jpg
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_45_10350.jpg
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_12_54_9375.jpg
/home/pi/Desktop/images/19042025/05/12/image_19042025_05_13_05_10413.jpg
/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_15_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":["1351767639","1351767630","1351767633","1351767621","1351767635","1351767626"],"photo_ids_order":["1351767621","1351767626","1351767630","1351767633","1351767635","1351767639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2e4c1f53345011bdb6e7c28b5cd5ed69.jpg","text":"TemporaryFile(/tmp/multipartBody9079085244709347182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045743391,"filename":"image_19042025_05_13_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/19/4946d39101a726a1900878773d66ca53.jpg","text":"TemporaryFile(/tmp/multipartBody9154115517021824138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045743391,"filename":"image_19042025_05_12_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/915ea4bae5fbad434a718dc5291a3336.jpg","text":"TemporaryFile(/tmp/multipartBody7066003163860764376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045743391,"filename":"image_19042025_05_12_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/19/c92552e8307b997c5f86126e63c01273.jpg","text":"TemporaryFile(/tmp/multipartBody1401243095646892923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045743391,"filename":"image_19042025_05_12_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/19/601f14277fc86ee7d37a206b3f4f4cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1085475553267992880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045743391,"filename":"image_19042025_05_13_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/19/59320813a7b3a6d8cda569849130534a.jpg","text":"TemporaryFile(/tmp/multipartBody7335025895910900837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045743391,"filename":"image_19042025_05_12_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767630","file1":"1351767626","file0":"1351767621","file4":"1351767635","file5":"1351767639","file3":"1351767633"},"map_files_photo_id_array":[{"photo_id":"1351767639","filename":"file5"},{"photo_id":"1351767630","filename":"file2"},{"photo_id":"1351767635","filename":"file4"},{"photo_id":"1351767626","filename":"file1"},{"photo_id":"1351767621","filename":"file0"},{"photo_id":"1351767633","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767639":["hashtag1","hashtag2"]},{"1351767630":["hashtag1","hashtag2"]},{"1351767633":["hashtag1","hashtag2"]},{"1351767621":["hashtag1","hashtag2"]},{"1351767635":["hashtag1","hashtag2"]},{"1351767626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767639, 1351767630, 1351767633, 1351767621, 1351767635, 1351767626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.420081615448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:55:33.157736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_25_9362.jpg', '/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_35_10440.jpg', '/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_44_9433.jpg', '/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_55_10466.jpg', '/home/pi/Desktop/images/19042025/05/13/image_19042025_05_14_05_10358.jpg', '/home/pi/Desktop/images/19042025/05/14/image_19042025_05_14_15_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_25_9362.jpg
/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_35_10440.jpg
/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_44_9433.jpg
/home/pi/Desktop/images/19042025/05/13/image_19042025_05_13_55_10466.jpg
/home/pi/Desktop/images/19042025/05/13/image_19042025_05_14_05_10358.jpg
/home/pi/Desktop/images/19042025/05/14/image_19042025_05_14_15_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":["1351767663","1351767665","1351767662","1351767656","1351767658","1351767652"],"photo_ids_order":["1351767652","1351767656","1351767658","1351767662","1351767663","1351767665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98cbc5d1a07a3ad3b8474a3637e34415.jpg","text":"TemporaryFile(/tmp/multipartBody7411768512281701773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045793703,"filename":"image_19042025_05_14_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/19/56e0107e4d8bb88ac629c912089ba980.jpg","text":"TemporaryFile(/tmp/multipartBody3060686351243624715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045793703,"filename":"image_19042025_05_14_15_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f96a634cd95e488f9c04b6624143cf3.jpg","text":"TemporaryFile(/tmp/multipartBody238600470553811636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045793703,"filename":"image_19042025_05_13_55_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ad6ec0eaacb4a9d3b5d7f1873e3fae5.jpg","text":"TemporaryFile(/tmp/multipartBody2368625764880131618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045793703,"filename":"image_19042025_05_13_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/19/0a2cbf9e8cadb2e97437b237c5215538.jpg","text":"TemporaryFile(/tmp/multipartBody4219172297982717968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045793703,"filename":"image_19042025_05_13_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/19/630fe95d6986c9bed09a526db87f95d5.jpg","text":"TemporaryFile(/tmp/multipartBody6725993831927851555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045793703,"filename":"image_19042025_05_13_25_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767658","file1":"1351767656","file0":"1351767652","file4":"1351767663","file5":"1351767665","file3":"1351767662"},"map_files_photo_id_array":[{"photo_id":"1351767665","filename":"file5"},{"photo_id":"1351767658","filename":"file2"},{"photo_id":"1351767663","filename":"file4"},{"photo_id":"1351767656","filename":"file1"},{"photo_id":"1351767652","filename":"file0"},{"photo_id":"1351767662","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767663":["hashtag1","hashtag2"]},{"1351767665":["hashtag1","hashtag2"]},{"1351767662":["hashtag1","hashtag2"]},{"1351767656":["hashtag1","hashtag2"]},{"1351767658":["hashtag1","hashtag2"]},{"1351767652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767663, 1351767665, 1351767662, 1351767656, 1351767658, 1351767652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36925148963928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:56:32.285530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/14/image_19042025_05_14_25_10452.jpg', '/home/pi/Desktop/images/19042025/05/14/image_19042025_05_14_45_10427.jpg', '/home/pi/Desktop/images/19042025/05/14/image_19042025_05_14_55_10371.jpg', '/home/pi/Desktop/images/19042025/05/14/image_19042025_05_15_05_9350.jpg', '/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_15_10453.jpg', '/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_24_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/14/image_19042025_05_14_25_10452.jpg
/home/pi/Desktop/images/19042025/05/14/image_19042025_05_14_45_10427.jpg
/home/pi/Desktop/images/19042025/05/14/image_19042025_05_14_55_10371.jpg
/home/pi/Desktop/images/19042025/05/14/image_19042025_05_15_05_9350.jpg
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_15_10453.jpg
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_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":["1351767696","1351767692","1351767686","1351767704","1351767700","1351767690"],"photo_ids_order":["1351767686","1351767690","1351767692","1351767696","1351767700","1351767704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f91104c7971d48da8566ea88d6f66e5a.jpg","text":"TemporaryFile(/tmp/multipartBody528589727068148906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045852911,"filename":"image_19042025_05_15_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/819680ccc9b2b79fcfea9955f032d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody2751291914545038455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045852911,"filename":"image_19042025_05_14_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/19/a13639e79ebd8246ec23f46e678a25f0.jpg","text":"TemporaryFile(/tmp/multipartBody187595784718654239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045852911,"filename":"image_19042025_05_14_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/19/3866148fb961c9e3ae675308beac6d28.jpg","text":"TemporaryFile(/tmp/multipartBody472578090914540274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045852911,"filename":"image_19042025_05_15_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/19/491f086b95d001099fa10e23fe1dc1f9.jpg","text":"TemporaryFile(/tmp/multipartBody6455025356307896028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045852911,"filename":"image_19042025_05_15_15_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af9f95e0833c636655614d3e0ed96e23.jpg","text":"TemporaryFile(/tmp/multipartBody5219275781984094541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745045852911,"filename":"image_19042025_05_14_45_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767692","file1":"1351767690","file0":"1351767686","file4":"1351767700","file5":"1351767704","file3":"1351767696"},"map_files_photo_id_array":[{"photo_id":"1351767704","filename":"file5"},{"photo_id":"1351767692","filename":"file2"},{"photo_id":"1351767700","filename":"file4"},{"photo_id":"1351767690","filename":"file1"},{"photo_id":"1351767686","filename":"file0"},{"photo_id":"1351767696","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767696":["hashtag1","hashtag2"]},{"1351767692":["hashtag1","hashtag2"]},{"1351767686":["hashtag1","hashtag2"]},{"1351767704":["hashtag1","hashtag2"]},{"1351767700":["hashtag1","hashtag2"]},{"1351767690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767696, 1351767692, 1351767686, 1351767704, 1351767700, 1351767690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.59761142730713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:57:32.459918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_35_10375.jpg', '/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_45_10389.jpg', '/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_54_9364.jpg', '/home/pi/Desktop/images/19042025/05/15/image_19042025_05_16_05_10477.jpg', '/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_14_9353.jpg', '/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_25_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_35_10375.jpg
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_45_10389.jpg
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_54_9364.jpg
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_16_05_10477.jpg
/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_14_9353.jpg
/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_25_10394.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-19 08:59:03.689541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_35_10375.jpg', '/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_45_10389.jpg', '/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_54_9364.jpg', '/home/pi/Desktop/images/19042025/05/15/image_19042025_05_16_05_10477.jpg', '/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_14_9353.jpg', '/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_25_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_35_10375.jpg
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_45_10389.jpg
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_15_54_9364.jpg
/home/pi/Desktop/images/19042025/05/15/image_19042025_05_16_05_10477.jpg
/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_14_9353.jpg
/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_25_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":["1351767777","1351767761","1351767781","1351767790","1351767786","1351767771"],"photo_ids_order":["1351767761","1351767771","1351767777","1351767781","1351767786","1351767790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c329f434802ea185b638351efba506aa.jpg","text":"TemporaryFile(/tmp/multipartBody5635428517816207052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046004323,"filename":"image_19042025_05_15_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2915d7dcfea4fac3313c2fda6f22ec3b.jpg","text":"TemporaryFile(/tmp/multipartBody3960952935352026069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046004323,"filename":"image_19042025_05_15_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/19/e129b15d3f0a6747137893589ca0f029.jpg","text":"TemporaryFile(/tmp/multipartBody8651512921364643927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046004323,"filename":"image_19042025_05_16_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/19/586833ebddabec78b8acb6d071f0bb5f.jpg","text":"TemporaryFile(/tmp/multipartBody5971595994462551094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046004323,"filename":"image_19042025_05_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/19/206ea53d666fc8202e314bb70818e7e1.jpg","text":"TemporaryFile(/tmp/multipartBody3576821837325221519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046004323,"filename":"image_19042025_05_16_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/19/7397b44d739a3d00964723a14776d41e.jpg","text":"TemporaryFile(/tmp/multipartBody6509091541198739910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046004323,"filename":"image_19042025_05_15_45_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767777","file1":"1351767771","file0":"1351767761","file4":"1351767786","file5":"1351767790","file3":"1351767781"},"map_files_photo_id_array":[{"photo_id":"1351767790","filename":"file5"},{"photo_id":"1351767777","filename":"file2"},{"photo_id":"1351767786","filename":"file4"},{"photo_id":"1351767771","filename":"file1"},{"photo_id":"1351767761","filename":"file0"},{"photo_id":"1351767781","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767777":["hashtag1","hashtag2"]},{"1351767761":["hashtag1","hashtag2"]},{"1351767781":["hashtag1","hashtag2"]},{"1351767790":["hashtag1","hashtag2"]},{"1351767786":["hashtag1","hashtag2"]},{"1351767771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767777, 1351767761, 1351767781, 1351767790, 1351767786, 1351767771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15782833099365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 09:00:03.268867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_35_10415.jpg', '/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_55_10411.jpg', '/home/pi/Desktop/images/19042025/05/16/image_19042025_05_17_05_10348.jpg', '/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_15_9340.jpg', '/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_25_10460.jpg', '/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_34_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_35_10415.jpg
/home/pi/Desktop/images/19042025/05/16/image_19042025_05_16_55_10411.jpg
/home/pi/Desktop/images/19042025/05/16/image_19042025_05_17_05_10348.jpg
/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_15_9340.jpg
/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_25_10460.jpg
/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_34_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351767827","1351767809","1351767818","1351767823","1351767811","1351767814"],"photo_ids_order":["1351767809","1351767811","1351767814","1351767818","1351767823","1351767827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bd7a0936d3b38138b4244c9d500e0997.jpg","text":"TemporaryFile(/tmp/multipartBody7527469043023775420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046063865,"filename":"image_19042025_05_17_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/19/d576a07ce5c482ffd6ed3478d0c8acd4.jpg","text":"TemporaryFile(/tmp/multipartBody2171724057872496030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046063865,"filename":"image_19042025_05_16_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/19/a8af6aee9b08ce41f396dc3e4e18b3d8.jpg","text":"TemporaryFile(/tmp/multipartBody2124298398847023478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046063865,"filename":"image_19042025_05_17_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/19/106c3787d8dbb744b98c116c18115e26.jpg","text":"TemporaryFile(/tmp/multipartBody3792228053214565283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046063865,"filename":"image_19042025_05_17_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bcff205532b378aa9cff0460100746bc.jpg","text":"TemporaryFile(/tmp/multipartBody2407433185925045495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046063865,"filename":"image_19042025_05_16_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/19/28065411acca7974fcba10b0e127dfd6.jpg","text":"TemporaryFile(/tmp/multipartBody338235662799430417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046063865,"filename":"image_19042025_05_17_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767814","file1":"1351767811","file0":"1351767809","file4":"1351767823","file5":"1351767827","file3":"1351767818"},"map_files_photo_id_array":[{"photo_id":"1351767827","filename":"file5"},{"photo_id":"1351767814","filename":"file2"},{"photo_id":"1351767823","filename":"file4"},{"photo_id":"1351767811","filename":"file1"},{"photo_id":"1351767809","filename":"file0"},{"photo_id":"1351767818","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767827":["hashtag1","hashtag2"]},{"1351767809":["hashtag1","hashtag2"]},{"1351767818":["hashtag1","hashtag2"]},{"1351767823":["hashtag1","hashtag2"]},{"1351767811":["hashtag1","hashtag2"]},{"1351767814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767827, 1351767809, 1351767818, 1351767823, 1351767811, 1351767814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.944291830062866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 09:00:52.495882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_45_10462.jpg', '/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_55_10353.jpg', '/home/pi/Desktop/images/19042025/05/17/image_19042025_05_18_05_9345.jpg', '/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_15_10337.jpg', '/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_25_10348.jpg', '/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_35_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_45_10462.jpg
/home/pi/Desktop/images/19042025/05/17/image_19042025_05_17_55_10353.jpg
/home/pi/Desktop/images/19042025/05/17/image_19042025_05_18_05_9345.jpg
/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_15_10337.jpg
/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_25_10348.jpg
/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_35_9402.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351767840","1351767842","1351767841","1351767844","1351767838","1351767847"],"photo_ids_order":["1351767838","1351767840","1351767841","1351767842","1351767844","1351767847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d609b83e3351a020aa3b9f5871b7b3e.jpg","text":"TemporaryFile(/tmp/multipartBody2284423689646600107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046113049,"filename":"image_19042025_05_17_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/19/e0ef577aad5d69536fd53bf5a0fc1ff0.jpg","text":"TemporaryFile(/tmp/multipartBody9012941128380113528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046113049,"filename":"image_19042025_05_18_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f66a1356e4dde57f91ad77cc6b4c3cf.jpg","text":"TemporaryFile(/tmp/multipartBody6919925194605810602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046113049,"filename":"image_19042025_05_18_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/19/02e10cf0f121cc382971d6aadfe9acc5.jpg","text":"TemporaryFile(/tmp/multipartBody5807492290226654943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046113049,"filename":"image_19042025_05_18_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/19/40e585601e188c58591c7b81887b07bb.jpg","text":"TemporaryFile(/tmp/multipartBody2954285112037328475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046113049,"filename":"image_19042025_05_17_45_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/455bb62b258376c54d8970876912ff90.jpg","text":"TemporaryFile(/tmp/multipartBody2394552035069774983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046113049,"filename":"image_19042025_05_18_35_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767841","file1":"1351767840","file0":"1351767838","file4":"1351767844","file5":"1351767847","file3":"1351767842"},"map_files_photo_id_array":[{"photo_id":"1351767847","filename":"file5"},{"photo_id":"1351767841","filename":"file2"},{"photo_id":"1351767844","filename":"file4"},{"photo_id":"1351767840","filename":"file1"},{"photo_id":"1351767838","filename":"file0"},{"photo_id":"1351767842","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767840":["hashtag1","hashtag2"]},{"1351767842":["hashtag1","hashtag2"]},{"1351767841":["hashtag1","hashtag2"]},{"1351767844":["hashtag1","hashtag2"]},{"1351767838":["hashtag1","hashtag2"]},{"1351767847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767840, 1351767842, 1351767841, 1351767844, 1351767838, 1351767847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.350369691848755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 09:01:32.756399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_45_10367.jpg', '/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_54_9380.jpg', '/home/pi/Desktop/images/19042025/05/18/image_19042025_05_19_05_10464.jpg', '/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_15_10435.jpg', '/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_25_9351.jpg', '/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_35_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_45_10367.jpg
/home/pi/Desktop/images/19042025/05/18/image_19042025_05_18_54_9380.jpg
/home/pi/Desktop/images/19042025/05/18/image_19042025_05_19_05_10464.jpg
/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_15_10435.jpg
/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_25_9351.jpg
/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_35_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":["1351767875","1351767857","1351767872","1351767869","1351767860","1351767864"],"photo_ids_order":["1351767857","1351767860","1351767864","1351767869","1351767872","1351767875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/33addfc02925cb041a49c27f09f0f686.jpg","text":"TemporaryFile(/tmp/multipartBody387042685061046310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046153289,"filename":"image_19042025_05_19_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/13d900d149900e8354fe21e7d328b60d.jpg","text":"TemporaryFile(/tmp/multipartBody1833021227006622676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046153289,"filename":"image_19042025_05_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/19/9d84e7d015cf944e398eca03b53490c8.jpg","text":"TemporaryFile(/tmp/multipartBody4323088235282007332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046153289,"filename":"image_19042025_05_19_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/67d0b244eaec8ca83229dab045a7ec62.jpg","text":"TemporaryFile(/tmp/multipartBody8196932107293485691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046153289,"filename":"image_19042025_05_19_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/19/b271ecd59128e3a2108aac1c73c2f049.jpg","text":"TemporaryFile(/tmp/multipartBody8293889299451045097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046153289,"filename":"image_19042025_05_18_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/19/9f8b47f472e43048468536139ca676fc.jpg","text":"TemporaryFile(/tmp/multipartBody314870002635418317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046153289,"filename":"image_19042025_05_19_05_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767864","file1":"1351767860","file0":"1351767857","file4":"1351767872","file5":"1351767875","file3":"1351767869"},"map_files_photo_id_array":[{"photo_id":"1351767875","filename":"file5"},{"photo_id":"1351767864","filename":"file2"},{"photo_id":"1351767872","filename":"file4"},{"photo_id":"1351767860","filename":"file1"},{"photo_id":"1351767857","filename":"file0"},{"photo_id":"1351767869","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351767875":["hashtag1","hashtag2"]},{"1351767857":["hashtag1","hashtag2"]},{"1351767872":["hashtag1","hashtag2"]},{"1351767869":["hashtag1","hashtag2"]},{"1351767860":["hashtag1","hashtag2"]},{"1351767864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351767875, 1351767857, 1351767872, 1351767869, 1351767860, 1351767864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.433769464492798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 09:02:32.904642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_44_9356.jpg', '/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_55_10397.jpg', '/home/pi/Desktop/images/19042025/05/19/image_19042025_05_20_05_10370.jpg', '/home/pi/Desktop/images/19042025/05/20/image_19042025_05_20_15_9327.jpg', '/home/pi/Desktop/images/19042025/05/20/image_19042025_05_20_25_10354.jpg', '/home/pi/Desktop/images/19042025/05/20/image_19042025_05_20_55_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_44_9356.jpg
/home/pi/Desktop/images/19042025/05/19/image_19042025_05_19_55_10397.jpg
/home/pi/Desktop/images/19042025/05/19/image_19042025_05_20_05_10370.jpg
/home/pi/Desktop/images/19042025/05/20/image_19042025_05_20_15_9327.jpg
/home/pi/Desktop/images/19042025/05/20/image_19042025_05_20_25_10354.jpg
/home/pi/Desktop/images/19042025/05/20/image_19042025_05_20_55_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351768110","1351768175","1351768025","1351767986","1351768060","1351767943"],"photo_ids_order":["1351767943","1351767986","1351768025","1351768060","1351768110","1351768175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba96c2078756684f5156b7c112d1415c.jpg","text":"TemporaryFile(/tmp/multipartBody4091885640114475039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046213439,"filename":"image_19042025_05_20_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/19/d552eee44a41613afd985917585d6a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8788292022802461571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046213439,"filename":"image_19042025_05_20_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/19/d3d985cccc06ca0d5bbb5d35a785cd6e.jpg","text":"TemporaryFile(/tmp/multipartBody4082938121282429070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046213439,"filename":"image_19042025_05_20_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/19/b6d343fa876cc7cf96d0d08db4f481ef.jpg","text":"TemporaryFile(/tmp/multipartBody8695379613308794395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046213439,"filename":"image_19042025_05_19_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/19/100393ef061674229824646c165c24a8.jpg","text":"TemporaryFile(/tmp/multipartBody4293155828867342893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046213439,"filename":"image_19042025_05_20_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/19/74b85f769bfd657b8c78f4dd28886e63.jpg","text":"TemporaryFile(/tmp/multipartBody2700787458655532723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046213439,"filename":"image_19042025_05_19_44_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351768025","file1":"1351767986","file0":"1351767943","file4":"1351768110","file5":"1351768175","file3":"1351768060"},"map_files_photo_id_array":[{"photo_id":"1351768175","filename":"file5"},{"photo_id":"1351768025","filename":"file2"},{"photo_id":"1351768110","filename":"file4"},{"photo_id":"1351767986","filename":"file1"},{"photo_id":"1351767943","filename":"file0"},{"photo_id":"1351768060","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351768110":["hashtag1","hashtag2"]},{"1351768175":["hashtag1","hashtag2"]},{"1351768025":["hashtag1","hashtag2"]},{"1351767986":["hashtag1","hashtag2"]},{"1351768060":["hashtag1","hashtag2"]},{"1351767943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351768110, 1351768175, 1351768025, 1351767986, 1351768060, 1351767943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.165292263031006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 09:03:33.129806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/20/image_19042025_05_21_04_9353.jpg', '/home/pi/Desktop/images/19042025/05/21/image_19042025_05_21_15_10419.jpg', '/home/pi/Desktop/images/19042025/05/21/image_19042025_05_21_25_10355.jpg', '/home/pi/Desktop/images/19042025/05/21/image_19042025_05_21_34_9329.jpg', '/home/pi/Desktop/images/19042025/05/21/image_19042025_05_22_05_9339.jpg', '/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_15_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/20/image_19042025_05_21_04_9353.jpg
/home/pi/Desktop/images/19042025/05/21/image_19042025_05_21_15_10419.jpg
/home/pi/Desktop/images/19042025/05/21/image_19042025_05_21_25_10355.jpg
/home/pi/Desktop/images/19042025/05/21/image_19042025_05_21_34_9329.jpg
/home/pi/Desktop/images/19042025/05/21/image_19042025_05_22_05_9339.jpg
/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_15_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":["1351768407","1351768436","1351768444","1351768426","1351768411","1351768420"],"photo_ids_order":["1351768407","1351768411","1351768420","1351768426","1351768436","1351768444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6c11a3fe31c04405870153eb6e179d1.jpg","text":"TemporaryFile(/tmp/multipartBody5253703288388152420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046273674,"filename":"image_19042025_05_21_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/19/7c63de851522b75f26f4a8152666bcff.jpg","text":"TemporaryFile(/tmp/multipartBody2584477923073003484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046273674,"filename":"image_19042025_05_22_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/19/0c58fabbea275413a5e6e37afe071488.jpg","text":"TemporaryFile(/tmp/multipartBody6569751104767905027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046273674,"filename":"image_19042025_05_22_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f641417279b8ad021372cb57fd24358.jpg","text":"TemporaryFile(/tmp/multipartBody98657836883045072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046273674,"filename":"image_19042025_05_21_34_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/db24298906ffe1ab878fbecc58bb32ed.jpg","text":"TemporaryFile(/tmp/multipartBody6753668444386549445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046273674,"filename":"image_19042025_05_21_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/19/6241efe3b0e484e4b6b1432bf03f99ca.jpg","text":"TemporaryFile(/tmp/multipartBody8308220569026134015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046273674,"filename":"image_19042025_05_21_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351768420","file1":"1351768411","file0":"1351768407","file4":"1351768436","file5":"1351768444","file3":"1351768426"},"map_files_photo_id_array":[{"photo_id":"1351768444","filename":"file5"},{"photo_id":"1351768420","filename":"file2"},{"photo_id":"1351768436","filename":"file4"},{"photo_id":"1351768411","filename":"file1"},{"photo_id":"1351768407","filename":"file0"},{"photo_id":"1351768426","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351768407":["hashtag1","hashtag2"]},{"1351768436":["hashtag1","hashtag2"]},{"1351768444":["hashtag1","hashtag2"]},{"1351768426":["hashtag1","hashtag2"]},{"1351768411":["hashtag1","hashtag2"]},{"1351768420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351768407, 1351768436, 1351768444, 1351768426, 1351768411, 1351768420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24852228164673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 09:04:32.354601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_24_9435.jpg', '/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_35_10372.jpg', '/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_45_10378.jpg', '/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_54_9333.jpg', '/home/pi/Desktop/images/19042025/05/22/image_19042025_05_23_05_10475.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_25_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_24_9435.jpg
/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_35_10372.jpg
/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_45_10378.jpg
/home/pi/Desktop/images/19042025/05/22/image_19042025_05_22_54_9333.jpg
/home/pi/Desktop/images/19042025/05/22/image_19042025_05_23_05_10475.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_25_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351768715","1351768666","1351768648","1351768695","1351768758","1351768671"],"photo_ids_order":["1351768648","1351768666","1351768671","1351768695","1351768715","1351768758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/01ab32774740b8084b86826ef9b7df10.jpg","text":"TemporaryFile(/tmp/multipartBody8113337658023827254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046332883,"filename":"image_19042025_05_23_05_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28cb4660f94ab07c14fd086682005804.jpg","text":"TemporaryFile(/tmp/multipartBody2868804188926660286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046332883,"filename":"image_19042025_05_22_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/19/be5c7f0f77bae168092862c47c622334.jpg","text":"TemporaryFile(/tmp/multipartBody8948354039794926858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046332883,"filename":"image_19042025_05_22_24_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6b3582aefa9097d60cbfa683b0c7b32.jpg","text":"TemporaryFile(/tmp/multipartBody6362710238901794361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046332883,"filename":"image_19042025_05_22_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/19/53ce00afcc360f722a43b942e2ce996d.jpg","text":"TemporaryFile(/tmp/multipartBody1809360958395003298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046332883,"filename":"image_19042025_05_23_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4ff28010448a474c5fbb3e1ba2f75023.jpg","text":"TemporaryFile(/tmp/multipartBody7159078906345213092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745046332883,"filename":"image_19042025_05_22_45_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351768671","file1":"1351768666","file0":"1351768648","file4":"1351768715","file5":"1351768758","file3":"1351768695"},"map_files_photo_id_array":[{"photo_id":"1351768758","filename":"file5"},{"photo_id":"1351768671","filename":"file2"},{"photo_id":"1351768715","filename":"file4"},{"photo_id":"1351768666","filename":"file1"},{"photo_id":"1351768648","filename":"file0"},{"photo_id":"1351768695","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351768715":["hashtag1","hashtag2"]},{"1351768666":["hashtag1","hashtag2"]},{"1351768648":["hashtag1","hashtag2"]},{"1351768695":["hashtag1","hashtag2"]},{"1351768758":["hashtag1","hashtag2"]},{"1351768671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351768715, 1351768666, 1351768648, 1351768695, 1351768758, 1351768671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83887696266174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 09:05:32.523387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-19 08:53:14.447487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 1.5113165378570557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:53:42.716881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e7c70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1693413257598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 08:53:52.697203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1702258586883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
2025-04-19 08:54:03.564069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551be10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 0.1951429843902588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 08:54:32.916680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 09:59:04.103433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg', '/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_35_10439.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_44_9348.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_23_55_10462.jpg
/home/pi/Desktop/images/19042025/05/23/image_19042025_05_24_05_10344.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_15_9336.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_25_10463.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351780774","1351780744","1351780711","1351780680","1351780803","1351780856"],"photo_ids_order":["1351780680","1351780711","1351780744","1351780774","1351780803","1351780856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e6e7a8ff33611e8d1eb4f8afb6d7f06.jpg","text":"TemporaryFile(/tmp/multipartBody1958534121155903758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049604642,"filename":"image_19042025_05_24_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/19/7ef091de56c6b3dbd2b47d150b81a951.jpg","text":"TemporaryFile(/tmp/multipartBody611452319174886569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049604642,"filename":"image_19042025_05_23_55_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c4f5824fed6f3b1e373b735b07c53fb.jpg","text":"TemporaryFile(/tmp/multipartBody1330990144644062463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049604642,"filename":"image_19042025_05_23_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/19/5f31ccd5c65c9dabb130e12e1942188b.jpg","text":"TemporaryFile(/tmp/multipartBody5872588069904003343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049604642,"filename":"image_19042025_05_23_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/58f2fa8a852fdb45d93aa6ae58f69ea4.jpg","text":"TemporaryFile(/tmp/multipartBody3812432422126969542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049604642,"filename":"image_19042025_05_24_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/19/aec4e1c548869680b23322a0633ce16a.jpg","text":"TemporaryFile(/tmp/multipartBody1981421544883014180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049604642,"filename":"image_19042025_05_24_25_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351780744","file1":"1351780711","file0":"1351780680","file4":"1351780803","file5":"1351780856","file3":"1351780774"},"map_files_photo_id_array":[{"photo_id":"1351780856","filename":"file5"},{"photo_id":"1351780744","filename":"file2"},{"photo_id":"1351780803","filename":"file4"},{"photo_id":"1351780711","filename":"file1"},{"photo_id":"1351780680","filename":"file0"},{"photo_id":"1351780774","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351780774":["hashtag1","hashtag2"]},{"1351780744":["hashtag1","hashtag2"]},{"1351780711":["hashtag1","hashtag2"]},{"1351780680":["hashtag1","hashtag2"]},{"1351780803":["hashtag1","hashtag2"]},{"1351780856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351780774, 1351780744, 1351780711, 1351780680, 1351780803, 1351780856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96782159805298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 09:59:42.936173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_34_9345.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_45_10344.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_55_10435.jpg', '/home/pi/Desktop/images/19042025/05/24/image_19042025_05_25_05_9388.jpg', '/home/pi/Desktop/images/19042025/05/25/image_19042025_05_25_25_10346.jpg', '/home/pi/Desktop/images/19042025/05/25/image_19042025_05_25_35_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_34_9345.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_45_10344.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_24_55_10435.jpg
/home/pi/Desktop/images/19042025/05/24/image_19042025_05_25_05_9388.jpg
/home/pi/Desktop/images/19042025/05/25/image_19042025_05_25_25_10346.jpg
/home/pi/Desktop/images/19042025/05/25/image_19042025_05_25_35_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":["1351781218","1351781070","1351781157","1351781126","1351781188","1351781098"],"photo_ids_order":["1351781070","1351781098","1351781126","1351781157","1351781188","1351781218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/749896f3fd6d992a5a0588b80c9bebae.jpg","text":"TemporaryFile(/tmp/multipartBody5430642710537301357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049643481,"filename":"image_19042025_05_25_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/19/7e9d96ffccdee7dd4105ef1cfd392fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6866400635246374928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049643481,"filename":"image_19042025_05_24_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/19/f6751564a32866fbfa2cee5e06854595.jpg","text":"TemporaryFile(/tmp/multipartBody4931927571186892709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049643481,"filename":"image_19042025_05_25_05_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da2373fa547f41121ea0c3adf963a763.jpg","text":"TemporaryFile(/tmp/multipartBody225813814001336786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049643481,"filename":"image_19042025_05_24_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/19/f08385e95d588a60df335b613ba2312d.jpg","text":"TemporaryFile(/tmp/multipartBody5535944062723010647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049643481,"filename":"image_19042025_05_25_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/229cf7dec95cdb221c8a89ba27844a61.jpg","text":"TemporaryFile(/tmp/multipartBody5308493833549696478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049643481,"filename":"image_19042025_05_24_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351781126","file1":"1351781098","file0":"1351781070","file4":"1351781188","file5":"1351781218","file3":"1351781157"},"map_files_photo_id_array":[{"photo_id":"1351781218","filename":"file5"},{"photo_id":"1351781126","filename":"file2"},{"photo_id":"1351781188","filename":"file4"},{"photo_id":"1351781098","filename":"file1"},{"photo_id":"1351781070","filename":"file0"},{"photo_id":"1351781157","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351781218":["hashtag1","hashtag2"]},{"1351781070":["hashtag1","hashtag2"]},{"1351781157":["hashtag1","hashtag2"]},{"1351781126":["hashtag1","hashtag2"]},{"1351781188":["hashtag1","hashtag2"]},{"1351781098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351781218, 1351781070, 1351781157, 1351781126, 1351781188, 1351781098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.809449434280396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:00:33.015049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/25/image_19042025_05_25_45_10370.jpg', '/home/pi/Desktop/images/19042025/05/25/image_19042025_05_25_54_9351.jpg', '/home/pi/Desktop/images/19042025/05/25/image_19042025_05_26_05_10408.jpg', '/home/pi/Desktop/images/19042025/05/26/image_19042025_05_26_15_10367.jpg', '/home/pi/Desktop/images/19042025/05/26/image_19042025_05_26_24_9354.jpg', '/home/pi/Desktop/images/19042025/05/26/image_19042025_05_26_35_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/25/image_19042025_05_25_45_10370.jpg
/home/pi/Desktop/images/19042025/05/25/image_19042025_05_25_54_9351.jpg
/home/pi/Desktop/images/19042025/05/25/image_19042025_05_26_05_10408.jpg
/home/pi/Desktop/images/19042025/05/26/image_19042025_05_26_15_10367.jpg
/home/pi/Desktop/images/19042025/05/26/image_19042025_05_26_24_9354.jpg
/home/pi/Desktop/images/19042025/05/26/image_19042025_05_26_35_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351781521","1351781463","1351781430","1351781398","1351781491","1351781551"],"photo_ids_order":["1351781398","1351781430","1351781463","1351781491","1351781521","1351781551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cbed149971f90682c5b691bea452394b.jpg","text":"TemporaryFile(/tmp/multipartBody4448851236297854292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049693617,"filename":"image_19042025_05_26_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/19/91ddef17c7837aeb7293166964cffccb.jpg","text":"TemporaryFile(/tmp/multipartBody6602776676703855479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049693617,"filename":"image_19042025_05_26_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f807b9f91dd17ff39d4d9e61721afe92.jpg","text":"TemporaryFile(/tmp/multipartBody1550773781618477596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049693617,"filename":"image_19042025_05_25_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/19/afe1381802a938bde8cae80fc85d5184.jpg","text":"TemporaryFile(/tmp/multipartBody401399248794353394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049693617,"filename":"image_19042025_05_25_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/19/0095b18e807dcf7e5e7733238a61faf6.jpg","text":"TemporaryFile(/tmp/multipartBody6528832320995477767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049693617,"filename":"image_19042025_05_26_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/443823646f670f90d8c0187c724590a3.jpg","text":"TemporaryFile(/tmp/multipartBody4368364384025787539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049693617,"filename":"image_19042025_05_26_35_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351781463","file1":"1351781430","file0":"1351781398","file4":"1351781521","file5":"1351781551","file3":"1351781491"},"map_files_photo_id_array":[{"photo_id":"1351781551","filename":"file5"},{"photo_id":"1351781463","filename":"file2"},{"photo_id":"1351781521","filename":"file4"},{"photo_id":"1351781430","filename":"file1"},{"photo_id":"1351781398","filename":"file0"},{"photo_id":"1351781491","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351781521":["hashtag1","hashtag2"]},{"1351781463":["hashtag1","hashtag2"]},{"1351781430":["hashtag1","hashtag2"]},{"1351781398":["hashtag1","hashtag2"]},{"1351781491":["hashtag1","hashtag2"]},{"1351781551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351781521, 1351781463, 1351781430, 1351781398, 1351781491, 1351781551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31443643569946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:01:32.307816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/26/image_19042025_05_26_44_9353.jpg', '/home/pi/Desktop/images/19042025/05/26/image_19042025_05_27_05_10430.jpg', '/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_14_9331.jpg', '/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_25_10421.jpg', '/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_35_10365.jpg', '/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_45_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/26/image_19042025_05_26_44_9353.jpg
/home/pi/Desktop/images/19042025/05/26/image_19042025_05_27_05_10430.jpg
/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_14_9331.jpg
/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_25_10421.jpg
/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_35_10365.jpg
/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_45_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351782099","1351781894","1351782026","1351781936","1351782235","1351782163"],"photo_ids_order":["1351781894","1351781936","1351782026","1351782099","1351782163","1351782235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/252abae59ac751c8f0cbb2997297bb0f.jpg","text":"TemporaryFile(/tmp/multipartBody2505001476613196571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049752889,"filename":"image_19042025_05_27_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/19/d13cf9a4c51bf4fd6ddcbd173d587714.jpg","text":"TemporaryFile(/tmp/multipartBody1627453390465332458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049752889,"filename":"image_19042025_05_26_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/19/9b89cba3603d68a3b6d0a423ae7ff41c.jpg","text":"TemporaryFile(/tmp/multipartBody2496740206413021701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049752889,"filename":"image_19042025_05_27_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ec86cbb9e81c4695a385926fa7961537.jpg","text":"TemporaryFile(/tmp/multipartBody9205386740776058697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049752889,"filename":"image_19042025_05_27_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/19/73b9f07f94441b09b048de045a66df25.jpg","text":"TemporaryFile(/tmp/multipartBody502767767936368886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049752889,"filename":"image_19042025_05_27_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/19/5d8956cab81a7dc863a7c14dbc4056fd.jpg","text":"TemporaryFile(/tmp/multipartBody5681153207447537181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049752889,"filename":"image_19042025_05_27_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351782026","file1":"1351781936","file0":"1351781894","file4":"1351782163","file5":"1351782235","file3":"1351782099"},"map_files_photo_id_array":[{"photo_id":"1351782235","filename":"file5"},{"photo_id":"1351782026","filename":"file2"},{"photo_id":"1351782163","filename":"file4"},{"photo_id":"1351781936","filename":"file1"},{"photo_id":"1351781894","filename":"file0"},{"photo_id":"1351782099","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351782099":["hashtag1","hashtag2"]},{"1351781894":["hashtag1","hashtag2"]},{"1351782026":["hashtag1","hashtag2"]},{"1351781936":["hashtag1","hashtag2"]},{"1351782235":["hashtag1","hashtag2"]},{"1351782163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351782099, 1351781894, 1351782026, 1351781936, 1351782235, 1351782163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.490529775619507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:02:32.458905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_55_10451.jpg', '/home/pi/Desktop/images/19042025/05/27/image_19042025_05_28_04_9350.jpg', '/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_15_10426.jpg', '/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_25_10455.jpg', '/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_35_9354.jpg', '/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/27/image_19042025_05_27_55_10451.jpg
/home/pi/Desktop/images/19042025/05/27/image_19042025_05_28_04_9350.jpg
/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_15_10426.jpg
/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_25_10455.jpg
/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_35_9354.jpg
/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351782907","1351783101","1351782813","1351783022","1351782956","1351782754"],"photo_ids_order":["1351782754","1351782813","1351782907","1351782956","1351783022","1351783101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1b25b23b667b2c678a64f71fd5e8772e.jpg","text":"TemporaryFile(/tmp/multipartBody6204770321315178126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049812995,"filename":"image_19042025_05_28_15_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a42952e9ef614f97526c467a1fbec838.jpg","text":"TemporaryFile(/tmp/multipartBody1755366628916823638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049812995,"filename":"image_19042025_05_28_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/19/64fdbcb1ae065c4cc768e9d49c7e2180.jpg","text":"TemporaryFile(/tmp/multipartBody6770493777206108051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049812995,"filename":"image_19042025_05_28_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/19/c612454f274ae51dbd7249b0a6a75f09.jpg","text":"TemporaryFile(/tmp/multipartBody7863440688518733796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049812995,"filename":"image_19042025_05_28_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/19/dde3b0699222bbaa3e13ee0173014136.jpg","text":"TemporaryFile(/tmp/multipartBody1794359174869554701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049812995,"filename":"image_19042025_05_28_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ab81235d064e89fea16d3a51cd7aad7a.jpg","text":"TemporaryFile(/tmp/multipartBody5072914528870479931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049812995,"filename":"image_19042025_05_27_55_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351782907","file1":"1351782813","file0":"1351782754","file4":"1351783022","file5":"1351783101","file3":"1351782956"},"map_files_photo_id_array":[{"photo_id":"1351783101","filename":"file5"},{"photo_id":"1351782907","filename":"file2"},{"photo_id":"1351783022","filename":"file4"},{"photo_id":"1351782813","filename":"file1"},{"photo_id":"1351782754","filename":"file0"},{"photo_id":"1351782956","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351782907":["hashtag1","hashtag2"]},{"1351783101":["hashtag1","hashtag2"]},{"1351782813":["hashtag1","hashtag2"]},{"1351783022":["hashtag1","hashtag2"]},{"1351782956":["hashtag1","hashtag2"]},{"1351782754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351782907, 1351783101, 1351782813, 1351783022, 1351782956, 1351782754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2711021900177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:03:32.789137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_54_9345.jpg', '/home/pi/Desktop/images/19042025/05/28/image_19042025_05_29_05_10347.jpg', '/home/pi/Desktop/images/19042025/05/29/image_19042025_05_29_15_10356.jpg', '/home/pi/Desktop/images/19042025/05/29/image_19042025_05_29_24_9357.jpg', '/home/pi/Desktop/images/19042025/05/29/image_19042025_05_29_45_10357.jpg', '/home/pi/Desktop/images/19042025/05/29/image_19042025_05_29_55_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/28/image_19042025_05_28_54_9345.jpg
/home/pi/Desktop/images/19042025/05/28/image_19042025_05_29_05_10347.jpg
/home/pi/Desktop/images/19042025/05/29/image_19042025_05_29_15_10356.jpg
/home/pi/Desktop/images/19042025/05/29/image_19042025_05_29_24_9357.jpg
/home/pi/Desktop/images/19042025/05/29/image_19042025_05_29_45_10357.jpg
/home/pi/Desktop/images/19042025/05/29/image_19042025_05_29_55_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351783760","1351783646","1351783705","1351783677","1351783956","1351783863"],"photo_ids_order":["1351783646","1351783677","1351783705","1351783760","1351783863","1351783956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6745f17038f0a1ee46465fddb642475d.jpg","text":"TemporaryFile(/tmp/multipartBody7777786074309446895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049873341,"filename":"image_19042025_05_29_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/19/1a086b0817d1d0d9a66bdec76660c04c.jpg","text":"TemporaryFile(/tmp/multipartBody5584534155822124404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049873341,"filename":"image_19042025_05_28_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/19/4c37ea31df961cd27cd0accaf5985183.jpg","text":"TemporaryFile(/tmp/multipartBody8409302825348071372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049873341,"filename":"image_19042025_05_29_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/19/e4c381b792117bc98428b74810b4c571.jpg","text":"TemporaryFile(/tmp/multipartBody3502358036504078541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049873341,"filename":"image_19042025_05_29_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a7a01997340d2822e8e7039997905003.jpg","text":"TemporaryFile(/tmp/multipartBody7659741207664738940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049873341,"filename":"image_19042025_05_29_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/350b335a10af896235a2c3e9cbf8929c.jpg","text":"TemporaryFile(/tmp/multipartBody4534790843941177132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049873341,"filename":"image_19042025_05_29_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351783705","file1":"1351783677","file0":"1351783646","file4":"1351783863","file5":"1351783956","file3":"1351783760"},"map_files_photo_id_array":[{"photo_id":"1351783956","filename":"file5"},{"photo_id":"1351783705","filename":"file2"},{"photo_id":"1351783863","filename":"file4"},{"photo_id":"1351783677","filename":"file1"},{"photo_id":"1351783646","filename":"file0"},{"photo_id":"1351783760","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351783760":["hashtag1","hashtag2"]},{"1351783646":["hashtag1","hashtag2"]},{"1351783705":["hashtag1","hashtag2"]},{"1351783677":["hashtag1","hashtag2"]},{"1351783956":["hashtag1","hashtag2"]},{"1351783863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351783760, 1351783646, 1351783705, 1351783677, 1351783956, 1351783863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.568894624710083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:04:32.957885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/29/image_19042025_05_30_05_10363.jpg', '/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_14_9358.jpg', '/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_25_10365.jpg', '/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_35_10452.jpg', '/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_45_9358.jpg', '/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_55_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/29/image_19042025_05_30_05_10363.jpg
/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_14_9358.jpg
/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_25_10365.jpg
/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_35_10452.jpg
/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_45_9358.jpg
/home/pi/Desktop/images/19042025/05/30/image_19042025_05_30_55_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":["1351784369","1351784398","1351784287","1351784431","1351784340","1351784316"],"photo_ids_order":["1351784287","1351784316","1351784340","1351784369","1351784398","1351784431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/046424ec2311578e2a0eea46c60476e8.jpg","text":"TemporaryFile(/tmp/multipartBody3903755406211620266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049933517,"filename":"image_19042025_05_30_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/19/dcf21b3026b3347d6d2026647a4ad59a.jpg","text":"TemporaryFile(/tmp/multipartBody1750150597633873265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049933517,"filename":"image_19042025_05_30_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/19/bae90a2fd86157738b799baa09c8e210.jpg","text":"TemporaryFile(/tmp/multipartBody1927625924535009591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049933517,"filename":"image_19042025_05_30_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/19/fc00a6d14b4242ae6e40d9594df676ec.jpg","text":"TemporaryFile(/tmp/multipartBody8316363504351319097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049933517,"filename":"image_19042025_05_30_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/19/d4417398f62fa50cbdcf7e8122f2967d.jpg","text":"TemporaryFile(/tmp/multipartBody3305172327811475889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049933517,"filename":"image_19042025_05_30_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/19/53e2e20fd15bc774732e1d2f63325031.jpg","text":"TemporaryFile(/tmp/multipartBody8437978429588848043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049933517,"filename":"image_19042025_05_30_14_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351784340","file1":"1351784316","file0":"1351784287","file4":"1351784398","file5":"1351784431","file3":"1351784369"},"map_files_photo_id_array":[{"photo_id":"1351784431","filename":"file5"},{"photo_id":"1351784340","filename":"file2"},{"photo_id":"1351784398","filename":"file4"},{"photo_id":"1351784316","filename":"file1"},{"photo_id":"1351784287","filename":"file0"},{"photo_id":"1351784369","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351784369":["hashtag1","hashtag2"]},{"1351784398":["hashtag1","hashtag2"]},{"1351784287":["hashtag1","hashtag2"]},{"1351784431":["hashtag1","hashtag2"]},{"1351784340":["hashtag1","hashtag2"]},{"1351784316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351784369, 1351784398, 1351784287, 1351784431, 1351784340, 1351784316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.238981008529663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:05:32.169473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/30/image_19042025_05_31_05_10364.jpg', '/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_15_9353.jpg', '/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_25_10453.jpg', '/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_34_9381.jpg', '/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_45_10398.jpg', '/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/30/image_19042025_05_31_05_10364.jpg
/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_15_9353.jpg
/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_25_10453.jpg
/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_34_9381.jpg
/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_45_10398.jpg
/home/pi/Desktop/images/19042025/05/31/image_19042025_05_31_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":["1351785200","1351785250","1351785133","1351785340","1351785315","1351785290"],"photo_ids_order":["1351785133","1351785200","1351785250","1351785290","1351785315","1351785340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c9e762a417cb77892309d96337d25a61.jpg","text":"TemporaryFile(/tmp/multipartBody6815042200255481172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049992729,"filename":"image_19042025_05_31_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/19/6ccb57cb0a34056acc59b8fe5daa3e84.jpg","text":"TemporaryFile(/tmp/multipartBody1694272795787989847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049992729,"filename":"image_19042025_05_31_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/42eef7db07b187d0b3823e494ca6516c.jpg","text":"TemporaryFile(/tmp/multipartBody9001791615242559076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049992729,"filename":"image_19042025_05_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/19/b43cf43d0fec9a32bb916fe688c0a5be.jpg","text":"TemporaryFile(/tmp/multipartBody5951055605306495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049992729,"filename":"image_19042025_05_31_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/19/e6aa0d482889b5ffe4e12e9e05223ca0.jpg","text":"TemporaryFile(/tmp/multipartBody113981890235741084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049992729,"filename":"image_19042025_05_31_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/19/41177fab7c2309d84c01b70116b9b0d1.jpg","text":"TemporaryFile(/tmp/multipartBody5668357768040987961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745049992729,"filename":"image_19042025_05_31_34_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351785250","file1":"1351785200","file0":"1351785133","file4":"1351785315","file5":"1351785340","file3":"1351785290"},"map_files_photo_id_array":[{"photo_id":"1351785340","filename":"file5"},{"photo_id":"1351785250","filename":"file2"},{"photo_id":"1351785315","filename":"file4"},{"photo_id":"1351785200","filename":"file1"},{"photo_id":"1351785133","filename":"file0"},{"photo_id":"1351785290","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351785200":["hashtag1","hashtag2"]},{"1351785250":["hashtag1","hashtag2"]},{"1351785133":["hashtag1","hashtag2"]},{"1351785340":["hashtag1","hashtag2"]},{"1351785315":["hashtag1","hashtag2"]},{"1351785290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351785200, 1351785250, 1351785133, 1351785340, 1351785315, 1351785290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70861554145813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:06:32.485066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/31/image_19042025_05_32_05_9340.jpg', '/home/pi/Desktop/images/19042025/05/32/image_19042025_05_32_15_10472.jpg', '/home/pi/Desktop/images/19042025/05/32/image_19042025_05_32_24_9341.jpg', '/home/pi/Desktop/images/19042025/05/32/image_19042025_05_32_55_9374.jpg', '/home/pi/Desktop/images/19042025/05/32/image_19042025_05_33_05_10358.jpg', '/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_15_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/31/image_19042025_05_32_05_9340.jpg
/home/pi/Desktop/images/19042025/05/32/image_19042025_05_32_15_10472.jpg
/home/pi/Desktop/images/19042025/05/32/image_19042025_05_32_24_9341.jpg
/home/pi/Desktop/images/19042025/05/32/image_19042025_05_32_55_9374.jpg
/home/pi/Desktop/images/19042025/05/32/image_19042025_05_33_05_10358.jpg
/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_15_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351785556","1351785607","1351785672","1351785540","1351785543","1351785723"],"photo_ids_order":["1351785540","1351785543","1351785556","1351785607","1351785672","1351785723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08d1e7d79362d07cc5fe64908fc9af98.jpg","text":"TemporaryFile(/tmp/multipartBody5790519567195203645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050053021,"filename":"image_19042025_05_32_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/19/a3c98cfb7d79731a001c80c8fcb9e40d.jpg","text":"TemporaryFile(/tmp/multipartBody3931076785685257159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050053021,"filename":"image_19042025_05_32_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/18076a100f9c37be5deac5e8b1a31a51.jpg","text":"TemporaryFile(/tmp/multipartBody4460666937295829813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050053021,"filename":"image_19042025_05_33_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/19/5f9f9cc3a42b6efd8c5f27d956e45649.jpg","text":"TemporaryFile(/tmp/multipartBody1974871773219056666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050053021,"filename":"image_19042025_05_32_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/19/86a47e404fd58df00bc3d345a594667d.jpg","text":"TemporaryFile(/tmp/multipartBody715036788227903454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050053021,"filename":"image_19042025_05_32_15_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a42f2d68db1160dde7b9495a6029d21f.jpg","text":"TemporaryFile(/tmp/multipartBody362469524575277002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050053021,"filename":"image_19042025_05_33_15_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351785556","file1":"1351785543","file0":"1351785540","file4":"1351785672","file5":"1351785723","file3":"1351785607"},"map_files_photo_id_array":[{"photo_id":"1351785723","filename":"file5"},{"photo_id":"1351785556","filename":"file2"},{"photo_id":"1351785672","filename":"file4"},{"photo_id":"1351785543","filename":"file1"},{"photo_id":"1351785540","filename":"file0"},{"photo_id":"1351785607","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351785556":["hashtag1","hashtag2"]},{"1351785607":["hashtag1","hashtag2"]},{"1351785672":["hashtag1","hashtag2"]},{"1351785540":["hashtag1","hashtag2"]},{"1351785543":["hashtag1","hashtag2"]},{"1351785723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351785556, 1351785607, 1351785672, 1351785540, 1351785543, 1351785723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70511984825134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:07:32.807621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_25_9361.jpg', '/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_35_10470.jpg', '/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_44_9353.jpg', '/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_55_10412.jpg', '/home/pi/Desktop/images/19042025/05/33/image_19042025_05_34_05_10362.jpg', '/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_15_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_25_9361.jpg
/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_35_10470.jpg
/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_44_9353.jpg
/home/pi/Desktop/images/19042025/05/33/image_19042025_05_33_55_10412.jpg
/home/pi/Desktop/images/19042025/05/33/image_19042025_05_34_05_10362.jpg
/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_15_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":["1351786112","1351786057","1351786033","1351786086","1351786005","1351786037"],"photo_ids_order":["1351786005","1351786033","1351786037","1351786057","1351786086","1351786112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/abd2ea3acaf999422127ba65e0dee5a2.jpg","text":"TemporaryFile(/tmp/multipartBody2775895364674682044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050113348,"filename":"image_19042025_05_34_15_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/226fd3ec097cd59b80235d9ed4671314.jpg","text":"TemporaryFile(/tmp/multipartBody2479252301588082171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050113348,"filename":"image_19042025_05_33_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/19/3498cda3cc1423f17bc1fdbf62ff72d3.jpg","text":"TemporaryFile(/tmp/multipartBody466655357843051995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050113348,"filename":"image_19042025_05_33_35_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ecb42c5666a42b8658355675752ec1f.jpg","text":"TemporaryFile(/tmp/multipartBody2571859573255759937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050113348,"filename":"image_19042025_05_34_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/19/da3deb7e307d4187fa1ba14ccd2ae1c0.jpg","text":"TemporaryFile(/tmp/multipartBody7949149568358151126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050113348,"filename":"image_19042025_05_33_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8775c652be5e77896654b2539b55769e.jpg","text":"TemporaryFile(/tmp/multipartBody6838770363674742697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050113348,"filename":"image_19042025_05_33_44_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351786037","file1":"1351786033","file0":"1351786005","file4":"1351786086","file5":"1351786112","file3":"1351786057"},"map_files_photo_id_array":[{"photo_id":"1351786112","filename":"file5"},{"photo_id":"1351786037","filename":"file2"},{"photo_id":"1351786086","filename":"file4"},{"photo_id":"1351786033","filename":"file1"},{"photo_id":"1351786005","filename":"file0"},{"photo_id":"1351786057","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351786112":["hashtag1","hashtag2"]},{"1351786057":["hashtag1","hashtag2"]},{"1351786033":["hashtag1","hashtag2"]},{"1351786086":["hashtag1","hashtag2"]},{"1351786005":["hashtag1","hashtag2"]},{"1351786037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351786112, 1351786057, 1351786033, 1351786086, 1351786005, 1351786037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.57316303253174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:08:33.027716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_25_10421.jpg', '/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_34_9351.jpg', '/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_45_10447.jpg', '/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_55_10355.jpg', '/home/pi/Desktop/images/19042025/05/34/image_19042025_05_35_05_9358.jpg', '/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_15_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_25_10421.jpg
/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_34_9351.jpg
/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_45_10447.jpg
/home/pi/Desktop/images/19042025/05/34/image_19042025_05_34_55_10355.jpg
/home/pi/Desktop/images/19042025/05/34/image_19042025_05_35_05_9358.jpg
/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_15_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351786351","1351786324","1351786260","1351786239","1351786224","1351786292"],"photo_ids_order":["1351786224","1351786239","1351786260","1351786292","1351786324","1351786351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa2a8f6e98d9447b4fe4a65049ab8212.jpg","text":"TemporaryFile(/tmp/multipartBody8350854128463283339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050173575,"filename":"image_19042025_05_35_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/19/f03183f7b97540423d9fbdeff2aaaa71.jpg","text":"TemporaryFile(/tmp/multipartBody1244937875719478757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050173575,"filename":"image_19042025_05_35_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e5a2dcc2b90039f8ea2d39d2bd7e552.jpg","text":"TemporaryFile(/tmp/multipartBody2415167966233847943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050173575,"filename":"image_19042025_05_34_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/19/7cbd9da5259ae8207557fe16d99f1004.jpg","text":"TemporaryFile(/tmp/multipartBody6046759402804397031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050173575,"filename":"image_19042025_05_34_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/19/66e0bfd6ca72de87d472eacf2c193a15.jpg","text":"TemporaryFile(/tmp/multipartBody149739613111374286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050173575,"filename":"image_19042025_05_34_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/19/81a5fec61994892e41b2ff03ba9f7e81.jpg","text":"TemporaryFile(/tmp/multipartBody5132520645651908094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050173575,"filename":"image_19042025_05_34_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351786260","file1":"1351786239","file0":"1351786224","file4":"1351786324","file5":"1351786351","file3":"1351786292"},"map_files_photo_id_array":[{"photo_id":"1351786351","filename":"file5"},{"photo_id":"1351786260","filename":"file2"},{"photo_id":"1351786324","filename":"file4"},{"photo_id":"1351786239","filename":"file1"},{"photo_id":"1351786224","filename":"file0"},{"photo_id":"1351786292","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351786351":["hashtag1","hashtag2"]},{"1351786324":["hashtag1","hashtag2"]},{"1351786260":["hashtag1","hashtag2"]},{"1351786239":["hashtag1","hashtag2"]},{"1351786224":["hashtag1","hashtag2"]},{"1351786292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351786351, 1351786324, 1351786260, 1351786239, 1351786224, 1351786292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32465648651123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:09:32.242829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_24_9355.jpg', '/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_35_10424.jpg', '/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_45_10367.jpg', '/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_55_9429.jpg', '/home/pi/Desktop/images/19042025/05/35/image_19042025_05_36_05_10457.jpg', '/home/pi/Desktop/images/19042025/05/36/image_19042025_05_36_14_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_24_9355.jpg
/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_35_10424.jpg
/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_45_10367.jpg
/home/pi/Desktop/images/19042025/05/35/image_19042025_05_35_55_9429.jpg
/home/pi/Desktop/images/19042025/05/35/image_19042025_05_36_05_10457.jpg
/home/pi/Desktop/images/19042025/05/36/image_19042025_05_36_14_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":["1351786663","1351786685","1351786640","1351786715","1351786718","1351786681"],"photo_ids_order":["1351786640","1351786663","1351786681","1351786685","1351786715","1351786718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba4b8f9fa3ccc3f94132200f493352b9.jpg","text":"TemporaryFile(/tmp/multipartBody1615931826665641976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050232785,"filename":"image_19042025_05_35_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/94b47d1a3349ee5044afcd01697859c1.jpg","text":"TemporaryFile(/tmp/multipartBody4044432246624020808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050232785,"filename":"image_19042025_05_35_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/19/c2fa5f56383f1a305c72af0a19cdee3d.jpg","text":"TemporaryFile(/tmp/multipartBody1734689426181902101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050232785,"filename":"image_19042025_05_35_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/19/3553c68b71fbbb0ab598ae28a61b57c3.jpg","text":"TemporaryFile(/tmp/multipartBody2508631304399739999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050232785,"filename":"image_19042025_05_36_05_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9c187fc23f82b10d327001c81becbd52.jpg","text":"TemporaryFile(/tmp/multipartBody334827625852102274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050232785,"filename":"image_19042025_05_36_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/19/5ffdb18e3e13a4e92d4e11df4e303cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1602324770759276677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050232785,"filename":"image_19042025_05_35_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351786681","file1":"1351786663","file0":"1351786640","file4":"1351786715","file5":"1351786718","file3":"1351786685"},"map_files_photo_id_array":[{"photo_id":"1351786718","filename":"file5"},{"photo_id":"1351786681","filename":"file2"},{"photo_id":"1351786715","filename":"file4"},{"photo_id":"1351786663","filename":"file1"},{"photo_id":"1351786640","filename":"file0"},{"photo_id":"1351786685","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351786663":["hashtag1","hashtag2"]},{"1351786685":["hashtag1","hashtag2"]},{"1351786640":["hashtag1","hashtag2"]},{"1351786715":["hashtag1","hashtag2"]},{"1351786718":["hashtag1","hashtag2"]},{"1351786681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351786663, 1351786685, 1351786640, 1351786715, 1351786718, 1351786681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80024075508118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:10:32.619278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/36/image_19042025_05_36_25_10440.jpg', '/home/pi/Desktop/images/19042025/05/36/image_19042025_05_36_35_10363.jpg', '/home/pi/Desktop/images/19042025/05/36/image_19042025_05_36_45_9342.jpg', '/home/pi/Desktop/images/19042025/05/36/image_19042025_05_37_05_10367.jpg', '/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_15_9359.jpg', '/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_25_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/36/image_19042025_05_36_25_10440.jpg
/home/pi/Desktop/images/19042025/05/36/image_19042025_05_36_35_10363.jpg
/home/pi/Desktop/images/19042025/05/36/image_19042025_05_36_45_9342.jpg
/home/pi/Desktop/images/19042025/05/36/image_19042025_05_37_05_10367.jpg
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_15_9359.jpg
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_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":["1351786756","1351786735","1351786740","1351786748","1351786763","1351786745"],"photo_ids_order":["1351786735","1351786740","1351786745","1351786748","1351786756","1351786763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/88d0c99caa5a69860e82e7bd9a15ee2c.jpg","text":"TemporaryFile(/tmp/multipartBody7205865301477995937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050293184,"filename":"image_19042025_05_37_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/19/d4a6f27e019ccd09654d3a19f317bf79.jpg","text":"TemporaryFile(/tmp/multipartBody3755116663426051702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050293184,"filename":"image_19042025_05_36_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/19/291393058c3855ded65c9f361ca39ca8.jpg","text":"TemporaryFile(/tmp/multipartBody1923118625241091276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050293184,"filename":"image_19042025_05_36_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/19/33300031373e132f3e39398cea550773.jpg","text":"TemporaryFile(/tmp/multipartBody6293048437618238015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050293184,"filename":"image_19042025_05_37_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/19/96b6b952b30146c15c2760d6bdd00d10.jpg","text":"TemporaryFile(/tmp/multipartBody7793660364666129403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050293184,"filename":"image_19042025_05_37_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/19/270ea19a8ca051238842f962836a95b8.jpg","text":"TemporaryFile(/tmp/multipartBody288628947421246895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050293184,"filename":"image_19042025_05_36_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351786745","file1":"1351786740","file0":"1351786735","file4":"1351786756","file5":"1351786763","file3":"1351786748"},"map_files_photo_id_array":[{"photo_id":"1351786763","filename":"file5"},{"photo_id":"1351786745","filename":"file2"},{"photo_id":"1351786756","filename":"file4"},{"photo_id":"1351786740","filename":"file1"},{"photo_id":"1351786735","filename":"file0"},{"photo_id":"1351786748","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351786756":["hashtag1","hashtag2"]},{"1351786735":["hashtag1","hashtag2"]},{"1351786740":["hashtag1","hashtag2"]},{"1351786748":["hashtag1","hashtag2"]},{"1351786763":["hashtag1","hashtag2"]},{"1351786745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351786756, 1351786735, 1351786740, 1351786748, 1351786763, 1351786745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.973827600479126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:11:32.727263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_34_9349.jpg', '/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_45_10415.jpg', '/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_55_10351.jpg', '/home/pi/Desktop/images/19042025/05/37/image_19042025_05_38_05_9445.jpg', '/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_15_10356.jpg', '/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_24_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_34_9349.jpg
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_45_10415.jpg
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_55_10351.jpg
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_38_05_9445.jpg
/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_15_10356.jpg
/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_24_9346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4707956314086914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 10:11:42.822752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_34_9349.jpg', '/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_45_10415.jpg', '/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_55_10351.jpg', '/home/pi/Desktop/images/19042025/05/37/image_19042025_05_38_05_9445.jpg', '/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_15_10356.jpg', '/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_24_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_34_9349.jpg
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_45_10415.jpg
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_37_55_10351.jpg
/home/pi/Desktop/images/19042025/05/37/image_19042025_05_38_05_9445.jpg
/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_15_10356.jpg
/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_24_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":["1351786900","1351786902","1351786898","1351786892","1351786841","1351786901"],"photo_ids_order":["1351786841","1351786892","1351786898","1351786900","1351786901","1351786902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5c57e7dbfa38b3252d6cd1325907776f.jpg","text":"TemporaryFile(/tmp/multipartBody3734280739499882451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050363290,"filename":"image_19042025_05_38_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/19/0efb719ccbc319ca89eb7f3bbd2fdb42.jpg","text":"TemporaryFile(/tmp/multipartBody8257835194912016369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050363290,"filename":"image_19042025_05_38_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/19/497bf1f7fe1d04ee10f9347c3ad9463a.jpg","text":"TemporaryFile(/tmp/multipartBody2674499218807765480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050363290,"filename":"image_19042025_05_37_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/19/44eae95c8a3d7a51bde38d80e647c57c.jpg","text":"TemporaryFile(/tmp/multipartBody7974013630400164955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050363290,"filename":"image_19042025_05_37_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/19/723e612409d51b560fc5c3925b365f75.jpg","text":"TemporaryFile(/tmp/multipartBody5464780614168790876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050363290,"filename":"image_19042025_05_37_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/19/96d05b6ae95d0cd9865ea0732b4a32fd.jpg","text":"TemporaryFile(/tmp/multipartBody1317432135391104984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050363290,"filename":"image_19042025_05_38_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351786898","file1":"1351786892","file0":"1351786841","file4":"1351786901","file5":"1351786902","file3":"1351786900"},"map_files_photo_id_array":[{"photo_id":"1351786902","filename":"file5"},{"photo_id":"1351786898","filename":"file2"},{"photo_id":"1351786901","filename":"file4"},{"photo_id":"1351786892","filename":"file1"},{"photo_id":"1351786841","filename":"file0"},{"photo_id":"1351786900","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351786900":["hashtag1","hashtag2"]},{"1351786902":["hashtag1","hashtag2"]},{"1351786898":["hashtag1","hashtag2"]},{"1351786892":["hashtag1","hashtag2"]},{"1351786841":["hashtag1","hashtag2"]},{"1351786901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351786900, 1351786902, 1351786898, 1351786892, 1351786841, 1351786901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.710319995880127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:12:33.013651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_35_10359.jpg', '/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_45_10359.jpg', '/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_54_9353.jpg', '/home/pi/Desktop/images/19042025/05/38/image_19042025_05_39_05_10477.jpg', '/home/pi/Desktop/images/19042025/05/39/image_19042025_05_39_25_9344.jpg', '/home/pi/Desktop/images/19042025/05/39/image_19042025_05_39_35_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_35_10359.jpg
/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_45_10359.jpg
/home/pi/Desktop/images/19042025/05/38/image_19042025_05_38_54_9353.jpg
/home/pi/Desktop/images/19042025/05/38/image_19042025_05_39_05_10477.jpg
/home/pi/Desktop/images/19042025/05/39/image_19042025_05_39_25_9344.jpg
/home/pi/Desktop/images/19042025/05/39/image_19042025_05_39_35_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":["1351787011","1351787020","1351787014","1351787009","1351787018","1351787006"],"photo_ids_order":["1351787006","1351787009","1351787011","1351787014","1351787018","1351787020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/be5bca7505d94c99e55b8622f8a14306.jpg","text":"TemporaryFile(/tmp/multipartBody4261386910137673082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050413562,"filename":"image_19042025_05_38_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/19/f2d95af73f4f33179aecc902516be2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6864784739743882798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050413562,"filename":"image_19042025_05_39_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/30da4391ff7b3226f0e8a02fbba2929c.jpg","text":"TemporaryFile(/tmp/multipartBody4117282091329218888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050413562,"filename":"image_19042025_05_39_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/19/39dd40e111a6cb53ba9a6756265e0692.jpg","text":"TemporaryFile(/tmp/multipartBody3308100793654628540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050413562,"filename":"image_19042025_05_38_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b787b86b42a6b09aacec9eb117ed85fb.jpg","text":"TemporaryFile(/tmp/multipartBody1928799103862659021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050413562,"filename":"image_19042025_05_39_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71957cbac5c4d29ed8aa8af335c0161b.jpg","text":"TemporaryFile(/tmp/multipartBody6915009758592715391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050413562,"filename":"image_19042025_05_38_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787011","file1":"1351787009","file0":"1351787006","file4":"1351787018","file5":"1351787020","file3":"1351787014"},"map_files_photo_id_array":[{"photo_id":"1351787020","filename":"file5"},{"photo_id":"1351787011","filename":"file2"},{"photo_id":"1351787018","filename":"file4"},{"photo_id":"1351787009","filename":"file1"},{"photo_id":"1351787006","filename":"file0"},{"photo_id":"1351787014","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787011":["hashtag1","hashtag2"]},{"1351787020":["hashtag1","hashtag2"]},{"1351787014":["hashtag1","hashtag2"]},{"1351787009":["hashtag1","hashtag2"]},{"1351787018":["hashtag1","hashtag2"]},{"1351787006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787011, 1351787020, 1351787014, 1351787009, 1351787018, 1351787006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.217021703720093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:13:33.301153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/39/image_19042025_05_39_44_9345.jpg', '/home/pi/Desktop/images/19042025/05/39/image_19042025_05_39_55_10338.jpg', '/home/pi/Desktop/images/19042025/05/39/image_19042025_05_40_05_10405.jpg', '/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_14_9340.jpg', '/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_25_10574.jpg', '/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_34_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/39/image_19042025_05_39_44_9345.jpg
/home/pi/Desktop/images/19042025/05/39/image_19042025_05_39_55_10338.jpg
/home/pi/Desktop/images/19042025/05/39/image_19042025_05_40_05_10405.jpg
/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_14_9340.jpg
/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_25_10574.jpg
/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_34_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":["1351787044","1351787052","1351787046","1351787049","1351787054","1351787056"],"photo_ids_order":["1351787044","1351787046","1351787049","1351787052","1351787054","1351787056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/361aca4bcc941dfad9d3c8878ed3d9ba.jpg","text":"TemporaryFile(/tmp/multipartBody8679373006739284503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050473870,"filename":"image_19042025_05_39_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f1a8bf862ba9aa9ece1d0fa19d8c3be.jpg","text":"TemporaryFile(/tmp/multipartBody238710632138742315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050473870,"filename":"image_19042025_05_40_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/19/264be09890a7353c6b0a367f7e87ceaa.jpg","text":"TemporaryFile(/tmp/multipartBody158048967315963406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050473870,"filename":"image_19042025_05_39_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/475b1134e84bb84433d9bdffe41562ae.jpg","text":"TemporaryFile(/tmp/multipartBody6418792605300517552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050473870,"filename":"image_19042025_05_40_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/19/98703bb95907e9eeb747743fe3c9c7ab.jpg","text":"TemporaryFile(/tmp/multipartBody958170879298402410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050473870,"filename":"image_19042025_05_40_25_10574.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/23b63021d510e3c167ba9bcb8ecc4b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6791578079003295550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050473870,"filename":"image_19042025_05_40_34_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787049","file1":"1351787046","file0":"1351787044","file4":"1351787054","file5":"1351787056","file3":"1351787052"},"map_files_photo_id_array":[{"photo_id":"1351787056","filename":"file5"},{"photo_id":"1351787049","filename":"file2"},{"photo_id":"1351787054","filename":"file4"},{"photo_id":"1351787046","filename":"file1"},{"photo_id":"1351787044","filename":"file0"},{"photo_id":"1351787052","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787044":["hashtag1","hashtag2"]},{"1351787052":["hashtag1","hashtag2"]},{"1351787046":["hashtag1","hashtag2"]},{"1351787049":["hashtag1","hashtag2"]},{"1351787054":["hashtag1","hashtag2"]},{"1351787056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787044, 1351787052, 1351787046, 1351787049, 1351787054, 1351787056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54098391532898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:14:32.461537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_45_10487.jpg', '/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_55_10352.jpg', '/home/pi/Desktop/images/19042025/05/40/image_19042025_05_41_05_9393.jpg', '/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_15_10385.jpg', '/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_24_9347.jpg', '/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_35_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_45_10487.jpg
/home/pi/Desktop/images/19042025/05/40/image_19042025_05_40_55_10352.jpg
/home/pi/Desktop/images/19042025/05/40/image_19042025_05_41_05_9393.jpg
/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_15_10385.jpg
/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_24_9347.jpg
/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_35_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":["1351787128","1351787136","1351787109","1351787124","1351787168","1351787270"],"photo_ids_order":["1351787109","1351787124","1351787128","1351787136","1351787168","1351787270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/df3eaaf0957fb841b002b856dca74561.jpg","text":"TemporaryFile(/tmp/multipartBody2373701657641532276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050533021,"filename":"image_19042025_05_41_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/40e2ef7b7375fac048b56801e1dfc531.jpg","text":"TemporaryFile(/tmp/multipartBody7848607617290126823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050533021,"filename":"image_19042025_05_41_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/19/ed811f2fb5361767e58bbdab0a1c16e4.jpg","text":"TemporaryFile(/tmp/multipartBody3913033723503278848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050533021,"filename":"image_19042025_05_40_45_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/be32b814f00469a8f06342cc14767067.jpg","text":"TemporaryFile(/tmp/multipartBody3540875162918793734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050533021,"filename":"image_19042025_05_40_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/19/6278474f08ddacbf1ad70fe46f813105.jpg","text":"TemporaryFile(/tmp/multipartBody6835374602729713011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050533021,"filename":"image_19042025_05_41_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/19/0e7b05443aa1395605880219c3da7d05.jpg","text":"TemporaryFile(/tmp/multipartBody2722443664684503337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050533021,"filename":"image_19042025_05_41_35_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787128","file1":"1351787124","file0":"1351787109","file4":"1351787168","file5":"1351787270","file3":"1351787136"},"map_files_photo_id_array":[{"photo_id":"1351787270","filename":"file5"},{"photo_id":"1351787128","filename":"file2"},{"photo_id":"1351787168","filename":"file4"},{"photo_id":"1351787124","filename":"file1"},{"photo_id":"1351787109","filename":"file0"},{"photo_id":"1351787136","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787128":["hashtag1","hashtag2"]},{"1351787136":["hashtag1","hashtag2"]},{"1351787109":["hashtag1","hashtag2"]},{"1351787124":["hashtag1","hashtag2"]},{"1351787168":["hashtag1","hashtag2"]},{"1351787270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787128, 1351787136, 1351787109, 1351787124, 1351787168, 1351787270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.837409257888794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:15:32.561740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_45_10419.jpg', '/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_55_9340.jpg', '/home/pi/Desktop/images/19042025/05/41/image_19042025_05_42_05_10455.jpg', '/home/pi/Desktop/images/19042025/05/42/image_19042025_05_42_14_9398.jpg', '/home/pi/Desktop/images/19042025/05/42/image_19042025_05_42_25_10395.jpg', '/home/pi/Desktop/images/19042025/05/42/image_19042025_05_42_35_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_45_10419.jpg
/home/pi/Desktop/images/19042025/05/41/image_19042025_05_41_55_9340.jpg
/home/pi/Desktop/images/19042025/05/41/image_19042025_05_42_05_10455.jpg
/home/pi/Desktop/images/19042025/05/42/image_19042025_05_42_14_9398.jpg
/home/pi/Desktop/images/19042025/05/42/image_19042025_05_42_25_10395.jpg
/home/pi/Desktop/images/19042025/05/42/image_19042025_05_42_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":["1351787490","1351787487","1351787481","1351787483","1351787495","1351787477"],"photo_ids_order":["1351787477","1351787481","1351787483","1351787487","1351787490","1351787495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b749f0fff26d97948edfd922fb0274ab.jpg","text":"TemporaryFile(/tmp/multipartBody351250812172381286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050593108,"filename":"image_19042025_05_42_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/259bccc6a99ed16ebd9faecd90b7df53.jpg","text":"TemporaryFile(/tmp/multipartBody5284976475781946217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050593108,"filename":"image_19042025_05_42_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/19/ce26fcffdb75c3155c329713d7f6fe9d.jpg","text":"TemporaryFile(/tmp/multipartBody8060921311834794054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050593108,"filename":"image_19042025_05_41_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/027947c1fd18cecd72e6271efe281a6a.jpg","text":"TemporaryFile(/tmp/multipartBody556322385257841773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050593108,"filename":"image_19042025_05_42_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/19/ad540bbd6011ec056309d45f50831789.jpg","text":"TemporaryFile(/tmp/multipartBody3916973036831250815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050593108,"filename":"image_19042025_05_42_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/19/2e1d249176486d7358722f99e3a0685d.jpg","text":"TemporaryFile(/tmp/multipartBody362212489796682167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050593108,"filename":"image_19042025_05_41_45_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787483","file1":"1351787481","file0":"1351787477","file4":"1351787490","file5":"1351787495","file3":"1351787487"},"map_files_photo_id_array":[{"photo_id":"1351787495","filename":"file5"},{"photo_id":"1351787483","filename":"file2"},{"photo_id":"1351787490","filename":"file4"},{"photo_id":"1351787481","filename":"file1"},{"photo_id":"1351787477","filename":"file0"},{"photo_id":"1351787487","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787490":["hashtag1","hashtag2"]},{"1351787487":["hashtag1","hashtag2"]},{"1351787481":["hashtag1","hashtag2"]},{"1351787483":["hashtag1","hashtag2"]},{"1351787495":["hashtag1","hashtag2"]},{"1351787477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787490, 1351787487, 1351787481, 1351787483, 1351787495, 1351787477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18814992904663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:16:32.835029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/42/image_19042025_05_42_45_9360.jpg', '/home/pi/Desktop/images/19042025/05/42/image_19042025_05_43_05_10356.jpg', '/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_15_9363.jpg', '/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_25_10403.jpg', '/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_34_9363.jpg', '/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_45_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/42/image_19042025_05_42_45_9360.jpg
/home/pi/Desktop/images/19042025/05/42/image_19042025_05_43_05_10356.jpg
/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_15_9363.jpg
/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_25_10403.jpg
/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_34_9363.jpg
/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_45_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351787548","1351787577","1351787559","1351787570","1351787516","1351787524"],"photo_ids_order":["1351787516","1351787524","1351787548","1351787559","1351787570","1351787577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7cd220e60a9ba96d1d05bea099f42592.jpg","text":"TemporaryFile(/tmp/multipartBody3861818807259972543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050653406,"filename":"image_19042025_05_43_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/19/a91dd1c1095e538910de2c0f04bd99f4.jpg","text":"TemporaryFile(/tmp/multipartBody6312107107807175490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050653406,"filename":"image_19042025_05_43_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a8d195c672497b272d4161c07c0e5ea5.jpg","text":"TemporaryFile(/tmp/multipartBody5178747914414963285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050653406,"filename":"image_19042025_05_43_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/19/cdd78ce40ab430d7290c47a1569a00e0.jpg","text":"TemporaryFile(/tmp/multipartBody6846788774412678426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050653406,"filename":"image_19042025_05_43_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/19/9ecc222dde4648c927c2231e83483f85.jpg","text":"TemporaryFile(/tmp/multipartBody2312508911954303250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050653406,"filename":"image_19042025_05_42_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/19/2b94c2f38e7c6579f2ee31c04fd40f49.jpg","text":"TemporaryFile(/tmp/multipartBody7158690540774310721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050653406,"filename":"image_19042025_05_43_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787548","file1":"1351787524","file0":"1351787516","file4":"1351787570","file5":"1351787577","file3":"1351787559"},"map_files_photo_id_array":[{"photo_id":"1351787577","filename":"file5"},{"photo_id":"1351787548","filename":"file2"},{"photo_id":"1351787570","filename":"file4"},{"photo_id":"1351787524","filename":"file1"},{"photo_id":"1351787516","filename":"file0"},{"photo_id":"1351787559","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787548":["hashtag1","hashtag2"]},{"1351787577":["hashtag1","hashtag2"]},{"1351787559":["hashtag1","hashtag2"]},{"1351787570":["hashtag1","hashtag2"]},{"1351787516":["hashtag1","hashtag2"]},{"1351787524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787548, 1351787577, 1351787559, 1351787570, 1351787516, 1351787524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73184847831726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:17:33.134604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_55_10422.jpg', '/home/pi/Desktop/images/19042025/05/43/image_19042025_05_44_05_9349.jpg', '/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_15_10364.jpg', '/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_24_9328.jpg', '/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_35_10359.jpg', '/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_45_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/43/image_19042025_05_43_55_10422.jpg
/home/pi/Desktop/images/19042025/05/43/image_19042025_05_44_05_9349.jpg
/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_15_10364.jpg
/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_24_9328.jpg
/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_35_10359.jpg
/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_45_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351787605","1351787602","1351787586","1351787591","1351787596","1351787599"],"photo_ids_order":["1351787586","1351787591","1351787596","1351787599","1351787602","1351787605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6c24918be5dfb053e2d817713400a97b.jpg","text":"TemporaryFile(/tmp/multipartBody1178357404675614981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050713678,"filename":"image_19042025_05_44_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/19/a5da38447a0e7fe085ee65ee69e95082.jpg","text":"TemporaryFile(/tmp/multipartBody5659648220431499124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050713678,"filename":"image_19042025_05_44_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/19/892d116671986ec20859d34ca4316be7.jpg","text":"TemporaryFile(/tmp/multipartBody1126518109885633212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050713678,"filename":"image_19042025_05_43_55_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cacc2a742013f3b2c36b1b891444b1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4093341599618816170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050713678,"filename":"image_19042025_05_44_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/19/2826573a4205b07d435b4e3d1a7fce03.jpg","text":"TemporaryFile(/tmp/multipartBody2591870824835889928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050713678,"filename":"image_19042025_05_44_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/19/3ea86bc44b87d0c985c8cfc91cf4db02.jpg","text":"TemporaryFile(/tmp/multipartBody5836859212777913339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050713678,"filename":"image_19042025_05_44_24_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787596","file1":"1351787591","file0":"1351787586","file4":"1351787602","file5":"1351787605","file3":"1351787599"},"map_files_photo_id_array":[{"photo_id":"1351787605","filename":"file5"},{"photo_id":"1351787596","filename":"file2"},{"photo_id":"1351787602","filename":"file4"},{"photo_id":"1351787591","filename":"file1"},{"photo_id":"1351787586","filename":"file0"},{"photo_id":"1351787599","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787605":["hashtag1","hashtag2"]},{"1351787602":["hashtag1","hashtag2"]},{"1351787586":["hashtag1","hashtag2"]},{"1351787591":["hashtag1","hashtag2"]},{"1351787596":["hashtag1","hashtag2"]},{"1351787599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787605, 1351787602, 1351787586, 1351787591, 1351787596, 1351787599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.437318563461304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:18:32.318701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_54_9336.jpg', '/home/pi/Desktop/images/19042025/05/44/image_19042025_05_45_05_10460.jpg', '/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_14_9446.jpg', '/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_25_10390.jpg', '/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_35_10436.jpg', '/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_44_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/44/image_19042025_05_44_54_9336.jpg
/home/pi/Desktop/images/19042025/05/44/image_19042025_05_45_05_10460.jpg
/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_14_9446.jpg
/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_25_10390.jpg
/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_35_10436.jpg
/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_44_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":["1351787614","1351787617","1351787622","1351787625","1351787619","1351787610"],"photo_ids_order":["1351787610","1351787614","1351787617","1351787619","1351787622","1351787625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ca659c94fd6af3a6d0df96598383b1b.jpg","text":"TemporaryFile(/tmp/multipartBody2637150902979181934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050772899,"filename":"image_19042025_05_45_05_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/683c7afc6f604022cff62c208f83af9f.jpg","text":"TemporaryFile(/tmp/multipartBody695530871036816367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050772899,"filename":"image_19042025_05_45_14_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/19/9179f17ebeefb17373f28d3bc87cf4c0.jpg","text":"TemporaryFile(/tmp/multipartBody7699549738512335782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050772899,"filename":"image_19042025_05_45_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/19/102446512513b16d5ec3bc2b88dcab6e.jpg","text":"TemporaryFile(/tmp/multipartBody7462810972223669357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050772899,"filename":"image_19042025_05_45_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/19/af996177aa8728c158762fe73ace8e61.jpg","text":"TemporaryFile(/tmp/multipartBody4062603290676973577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050772899,"filename":"image_19042025_05_45_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/19/0175f5aa4c488b32dbfaa5c5b38a08ab.jpg","text":"TemporaryFile(/tmp/multipartBody2390223270282683177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050772899,"filename":"image_19042025_05_44_54_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787617","file1":"1351787614","file0":"1351787610","file4":"1351787622","file5":"1351787625","file3":"1351787619"},"map_files_photo_id_array":[{"photo_id":"1351787625","filename":"file5"},{"photo_id":"1351787617","filename":"file2"},{"photo_id":"1351787622","filename":"file4"},{"photo_id":"1351787614","filename":"file1"},{"photo_id":"1351787610","filename":"file0"},{"photo_id":"1351787619","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787614":["hashtag1","hashtag2"]},{"1351787617":["hashtag1","hashtag2"]},{"1351787622":["hashtag1","hashtag2"]},{"1351787625":["hashtag1","hashtag2"]},{"1351787619":["hashtag1","hashtag2"]},{"1351787610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787614, 1351787617, 1351787622, 1351787625, 1351787619, 1351787610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.51472568511963 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:19:32.636361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_55_10408.jpg', '/home/pi/Desktop/images/19042025/05/45/image_19042025_05_46_05_10353.jpg', '/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_15_9345.jpg', '/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_25_10375.jpg', '/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_34_9338.jpg', '/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_45_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/45/image_19042025_05_45_55_10408.jpg
/home/pi/Desktop/images/19042025/05/45/image_19042025_05_46_05_10353.jpg
/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_15_9345.jpg
/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_25_10375.jpg
/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_34_9338.jpg
/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_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":["1351787667","1351787649","1351787664","1351787651","1351787645","1351787642"],"photo_ids_order":["1351787642","1351787645","1351787649","1351787651","1351787664","1351787667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/51179041d68c94a566a0b2b242be4544.jpg","text":"TemporaryFile(/tmp/multipartBody8200159312280082918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050833194,"filename":"image_19042025_05_46_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/19/cf64b119842e8af7b8823c3082afda08.jpg","text":"TemporaryFile(/tmp/multipartBody2211845109759527883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050833194,"filename":"image_19042025_05_46_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/19/b03f268d0807eb8b49e2821f8a7aa96a.jpg","text":"TemporaryFile(/tmp/multipartBody7355700094538592390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050833194,"filename":"image_19042025_05_46_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/19/81d02efa335a8c2e02a4c590aa973244.jpg","text":"TemporaryFile(/tmp/multipartBody8142201345618655453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050833194,"filename":"image_19042025_05_46_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/19/3ed3c0b3e98b268271c74b9806a8dba8.jpg","text":"TemporaryFile(/tmp/multipartBody1019353593609415455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050833194,"filename":"image_19042025_05_46_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6df6ed0e864882da505baee0c3e8d1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5081423318568384736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050833194,"filename":"image_19042025_05_45_55_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787649","file1":"1351787645","file0":"1351787642","file4":"1351787664","file5":"1351787667","file3":"1351787651"},"map_files_photo_id_array":[{"photo_id":"1351787667","filename":"file5"},{"photo_id":"1351787649","filename":"file2"},{"photo_id":"1351787664","filename":"file4"},{"photo_id":"1351787645","filename":"file1"},{"photo_id":"1351787642","filename":"file0"},{"photo_id":"1351787651","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787667":["hashtag1","hashtag2"]},{"1351787649":["hashtag1","hashtag2"]},{"1351787664":["hashtag1","hashtag2"]},{"1351787651":["hashtag1","hashtag2"]},{"1351787645":["hashtag1","hashtag2"]},{"1351787642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787667, 1351787649, 1351787664, 1351787651, 1351787645, 1351787642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.702285766601562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:20:32.789470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_55_10424.jpg', '/home/pi/Desktop/images/19042025/05/46/image_19042025_05_47_04_9348.jpg', '/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_15_10465.jpg', '/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_25_10356.jpg', '/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_35_9357.jpg', '/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_45_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/46/image_19042025_05_46_55_10424.jpg
/home/pi/Desktop/images/19042025/05/46/image_19042025_05_47_04_9348.jpg
/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_15_10465.jpg
/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_25_10356.jpg
/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_35_9357.jpg
/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_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":["1351787682","1351787690","1351787692","1351787686","1351787680","1351787677"],"photo_ids_order":["1351787677","1351787680","1351787682","1351787686","1351787690","1351787692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/47a0622104ba94c507cc5f38919f6acd.jpg","text":"TemporaryFile(/tmp/multipartBody6486437320055372155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050893330,"filename":"image_19042025_05_47_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/19/de5c63f491177c7d3a2122118d24717d.jpg","text":"TemporaryFile(/tmp/multipartBody1418522195438037446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050893330,"filename":"image_19042025_05_47_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef9b8e597665d590cb005255e9d0bba1.jpg","text":"TemporaryFile(/tmp/multipartBody8260435965316058528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050893330,"filename":"image_19042025_05_47_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/19/6e74b14c3cb68fb6b5c420e0e4168491.jpg","text":"TemporaryFile(/tmp/multipartBody5407787866258052880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050893330,"filename":"image_19042025_05_47_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95dcf6e26fe78add3ac498663d1dfd20.jpg","text":"TemporaryFile(/tmp/multipartBody5562938405106526811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050893330,"filename":"image_19042025_05_47_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/19/dac03cbc0399b3f18a2cc4fc6f878ba4.jpg","text":"TemporaryFile(/tmp/multipartBody352710451644580585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050893330,"filename":"image_19042025_05_46_55_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787682","file1":"1351787680","file0":"1351787677","file4":"1351787690","file5":"1351787692","file3":"1351787686"},"map_files_photo_id_array":[{"photo_id":"1351787692","filename":"file5"},{"photo_id":"1351787682","filename":"file2"},{"photo_id":"1351787690","filename":"file4"},{"photo_id":"1351787680","filename":"file1"},{"photo_id":"1351787677","filename":"file0"},{"photo_id":"1351787686","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787682":["hashtag1","hashtag2"]},{"1351787690":["hashtag1","hashtag2"]},{"1351787692":["hashtag1","hashtag2"]},{"1351787686":["hashtag1","hashtag2"]},{"1351787680":["hashtag1","hashtag2"]},{"1351787677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787682, 1351787690, 1351787692, 1351787686, 1351787680, 1351787677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.272600412368774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:21:33.074105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_54_9385.jpg', '/home/pi/Desktop/images/19042025/05/47/image_19042025_05_48_05_10411.jpg', '/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_15_10374.jpg', '/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_25_9336.jpg', '/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_35_10461.jpg', '/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_44_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/47/image_19042025_05_47_54_9385.jpg
/home/pi/Desktop/images/19042025/05/47/image_19042025_05_48_05_10411.jpg
/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_15_10374.jpg
/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_25_9336.jpg
/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_35_10461.jpg
/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_44_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351787707","1351787703","1351787712","1351787720","1351787717","1351787705"],"photo_ids_order":["1351787703","1351787705","1351787707","1351787712","1351787717","1351787720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b95dac56385a115146fdf6015fd13998.jpg","text":"TemporaryFile(/tmp/multipartBody7381267790234985613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050953613,"filename":"image_19042025_05_48_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/19/f51ed00cf9bca181597ddc1e59b2c2be.jpg","text":"TemporaryFile(/tmp/multipartBody2930996348634316179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050953613,"filename":"image_19042025_05_47_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/19/2ca7e9be51c2d590864b692534d5b8ac.jpg","text":"TemporaryFile(/tmp/multipartBody7112975731898632259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050953613,"filename":"image_19042025_05_48_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f8060c6ca0548c87feb10c93305116f6.jpg","text":"TemporaryFile(/tmp/multipartBody6930735654341279586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050953613,"filename":"image_19042025_05_48_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/19/980e631924fc156929aaea03ef5aa3c7.jpg","text":"TemporaryFile(/tmp/multipartBody342847468888642381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050953613,"filename":"image_19042025_05_48_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/19/ffec64a31c8d975e7d5d6680711cece9.jpg","text":"TemporaryFile(/tmp/multipartBody2291865536654387961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745050953613,"filename":"image_19042025_05_48_05_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787707","file1":"1351787705","file0":"1351787703","file4":"1351787717","file5":"1351787720","file3":"1351787712"},"map_files_photo_id_array":[{"photo_id":"1351787720","filename":"file5"},{"photo_id":"1351787707","filename":"file2"},{"photo_id":"1351787717","filename":"file4"},{"photo_id":"1351787705","filename":"file1"},{"photo_id":"1351787703","filename":"file0"},{"photo_id":"1351787712","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787707":["hashtag1","hashtag2"]},{"1351787703":["hashtag1","hashtag2"]},{"1351787712":["hashtag1","hashtag2"]},{"1351787720":["hashtag1","hashtag2"]},{"1351787717":["hashtag1","hashtag2"]},{"1351787705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787707, 1351787703, 1351787712, 1351787720, 1351787717, 1351787705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.817851066589355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:22:32.476210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_55_10356.jpg', '/home/pi/Desktop/images/19042025/05/48/image_19042025_05_49_05_10357.jpg', '/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_14_9341.jpg', '/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_25_10425.jpg', '/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_34_9431.jpg', '/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/48/image_19042025_05_48_55_10356.jpg
/home/pi/Desktop/images/19042025/05/48/image_19042025_05_49_05_10357.jpg
/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_14_9341.jpg
/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_25_10425.jpg
/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_34_9431.jpg
/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_45_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351787733","1351787739","1351787730","1351787741","1351787735","1351787743"],"photo_ids_order":["1351787730","1351787733","1351787735","1351787739","1351787741","1351787743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c66eeafb0fdc45d44b4878e2146d9d9.jpg","text":"TemporaryFile(/tmp/multipartBody3283853142971634391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051013023,"filename":"image_19042025_05_49_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/19/98cf1fdbdab693f717887e1fdef16846.jpg","text":"TemporaryFile(/tmp/multipartBody3496424524578542151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051013023,"filename":"image_19042025_05_49_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20f126ba6eede0718a52bd5615e09719.jpg","text":"TemporaryFile(/tmp/multipartBody8548949822135736323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051013023,"filename":"image_19042025_05_48_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/19/329148788974179c4c973f6fd08d10e5.jpg","text":"TemporaryFile(/tmp/multipartBody6421396867812270487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051013023,"filename":"image_19042025_05_49_34_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/19/3fc5c6974bfcf16979889b73e42227d5.jpg","text":"TemporaryFile(/tmp/multipartBody4746203348792916647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051013023,"filename":"image_19042025_05_49_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/19/33bd49bcca42f157b87534ec764a1fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6687966022990750897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051013023,"filename":"image_19042025_05_49_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787735","file1":"1351787733","file0":"1351787730","file4":"1351787741","file5":"1351787743","file3":"1351787739"},"map_files_photo_id_array":[{"photo_id":"1351787743","filename":"file5"},{"photo_id":"1351787735","filename":"file2"},{"photo_id":"1351787741","filename":"file4"},{"photo_id":"1351787733","filename":"file1"},{"photo_id":"1351787730","filename":"file0"},{"photo_id":"1351787739","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787733":["hashtag1","hashtag2"]},{"1351787739":["hashtag1","hashtag2"]},{"1351787730":["hashtag1","hashtag2"]},{"1351787741":["hashtag1","hashtag2"]},{"1351787735":["hashtag1","hashtag2"]},{"1351787743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787733, 1351787739, 1351787730, 1351787741, 1351787735, 1351787743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.068084478378296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:23:32.712336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_55_10427.jpg', '/home/pi/Desktop/images/19042025/05/49/image_19042025_05_50_04_9359.jpg', '/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_15_10489.jpg', '/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_24_9354.jpg', '/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_35_10486.jpg', '/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/49/image_19042025_05_49_55_10427.jpg
/home/pi/Desktop/images/19042025/05/49/image_19042025_05_50_04_9359.jpg
/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_15_10489.jpg
/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_24_9354.jpg
/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_35_10486.jpg
/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351787766","1351787769","1351787763","1351787808","1351787761","1351787770"],"photo_ids_order":["1351787761","1351787763","1351787766","1351787769","1351787770","1351787808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5a7dc5a146d7bb3becd89d5a48409e5e.jpg","text":"TemporaryFile(/tmp/multipartBody8158838985493909061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051073260,"filename":"image_19042025_05_50_15_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/19/17ad626d9a934ed27253474c33ed39fe.jpg","text":"TemporaryFile(/tmp/multipartBody2828540316772427577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051073260,"filename":"image_19042025_05_50_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/19/52185874ea1a126d178a8d1e959848de.jpg","text":"TemporaryFile(/tmp/multipartBody6371065345433027839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051073260,"filename":"image_19042025_05_50_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/19/9af691b95289a4ebb66dc133b943d7e1.jpg","text":"TemporaryFile(/tmp/multipartBody4465304673264118911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051073260,"filename":"image_19042025_05_50_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/19/61d4514db255f9483baffcd7f8cb1563.jpg","text":"TemporaryFile(/tmp/multipartBody7419732954753764381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051073260,"filename":"image_19042025_05_49_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/19/247f0e57814016d139aab79e8892b903.jpg","text":"TemporaryFile(/tmp/multipartBody2641001978384938711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051073260,"filename":"image_19042025_05_50_35_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787766","file1":"1351787763","file0":"1351787761","file4":"1351787770","file5":"1351787808","file3":"1351787769"},"map_files_photo_id_array":[{"photo_id":"1351787808","filename":"file5"},{"photo_id":"1351787766","filename":"file2"},{"photo_id":"1351787770","filename":"file4"},{"photo_id":"1351787763","filename":"file1"},{"photo_id":"1351787761","filename":"file0"},{"photo_id":"1351787769","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351787766":["hashtag1","hashtag2"]},{"1351787769":["hashtag1","hashtag2"]},{"1351787763":["hashtag1","hashtag2"]},{"1351787808":["hashtag1","hashtag2"]},{"1351787761":["hashtag1","hashtag2"]},{"1351787770":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351787766, 1351787769, 1351787763, 1351787808, 1351787761, 1351787770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.897811889648438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:24:32.764031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_54_9343.jpg', '/home/pi/Desktop/images/19042025/05/50/image_19042025_05_51_05_10421.jpg', '/home/pi/Desktop/images/19042025/05/51/image_19042025_05_51_15_10359.jpg', '/home/pi/Desktop/images/19042025/05/51/image_19042025_05_51_25_9348.jpg', '/home/pi/Desktop/images/19042025/05/51/image_19042025_05_51_35_10438.jpg', '/home/pi/Desktop/images/19042025/05/51/image_19042025_05_52_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/50/image_19042025_05_50_54_9343.jpg
/home/pi/Desktop/images/19042025/05/50/image_19042025_05_51_05_10421.jpg
/home/pi/Desktop/images/19042025/05/51/image_19042025_05_51_15_10359.jpg
/home/pi/Desktop/images/19042025/05/51/image_19042025_05_51_25_9348.jpg
/home/pi/Desktop/images/19042025/05/51/image_19042025_05_51_35_10438.jpg
/home/pi/Desktop/images/19042025/05/51/image_19042025_05_52_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351788180","1351788123","1351788167","1351788193","1351788184","1351788192"],"photo_ids_order":["1351788123","1351788167","1351788180","1351788184","1351788192","1351788193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ceef9ae5e422c1af25aabfca55f6f986.jpg","text":"TemporaryFile(/tmp/multipartBody3400403720053357334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051133308,"filename":"image_19042025_05_51_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87f0aa65ee9893890469094bab01bbb8.jpg","text":"TemporaryFile(/tmp/multipartBody2500760174518437770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051133308,"filename":"image_19042025_05_50_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/19/b4510851b93a454cc8f7d427d97a9b7a.jpg","text":"TemporaryFile(/tmp/multipartBody3330489966731486994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051133308,"filename":"image_19042025_05_51_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/19/f36f237413f48d6e6b1bb54cc31323ad.jpg","text":"TemporaryFile(/tmp/multipartBody7478976532615917743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051133308,"filename":"image_19042025_05_52_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/19/2aeb8186946d163a2739c2945b7e380c.jpg","text":"TemporaryFile(/tmp/multipartBody6259876513579948271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051133308,"filename":"image_19042025_05_51_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f8de28d164e2025f37eceaac1bf5d0f.jpg","text":"TemporaryFile(/tmp/multipartBody9090252458051020622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051133308,"filename":"image_19042025_05_51_35_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788180","file1":"1351788167","file0":"1351788123","file4":"1351788192","file5":"1351788193","file3":"1351788184"},"map_files_photo_id_array":[{"photo_id":"1351788193","filename":"file5"},{"photo_id":"1351788180","filename":"file2"},{"photo_id":"1351788192","filename":"file4"},{"photo_id":"1351788167","filename":"file1"},{"photo_id":"1351788123","filename":"file0"},{"photo_id":"1351788184","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788180":["hashtag1","hashtag2"]},{"1351788123":["hashtag1","hashtag2"]},{"1351788167":["hashtag1","hashtag2"]},{"1351788193":["hashtag1","hashtag2"]},{"1351788184":["hashtag1","hashtag2"]},{"1351788192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788180, 1351788123, 1351788167, 1351788193, 1351788184, 1351788192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75673270225525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:25:33.067624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_15_9344.jpg', '/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_25_10344.jpg', '/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_35_10357.jpg', '/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_45_9351.jpg', '/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_55_10361.jpg', '/home/pi/Desktop/images/19042025/05/52/image_19042025_05_53_04_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_15_9344.jpg
/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_25_10344.jpg
/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_35_10357.jpg
/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_45_9351.jpg
/home/pi/Desktop/images/19042025/05/52/image_19042025_05_52_55_10361.jpg
/home/pi/Desktop/images/19042025/05/52/image_19042025_05_53_04_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351788219","1351788210","1351788212","1351788214","1351788223","1351788217"],"photo_ids_order":["1351788210","1351788212","1351788214","1351788217","1351788219","1351788223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1df466e0a0394405c744d3d9c2c5ff10.jpg","text":"TemporaryFile(/tmp/multipartBody6561457879013149873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051193615,"filename":"image_19042025_05_52_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/19/02a995ef8c03aaf3fed1b8932ccd0167.jpg","text":"TemporaryFile(/tmp/multipartBody8835467317736646623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051193615,"filename":"image_19042025_05_52_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/19/c5a66a6013b326059d5352a6e5611c87.jpg","text":"TemporaryFile(/tmp/multipartBody2455427564871624725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051193615,"filename":"image_19042025_05_52_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/19/1c6da4ba41b5b96670977da5841fa16d.jpg","text":"TemporaryFile(/tmp/multipartBody16406106091747505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051193615,"filename":"image_19042025_05_52_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/19/cef185d96211fd184b1190b628f137cd.jpg","text":"TemporaryFile(/tmp/multipartBody1869685132259491692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051193615,"filename":"image_19042025_05_53_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/19/98a005ee00fb9d76c7b34b8c81d92fba.jpg","text":"TemporaryFile(/tmp/multipartBody1790752773456149340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051193615,"filename":"image_19042025_05_52_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788214","file1":"1351788212","file0":"1351788210","file4":"1351788219","file5":"1351788223","file3":"1351788217"},"map_files_photo_id_array":[{"photo_id":"1351788223","filename":"file5"},{"photo_id":"1351788214","filename":"file2"},{"photo_id":"1351788219","filename":"file4"},{"photo_id":"1351788212","filename":"file1"},{"photo_id":"1351788210","filename":"file0"},{"photo_id":"1351788217","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788219":["hashtag1","hashtag2"]},{"1351788210":["hashtag1","hashtag2"]},{"1351788212":["hashtag1","hashtag2"]},{"1351788214":["hashtag1","hashtag2"]},{"1351788223":["hashtag1","hashtag2"]},{"1351788217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788219, 1351788210, 1351788212, 1351788214, 1351788223, 1351788217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43338704109192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:26:32.152809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_15_10339.jpg', '/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_25_10357.jpg', '/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_34_9342.jpg', '/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_45_10366.jpg', '/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_55_10418.jpg', '/home/pi/Desktop/images/19042025/05/53/image_19042025_05_54_04_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_15_10339.jpg
/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_25_10357.jpg
/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_34_9342.jpg
/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_45_10366.jpg
/home/pi/Desktop/images/19042025/05/53/image_19042025_05_53_55_10418.jpg
/home/pi/Desktop/images/19042025/05/53/image_19042025_05_54_04_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":["1351788372","1351788357","1351788380","1351788300","1351788368","1351788376"],"photo_ids_order":["1351788300","1351788357","1351788368","1351788372","1351788376","1351788380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/44a3003ab37db4004d808afa29976e6d.jpg","text":"TemporaryFile(/tmp/multipartBody1575756006934515916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051252722,"filename":"image_19042025_05_53_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/19/43e6955a26612ee391d3d986cd94b5dd.jpg","text":"TemporaryFile(/tmp/multipartBody5559965264813671502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051252722,"filename":"image_19042025_05_53_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/19/e957359c215fed3b62af76d3ba6d68a4.jpg","text":"TemporaryFile(/tmp/multipartBody5120787241719277572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051252722,"filename":"image_19042025_05_54_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/19/27a56daa712f85792758f4e8f1e9d3ef.jpg","text":"TemporaryFile(/tmp/multipartBody1180456816819275775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051252722,"filename":"image_19042025_05_53_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/19/fd730340d87e630394f7aff4ab2c1a10.jpg","text":"TemporaryFile(/tmp/multipartBody450644403126215048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051252722,"filename":"image_19042025_05_53_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bffbe0b2a1a7f29062fbb9e9e4a7342e.jpg","text":"TemporaryFile(/tmp/multipartBody1473246518754886223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051252722,"filename":"image_19042025_05_53_55_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788368","file1":"1351788357","file0":"1351788300","file4":"1351788376","file5":"1351788380","file3":"1351788372"},"map_files_photo_id_array":[{"photo_id":"1351788380","filename":"file5"},{"photo_id":"1351788368","filename":"file2"},{"photo_id":"1351788376","filename":"file4"},{"photo_id":"1351788357","filename":"file1"},{"photo_id":"1351788300","filename":"file0"},{"photo_id":"1351788372","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788372":["hashtag1","hashtag2"]},{"1351788357":["hashtag1","hashtag2"]},{"1351788380":["hashtag1","hashtag2"]},{"1351788300":["hashtag1","hashtag2"]},{"1351788368":["hashtag1","hashtag2"]},{"1351788376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788372, 1351788357, 1351788380, 1351788300, 1351788368, 1351788376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.03243947029114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 10:27:42.378460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_15_10369.jpg', '/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_25_10334.jpg', '/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_35_9387.jpg', '/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_45_10346.jpg', '/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_55_10336.jpg', '/home/pi/Desktop/images/19042025/05/54/image_19042025_05_55_05_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_15_10369.jpg
/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_25_10334.jpg
/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_35_9387.jpg
/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_45_10346.jpg
/home/pi/Desktop/images/19042025/05/54/image_19042025_05_54_55_10336.jpg
/home/pi/Desktop/images/19042025/05/54/image_19042025_05_55_05_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":["1351788403","1351788423","1351788395","1351788408","1351788413","1351788394"],"photo_ids_order":["1351788394","1351788395","1351788403","1351788408","1351788413","1351788423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5bfffd736e3478083bb51f62bf122a88.jpg","text":"TemporaryFile(/tmp/multipartBody1902359128211486692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051322916,"filename":"image_19042025_05_54_35_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/19/5c63f4f8c3ea12a0b39e85ae87129f5e.jpg","text":"TemporaryFile(/tmp/multipartBody9042778103889751022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051322916,"filename":"image_19042025_05_55_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64868e8cf9c9a1ae6ecebc3a721ffcc9.jpg","text":"TemporaryFile(/tmp/multipartBody5696900599448140326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051322916,"filename":"image_19042025_05_54_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bace102c105f6eabe2b5c398bf09895b.jpg","text":"TemporaryFile(/tmp/multipartBody1452289383522417357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051322916,"filename":"image_19042025_05_54_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ca59e8da4534f4238ee40a7b29bec02.jpg","text":"TemporaryFile(/tmp/multipartBody7017802916561668990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051322916,"filename":"image_19042025_05_54_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/19/877a2fc369229805f89646c440541e47.jpg","text":"TemporaryFile(/tmp/multipartBody7343452710036692101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051322916,"filename":"image_19042025_05_54_15_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788403","file1":"1351788395","file0":"1351788394","file4":"1351788413","file5":"1351788423","file3":"1351788408"},"map_files_photo_id_array":[{"photo_id":"1351788423","filename":"file5"},{"photo_id":"1351788403","filename":"file2"},{"photo_id":"1351788413","filename":"file4"},{"photo_id":"1351788395","filename":"file1"},{"photo_id":"1351788394","filename":"file0"},{"photo_id":"1351788408","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788403":["hashtag1","hashtag2"]},{"1351788423":["hashtag1","hashtag2"]},{"1351788395":["hashtag1","hashtag2"]},{"1351788408":["hashtag1","hashtag2"]},{"1351788413":["hashtag1","hashtag2"]},{"1351788394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788403, 1351788423, 1351788395, 1351788408, 1351788413, 1351788394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34079027175903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:28:32.601969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_15_10436.jpg', '/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_24_9336.jpg', '/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_35_10442.jpg', '/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_45_10383.jpg', '/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_55_9336.jpg', '/home/pi/Desktop/images/19042025/05/55/image_19042025_05_56_05_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_15_10436.jpg
/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_24_9336.jpg
/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_35_10442.jpg
/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_45_10383.jpg
/home/pi/Desktop/images/19042025/05/55/image_19042025_05_55_55_9336.jpg
/home/pi/Desktop/images/19042025/05/55/image_19042025_05_56_05_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":["1351788486","1351788464","1351788473","1351788452","1351788478","1351788508"],"photo_ids_order":["1351788452","1351788464","1351788473","1351788478","1351788486","1351788508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc966b548139d7513dc455945dde4e88.jpg","text":"TemporaryFile(/tmp/multipartBody2016334878556474229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051373184,"filename":"image_19042025_05_55_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/707a2bad4b3e83c80a75df026c0d5ba3.jpg","text":"TemporaryFile(/tmp/multipartBody627625174280694527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051373184,"filename":"image_19042025_05_55_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00a23a30505d59c3003abc04338fd0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2970378324998500994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051373184,"filename":"image_19042025_05_55_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/19/7adc49a5b4fc0dfb3696f3ce75f9c8b7.jpg","text":"TemporaryFile(/tmp/multipartBody7972829230225053159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051373184,"filename":"image_19042025_05_55_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/19/bcff6198bba5c49cd4847570804bd0f9.jpg","text":"TemporaryFile(/tmp/multipartBody8638309900984997853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051373184,"filename":"image_19042025_05_55_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/19/4235ac179e847a3e277511c54d84e0a7.jpg","text":"TemporaryFile(/tmp/multipartBody6538252430604339776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051373184,"filename":"image_19042025_05_56_05_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788473","file1":"1351788464","file0":"1351788452","file4":"1351788486","file5":"1351788508","file3":"1351788478"},"map_files_photo_id_array":[{"photo_id":"1351788508","filename":"file5"},{"photo_id":"1351788473","filename":"file2"},{"photo_id":"1351788486","filename":"file4"},{"photo_id":"1351788464","filename":"file1"},{"photo_id":"1351788452","filename":"file0"},{"photo_id":"1351788478","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788486":["hashtag1","hashtag2"]},{"1351788464":["hashtag1","hashtag2"]},{"1351788473":["hashtag1","hashtag2"]},{"1351788452":["hashtag1","hashtag2"]},{"1351788478":["hashtag1","hashtag2"]},{"1351788508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788486, 1351788464, 1351788473, 1351788452, 1351788478, 1351788508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.306852340698242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:29:32.791537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_14_9333.jpg', '/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_25_10355.jpg', '/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_35_10345.jpg', '/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_44_9340.jpg', '/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_55_10451.jpg', '/home/pi/Desktop/images/19042025/05/56/image_19042025_05_57_05_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_14_9333.jpg
/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_25_10355.jpg
/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_35_10345.jpg
/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_44_9340.jpg
/home/pi/Desktop/images/19042025/05/56/image_19042025_05_56_55_10451.jpg
/home/pi/Desktop/images/19042025/05/56/image_19042025_05_57_05_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":["1351788570","1351788558","1351788525","1351788554","1351788592","1351788595"],"photo_ids_order":["1351788525","1351788554","1351788558","1351788570","1351788592","1351788595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25daca8ddc00588f3d7cc309f6e21afd.jpg","text":"TemporaryFile(/tmp/multipartBody2255561369832963968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051433319,"filename":"image_19042025_05_56_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/19/f0daf8ee9d08b7d80efdcce41f037faa.jpg","text":"TemporaryFile(/tmp/multipartBody7152006491873928739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051433319,"filename":"image_19042025_05_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/19/b6939a98667d2b6131d6ac66ba8a02b2.jpg","text":"TemporaryFile(/tmp/multipartBody7133080713170406502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051433319,"filename":"image_19042025_05_56_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/19/8c231fe00c2839bf06c4eb5f014fd36f.jpg","text":"TemporaryFile(/tmp/multipartBody6887190371975362244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051433319,"filename":"image_19042025_05_56_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/19/0ec8903485b46176c335ef3b9ea7061a.jpg","text":"TemporaryFile(/tmp/multipartBody46822421919442541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051433319,"filename":"image_19042025_05_56_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/979e504f3038ad8e71f944ab88296373.jpg","text":"TemporaryFile(/tmp/multipartBody7092115566779624770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051433319,"filename":"image_19042025_05_57_05_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788558","file1":"1351788554","file0":"1351788525","file4":"1351788592","file5":"1351788595","file3":"1351788570"},"map_files_photo_id_array":[{"photo_id":"1351788595","filename":"file5"},{"photo_id":"1351788558","filename":"file2"},{"photo_id":"1351788592","filename":"file4"},{"photo_id":"1351788554","filename":"file1"},{"photo_id":"1351788525","filename":"file0"},{"photo_id":"1351788570","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788570":["hashtag1","hashtag2"]},{"1351788558":["hashtag1","hashtag2"]},{"1351788525":["hashtag1","hashtag2"]},{"1351788554":["hashtag1","hashtag2"]},{"1351788592":["hashtag1","hashtag2"]},{"1351788595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788570, 1351788558, 1351788525, 1351788554, 1351788592, 1351788595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.86467409133911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:30:33.073131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/57/image_19042025_05_57_15_9342.jpg', '/home/pi/Desktop/images/19042025/05/57/image_19042025_05_57_25_10372.jpg', '/home/pi/Desktop/images/19042025/05/57/image_19042025_05_57_34_9345.jpg', '/home/pi/Desktop/images/19042025/05/57/image_19042025_05_57_45_10366.jpg', '/home/pi/Desktop/images/19042025/05/57/image_19042025_05_58_04_9335.jpg', '/home/pi/Desktop/images/19042025/05/58/image_19042025_05_58_15_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/57/image_19042025_05_57_15_9342.jpg
/home/pi/Desktop/images/19042025/05/57/image_19042025_05_57_25_10372.jpg
/home/pi/Desktop/images/19042025/05/57/image_19042025_05_57_34_9345.jpg
/home/pi/Desktop/images/19042025/05/57/image_19042025_05_57_45_10366.jpg
/home/pi/Desktop/images/19042025/05/57/image_19042025_05_58_04_9335.jpg
/home/pi/Desktop/images/19042025/05/58/image_19042025_05_58_15_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":["1351788623","1351788605","1351788620","1351788616","1351788610","1351788613"],"photo_ids_order":["1351788605","1351788610","1351788613","1351788616","1351788620","1351788623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c01d63f322ef84465737cfd10450c573.jpg","text":"TemporaryFile(/tmp/multipartBody551174679145379029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051493631,"filename":"image_19042025_05_58_15_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/19/cbd6d99bb73a8f96cb0d8df225045cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8635074430624292623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051493631,"filename":"image_19042025_05_57_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/19/2927141bfee3cc4f446f5abf75d559f6.jpg","text":"TemporaryFile(/tmp/multipartBody4838313524658813115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051493631,"filename":"image_19042025_05_58_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34a489e26e4666edbfe0d5d71ece58a7.jpg","text":"TemporaryFile(/tmp/multipartBody6160607021012564490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051493631,"filename":"image_19042025_05_57_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/19/6a40b5fe0ac3d197cdefa1c0c9323146.jpg","text":"TemporaryFile(/tmp/multipartBody6813187709389206925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051493631,"filename":"image_19042025_05_57_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/19/775d2df3dc77044a09cb30f05e7f6d04.jpg","text":"TemporaryFile(/tmp/multipartBody815349866355278639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051493631,"filename":"image_19042025_05_57_34_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788613","file1":"1351788610","file0":"1351788605","file4":"1351788620","file5":"1351788623","file3":"1351788616"},"map_files_photo_id_array":[{"photo_id":"1351788623","filename":"file5"},{"photo_id":"1351788613","filename":"file2"},{"photo_id":"1351788620","filename":"file4"},{"photo_id":"1351788610","filename":"file1"},{"photo_id":"1351788605","filename":"file0"},{"photo_id":"1351788616","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788623":["hashtag1","hashtag2"]},{"1351788605":["hashtag1","hashtag2"]},{"1351788620":["hashtag1","hashtag2"]},{"1351788616":["hashtag1","hashtag2"]},{"1351788610":["hashtag1","hashtag2"]},{"1351788613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788623, 1351788605, 1351788620, 1351788616, 1351788610, 1351788613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.900236129760742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:31:32.305692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/58/image_19042025_05_58_25_9885.jpg', '/home/pi/Desktop/images/19042025/05/58/image_19042025_05_58_35_10362.jpg', '/home/pi/Desktop/images/19042025/05/58/image_19042025_05_59_04_9428.jpg', '/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_15_10405.jpg', '/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_25_10359.jpg', '/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_34_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/58/image_19042025_05_58_25_9885.jpg
/home/pi/Desktop/images/19042025/05/58/image_19042025_05_58_35_10362.jpg
/home/pi/Desktop/images/19042025/05/58/image_19042025_05_59_04_9428.jpg
/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_15_10405.jpg
/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_25_10359.jpg
/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_34_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":["1351788651","1351788639","1351788647","1351788655","1351788658","1351788643"],"photo_ids_order":["1351788639","1351788643","1351788647","1351788651","1351788655","1351788658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39c53ac39d339aac1587b4d8423b8eee.jpg","text":"TemporaryFile(/tmp/multipartBody5815657823472659766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051552846,"filename":"image_19042025_05_59_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/19/52351ddeee7f75c123385d0a2bc6ec35.jpg","text":"TemporaryFile(/tmp/multipartBody6346211222203117117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051552846,"filename":"image_19042025_05_58_25_9885.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f74a527a5c3eae8841b266303a7207a.jpg","text":"TemporaryFile(/tmp/multipartBody1335603357414205689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051552846,"filename":"image_19042025_05_59_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/19/3ea43fd3e84bc9901a32577343f22dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7999409387503596684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051552846,"filename":"image_19042025_05_59_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/19/846d22ae9d863565146f3d0334f9a23f.jpg","text":"TemporaryFile(/tmp/multipartBody7228685462276891336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051552846,"filename":"image_19042025_05_59_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2a8caa5b0e73b964be3e2317be5fc915.jpg","text":"TemporaryFile(/tmp/multipartBody2372480971171372714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051552846,"filename":"image_19042025_05_58_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788647","file1":"1351788643","file0":"1351788639","file4":"1351788655","file5":"1351788658","file3":"1351788651"},"map_files_photo_id_array":[{"photo_id":"1351788658","filename":"file5"},{"photo_id":"1351788647","filename":"file2"},{"photo_id":"1351788655","filename":"file4"},{"photo_id":"1351788643","filename":"file1"},{"photo_id":"1351788639","filename":"file0"},{"photo_id":"1351788651","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788651":["hashtag1","hashtag2"]},{"1351788639":["hashtag1","hashtag2"]},{"1351788647":["hashtag1","hashtag2"]},{"1351788655":["hashtag1","hashtag2"]},{"1351788658":["hashtag1","hashtag2"]},{"1351788643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788651, 1351788639, 1351788647, 1351788655, 1351788658, 1351788643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.706307888031006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:32:32.561741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_45_10408.jpg', '/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_55_10353.jpg', '/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_15_10075.jpg', '/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_25_10458.jpg', '/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_36_10354.jpg', '/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_45_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_45_10408.jpg
/home/pi/Desktop/images/19042025/05/59/image_19042025_05_59_55_10353.jpg
/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_15_10075.jpg
/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_25_10458.jpg
/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_36_10354.jpg
/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_45_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351788717","1351788767","1351788743","1351788746","1351788736","1351788696"],"photo_ids_order":["1351788696","1351788717","1351788736","1351788743","1351788746","1351788767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35a522356550709589feca9f17c9ab97.jpg","text":"TemporaryFile(/tmp/multipartBody3514435947163838546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051613111,"filename":"image_19042025_05_59_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f240e30a26a19b09922e80783355a82.jpg","text":"TemporaryFile(/tmp/multipartBody8301026831397875195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051613111,"filename":"image_19042025_06_01_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/294d235c6b75ed4ab1dc61fc76765960.jpg","text":"TemporaryFile(/tmp/multipartBody6670882741903236475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051613111,"filename":"image_19042025_06_01_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb5eb8c704f05ce42c4a6ad20a0b7f9d.jpg","text":"TemporaryFile(/tmp/multipartBody1490040356559925346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051613111,"filename":"image_19042025_06_01_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/19/c3d51ea41a51e3a2261e19c35a3a1f5c.jpg","text":"TemporaryFile(/tmp/multipartBody3537449548538889619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051613111,"filename":"image_19042025_06_01_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/19/b28f63e9b364eda0f04f752b7ccc9e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2355343912397274651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051613111,"filename":"image_19042025_05_59_45_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788736","file1":"1351788717","file0":"1351788696","file4":"1351788746","file5":"1351788767","file3":"1351788743"},"map_files_photo_id_array":[{"photo_id":"1351788767","filename":"file5"},{"photo_id":"1351788736","filename":"file2"},{"photo_id":"1351788746","filename":"file4"},{"photo_id":"1351788717","filename":"file1"},{"photo_id":"1351788696","filename":"file0"},{"photo_id":"1351788743","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788717":["hashtag1","hashtag2"]},{"1351788767":["hashtag1","hashtag2"]},{"1351788743":["hashtag1","hashtag2"]},{"1351788746":["hashtag1","hashtag2"]},{"1351788736":["hashtag1","hashtag2"]},{"1351788696":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788717, 1351788767, 1351788743, 1351788746, 1351788736, 1351788696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32980275154114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:33:32.664314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_55_10409.jpg', '/home/pi/Desktop/images/19042025/06/02/image_19042025_06_02_15_9342.jpg', '/home/pi/Desktop/images/19042025/06/02/image_19042025_06_02_25_10347.jpg', '/home/pi/Desktop/images/19042025/06/02/image_19042025_06_02_35_9351.jpg', '/home/pi/Desktop/images/19042025/06/02/image_19042025_06_02_55_10351.jpg', '/home/pi/Desktop/images/19042025/06/02/image_19042025_06_03_05_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/01/image_19042025_06_01_55_10409.jpg
/home/pi/Desktop/images/19042025/06/02/image_19042025_06_02_15_9342.jpg
/home/pi/Desktop/images/19042025/06/02/image_19042025_06_02_25_10347.jpg
/home/pi/Desktop/images/19042025/06/02/image_19042025_06_02_35_9351.jpg
/home/pi/Desktop/images/19042025/06/02/image_19042025_06_02_55_10351.jpg
/home/pi/Desktop/images/19042025/06/02/image_19042025_06_03_05_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351788846","1351788807","1351788851","1351788812","1351788826","1351788841"],"photo_ids_order":["1351788807","1351788812","1351788826","1351788841","1351788846","1351788851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9dc0ef5cff7ebb63d9c081f35eed127b.jpg","text":"TemporaryFile(/tmp/multipartBody3779050253961322626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051673220,"filename":"image_19042025_06_02_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/19/3094569c2b0d97c1bc6f5cc73340ff49.jpg","text":"TemporaryFile(/tmp/multipartBody3861170200272014366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051673220,"filename":"image_19042025_06_01_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8772b8175ef28104174d7f441c1e3437.jpg","text":"TemporaryFile(/tmp/multipartBody3586230143090861996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051673220,"filename":"image_19042025_06_03_05_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3bc0b5a9bc70d43ad915e06f27bce18a.jpg","text":"TemporaryFile(/tmp/multipartBody1148934005052035402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051673220,"filename":"image_19042025_06_02_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/19/9da131f2a92ef2e70ebf79b5ac8630da.jpg","text":"TemporaryFile(/tmp/multipartBody2379737995411334030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051673220,"filename":"image_19042025_06_02_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/19/7e295a69ff56d984b15e8d88d483225a.jpg","text":"TemporaryFile(/tmp/multipartBody7372687964525300936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051673220,"filename":"image_19042025_06_02_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788826","file1":"1351788812","file0":"1351788807","file4":"1351788846","file5":"1351788851","file3":"1351788841"},"map_files_photo_id_array":[{"photo_id":"1351788851","filename":"file5"},{"photo_id":"1351788826","filename":"file2"},{"photo_id":"1351788846","filename":"file4"},{"photo_id":"1351788812","filename":"file1"},{"photo_id":"1351788807","filename":"file0"},{"photo_id":"1351788841","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788846":["hashtag1","hashtag2"]},{"1351788807":["hashtag1","hashtag2"]},{"1351788851":["hashtag1","hashtag2"]},{"1351788812":["hashtag1","hashtag2"]},{"1351788826":["hashtag1","hashtag2"]},{"1351788841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788846, 1351788807, 1351788851, 1351788812, 1351788826, 1351788841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.054858446121216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:34:33.047882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_15_10434.jpg', '/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_26_10334.jpg', '/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_35_9423.jpg', '/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_45_10369.jpg', '/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_55_9385.jpg', '/home/pi/Desktop/images/19042025/06/03/image_19042025_06_04_05_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_15_10434.jpg
/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_26_10334.jpg
/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_35_9423.jpg
/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_45_10369.jpg
/home/pi/Desktop/images/19042025/06/03/image_19042025_06_03_55_9385.jpg
/home/pi/Desktop/images/19042025/06/03/image_19042025_06_04_05_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":["1351788963","1351788951","1351788947","1351788961","1351788958","1351788955"],"photo_ids_order":["1351788947","1351788951","1351788955","1351788958","1351788961","1351788963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b529be5097a1a7dfb41601caa100d0a2.jpg","text":"TemporaryFile(/tmp/multipartBody5325343940185848981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051733695,"filename":"image_19042025_06_04_05_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/42b12ebbdc0a71e7660a09e0719a2155.jpg","text":"TemporaryFile(/tmp/multipartBody9171587276133673297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051733695,"filename":"image_19042025_06_03_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d0514f8e9c92941666f1f699282cff6.jpg","text":"TemporaryFile(/tmp/multipartBody3441245874204198688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051733695,"filename":"image_19042025_06_03_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/19/6f41691a0330d9a29aa3f9428ecd98b8.jpg","text":"TemporaryFile(/tmp/multipartBody2103305817771513513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051733695,"filename":"image_19042025_06_03_55_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/122ffdfd7b0a2dd221177b0de0b11f96.jpg","text":"TemporaryFile(/tmp/multipartBody8193654539655633053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051733695,"filename":"image_19042025_06_03_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a98bbcb4a58dc1b9c224b8745ff0c03.jpg","text":"TemporaryFile(/tmp/multipartBody1896458809672132060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051733695,"filename":"image_19042025_06_03_35_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788955","file1":"1351788951","file0":"1351788947","file4":"1351788961","file5":"1351788963","file3":"1351788958"},"map_files_photo_id_array":[{"photo_id":"1351788963","filename":"file5"},{"photo_id":"1351788955","filename":"file2"},{"photo_id":"1351788961","filename":"file4"},{"photo_id":"1351788951","filename":"file1"},{"photo_id":"1351788947","filename":"file0"},{"photo_id":"1351788958","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351788963":["hashtag1","hashtag2"]},{"1351788951":["hashtag1","hashtag2"]},{"1351788947":["hashtag1","hashtag2"]},{"1351788961":["hashtag1","hashtag2"]},{"1351788958":["hashtag1","hashtag2"]},{"1351788955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351788963, 1351788951, 1351788947, 1351788961, 1351788958, 1351788955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.052364349365234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:35:32.247822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_16_10421.jpg', '/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_25_9502.jpg', '/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_35_10375.jpg', '/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_45_9379.jpg', '/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_55_10342.jpg', '/home/pi/Desktop/images/19042025/06/04/image_19042025_06_05_06_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_16_10421.jpg
/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_25_9502.jpg
/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_35_10375.jpg
/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_45_9379.jpg
/home/pi/Desktop/images/19042025/06/04/image_19042025_06_04_55_10342.jpg
/home/pi/Desktop/images/19042025/06/04/image_19042025_06_05_06_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351789277","1351789001","1351789004","1351788997","1351789111","1351789470"],"photo_ids_order":["1351788997","1351789001","1351789004","1351789111","1351789277","1351789470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/330ba7dc60d3f7f856b328d8ac8fa367.jpg","text":"TemporaryFile(/tmp/multipartBody4169541439713569383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051792791,"filename":"image_19042025_06_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/19/391b623e95b1a1b9426a6d0a040b0b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7438480498146238240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051792791,"filename":"image_19042025_06_04_25_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/19/7cdd1ca07a0e95882a85c2ba8404e454.jpg","text":"TemporaryFile(/tmp/multipartBody6160993758749351512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051792791,"filename":"image_19042025_06_04_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/19/d8baaee66b19c285ae92ee3c1696a15b.jpg","text":"TemporaryFile(/tmp/multipartBody7492617078892521466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051792791,"filename":"image_19042025_06_04_16_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb45911c6d22351b91ac99c91a5df98b.jpg","text":"TemporaryFile(/tmp/multipartBody5360872757744640523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051792791,"filename":"image_19042025_06_04_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e4fcce969260faef477ff58035ae2b23.jpg","text":"TemporaryFile(/tmp/multipartBody199826209242588012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051792791,"filename":"image_19042025_06_05_06_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351789004","file1":"1351789001","file0":"1351788997","file4":"1351789277","file5":"1351789470","file3":"1351789111"},"map_files_photo_id_array":[{"photo_id":"1351789470","filename":"file5"},{"photo_id":"1351789004","filename":"file2"},{"photo_id":"1351789277","filename":"file4"},{"photo_id":"1351789001","filename":"file1"},{"photo_id":"1351788997","filename":"file0"},{"photo_id":"1351789111","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351789277":["hashtag1","hashtag2"]},{"1351789001":["hashtag1","hashtag2"]},{"1351789004":["hashtag1","hashtag2"]},{"1351788997":["hashtag1","hashtag2"]},{"1351789111":["hashtag1","hashtag2"]},{"1351789470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351789277, 1351789001, 1351789004, 1351788997, 1351789111, 1351789470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.868600606918335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:36:32.504782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/05/image_19042025_06_05_15_9456.jpg', '/home/pi/Desktop/images/19042025/06/05/image_19042025_06_05_25_10363.jpg', '/home/pi/Desktop/images/19042025/06/05/image_19042025_06_05_35_9440.jpg', '/home/pi/Desktop/images/19042025/06/05/image_19042025_06_05_45_10369.jpg', '/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_15_10353.jpg', '/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_25_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/05/image_19042025_06_05_15_9456.jpg
/home/pi/Desktop/images/19042025/06/05/image_19042025_06_05_25_10363.jpg
/home/pi/Desktop/images/19042025/06/05/image_19042025_06_05_35_9440.jpg
/home/pi/Desktop/images/19042025/06/05/image_19042025_06_05_45_10369.jpg
/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_15_10353.jpg
/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_25_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351790178","1351789902","1351789960","1351789906","1351789915","1351790116"],"photo_ids_order":["1351789902","1351789906","1351789915","1351789960","1351790116","1351790178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e0061fc25a2208e2b189d3065d70385a.jpg","text":"TemporaryFile(/tmp/multipartBody2158062590311995356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051853105,"filename":"image_19042025_06_06_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/19/75b551bd13ecbac0a590827a211ab9f2.jpg","text":"TemporaryFile(/tmp/multipartBody3727533088579926892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051853105,"filename":"image_19042025_06_05_15_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f473c81e9410889e5813c67265f47e3.jpg","text":"TemporaryFile(/tmp/multipartBody5558314048621456915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051853105,"filename":"image_19042025_06_05_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/19/2528143c45b208fa4e29a93a79305f7e.jpg","text":"TemporaryFile(/tmp/multipartBody235682375668030496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051853105,"filename":"image_19042025_06_05_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/19/2d3c9a622bdfe26f752cfa088039e1d5.jpg","text":"TemporaryFile(/tmp/multipartBody7845474351379472731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051853105,"filename":"image_19042025_06_05_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32e0dc0ab24fdd66d33eb22233352615.jpg","text":"TemporaryFile(/tmp/multipartBody7938288383979865089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051853105,"filename":"image_19042025_06_06_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351789915","file1":"1351789906","file0":"1351789902","file4":"1351790116","file5":"1351790178","file3":"1351789960"},"map_files_photo_id_array":[{"photo_id":"1351790178","filename":"file5"},{"photo_id":"1351789915","filename":"file2"},{"photo_id":"1351790116","filename":"file4"},{"photo_id":"1351789906","filename":"file1"},{"photo_id":"1351789902","filename":"file0"},{"photo_id":"1351789960","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351790178":["hashtag1","hashtag2"]},{"1351789902":["hashtag1","hashtag2"]},{"1351789960":["hashtag1","hashtag2"]},{"1351789906":["hashtag1","hashtag2"]},{"1351789915":["hashtag1","hashtag2"]},{"1351790116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351790178, 1351789902, 1351789960, 1351789906, 1351789915, 1351790116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.850788593292236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:37:32.827615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_35_10372.jpg', '/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_45_10367.jpg', '/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_55_9420.jpg', '/home/pi/Desktop/images/19042025/06/06/image_19042025_06_07_05_10386.jpg', '/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_16_10337.jpg', '/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_25_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_35_10372.jpg
/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_45_10367.jpg
/home/pi/Desktop/images/19042025/06/06/image_19042025_06_06_55_9420.jpg
/home/pi/Desktop/images/19042025/06/06/image_19042025_06_07_05_10386.jpg
/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_16_10337.jpg
/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_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":["1351790386","1351790431","1351790434","1351790413","1351790443","1351790425"],"photo_ids_order":["1351790386","1351790413","1351790425","1351790431","1351790434","1351790443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e0cb8b25a41021cc1baa512b325ed62.jpg","text":"TemporaryFile(/tmp/multipartBody7850719337469644802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051913382,"filename":"image_19042025_06_06_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/19/718c8ab62bf18b2ffddf91f203b39081.jpg","text":"TemporaryFile(/tmp/multipartBody6278227983651569774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051913382,"filename":"image_19042025_06_07_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/19/b4dbd465637ec8ad32b6ee44b5cd3eda.jpg","text":"TemporaryFile(/tmp/multipartBody4010998174487490213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051913382,"filename":"image_19042025_06_07_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/19/c7b16a241776a01f952713da25a5ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody4452504642694987299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051913382,"filename":"image_19042025_06_06_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2a837fc4543507c53d4549bf2f825d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6611352574205366465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051913382,"filename":"image_19042025_06_07_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/19/c99924271a58e752142375078c782606.jpg","text":"TemporaryFile(/tmp/multipartBody2270269920985422109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051913382,"filename":"image_19042025_06_06_55_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351790425","file1":"1351790413","file0":"1351790386","file4":"1351790434","file5":"1351790443","file3":"1351790431"},"map_files_photo_id_array":[{"photo_id":"1351790443","filename":"file5"},{"photo_id":"1351790425","filename":"file2"},{"photo_id":"1351790434","filename":"file4"},{"photo_id":"1351790413","filename":"file1"},{"photo_id":"1351790386","filename":"file0"},{"photo_id":"1351790431","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351790386":["hashtag1","hashtag2"]},{"1351790431":["hashtag1","hashtag2"]},{"1351790434":["hashtag1","hashtag2"]},{"1351790413":["hashtag1","hashtag2"]},{"1351790443":["hashtag1","hashtag2"]},{"1351790425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351790386, 1351790431, 1351790434, 1351790413, 1351790443, 1351790425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.906307220458984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:38:32.897238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_35_10372.jpg', '/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_46_10354.jpg', '/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_55_9348.jpg', '/home/pi/Desktop/images/19042025/06/07/image_19042025_06_08_05_10368.jpg', '/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_15_9345.jpg', '/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_35_10372.jpg
/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_46_10354.jpg
/home/pi/Desktop/images/19042025/06/07/image_19042025_06_07_55_9348.jpg
/home/pi/Desktop/images/19042025/06/07/image_19042025_06_08_05_10368.jpg
/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_15_9345.jpg
/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_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":["1351790733","1351790684","1351790687","1351790758","1351790691","1351790679"],"photo_ids_order":["1351790679","1351790684","1351790687","1351790691","1351790733","1351790758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7d8a6cc28a5b18613f1aadd019b2be7.jpg","text":"TemporaryFile(/tmp/multipartBody1420110681249604256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051973445,"filename":"image_19042025_06_08_15_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c66ee5bf0ee10341ae0fce6efa18b83e.jpg","text":"TemporaryFile(/tmp/multipartBody3073726275384119895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051973445,"filename":"image_19042025_06_07_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/19/60bd85bbe89af4826f1b99f90e565258.jpg","text":"TemporaryFile(/tmp/multipartBody5089790442943286665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051973445,"filename":"image_19042025_06_07_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e59fd6240b271416d0f470f6d8330612.jpg","text":"TemporaryFile(/tmp/multipartBody2594635504405701893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051973445,"filename":"image_19042025_06_08_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/19/b48d9c3afcfda8c7241fe9708090e067.jpg","text":"TemporaryFile(/tmp/multipartBody7802331630176935874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051973445,"filename":"image_19042025_06_08_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/19/4bb8b7f808d3c5c1679f97d3b76c2ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3561040339563391393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745051973445,"filename":"image_19042025_06_07_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351790687","file1":"1351790684","file0":"1351790679","file4":"1351790733","file5":"1351790758","file3":"1351790691"},"map_files_photo_id_array":[{"photo_id":"1351790758","filename":"file5"},{"photo_id":"1351790687","filename":"file2"},{"photo_id":"1351790733","filename":"file4"},{"photo_id":"1351790684","filename":"file1"},{"photo_id":"1351790679","filename":"file0"},{"photo_id":"1351790691","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351790733":["hashtag1","hashtag2"]},{"1351790684":["hashtag1","hashtag2"]},{"1351790687":["hashtag1","hashtag2"]},{"1351790758":["hashtag1","hashtag2"]},{"1351790691":["hashtag1","hashtag2"]},{"1351790679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351790733, 1351790684, 1351790687, 1351790758, 1351790691, 1351790679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.962804079055786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:39:33.126213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_35_10360.jpg', '/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_45_9451.jpg', '/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_55_10399.jpg', '/home/pi/Desktop/images/19042025/06/09/image_19042025_06_09_25_10338.jpg', '/home/pi/Desktop/images/19042025/06/09/image_19042025_06_09_35_9431.jpg', '/home/pi/Desktop/images/19042025/06/09/image_19042025_06_09_45_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_35_10360.jpg
/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_45_9451.jpg
/home/pi/Desktop/images/19042025/06/08/image_19042025_06_08_55_10399.jpg
/home/pi/Desktop/images/19042025/06/09/image_19042025_06_09_25_10338.jpg
/home/pi/Desktop/images/19042025/06/09/image_19042025_06_09_35_9431.jpg
/home/pi/Desktop/images/19042025/06/09/image_19042025_06_09_45_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351791236","1351791344","1351791305","1351791352","1351791276","1351791249"],"photo_ids_order":["1351791236","1351791249","1351791276","1351791305","1351791344","1351791352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd6b922160a1d5faac1f54c98bfff6b9.jpg","text":"TemporaryFile(/tmp/multipartBody6317841579109431589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052033668,"filename":"image_19042025_06_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/19/c87ede5dcacb4849bbb481f91948568c.jpg","text":"TemporaryFile(/tmp/multipartBody2861199096707117365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052033668,"filename":"image_19042025_06_09_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/19/1ed7611c8d443bd38986c98346ac12e6.jpg","text":"TemporaryFile(/tmp/multipartBody5933147646785968093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052033668,"filename":"image_19042025_06_09_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb12d4a243445f56951246daa5abd88b.jpg","text":"TemporaryFile(/tmp/multipartBody4918924277919448655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052033668,"filename":"image_19042025_06_09_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/19/bc710b21032183fec1347bd94e23a036.jpg","text":"TemporaryFile(/tmp/multipartBody9168221300540467652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052033668,"filename":"image_19042025_06_08_55_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aaddf578dbfd35ec098a86ca7cdc0482.jpg","text":"TemporaryFile(/tmp/multipartBody7755927122524926815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052033668,"filename":"image_19042025_06_08_45_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351791276","file1":"1351791249","file0":"1351791236","file4":"1351791344","file5":"1351791352","file3":"1351791305"},"map_files_photo_id_array":[{"photo_id":"1351791352","filename":"file5"},{"photo_id":"1351791276","filename":"file2"},{"photo_id":"1351791344","filename":"file4"},{"photo_id":"1351791249","filename":"file1"},{"photo_id":"1351791236","filename":"file0"},{"photo_id":"1351791305","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351791236":["hashtag1","hashtag2"]},{"1351791344":["hashtag1","hashtag2"]},{"1351791305":["hashtag1","hashtag2"]},{"1351791352":["hashtag1","hashtag2"]},{"1351791276":["hashtag1","hashtag2"]},{"1351791249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351791236, 1351791344, 1351791305, 1351791352, 1351791276, 1351791249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21093535423279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:40:32.381449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/09/image_19042025_06_09_55_9929.jpg', '/home/pi/Desktop/images/19042025/06/09/image_19042025_06_10_05_10372.jpg', '/home/pi/Desktop/images/19042025/06/10/image_19042025_06_10_15_9412.jpg', '/home/pi/Desktop/images/19042025/06/10/image_19042025_06_10_35_9365.jpg', '/home/pi/Desktop/images/19042025/06/10/image_19042025_06_10_45_10468.jpg', '/home/pi/Desktop/images/19042025/06/10/image_19042025_06_10_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/09/image_19042025_06_09_55_9929.jpg
/home/pi/Desktop/images/19042025/06/09/image_19042025_06_10_05_10372.jpg
/home/pi/Desktop/images/19042025/06/10/image_19042025_06_10_15_9412.jpg
/home/pi/Desktop/images/19042025/06/10/image_19042025_06_10_35_9365.jpg
/home/pi/Desktop/images/19042025/06/10/image_19042025_06_10_45_10468.jpg
/home/pi/Desktop/images/19042025/06/10/image_19042025_06_10_55_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351791491","1351791524","1351791533","1351791496","1351791562","1351791520"],"photo_ids_order":["1351791491","1351791496","1351791520","1351791524","1351791533","1351791562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5666f70f5fd0729987abada66565481b.jpg","text":"TemporaryFile(/tmp/multipartBody2563757658031928616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052092943,"filename":"image_19042025_06_09_55_9929.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5bd7081e5623433a7e8696557748e147.jpg","text":"TemporaryFile(/tmp/multipartBody3883965589934618351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052092943,"filename":"image_19042025_06_10_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/19/a1e372f410d28ddfa1831b1fc9bcdf7c.jpg","text":"TemporaryFile(/tmp/multipartBody7497627148409040869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052092943,"filename":"image_19042025_06_10_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/19/44123f4df3962d391dfa769a66c4ac65.jpg","text":"TemporaryFile(/tmp/multipartBody5674396405649810768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052092943,"filename":"image_19042025_06_10_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/19/a1ed76039652d22b7226c11a73af607d.jpg","text":"TemporaryFile(/tmp/multipartBody4908842418659079949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052092943,"filename":"image_19042025_06_10_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/19/70d168e92ef0611c8d3ca689a58961c8.jpg","text":"TemporaryFile(/tmp/multipartBody938785369505372809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052092943,"filename":"image_19042025_06_10_15_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351791520","file1":"1351791496","file0":"1351791491","file4":"1351791533","file5":"1351791562","file3":"1351791524"},"map_files_photo_id_array":[{"photo_id":"1351791562","filename":"file5"},{"photo_id":"1351791520","filename":"file2"},{"photo_id":"1351791533","filename":"file4"},{"photo_id":"1351791496","filename":"file1"},{"photo_id":"1351791491","filename":"file0"},{"photo_id":"1351791524","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351791491":["hashtag1","hashtag2"]},{"1351791524":["hashtag1","hashtag2"]},{"1351791533":["hashtag1","hashtag2"]},{"1351791496":["hashtag1","hashtag2"]},{"1351791562":["hashtag1","hashtag2"]},{"1351791520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351791491, 1351791524, 1351791533, 1351791496, 1351791562, 1351791520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.68829846382141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:41:32.621947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_15_10351.jpg', '/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_25_9347.jpg', '/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_35_10430.jpg', '/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_45_10369.jpg', '/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_55_9470.jpg', '/home/pi/Desktop/images/19042025/06/11/image_19042025_06_12_05_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_15_10351.jpg
/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_25_9347.jpg
/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_35_10430.jpg
/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_45_10369.jpg
/home/pi/Desktop/images/19042025/06/11/image_19042025_06_11_55_9470.jpg
/home/pi/Desktop/images/19042025/06/11/image_19042025_06_12_05_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351791674","1351791722","1351791704","1351791713","1351791709","1351791711"],"photo_ids_order":["1351791674","1351791704","1351791709","1351791711","1351791713","1351791722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/96caee674eff48dbb878385b0dee67b4.jpg","text":"TemporaryFile(/tmp/multipartBody7148009908449116203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052153164,"filename":"image_19042025_06_11_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/19/9b82a72003ba1e7b50f1be2cef87e3c6.jpg","text":"TemporaryFile(/tmp/multipartBody5461198345081233955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052153164,"filename":"image_19042025_06_12_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/19/1c6d659eb41d0dbe2b4012d2e17765e5.jpg","text":"TemporaryFile(/tmp/multipartBody8630751542798346010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052153164,"filename":"image_19042025_06_11_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f1c87d680e6f8e3ca817b4cb8bd4feb.jpg","text":"TemporaryFile(/tmp/multipartBody3658140037294345769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052153164,"filename":"image_19042025_06_11_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/19/183338bdf581e7ab4be5080a1e7a8424.jpg","text":"TemporaryFile(/tmp/multipartBody1739020307144170601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052153164,"filename":"image_19042025_06_11_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/19/6721cce785bebc2a9b8ae69a9b84bb49.jpg","text":"TemporaryFile(/tmp/multipartBody2376780518207282579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052153164,"filename":"image_19042025_06_11_45_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351791709","file1":"1351791704","file0":"1351791674","file4":"1351791713","file5":"1351791722","file3":"1351791711"},"map_files_photo_id_array":[{"photo_id":"1351791722","filename":"file5"},{"photo_id":"1351791709","filename":"file2"},{"photo_id":"1351791713","filename":"file4"},{"photo_id":"1351791704","filename":"file1"},{"photo_id":"1351791674","filename":"file0"},{"photo_id":"1351791711","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351791674":["hashtag1","hashtag2"]},{"1351791722":["hashtag1","hashtag2"]},{"1351791704":["hashtag1","hashtag2"]},{"1351791713":["hashtag1","hashtag2"]},{"1351791709":["hashtag1","hashtag2"]},{"1351791711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351791674, 1351791722, 1351791704, 1351791713, 1351791709, 1351791711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57911658287048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:42:32.793634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/12/image_19042025_06_12_16_10343.jpg', '/home/pi/Desktop/images/19042025/06/12/image_19042025_06_12_25_9448.jpg', '/home/pi/Desktop/images/19042025/06/12/image_19042025_06_12_35_10409.jpg', '/home/pi/Desktop/images/19042025/06/12/image_19042025_06_12_55_10360.jpg', '/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_15_9419.jpg', '/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_25_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/12/image_19042025_06_12_16_10343.jpg
/home/pi/Desktop/images/19042025/06/12/image_19042025_06_12_25_9448.jpg
/home/pi/Desktop/images/19042025/06/12/image_19042025_06_12_35_10409.jpg
/home/pi/Desktop/images/19042025/06/12/image_19042025_06_12_55_10360.jpg
/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_15_9419.jpg
/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_25_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351791866","1351791860","1351791845","1351791862","1351791868","1351791864"],"photo_ids_order":["1351791845","1351791860","1351791862","1351791864","1351791866","1351791868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d36345ac421b3c7f6b989f193e5bfc7.jpg","text":"TemporaryFile(/tmp/multipartBody5018097046668763597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052213356,"filename":"image_19042025_06_13_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/19/bcb37e5986a834a1a86e15a6d9ee5bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4872948922802210253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052213356,"filename":"image_19042025_06_12_25_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1063e245d9de7148060f1dee4f9f1ce.jpg","text":"TemporaryFile(/tmp/multipartBody8405520710225464413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052213356,"filename":"image_19042025_06_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/19/b1e479399c207248f07430d071db9023.jpg","text":"TemporaryFile(/tmp/multipartBody9153592430113912087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052213356,"filename":"image_19042025_06_12_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/19/37fe6979e1534c1294c628ed13d9176a.jpg","text":"TemporaryFile(/tmp/multipartBody5624359588840821496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052213356,"filename":"image_19042025_06_13_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/19/46489f63a6371c5b0487f855dc4f625d.jpg","text":"TemporaryFile(/tmp/multipartBody5507240413185079649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052213356,"filename":"image_19042025_06_12_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351791862","file1":"1351791860","file0":"1351791845","file4":"1351791866","file5":"1351791868","file3":"1351791864"},"map_files_photo_id_array":[{"photo_id":"1351791868","filename":"file5"},{"photo_id":"1351791862","filename":"file2"},{"photo_id":"1351791866","filename":"file4"},{"photo_id":"1351791860","filename":"file1"},{"photo_id":"1351791845","filename":"file0"},{"photo_id":"1351791864","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351791866":["hashtag1","hashtag2"]},{"1351791860":["hashtag1","hashtag2"]},{"1351791845":["hashtag1","hashtag2"]},{"1351791862":["hashtag1","hashtag2"]},{"1351791868":["hashtag1","hashtag2"]},{"1351791864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351791866, 1351791860, 1351791845, 1351791862, 1351791868, 1351791864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.23739242553711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:43:33.024971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_35_9346.jpg', '/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_45_10440.jpg', '/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_55_10348.jpg', '/home/pi/Desktop/images/19042025/06/13/image_19042025_06_14_05_9392.jpg', '/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_15_10370.jpg', '/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_26_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_35_9346.jpg
/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_45_10440.jpg
/home/pi/Desktop/images/19042025/06/13/image_19042025_06_13_55_10348.jpg
/home/pi/Desktop/images/19042025/06/13/image_19042025_06_14_05_9392.jpg
/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_15_10370.jpg
/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_26_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351791995","1351792052","1351791971","1351792024","1351792050","1351791945"],"photo_ids_order":["1351791945","1351791971","1351791995","1351792024","1351792050","1351792052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e276bd40c227963c3b5adc2f7eb0f17a.jpg","text":"TemporaryFile(/tmp/multipartBody6861537939518779598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052273576,"filename":"image_19042025_06_13_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/19/4c97119102fbf30c4d4e1f5ab8eacd66.jpg","text":"TemporaryFile(/tmp/multipartBody5988259711141285385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052273576,"filename":"image_19042025_06_14_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ea2376009f9d723c3a6a0f9e2d72a42.jpg","text":"TemporaryFile(/tmp/multipartBody4698688279661633699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052273576,"filename":"image_19042025_06_13_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/19/5c45ddd609dd369b48a07faa32cebf4d.jpg","text":"TemporaryFile(/tmp/multipartBody8406285717196526736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052273576,"filename":"image_19042025_06_14_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/18dc9d878be80ce6262c49b7742ec22d.jpg","text":"TemporaryFile(/tmp/multipartBody4756426945118535259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052273576,"filename":"image_19042025_06_14_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee8da813d0956f41a33f325e6eb4f247.jpg","text":"TemporaryFile(/tmp/multipartBody668945287202910510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052273576,"filename":"image_19042025_06_13_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351791995","file1":"1351791971","file0":"1351791945","file4":"1351792050","file5":"1351792052","file3":"1351792024"},"map_files_photo_id_array":[{"photo_id":"1351792052","filename":"file5"},{"photo_id":"1351791995","filename":"file2"},{"photo_id":"1351792050","filename":"file4"},{"photo_id":"1351791971","filename":"file1"},{"photo_id":"1351791945","filename":"file0"},{"photo_id":"1351792024","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351791995":["hashtag1","hashtag2"]},{"1351792052":["hashtag1","hashtag2"]},{"1351791971":["hashtag1","hashtag2"]},{"1351792024":["hashtag1","hashtag2"]},{"1351792050":["hashtag1","hashtag2"]},{"1351791945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351791995, 1351792052, 1351791971, 1351792024, 1351792050, 1351791945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.08046841621399 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:44:32.369715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_35_9438.jpg', '/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_45_10387.jpg', '/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_55_9433.jpg', '/home/pi/Desktop/images/19042025/06/14/image_19042025_06_15_05_10362.jpg', '/home/pi/Desktop/images/19042025/06/15/image_19042025_06_15_16_10353.jpg', '/home/pi/Desktop/images/19042025/06/15/image_19042025_06_15_25_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_35_9438.jpg
/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_45_10387.jpg
/home/pi/Desktop/images/19042025/06/14/image_19042025_06_14_55_9433.jpg
/home/pi/Desktop/images/19042025/06/14/image_19042025_06_15_05_10362.jpg
/home/pi/Desktop/images/19042025/06/15/image_19042025_06_15_16_10353.jpg
/home/pi/Desktop/images/19042025/06/15/image_19042025_06_15_25_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351792069","1351792150","1351792072","1351792074","1351792212","1351792076"],"photo_ids_order":["1351792069","1351792072","1351792074","1351792076","1351792150","1351792212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d2d0d3cb85cf2320944491875fddf366.jpg","text":"TemporaryFile(/tmp/multipartBody514547116268081197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052332916,"filename":"image_19042025_06_14_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a2b98be4a4e86bde0187edc5bf6ae17.jpg","text":"TemporaryFile(/tmp/multipartBody7431987553632906999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052332916,"filename":"image_19042025_06_15_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/19/067b03040adc6038bf7d8523279939bc.jpg","text":"TemporaryFile(/tmp/multipartBody342792644266259916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052332916,"filename":"image_19042025_06_14_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/19/07b0ae1347a55f45b918336db6858e74.jpg","text":"TemporaryFile(/tmp/multipartBody5763845217801109335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052332916,"filename":"image_19042025_06_14_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/19/59c5d7f9dad31898caf0b6ce12a03a42.jpg","text":"TemporaryFile(/tmp/multipartBody3368719771606395628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052332916,"filename":"image_19042025_06_15_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/19/5659e900adeda34d538d31012c87ee93.jpg","text":"TemporaryFile(/tmp/multipartBody6376702611824270132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052332916,"filename":"image_19042025_06_15_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351792074","file1":"1351792072","file0":"1351792069","file4":"1351792150","file5":"1351792212","file3":"1351792076"},"map_files_photo_id_array":[{"photo_id":"1351792212","filename":"file5"},{"photo_id":"1351792074","filename":"file2"},{"photo_id":"1351792150","filename":"file4"},{"photo_id":"1351792072","filename":"file1"},{"photo_id":"1351792069","filename":"file0"},{"photo_id":"1351792076","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351792069":["hashtag1","hashtag2"]},{"1351792150":["hashtag1","hashtag2"]},{"1351792072":["hashtag1","hashtag2"]},{"1351792074":["hashtag1","hashtag2"]},{"1351792212":["hashtag1","hashtag2"]},{"1351792076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351792069, 1351792150, 1351792072, 1351792074, 1351792212, 1351792076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85590410232544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:45:32.538521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/15/image_19042025_06_15_35_10440.jpg', '/home/pi/Desktop/images/19042025/06/15/image_19042025_06_15_55_10336.jpg', '/home/pi/Desktop/images/19042025/06/15/image_19042025_06_16_06_10349.jpg', '/home/pi/Desktop/images/19042025/06/16/image_19042025_06_16_15_9349.jpg', '/home/pi/Desktop/images/19042025/06/16/image_19042025_06_16_25_10450.jpg', '/home/pi/Desktop/images/19042025/06/16/image_19042025_06_16_35_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/15/image_19042025_06_15_35_10440.jpg
/home/pi/Desktop/images/19042025/06/15/image_19042025_06_15_55_10336.jpg
/home/pi/Desktop/images/19042025/06/15/image_19042025_06_16_06_10349.jpg
/home/pi/Desktop/images/19042025/06/16/image_19042025_06_16_15_9349.jpg
/home/pi/Desktop/images/19042025/06/16/image_19042025_06_16_25_10450.jpg
/home/pi/Desktop/images/19042025/06/16/image_19042025_06_16_35_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351792262","1351792265","1351792259","1351792261","1351792264","1351792257"],"photo_ids_order":["1351792257","1351792259","1351792261","1351792262","1351792264","1351792265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9c9bcfd95164a19dbfa91ce11aaaab06.jpg","text":"TemporaryFile(/tmp/multipartBody8632924985784545886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052393082,"filename":"image_19042025_06_16_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/19/a61af919ab3fb52993fbd609ccd76a5e.jpg","text":"TemporaryFile(/tmp/multipartBody542270839860296168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052393082,"filename":"image_19042025_06_16_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/19/e4b7631f01370cf481ec048d5cdd6571.jpg","text":"TemporaryFile(/tmp/multipartBody8568331210028787034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052393082,"filename":"image_19042025_06_15_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/19/7f8270547669ed895d6e25b20f09b0c4.jpg","text":"TemporaryFile(/tmp/multipartBody4033855636119133650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052393082,"filename":"image_19042025_06_16_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/65ffb59909a85236387d7570bd0ad7f6.jpg","text":"TemporaryFile(/tmp/multipartBody1642066539151697621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052393082,"filename":"image_19042025_06_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/19/13a9930a14fa829abf1fabacc4f3ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody7251209136357865585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052393082,"filename":"image_19042025_06_15_35_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351792261","file1":"1351792259","file0":"1351792257","file4":"1351792264","file5":"1351792265","file3":"1351792262"},"map_files_photo_id_array":[{"photo_id":"1351792265","filename":"file5"},{"photo_id":"1351792261","filename":"file2"},{"photo_id":"1351792264","filename":"file4"},{"photo_id":"1351792259","filename":"file1"},{"photo_id":"1351792257","filename":"file0"},{"photo_id":"1351792262","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351792262":["hashtag1","hashtag2"]},{"1351792265":["hashtag1","hashtag2"]},{"1351792259":["hashtag1","hashtag2"]},{"1351792261":["hashtag1","hashtag2"]},{"1351792264":["hashtag1","hashtag2"]},{"1351792257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351792262, 1351792265, 1351792259, 1351792261, 1351792264, 1351792257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.88629174232483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:46:32.736445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/16/image_19042025_06_16_45_10433.jpg', '/home/pi/Desktop/images/19042025/06/16/image_19042025_06_17_05_9339.jpg', '/home/pi/Desktop/images/19042025/06/17/image_19042025_06_17_35_9405.jpg', '/home/pi/Desktop/images/19042025/06/17/image_19042025_06_17_45_10397.jpg', '/home/pi/Desktop/images/19042025/06/17/image_19042025_06_17_55_10361.jpg', '/home/pi/Desktop/images/19042025/06/17/image_19042025_06_18_05_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/16/image_19042025_06_16_45_10433.jpg
/home/pi/Desktop/images/19042025/06/16/image_19042025_06_17_05_9339.jpg
/home/pi/Desktop/images/19042025/06/17/image_19042025_06_17_35_9405.jpg
/home/pi/Desktop/images/19042025/06/17/image_19042025_06_17_45_10397.jpg
/home/pi/Desktop/images/19042025/06/17/image_19042025_06_17_55_10361.jpg
/home/pi/Desktop/images/19042025/06/17/image_19042025_06_18_05_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351792286","1351792304","1351792297","1351792282","1351792300","1351792302"],"photo_ids_order":["1351792282","1351792286","1351792297","1351792300","1351792302","1351792304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8286a231af8b6c3b45b6a537ac3ad52a.jpg","text":"TemporaryFile(/tmp/multipartBody7816047009847559255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052453306,"filename":"image_19042025_06_17_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/19/dd0a4891289d9ed9b6a05d1f5bb7c787.jpg","text":"TemporaryFile(/tmp/multipartBody1380377109581011508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052453306,"filename":"image_19042025_06_18_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a017c212e0118db96d6bee4b035cb27.jpg","text":"TemporaryFile(/tmp/multipartBody2030984751340366942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052453306,"filename":"image_19042025_06_17_35_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/19/ad2ee81d31aba197549e762b2f22cc20.jpg","text":"TemporaryFile(/tmp/multipartBody6420290912638402304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052453306,"filename":"image_19042025_06_16_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/19/5b556bc28233e7da8f162e4ba7cabb6a.jpg","text":"TemporaryFile(/tmp/multipartBody2204974090565612386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052453306,"filename":"image_19042025_06_17_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/19/ed6209658fbc07b32ffe3b2381a22bdf.jpg","text":"TemporaryFile(/tmp/multipartBody471302359310028710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052453306,"filename":"image_19042025_06_17_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351792297","file1":"1351792286","file0":"1351792282","file4":"1351792302","file5":"1351792304","file3":"1351792300"},"map_files_photo_id_array":[{"photo_id":"1351792304","filename":"file5"},{"photo_id":"1351792297","filename":"file2"},{"photo_id":"1351792302","filename":"file4"},{"photo_id":"1351792286","filename":"file1"},{"photo_id":"1351792282","filename":"file0"},{"photo_id":"1351792300","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351792286":["hashtag1","hashtag2"]},{"1351792304":["hashtag1","hashtag2"]},{"1351792297":["hashtag1","hashtag2"]},{"1351792282":["hashtag1","hashtag2"]},{"1351792300":["hashtag1","hashtag2"]},{"1351792302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351792286, 1351792304, 1351792297, 1351792282, 1351792300, 1351792302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.6340172290802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:47:33.108917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_15_10451.jpg', '/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_25_9363.jpg', '/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_35_10371.jpg', '/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_45_10360.jpg', '/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_55_9351.jpg', '/home/pi/Desktop/images/19042025/06/18/image_19042025_06_19_05_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_15_10451.jpg
/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_25_9363.jpg
/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_35_10371.jpg
/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_45_10360.jpg
/home/pi/Desktop/images/19042025/06/18/image_19042025_06_18_55_9351.jpg
/home/pi/Desktop/images/19042025/06/18/image_19042025_06_19_05_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":["1351792597","1351792441","1351792438","1351792566","1351792539","1351792506"],"photo_ids_order":["1351792438","1351792441","1351792506","1351792539","1351792566","1351792597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3eabc15ccee6b50a0542ecf23b68349a.jpg","text":"TemporaryFile(/tmp/multipartBody8287083737910984523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052513648,"filename":"image_19042025_06_19_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/19/24794a5e1eb11616856629fca7738c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1545115947231734887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052513648,"filename":"image_19042025_06_18_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/18e5b48246502b62a7a5c264b56a2821.jpg","text":"TemporaryFile(/tmp/multipartBody8038153983551783349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052513648,"filename":"image_19042025_06_18_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/19/7a7795750b7489e2764b3a27990e1465.jpg","text":"TemporaryFile(/tmp/multipartBody8700716001502740129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052513648,"filename":"image_19042025_06_18_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/19/5f547df0185050efdcc64f91e54bb1fc.jpg","text":"TemporaryFile(/tmp/multipartBody8151453692740277929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052513648,"filename":"image_19042025_06_18_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/19/c35c51772d13fa2d692d1329efb244c0.jpg","text":"TemporaryFile(/tmp/multipartBody7781138414047919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052513648,"filename":"image_19042025_06_18_35_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351792506","file1":"1351792441","file0":"1351792438","file4":"1351792566","file5":"1351792597","file3":"1351792539"},"map_files_photo_id_array":[{"photo_id":"1351792597","filename":"file5"},{"photo_id":"1351792506","filename":"file2"},{"photo_id":"1351792566","filename":"file4"},{"photo_id":"1351792441","filename":"file1"},{"photo_id":"1351792438","filename":"file0"},{"photo_id":"1351792539","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351792597":["hashtag1","hashtag2"]},{"1351792441":["hashtag1","hashtag2"]},{"1351792438":["hashtag1","hashtag2"]},{"1351792566":["hashtag1","hashtag2"]},{"1351792539":["hashtag1","hashtag2"]},{"1351792506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351792597, 1351792441, 1351792438, 1351792566, 1351792539, 1351792506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.752244472503662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:48:32.289956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/19/image_19042025_06_19_15_10358.jpg', '/home/pi/Desktop/images/19042025/06/19/image_19042025_06_19_46_10370.jpg', '/home/pi/Desktop/images/19042025/06/19/image_19042025_06_19_55_9411.jpg', '/home/pi/Desktop/images/19042025/06/19/image_19042025_06_20_05_10364.jpg', '/home/pi/Desktop/images/19042025/06/20/image_19042025_06_20_25_10358.jpg', '/home/pi/Desktop/images/19042025/06/20/image_19042025_06_20_45_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/19/image_19042025_06_19_15_10358.jpg
/home/pi/Desktop/images/19042025/06/19/image_19042025_06_19_46_10370.jpg
/home/pi/Desktop/images/19042025/06/19/image_19042025_06_19_55_9411.jpg
/home/pi/Desktop/images/19042025/06/19/image_19042025_06_20_05_10364.jpg
/home/pi/Desktop/images/19042025/06/20/image_19042025_06_20_25_10358.jpg
/home/pi/Desktop/images/19042025/06/20/image_19042025_06_20_45_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":["1351792658","1351792643","1351792675","1351792692","1351792683","1351792650"],"photo_ids_order":["1351792643","1351792650","1351792658","1351792675","1351792683","1351792692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6b8b99d201641f922b83d8cd2e0464c.jpg","text":"TemporaryFile(/tmp/multipartBody4552203443333487077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052572838,"filename":"image_19042025_06_19_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/19/eda19ea195d811aa30297abddeac7b90.jpg","text":"TemporaryFile(/tmp/multipartBody5402734223695916247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052572838,"filename":"image_19042025_06_19_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/69edac25f3d5737846e6623d419def33.jpg","text":"TemporaryFile(/tmp/multipartBody8639518399804023899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052572838,"filename":"image_19042025_06_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/19/ae2e41d076cc7e8043408ba018647864.jpg","text":"TemporaryFile(/tmp/multipartBody1784913018569425942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052572838,"filename":"image_19042025_06_20_45_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba72a23ef82f35fb60e18b95a814ca27.jpg","text":"TemporaryFile(/tmp/multipartBody2479112266687122325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052572838,"filename":"image_19042025_06_20_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/19/b8edefa351aa0f96f50fab218785c7ac.jpg","text":"TemporaryFile(/tmp/multipartBody3859260207795827280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052572838,"filename":"image_19042025_06_19_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351792658","file1":"1351792650","file0":"1351792643","file4":"1351792683","file5":"1351792692","file3":"1351792675"},"map_files_photo_id_array":[{"photo_id":"1351792692","filename":"file5"},{"photo_id":"1351792658","filename":"file2"},{"photo_id":"1351792683","filename":"file4"},{"photo_id":"1351792650","filename":"file1"},{"photo_id":"1351792643","filename":"file0"},{"photo_id":"1351792675","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351792658":["hashtag1","hashtag2"]},{"1351792643":["hashtag1","hashtag2"]},{"1351792675":["hashtag1","hashtag2"]},{"1351792692":["hashtag1","hashtag2"]},{"1351792683":["hashtag1","hashtag2"]},{"1351792650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351792658, 1351792643, 1351792675, 1351792692, 1351792683, 1351792650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18859028816223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:49:32.581226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/20/image_19042025_06_20_55_10352.jpg', '/home/pi/Desktop/images/19042025/06/20/image_19042025_06_21_05_9360.jpg', '/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_15_10362.jpg', '/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_25_10354.jpg', '/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_35_9358.jpg', '/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_45_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/20/image_19042025_06_20_55_10352.jpg
/home/pi/Desktop/images/19042025/06/20/image_19042025_06_21_05_9360.jpg
/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_15_10362.jpg
/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_25_10354.jpg
/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_35_9358.jpg
/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_45_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351792864","1351792810","1351792903","1351792767","1351792740","1351792938"],"photo_ids_order":["1351792740","1351792767","1351792810","1351792864","1351792903","1351792938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e300b7bedcea50ec243e7c0d2a5f2f45.jpg","text":"TemporaryFile(/tmp/multipartBody912347392096877068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052633130,"filename":"image_19042025_06_21_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/19/1f8503da959a5216a44a2cfed630ca5a.jpg","text":"TemporaryFile(/tmp/multipartBody5984559509986885670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052633130,"filename":"image_19042025_06_21_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9791f19167292844fa5c7d68f5c5f249.jpg","text":"TemporaryFile(/tmp/multipartBody1352661165594911525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052633130,"filename":"image_19042025_06_21_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/19/1015ab546070f50bbf122ade32491fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7280696102417593544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052633130,"filename":"image_19042025_06_21_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4c52227607b66737ec9420fd76a37fc.jpg","text":"TemporaryFile(/tmp/multipartBody4376926751747375081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052633130,"filename":"image_19042025_06_20_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0950c332acd6dd9f76bdd0737f9bbece.jpg","text":"TemporaryFile(/tmp/multipartBody8768778003418699736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052633130,"filename":"image_19042025_06_21_45_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351792810","file1":"1351792767","file0":"1351792740","file4":"1351792903","file5":"1351792938","file3":"1351792864"},"map_files_photo_id_array":[{"photo_id":"1351792938","filename":"file5"},{"photo_id":"1351792810","filename":"file2"},{"photo_id":"1351792903","filename":"file4"},{"photo_id":"1351792767","filename":"file1"},{"photo_id":"1351792740","filename":"file0"},{"photo_id":"1351792864","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351792864":["hashtag1","hashtag2"]},{"1351792810":["hashtag1","hashtag2"]},{"1351792903":["hashtag1","hashtag2"]},{"1351792767":["hashtag1","hashtag2"]},{"1351792740":["hashtag1","hashtag2"]},{"1351792938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351792864, 1351792810, 1351792903, 1351792767, 1351792740, 1351792938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.611777782440186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:50:32.831312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_55_10346.jpg', '/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_15_10339.jpg', '/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_26_10365.jpg', '/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_35_9368.jpg', '/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_45_10443.jpg', '/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_55_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/21/image_19042025_06_21_55_10346.jpg
/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_15_10339.jpg
/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_26_10365.jpg
/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_35_9368.jpg
/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_45_10443.jpg
/home/pi/Desktop/images/19042025/06/22/image_19042025_06_22_55_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351792973","1351792990","1351792987","1351792981","1351792984","1351792978"],"photo_ids_order":["1351792973","1351792978","1351792981","1351792984","1351792987","1351792990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3c11810cf60a3dbfa981ca28f85ca292.jpg","text":"TemporaryFile(/tmp/multipartBody4475276148059439537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052693373,"filename":"image_19042025_06_21_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/19/4737bacaa15635f45f6c0fb1f7f27141.jpg","text":"TemporaryFile(/tmp/multipartBody6919084813413149407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052693373,"filename":"image_19042025_06_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/19/57240b281f2d6986390baafd8c22c8a7.jpg","text":"TemporaryFile(/tmp/multipartBody3532031310535305755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052693373,"filename":"image_19042025_06_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/19/be929da765e83dcd09f3dca2478c692a.jpg","text":"TemporaryFile(/tmp/multipartBody7718380384736225906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052693373,"filename":"image_19042025_06_22_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/19/9dac0a1556c3a17dfc67cac876c8d6f2.jpg","text":"TemporaryFile(/tmp/multipartBody1758843639290028997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052693373,"filename":"image_19042025_06_22_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d065af373c8bd1a452fd498180a2f51.jpg","text":"TemporaryFile(/tmp/multipartBody8891782176084134325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052693373,"filename":"image_19042025_06_22_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351792981","file1":"1351792978","file0":"1351792973","file4":"1351792987","file5":"1351792990","file3":"1351792984"},"map_files_photo_id_array":[{"photo_id":"1351792990","filename":"file5"},{"photo_id":"1351792981","filename":"file2"},{"photo_id":"1351792987","filename":"file4"},{"photo_id":"1351792978","filename":"file1"},{"photo_id":"1351792973","filename":"file0"},{"photo_id":"1351792984","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351792973":["hashtag1","hashtag2"]},{"1351792990":["hashtag1","hashtag2"]},{"1351792987":["hashtag1","hashtag2"]},{"1351792981":["hashtag1","hashtag2"]},{"1351792984":["hashtag1","hashtag2"]},{"1351792978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351792973, 1351792990, 1351792987, 1351792981, 1351792984, 1351792978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.204933643341064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:51:33.114037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/22/image_19042025_06_23_05_10361.jpg', '/home/pi/Desktop/images/19042025/06/23/image_19042025_06_23_25_9447.jpg', '/home/pi/Desktop/images/19042025/06/23/image_19042025_06_23_35_10347.jpg', '/home/pi/Desktop/images/19042025/06/23/image_19042025_06_23_45_9472.jpg', '/home/pi/Desktop/images/19042025/06/23/image_19042025_06_23_55_10402.jpg', '/home/pi/Desktop/images/19042025/06/23/image_19042025_06_24_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/22/image_19042025_06_23_05_10361.jpg
/home/pi/Desktop/images/19042025/06/23/image_19042025_06_23_25_9447.jpg
/home/pi/Desktop/images/19042025/06/23/image_19042025_06_23_35_10347.jpg
/home/pi/Desktop/images/19042025/06/23/image_19042025_06_23_45_9472.jpg
/home/pi/Desktop/images/19042025/06/23/image_19042025_06_23_55_10402.jpg
/home/pi/Desktop/images/19042025/06/23/image_19042025_06_24_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351793074","1351793083","1351793077","1351793079","1351793087","1351793090"],"photo_ids_order":["1351793074","1351793077","1351793079","1351793083","1351793087","1351793090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9b6f19ee15f0aa2b188ab9d135320e6.jpg","text":"TemporaryFile(/tmp/multipartBody7200670630474427643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052753655,"filename":"image_19042025_06_23_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/19/83009be1506f90a57970819b43c3ab65.jpg","text":"TemporaryFile(/tmp/multipartBody5614519585984092161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052753655,"filename":"image_19042025_06_23_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/19/8399b664fcdc474004efcd3c87c39750.jpg","text":"TemporaryFile(/tmp/multipartBody8871713562440715023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052753655,"filename":"image_19042025_06_23_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/19/32046d0b4d2bea16acab511b615470cd.jpg","text":"TemporaryFile(/tmp/multipartBody9187849745829142266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052753655,"filename":"image_19042025_06_23_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/19/b564469d86e812f1b38afa2d8b7461df.jpg","text":"TemporaryFile(/tmp/multipartBody3782926352172019121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052753655,"filename":"image_19042025_06_23_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4834f2b5441ea8998485e92eb25497ab.jpg","text":"TemporaryFile(/tmp/multipartBody5346896729257442741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052753655,"filename":"image_19042025_06_24_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351793079","file1":"1351793077","file0":"1351793074","file4":"1351793087","file5":"1351793090","file3":"1351793083"},"map_files_photo_id_array":[{"photo_id":"1351793090","filename":"file5"},{"photo_id":"1351793079","filename":"file2"},{"photo_id":"1351793087","filename":"file4"},{"photo_id":"1351793077","filename":"file1"},{"photo_id":"1351793074","filename":"file0"},{"photo_id":"1351793083","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351793074":["hashtag1","hashtag2"]},{"1351793083":["hashtag1","hashtag2"]},{"1351793077":["hashtag1","hashtag2"]},{"1351793079":["hashtag1","hashtag2"]},{"1351793087":["hashtag1","hashtag2"]},{"1351793090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351793074, 1351793083, 1351793077, 1351793079, 1351793087, 1351793090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.353535890579224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:52:32.230807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_15_9383.jpg', '/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_25_10388.jpg', '/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_35_9352.jpg', '/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_45_10422.jpg', '/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_55_10116.jpg', '/home/pi/Desktop/images/19042025/06/24/image_19042025_06_25_06_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_15_9383.jpg
/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_25_10388.jpg
/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_35_9352.jpg
/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_45_10422.jpg
/home/pi/Desktop/images/19042025/06/24/image_19042025_06_24_55_10116.jpg
/home/pi/Desktop/images/19042025/06/24/image_19042025_06_25_06_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351793204","1351793216","1351793201","1351793211","1351793208","1351793198"],"photo_ids_order":["1351793198","1351793201","1351793204","1351793208","1351793211","1351793216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/edd5d8a4496bb065b0fda1fca3dbee6a.jpg","text":"TemporaryFile(/tmp/multipartBody1156449786830401120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052812787,"filename":"image_19042025_06_24_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/19/0a0a53a67d645c9379e2a7a6f84f155d.jpg","text":"TemporaryFile(/tmp/multipartBody1971876127047613511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052812787,"filename":"image_19042025_06_25_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/19/132cb3ededd4ca78e0f829b6459995ba.jpg","text":"TemporaryFile(/tmp/multipartBody4763354369938083993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052812787,"filename":"image_19042025_06_24_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/19/209321c4f00c516ab864828d78df530e.jpg","text":"TemporaryFile(/tmp/multipartBody4529513716157699308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052812787,"filename":"image_19042025_06_24_55_10116.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1637da541690b15fda4965436d4c2ce9.jpg","text":"TemporaryFile(/tmp/multipartBody604956345125783301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052812787,"filename":"image_19042025_06_24_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d51927dfc56c23ed34a0915f84f6212d.jpg","text":"TemporaryFile(/tmp/multipartBody6063260641802771648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052812787,"filename":"image_19042025_06_24_15_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351793204","file1":"1351793201","file0":"1351793198","file4":"1351793211","file5":"1351793216","file3":"1351793208"},"map_files_photo_id_array":[{"photo_id":"1351793216","filename":"file5"},{"photo_id":"1351793204","filename":"file2"},{"photo_id":"1351793211","filename":"file4"},{"photo_id":"1351793201","filename":"file1"},{"photo_id":"1351793198","filename":"file0"},{"photo_id":"1351793208","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351793204":["hashtag1","hashtag2"]},{"1351793216":["hashtag1","hashtag2"]},{"1351793201":["hashtag1","hashtag2"]},{"1351793211":["hashtag1","hashtag2"]},{"1351793208":["hashtag1","hashtag2"]},{"1351793198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351793204, 1351793216, 1351793201, 1351793211, 1351793208, 1351793198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.268128395080566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:53:32.456577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_15_9450.jpg', '/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_25_10340.jpg', '/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_35_9491.jpg', '/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_45_10451.jpg', '/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_55_9350.jpg', '/home/pi/Desktop/images/19042025/06/25/image_19042025_06_26_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_15_9450.jpg
/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_25_10340.jpg
/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_35_9491.jpg
/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_45_10451.jpg
/home/pi/Desktop/images/19042025/06/25/image_19042025_06_25_55_9350.jpg
/home/pi/Desktop/images/19042025/06/25/image_19042025_06_26_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":["1351793312","1351793299","1351793290","1351793251","1351793262","1351793271"],"photo_ids_order":["1351793251","1351793262","1351793271","1351793290","1351793299","1351793312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2013e8fae7f9b922aaae8eefe60400fa.jpg","text":"TemporaryFile(/tmp/multipartBody3044486846374712060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052873052,"filename":"image_19042025_06_26_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/19/e4cdcaeb99a151e057a046ad0b1b21fb.jpg","text":"TemporaryFile(/tmp/multipartBody4732870895674897219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052873052,"filename":"image_19042025_06_25_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a59d3801782b047ac657491b5dc32ede.jpg","text":"TemporaryFile(/tmp/multipartBody3858243690380481846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052873052,"filename":"image_19042025_06_25_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/142c862a062a7c36c21dd9742ead748c.jpg","text":"TemporaryFile(/tmp/multipartBody5178714020210978071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052873052,"filename":"image_19042025_06_25_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/19/447fff58bba1a5c05427a70cd38c8920.jpg","text":"TemporaryFile(/tmp/multipartBody6080373941696688974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052873052,"filename":"image_19042025_06_25_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/19/efffa4fe85f7147f5a16185ba73b4395.jpg","text":"TemporaryFile(/tmp/multipartBody1547890016293893327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052873052,"filename":"image_19042025_06_25_35_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351793271","file1":"1351793262","file0":"1351793251","file4":"1351793299","file5":"1351793312","file3":"1351793290"},"map_files_photo_id_array":[{"photo_id":"1351793312","filename":"file5"},{"photo_id":"1351793271","filename":"file2"},{"photo_id":"1351793299","filename":"file4"},{"photo_id":"1351793262","filename":"file1"},{"photo_id":"1351793251","filename":"file0"},{"photo_id":"1351793290","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351793312":["hashtag1","hashtag2"]},{"1351793299":["hashtag1","hashtag2"]},{"1351793290":["hashtag1","hashtag2"]},{"1351793251":["hashtag1","hashtag2"]},{"1351793262":["hashtag1","hashtag2"]},{"1351793271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351793312, 1351793299, 1351793290, 1351793251, 1351793262, 1351793271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.114903450012207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:54:32.736624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_15_10339.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_25_9338.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_35_10430.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_46_10381.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_55_9469.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_27_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_15_10339.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_25_9338.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_35_10430.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_46_10381.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_55_9469.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_27_05_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.47743725776672363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 10:54:42.716817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_15_10339.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_25_9338.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_35_10430.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_46_10381.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_55_9469.jpg', '/home/pi/Desktop/images/19042025/06/26/image_19042025_06_27_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_15_10339.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_25_9338.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_35_10430.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_46_10381.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_26_55_9469.jpg
/home/pi/Desktop/images/19042025/06/26/image_19042025_06_27_05_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351793368","1351793353","1351793361","1351793364","1351793366","1351793357"],"photo_ids_order":["1351793353","1351793357","1351793361","1351793364","1351793366","1351793368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2c45c174c2ba418e27e4428ff69eade4.jpg","text":"TemporaryFile(/tmp/multipartBody4495906622072493787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052943185,"filename":"image_19042025_06_27_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d81224a768beb9f4c81077ac7984385c.jpg","text":"TemporaryFile(/tmp/multipartBody1454815741160118448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052943185,"filename":"image_19042025_06_26_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/19/b5f9fee702a74f7dc20ec44609f094da.jpg","text":"TemporaryFile(/tmp/multipartBody3031673513897487360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052943185,"filename":"image_19042025_06_26_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/19/3ecca852899a8a9554ff85dcb215133e.jpg","text":"TemporaryFile(/tmp/multipartBody6929925845445713215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052943185,"filename":"image_19042025_06_26_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/19/21f415042fe36cd8806017829b76aeb0.jpg","text":"TemporaryFile(/tmp/multipartBody855896125496160510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052943185,"filename":"image_19042025_06_26_55_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29b2614a0a4711e7ce828d403b647f18.jpg","text":"TemporaryFile(/tmp/multipartBody7340232038481799890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052943185,"filename":"image_19042025_06_26_25_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351793361","file1":"1351793357","file0":"1351793353","file4":"1351793366","file5":"1351793368","file3":"1351793364"},"map_files_photo_id_array":[{"photo_id":"1351793368","filename":"file5"},{"photo_id":"1351793361","filename":"file2"},{"photo_id":"1351793366","filename":"file4"},{"photo_id":"1351793357","filename":"file1"},{"photo_id":"1351793353","filename":"file0"},{"photo_id":"1351793364","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351793368":["hashtag1","hashtag2"]},{"1351793353":["hashtag1","hashtag2"]},{"1351793361":["hashtag1","hashtag2"]},{"1351793364":["hashtag1","hashtag2"]},{"1351793366":["hashtag1","hashtag2"]},{"1351793357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351793368, 1351793353, 1351793361, 1351793364, 1351793366, 1351793357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.059354782104492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:55:32.799769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/27/image_19042025_06_27_15_9338.jpg', '/home/pi/Desktop/images/19042025/06/27/image_19042025_06_27_25_10429.jpg', '/home/pi/Desktop/images/19042025/06/27/image_19042025_06_27_35_10338.jpg', '/home/pi/Desktop/images/19042025/06/27/image_19042025_06_27_45_9384.jpg', '/home/pi/Desktop/images/19042025/06/28/image_19042025_06_28_15_9437.jpg', '/home/pi/Desktop/images/19042025/06/28/image_19042025_06_28_25_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/27/image_19042025_06_27_15_9338.jpg
/home/pi/Desktop/images/19042025/06/27/image_19042025_06_27_25_10429.jpg
/home/pi/Desktop/images/19042025/06/27/image_19042025_06_27_35_10338.jpg
/home/pi/Desktop/images/19042025/06/27/image_19042025_06_27_45_9384.jpg
/home/pi/Desktop/images/19042025/06/28/image_19042025_06_28_15_9437.jpg
/home/pi/Desktop/images/19042025/06/28/image_19042025_06_28_25_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351793431","1351793433","1351793427","1351793465","1351793459","1351793429"],"photo_ids_order":["1351793427","1351793429","1351793431","1351793433","1351793459","1351793465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4d8c62783eca10f7d3a95dce482fb6d.jpg","text":"TemporaryFile(/tmp/multipartBody3246106954109363710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052993342,"filename":"image_19042025_06_27_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b818746dd17af5feb05aa79a597e13e3.jpg","text":"TemporaryFile(/tmp/multipartBody1688587402241555736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052993342,"filename":"image_19042025_06_27_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/19/5ac5d433d1df643d7e90accc0c2f0430.jpg","text":"TemporaryFile(/tmp/multipartBody753552197590318711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052993342,"filename":"image_19042025_06_27_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/19/46a6b7c420c32fb8b17b836e8b8b8542.jpg","text":"TemporaryFile(/tmp/multipartBody7635779989236028788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052993342,"filename":"image_19042025_06_28_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/834094f24d7009063a1f4a535fccf958.jpg","text":"TemporaryFile(/tmp/multipartBody4039686638653306735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052993342,"filename":"image_19042025_06_28_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d8e07e60ac902e190cbc9d4d0eeeac5.jpg","text":"TemporaryFile(/tmp/multipartBody790110562521711082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745052993342,"filename":"image_19042025_06_27_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351793431","file1":"1351793429","file0":"1351793427","file4":"1351793459","file5":"1351793465","file3":"1351793433"},"map_files_photo_id_array":[{"photo_id":"1351793465","filename":"file5"},{"photo_id":"1351793431","filename":"file2"},{"photo_id":"1351793459","filename":"file4"},{"photo_id":"1351793429","filename":"file1"},{"photo_id":"1351793427","filename":"file0"},{"photo_id":"1351793433","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351793431":["hashtag1","hashtag2"]},{"1351793433":["hashtag1","hashtag2"]},{"1351793427":["hashtag1","hashtag2"]},{"1351793465":["hashtag1","hashtag2"]},{"1351793459":["hashtag1","hashtag2"]},{"1351793429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351793431, 1351793433, 1351793427, 1351793465, 1351793459, 1351793429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73007535934448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:56:33.194669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/28/image_19042025_06_28_35_9425.jpg', '/home/pi/Desktop/images/19042025/06/28/image_19042025_06_28_45_10349.jpg', '/home/pi/Desktop/images/19042025/06/28/image_19042025_06_29_05_9435.jpg', '/home/pi/Desktop/images/19042025/06/29/image_19042025_06_29_15_10329.jpg', '/home/pi/Desktop/images/19042025/06/29/image_19042025_06_30_05_10369.jpg', '/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/28/image_19042025_06_28_35_9425.jpg
/home/pi/Desktop/images/19042025/06/28/image_19042025_06_28_45_10349.jpg
/home/pi/Desktop/images/19042025/06/28/image_19042025_06_29_05_9435.jpg
/home/pi/Desktop/images/19042025/06/29/image_19042025_06_29_15_10329.jpg
/home/pi/Desktop/images/19042025/06/29/image_19042025_06_30_05_10369.jpg
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_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":["1351793720","1351793714","1351793609","1351793717","1351793677","1351793710"],"photo_ids_order":["1351793609","1351793677","1351793710","1351793714","1351793717","1351793720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d0993806e074863324bbfa446301e05.jpg","text":"TemporaryFile(/tmp/multipartBody8934544589437782849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053053744,"filename":"image_19042025_06_30_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/19/604e2575a2689d414e47816477ae4856.jpg","text":"TemporaryFile(/tmp/multipartBody7738563012933510844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053053744,"filename":"image_19042025_06_29_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/42c4790fec6984d56ce07f6a923fbebb.jpg","text":"TemporaryFile(/tmp/multipartBody4873079926583579554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053053744,"filename":"image_19042025_06_28_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/207c1e17cae6ed36cb6f4cd1cfa27f83.jpg","text":"TemporaryFile(/tmp/multipartBody8367139181554893705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053053744,"filename":"image_19042025_06_30_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/19/5e055e41e2142b6bfcc68ec266df15bc.jpg","text":"TemporaryFile(/tmp/multipartBody227979753363359985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053053744,"filename":"image_19042025_06_28_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/19/75d9e3b8e1cca58f4ab0eed4086ca57d.jpg","text":"TemporaryFile(/tmp/multipartBody5429799308809528926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053053744,"filename":"image_19042025_06_29_05_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351793710","file1":"1351793677","file0":"1351793609","file4":"1351793717","file5":"1351793720","file3":"1351793714"},"map_files_photo_id_array":[{"photo_id":"1351793720","filename":"file5"},{"photo_id":"1351793710","filename":"file2"},{"photo_id":"1351793717","filename":"file4"},{"photo_id":"1351793677","filename":"file1"},{"photo_id":"1351793609","filename":"file0"},{"photo_id":"1351793714","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351793720":["hashtag1","hashtag2"]},{"1351793714":["hashtag1","hashtag2"]},{"1351793609":["hashtag1","hashtag2"]},{"1351793717":["hashtag1","hashtag2"]},{"1351793677":["hashtag1","hashtag2"]},{"1351793710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351793720, 1351793714, 1351793609, 1351793717, 1351793677, 1351793710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38077187538147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 10:57:32.430515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_25_9427.jpg', '/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_46_10348.jpg', '/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_55_9341.jpg', '/home/pi/Desktop/images/19042025/06/30/image_19042025_06_31_05_10339.jpg', '/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_16_10365.jpg', '/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_25_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_25_9427.jpg
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_46_10348.jpg
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_55_9341.jpg
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_31_05_10339.jpg
/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_16_10365.jpg
/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_25_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-19 10:59:04.710161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_25_9427.jpg', '/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_46_10348.jpg', '/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_55_9341.jpg', '/home/pi/Desktop/images/19042025/06/30/image_19042025_06_31_05_10339.jpg', '/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_16_10365.jpg', '/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_25_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_25_9427.jpg
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_46_10348.jpg
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_30_55_9341.jpg
/home/pi/Desktop/images/19042025/06/30/image_19042025_06_31_05_10339.jpg
/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_16_10365.jpg
/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_25_9458.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":["1351794316","1351794573","1351794453","1351794519","1351794426","1351794326"],"photo_ids_order":["1351794316","1351794326","1351794426","1351794453","1351794519","1351794573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e2c6a9847df9a031a0f5c36fd22129f.jpg","text":"TemporaryFile(/tmp/multipartBody1260581104242033757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053205357,"filename":"image_19042025_06_30_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/19/f375bebc8e4adb595ee422a6d91d019f.jpg","text":"TemporaryFile(/tmp/multipartBody1096836850748522768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053205357,"filename":"image_19042025_06_31_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/19/5d4ca1910dcfa9544087c14916ada8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6398825825746047561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053205357,"filename":"image_19042025_06_31_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66135143f2a77adb4c01fa2fde98f38c.jpg","text":"TemporaryFile(/tmp/multipartBody251951034358688912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053205357,"filename":"image_19042025_06_31_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/19/98001760a1373c1d5665d99de585079c.jpg","text":"TemporaryFile(/tmp/multipartBody1826558589123575234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053205357,"filename":"image_19042025_06_30_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/19/e938816eeec13a8debd233e5132f7549.jpg","text":"TemporaryFile(/tmp/multipartBody8381311641561037180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053205357,"filename":"image_19042025_06_30_46_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351794426","file1":"1351794326","file0":"1351794316","file4":"1351794519","file5":"1351794573","file3":"1351794453"},"map_files_photo_id_array":[{"photo_id":"1351794573","filename":"file5"},{"photo_id":"1351794426","filename":"file2"},{"photo_id":"1351794519","filename":"file4"},{"photo_id":"1351794326","filename":"file1"},{"photo_id":"1351794316","filename":"file0"},{"photo_id":"1351794453","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351794316":["hashtag1","hashtag2"]},{"1351794573":["hashtag1","hashtag2"]},{"1351794453":["hashtag1","hashtag2"]},{"1351794519":["hashtag1","hashtag2"]},{"1351794426":["hashtag1","hashtag2"]},{"1351794326":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351794316, 1351794573, 1351794453, 1351794519, 1351794426, 1351794326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.18966698646545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:00:32.217825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_35_10404.jpg', '/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_45_9401.jpg', '/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_55_10366.jpg', '/home/pi/Desktop/images/19042025/06/31/image_19042025_06_32_06_10337.jpg', '/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_15_9331.jpg', '/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_25_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_35_10404.jpg
/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_45_9401.jpg
/home/pi/Desktop/images/19042025/06/31/image_19042025_06_31_55_10366.jpg
/home/pi/Desktop/images/19042025/06/31/image_19042025_06_32_06_10337.jpg
/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_15_9331.jpg
/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_25_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351794964","1351794850","1351794990","1351794936","1351794879","1351794908"],"photo_ids_order":["1351794850","1351794879","1351794908","1351794936","1351794964","1351794990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc6547047206506c5450609a1f147245.jpg","text":"TemporaryFile(/tmp/multipartBody8089222580994163739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053292763,"filename":"image_19042025_06_32_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/271706c41a131b955831074572f23dbf.jpg","text":"TemporaryFile(/tmp/multipartBody2246442155887006819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053292763,"filename":"image_19042025_06_31_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/19/2a13d1b0337a9258dbef675bd3395165.jpg","text":"TemporaryFile(/tmp/multipartBody7736117954841969903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053292763,"filename":"image_19042025_06_32_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/19/e24272b732c9ff9284a26dd4d625fe10.jpg","text":"TemporaryFile(/tmp/multipartBody4703713517657438739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053292763,"filename":"image_19042025_06_32_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28d780b19afadba36df3e853ede095b0.jpg","text":"TemporaryFile(/tmp/multipartBody2280722581959868946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053292763,"filename":"image_19042025_06_31_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/19/5a2a2129564616bdd87b321c652cec32.jpg","text":"TemporaryFile(/tmp/multipartBody5335187612569682798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053292763,"filename":"image_19042025_06_31_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351794908","file1":"1351794879","file0":"1351794850","file4":"1351794964","file5":"1351794990","file3":"1351794936"},"map_files_photo_id_array":[{"photo_id":"1351794990","filename":"file5"},{"photo_id":"1351794908","filename":"file2"},{"photo_id":"1351794964","filename":"file4"},{"photo_id":"1351794879","filename":"file1"},{"photo_id":"1351794850","filename":"file0"},{"photo_id":"1351794936","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351794964":["hashtag1","hashtag2"]},{"1351794850":["hashtag1","hashtag2"]},{"1351794990":["hashtag1","hashtag2"]},{"1351794936":["hashtag1","hashtag2"]},{"1351794879":["hashtag1","hashtag2"]},{"1351794908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351794964, 1351794850, 1351794990, 1351794936, 1351794879, 1351794908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.874624490737915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:01:32.403583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_36_10362.jpg', '/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_45_9428.jpg', '/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_55_10338.jpg', '/home/pi/Desktop/images/19042025/06/32/image_19042025_06_33_05_9458.jpg', '/home/pi/Desktop/images/19042025/06/33/image_19042025_06_33_26_10344.jpg', '/home/pi/Desktop/images/19042025/06/33/image_19042025_06_33_35_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_36_10362.jpg
/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_45_9428.jpg
/home/pi/Desktop/images/19042025/06/32/image_19042025_06_32_55_10338.jpg
/home/pi/Desktop/images/19042025/06/32/image_19042025_06_33_05_9458.jpg
/home/pi/Desktop/images/19042025/06/33/image_19042025_06_33_26_10344.jpg
/home/pi/Desktop/images/19042025/06/33/image_19042025_06_33_35_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351795621","1351795504","1351795649","1351795693","1351795477","1351795534"],"photo_ids_order":["1351795477","1351795504","1351795534","1351795621","1351795649","1351795693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4140bf08dedc464883df36785b4e4e5b.jpg","text":"TemporaryFile(/tmp/multipartBody5607099776758918406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053352950,"filename":"image_19042025_06_33_05_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/74831c78bbe67e73716f3fdb5f5b4400.jpg","text":"TemporaryFile(/tmp/multipartBody5253903933211736584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053352950,"filename":"image_19042025_06_32_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/33ce85c3fb4e5bfb4b41e127204285ae.jpg","text":"TemporaryFile(/tmp/multipartBody258036149385654160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053352950,"filename":"image_19042025_06_33_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/92602036adc61ebf63fe9d8fd983b6a3.jpg","text":"TemporaryFile(/tmp/multipartBody5639254107571404430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053352950,"filename":"image_19042025_06_33_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/19/74488f82d91529a021843975bab09d69.jpg","text":"TemporaryFile(/tmp/multipartBody8740928280284516251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053352950,"filename":"image_19042025_06_32_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/19/3d99f85fb9cbb3e43d844e214d5367e9.jpg","text":"TemporaryFile(/tmp/multipartBody5630369218736501342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053352950,"filename":"image_19042025_06_32_55_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351795534","file1":"1351795504","file0":"1351795477","file4":"1351795649","file5":"1351795693","file3":"1351795621"},"map_files_photo_id_array":[{"photo_id":"1351795693","filename":"file5"},{"photo_id":"1351795534","filename":"file2"},{"photo_id":"1351795649","filename":"file4"},{"photo_id":"1351795504","filename":"file1"},{"photo_id":"1351795477","filename":"file0"},{"photo_id":"1351795621","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351795621":["hashtag1","hashtag2"]},{"1351795504":["hashtag1","hashtag2"]},{"1351795649":["hashtag1","hashtag2"]},{"1351795693":["hashtag1","hashtag2"]},{"1351795477":["hashtag1","hashtag2"]},{"1351795534":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351795621, 1351795504, 1351795649, 1351795693, 1351795477, 1351795534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79518389701843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:02:32.742080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/33/image_19042025_06_33_45_10350.jpg', '/home/pi/Desktop/images/19042025/06/33/image_19042025_06_33_56_10355.jpg', '/home/pi/Desktop/images/19042025/06/33/image_19042025_06_34_05_9432.jpg', '/home/pi/Desktop/images/19042025/06/34/image_19042025_06_34_25_9341.jpg', '/home/pi/Desktop/images/19042025/06/34/image_19042025_06_34_35_10367.jpg', '/home/pi/Desktop/images/19042025/06/34/image_19042025_06_34_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/33/image_19042025_06_33_45_10350.jpg
/home/pi/Desktop/images/19042025/06/33/image_19042025_06_33_56_10355.jpg
/home/pi/Desktop/images/19042025/06/33/image_19042025_06_34_05_9432.jpg
/home/pi/Desktop/images/19042025/06/34/image_19042025_06_34_25_9341.jpg
/home/pi/Desktop/images/19042025/06/34/image_19042025_06_34_35_10367.jpg
/home/pi/Desktop/images/19042025/06/34/image_19042025_06_34_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351796259","1351796285","1351796234","1351796183","1351796315","1351796209"],"photo_ids_order":["1351796183","1351796209","1351796234","1351796259","1351796285","1351796315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bfa331c4bd66b2692adc4f8ee7ae6984.jpg","text":"TemporaryFile(/tmp/multipartBody1862175391398343804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053413282,"filename":"image_19042025_06_34_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/72e2a3750594b2eea2bd3a5ad2b80279.jpg","text":"TemporaryFile(/tmp/multipartBody3308166350651875179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053413282,"filename":"image_19042025_06_34_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/19/8ff53bd142d2dd60c5632f46deffbacc.jpg","text":"TemporaryFile(/tmp/multipartBody3262130762348340021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053413282,"filename":"image_19042025_06_34_05_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba47e72e05b7ae4a0eb5d52df5ffddb3.jpg","text":"TemporaryFile(/tmp/multipartBody8758004770171009670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053413282,"filename":"image_19042025_06_33_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/19/b69f66514277eb22a4a9290fc044028e.jpg","text":"TemporaryFile(/tmp/multipartBody135915786447563298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053413282,"filename":"image_19042025_06_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/19/5f3dada71a857d95d9df74d036df46f4.jpg","text":"TemporaryFile(/tmp/multipartBody5629130004482533346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053413282,"filename":"image_19042025_06_33_56_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351796234","file1":"1351796209","file0":"1351796183","file4":"1351796285","file5":"1351796315","file3":"1351796259"},"map_files_photo_id_array":[{"photo_id":"1351796315","filename":"file5"},{"photo_id":"1351796234","filename":"file2"},{"photo_id":"1351796285","filename":"file4"},{"photo_id":"1351796209","filename":"file1"},{"photo_id":"1351796183","filename":"file0"},{"photo_id":"1351796259","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351796259":["hashtag1","hashtag2"]},{"1351796285":["hashtag1","hashtag2"]},{"1351796234":["hashtag1","hashtag2"]},{"1351796183":["hashtag1","hashtag2"]},{"1351796315":["hashtag1","hashtag2"]},{"1351796209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351796259, 1351796285, 1351796234, 1351796183, 1351796315, 1351796209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.044062852859497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:03:32.981163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/34/image_19042025_06_34_55_9457.jpg', '/home/pi/Desktop/images/19042025/06/34/image_19042025_06_35_05_10357.jpg', '/home/pi/Desktop/images/19042025/06/35/image_19042025_06_35_16_10351.jpg', '/home/pi/Desktop/images/19042025/06/35/image_19042025_06_35_35_10363.jpg', '/home/pi/Desktop/images/19042025/06/35/image_19042025_06_35_45_9500.jpg', '/home/pi/Desktop/images/19042025/06/35/image_19042025_06_35_55_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/34/image_19042025_06_34_55_9457.jpg
/home/pi/Desktop/images/19042025/06/34/image_19042025_06_35_05_10357.jpg
/home/pi/Desktop/images/19042025/06/35/image_19042025_06_35_16_10351.jpg
/home/pi/Desktop/images/19042025/06/35/image_19042025_06_35_35_10363.jpg
/home/pi/Desktop/images/19042025/06/35/image_19042025_06_35_45_9500.jpg
/home/pi/Desktop/images/19042025/06/35/image_19042025_06_35_55_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351796736","1351796922","1351796804","1351796767","1351796857","1351796892"],"photo_ids_order":["1351796736","1351796767","1351796804","1351796857","1351796892","1351796922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ce1201e502332243f37d38d84f2a2b1.jpg","text":"TemporaryFile(/tmp/multipartBody2262484698856939527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053473551,"filename":"image_19042025_06_34_55_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8bf6fe23be1576a64a9d1baacf3c0600.jpg","text":"TemporaryFile(/tmp/multipartBody2064260030400384630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053473551,"filename":"image_19042025_06_35_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/19/c7b8cddfb84dfe1e3aee7d7eacba68f6.jpg","text":"TemporaryFile(/tmp/multipartBody3868881749631829989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053473551,"filename":"image_19042025_06_35_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e6f91819d86a230c0c331ea51096fb32.jpg","text":"TemporaryFile(/tmp/multipartBody1158824890713763356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053473551,"filename":"image_19042025_06_35_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/19/ea9355c5b541219f15eeec4c02409cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8338695908881390379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053473551,"filename":"image_19042025_06_35_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bcb13945afa454a50ea07579164d2011.jpg","text":"TemporaryFile(/tmp/multipartBody4283657071951630701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053473551,"filename":"image_19042025_06_35_45_9500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351796804","file1":"1351796767","file0":"1351796736","file4":"1351796892","file5":"1351796922","file3":"1351796857"},"map_files_photo_id_array":[{"photo_id":"1351796922","filename":"file5"},{"photo_id":"1351796804","filename":"file2"},{"photo_id":"1351796892","filename":"file4"},{"photo_id":"1351796767","filename":"file1"},{"photo_id":"1351796736","filename":"file0"},{"photo_id":"1351796857","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351796736":["hashtag1","hashtag2"]},{"1351796922":["hashtag1","hashtag2"]},{"1351796804":["hashtag1","hashtag2"]},{"1351796767":["hashtag1","hashtag2"]},{"1351796857":["hashtag1","hashtag2"]},{"1351796892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351796736, 1351796922, 1351796804, 1351796767, 1351796857, 1351796892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.980181455612183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:04:32.208187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/35/image_19042025_06_36_05_9412.jpg', '/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_15_10452.jpg', '/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_25_10355.jpg', '/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_35_9503.jpg', '/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_45_10350.jpg', '/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_55_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/35/image_19042025_06_36_05_9412.jpg
/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_15_10452.jpg
/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_25_10355.jpg
/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_35_9503.jpg
/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_45_10350.jpg
/home/pi/Desktop/images/19042025/06/36/image_19042025_06_36_55_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351797215","1351797044","1351797031","1351797186","1351797072","1351797039"],"photo_ids_order":["1351797031","1351797039","1351797044","1351797072","1351797186","1351797215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/430c3dc4f14233c1920556b930a0480d.jpg","text":"TemporaryFile(/tmp/multipartBody7539394244929850405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053532747,"filename":"image_19042025_06_36_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/19/d19e8ac285ceeddccd23a9f56fa850bc.jpg","text":"TemporaryFile(/tmp/multipartBody1123783432101148772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053532747,"filename":"image_19042025_06_36_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/57a2520df5baad1d2022ba1266e283f6.jpg","text":"TemporaryFile(/tmp/multipartBody5353958090939726193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053532747,"filename":"image_19042025_06_36_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38b21364279de437dfc6d968ffa8c025.jpg","text":"TemporaryFile(/tmp/multipartBody6800137279765389685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053532747,"filename":"image_19042025_06_36_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/19/6bf26c271e71b6aacf384fb14e5b96dc.jpg","text":"TemporaryFile(/tmp/multipartBody6936692674148503299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053532747,"filename":"image_19042025_06_36_35_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/19/39855deeca1415c502f7d3c336bc5e37.jpg","text":"TemporaryFile(/tmp/multipartBody4261676780161789220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053532747,"filename":"image_19042025_06_36_15_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351797044","file1":"1351797039","file0":"1351797031","file4":"1351797186","file5":"1351797215","file3":"1351797072"},"map_files_photo_id_array":[{"photo_id":"1351797215","filename":"file5"},{"photo_id":"1351797044","filename":"file2"},{"photo_id":"1351797186","filename":"file4"},{"photo_id":"1351797039","filename":"file1"},{"photo_id":"1351797031","filename":"file0"},{"photo_id":"1351797072","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351797215":["hashtag1","hashtag2"]},{"1351797044":["hashtag1","hashtag2"]},{"1351797031":["hashtag1","hashtag2"]},{"1351797186":["hashtag1","hashtag2"]},{"1351797072":["hashtag1","hashtag2"]},{"1351797039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351797215, 1351797044, 1351797031, 1351797186, 1351797072, 1351797039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.50455713272095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:05:32.365872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_15_10331.jpg', '/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_25_9395.jpg', '/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_35_10366.jpg', '/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_46_10354.jpg', '/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_55_9426.jpg', '/home/pi/Desktop/images/19042025/06/37/image_19042025_06_38_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_15_10331.jpg
/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_25_9395.jpg
/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_35_10366.jpg
/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_46_10354.jpg
/home/pi/Desktop/images/19042025/06/37/image_19042025_06_37_55_9426.jpg
/home/pi/Desktop/images/19042025/06/37/image_19042025_06_38_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351797530","1351797478","1351797487","1351797475","1351797520","1351797456"],"photo_ids_order":["1351797456","1351797475","1351797478","1351797487","1351797520","1351797530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad2f5e67484a183daa1787f28eec28b5.jpg","text":"TemporaryFile(/tmp/multipartBody5758122347105023223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053592907,"filename":"image_19042025_06_38_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f77622bf0ff6814b4dd4d336e6affef8.jpg","text":"TemporaryFile(/tmp/multipartBody8779701528284896862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053592907,"filename":"image_19042025_06_37_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/19/3cb465048c02058182d05927b70333a5.jpg","text":"TemporaryFile(/tmp/multipartBody8934154656578341930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053592907,"filename":"image_19042025_06_37_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/19/e929efa9eb9ba26c02dd92365bc51b9e.jpg","text":"TemporaryFile(/tmp/multipartBody416685707090534642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053592907,"filename":"image_19042025_06_37_25_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e3c864d2017b3cfc76159f8e3070b732.jpg","text":"TemporaryFile(/tmp/multipartBody5653922776186585149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053592907,"filename":"image_19042025_06_37_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/19/44f3b8624838876eb27c52a22dc50260.jpg","text":"TemporaryFile(/tmp/multipartBody3777103588085124304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053592907,"filename":"image_19042025_06_37_15_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351797478","file1":"1351797475","file0":"1351797456","file4":"1351797520","file5":"1351797530","file3":"1351797487"},"map_files_photo_id_array":[{"photo_id":"1351797530","filename":"file5"},{"photo_id":"1351797478","filename":"file2"},{"photo_id":"1351797520","filename":"file4"},{"photo_id":"1351797475","filename":"file1"},{"photo_id":"1351797456","filename":"file0"},{"photo_id":"1351797487","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351797530":["hashtag1","hashtag2"]},{"1351797478":["hashtag1","hashtag2"]},{"1351797487":["hashtag1","hashtag2"]},{"1351797475":["hashtag1","hashtag2"]},{"1351797520":["hashtag1","hashtag2"]},{"1351797456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351797530, 1351797478, 1351797487, 1351797475, 1351797520, 1351797456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79654335975647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:06:32.654797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_15_9332.jpg', '/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_25_10463.jpg', '/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_35_10346.jpg', '/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_45_9421.jpg', '/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_55_10355.jpg', '/home/pi/Desktop/images/19042025/06/38/image_19042025_06_39_06_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_15_9332.jpg
/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_25_10463.jpg
/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_35_10346.jpg
/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_45_9421.jpg
/home/pi/Desktop/images/19042025/06/38/image_19042025_06_38_55_10355.jpg
/home/pi/Desktop/images/19042025/06/38/image_19042025_06_39_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":["1351797614","1351797701","1351797673","1351797649","1351797625","1351797619"],"photo_ids_order":["1351797614","1351797619","1351797625","1351797649","1351797673","1351797701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b458c5f19d12646ad24e831895860cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4296118485606441793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053653202,"filename":"image_19042025_06_38_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29ee6a8a8de2466e253b9046bed1ffc4.jpg","text":"TemporaryFile(/tmp/multipartBody6598622933806260700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053653202,"filename":"image_19042025_06_39_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/19/2da9ff47115d8c02c8512f41995a3db6.jpg","text":"TemporaryFile(/tmp/multipartBody1141243985323797783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053653202,"filename":"image_19042025_06_38_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8305f039ab7c354676a4203f61b2d245.jpg","text":"TemporaryFile(/tmp/multipartBody9015097248158334194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053653202,"filename":"image_19042025_06_38_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f9aa935a58261a178edc9853d236cd24.jpg","text":"TemporaryFile(/tmp/multipartBody6515434775490830849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053653202,"filename":"image_19042025_06_38_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/19/3fda45a6d81301f567062c6cc61763db.jpg","text":"TemporaryFile(/tmp/multipartBody1612137265382231469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053653202,"filename":"image_19042025_06_38_25_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351797625","file1":"1351797619","file0":"1351797614","file4":"1351797673","file5":"1351797701","file3":"1351797649"},"map_files_photo_id_array":[{"photo_id":"1351797701","filename":"file5"},{"photo_id":"1351797625","filename":"file2"},{"photo_id":"1351797673","filename":"file4"},{"photo_id":"1351797619","filename":"file1"},{"photo_id":"1351797614","filename":"file0"},{"photo_id":"1351797649","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351797614":["hashtag1","hashtag2"]},{"1351797701":["hashtag1","hashtag2"]},{"1351797673":["hashtag1","hashtag2"]},{"1351797649":["hashtag1","hashtag2"]},{"1351797625":["hashtag1","hashtag2"]},{"1351797619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351797614, 1351797701, 1351797673, 1351797649, 1351797625, 1351797619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.186606884002686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:07:32.915357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_15_9419.jpg', '/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_25_10376.jpg', '/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_35_9431.jpg', '/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_45_9960.jpg', '/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_55_10371.jpg', '/home/pi/Desktop/images/19042025/06/39/image_19042025_06_40_06_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_15_9419.jpg
/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_25_10376.jpg
/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_35_9431.jpg
/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_45_9960.jpg
/home/pi/Desktop/images/19042025/06/39/image_19042025_06_39_55_10371.jpg
/home/pi/Desktop/images/19042025/06/39/image_19042025_06_40_06_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351797740","1351797743","1351797763","1351797757","1351797766","1351797760"],"photo_ids_order":["1351797740","1351797743","1351797757","1351797760","1351797763","1351797766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e8da24c69b92d82e80ca8b4312419731.jpg","text":"TemporaryFile(/tmp/multipartBody8587669606192537483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053713474,"filename":"image_19042025_06_39_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/19/05819dd21ff502eb72718df0ca6361f2.jpg","text":"TemporaryFile(/tmp/multipartBody5420379790003679028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053713474,"filename":"image_19042025_06_39_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/19/081e90900a0770ff13f4d05e27a20887.jpg","text":"TemporaryFile(/tmp/multipartBody6964039407299074870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053713474,"filename":"image_19042025_06_39_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/19/6c9213838f98f398d9fd18b8e589c588.jpg","text":"TemporaryFile(/tmp/multipartBody5318285028787689460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053713474,"filename":"image_19042025_06_39_35_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ed41a9d6ed79f6d8bf9cfd8995bf7adb.jpg","text":"TemporaryFile(/tmp/multipartBody1358997408613115284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053713474,"filename":"image_19042025_06_40_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/19/59cb4c3b687be5ab51c3bfaef2c211e0.jpg","text":"TemporaryFile(/tmp/multipartBody5671672511283694444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053713474,"filename":"image_19042025_06_39_45_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351797757","file1":"1351797743","file0":"1351797740","file4":"1351797763","file5":"1351797766","file3":"1351797760"},"map_files_photo_id_array":[{"photo_id":"1351797766","filename":"file5"},{"photo_id":"1351797757","filename":"file2"},{"photo_id":"1351797763","filename":"file4"},{"photo_id":"1351797743","filename":"file1"},{"photo_id":"1351797740","filename":"file0"},{"photo_id":"1351797760","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351797740":["hashtag1","hashtag2"]},{"1351797743":["hashtag1","hashtag2"]},{"1351797763":["hashtag1","hashtag2"]},{"1351797757":["hashtag1","hashtag2"]},{"1351797766":["hashtag1","hashtag2"]},{"1351797760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351797740, 1351797743, 1351797763, 1351797757, 1351797766, 1351797760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.496564865112305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:08:33.182649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_15_9361.jpg', '/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_25_10354.jpg', '/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_36_10369.jpg', '/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_45_9465.jpg', '/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_55_10357.jpg', '/home/pi/Desktop/images/19042025/06/40/image_19042025_06_41_05_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_15_9361.jpg
/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_25_10354.jpg
/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_36_10369.jpg
/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_45_9465.jpg
/home/pi/Desktop/images/19042025/06/40/image_19042025_06_40_55_10357.jpg
/home/pi/Desktop/images/19042025/06/40/image_19042025_06_41_05_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351797779","1351797788","1351797796","1351797799","1351797784","1351797792"],"photo_ids_order":["1351797779","1351797784","1351797788","1351797792","1351797796","1351797799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66828d5e21701cc588c0ad5a91ed03a5.jpg","text":"TemporaryFile(/tmp/multipartBody9201329461748848707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053773728,"filename":"image_19042025_06_40_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/19/6678b40ae4f2f1c7990584a809b5c3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4648156038942842803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053773728,"filename":"image_19042025_06_40_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/19/b934fb1ec186cb1d54eb5470aa5ab079.jpg","text":"TemporaryFile(/tmp/multipartBody7270087953810270494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053773728,"filename":"image_19042025_06_40_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/19/9c80505e165fa9428416fa3e42803bab.jpg","text":"TemporaryFile(/tmp/multipartBody6801264000715795385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053773728,"filename":"image_19042025_06_41_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/19/bff7f5c1d80caf6975c082942b7bb5fd.jpg","text":"TemporaryFile(/tmp/multipartBody2743631850133743394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053773728,"filename":"image_19042025_06_40_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/19/7d108eb5462c66580e5cfbb8f83d4ead.jpg","text":"TemporaryFile(/tmp/multipartBody5144919583608051359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053773728,"filename":"image_19042025_06_40_45_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351797788","file1":"1351797784","file0":"1351797779","file4":"1351797796","file5":"1351797799","file3":"1351797792"},"map_files_photo_id_array":[{"photo_id":"1351797799","filename":"file5"},{"photo_id":"1351797788","filename":"file2"},{"photo_id":"1351797796","filename":"file4"},{"photo_id":"1351797784","filename":"file1"},{"photo_id":"1351797779","filename":"file0"},{"photo_id":"1351797792","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351797779":["hashtag1","hashtag2"]},{"1351797788":["hashtag1","hashtag2"]},{"1351797796":["hashtag1","hashtag2"]},{"1351797799":["hashtag1","hashtag2"]},{"1351797784":["hashtag1","hashtag2"]},{"1351797792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351797779, 1351797788, 1351797796, 1351797799, 1351797784, 1351797792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.538079500198364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:09:32.371252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_15_10351.jpg', '/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_26_10349.jpg', '/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_35_9421.jpg', '/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_45_10358.jpg', '/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_55_9341.jpg', '/home/pi/Desktop/images/19042025/06/41/image_19042025_06_42_05_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_15_10351.jpg
/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_26_10349.jpg
/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_35_9421.jpg
/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_45_10358.jpg
/home/pi/Desktop/images/19042025/06/41/image_19042025_06_41_55_9341.jpg
/home/pi/Desktop/images/19042025/06/41/image_19042025_06_42_05_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351797927","1351797959","1351797866","1351797947","1351797913","1351797901"],"photo_ids_order":["1351797866","1351797901","1351797913","1351797927","1351797947","1351797959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0050f1d951105a36729cfe3243df3087.jpg","text":"TemporaryFile(/tmp/multipartBody1581648423954179851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053833186,"filename":"image_19042025_06_41_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d53d71fe8612dc7bc16bedd78c24dd8b.jpg","text":"TemporaryFile(/tmp/multipartBody7965959381403805611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053833186,"filename":"image_19042025_06_42_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/19/f74c8809d426efb53c468e172baac6ed.jpg","text":"TemporaryFile(/tmp/multipartBody7569918035872156924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053833186,"filename":"image_19042025_06_41_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/19/1ee73078a9d4fdb8bdd20d1683a43772.jpg","text":"TemporaryFile(/tmp/multipartBody7344190336968512323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053833186,"filename":"image_19042025_06_41_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/19/a179d3447cd2b44fddfef16773ac6e8a.jpg","text":"TemporaryFile(/tmp/multipartBody6552758885408514897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053833186,"filename":"image_19042025_06_41_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f1442020d42488e5bccf71103406c001.jpg","text":"TemporaryFile(/tmp/multipartBody3434731946963299164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053833186,"filename":"image_19042025_06_41_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351797913","file1":"1351797901","file0":"1351797866","file4":"1351797947","file5":"1351797959","file3":"1351797927"},"map_files_photo_id_array":[{"photo_id":"1351797959","filename":"file5"},{"photo_id":"1351797913","filename":"file2"},{"photo_id":"1351797947","filename":"file4"},{"photo_id":"1351797901","filename":"file1"},{"photo_id":"1351797866","filename":"file0"},{"photo_id":"1351797927","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351797927":["hashtag1","hashtag2"]},{"1351797959":["hashtag1","hashtag2"]},{"1351797866":["hashtag1","hashtag2"]},{"1351797947":["hashtag1","hashtag2"]},{"1351797913":["hashtag1","hashtag2"]},{"1351797901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351797927, 1351797959, 1351797866, 1351797947, 1351797913, 1351797901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73496913909912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:10:32.644903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_15_10343.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_25_9457.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_35_10348.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_45_9454.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_55_10442.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_43_06_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_15_10343.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_25_9457.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_35_10348.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_45_9454.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_55_10442.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_43_06_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.45273637771606445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 11:10:42.814202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_15_10343.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_25_9457.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_35_10348.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_45_9454.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_55_10442.jpg', '/home/pi/Desktop/images/19042025/06/42/image_19042025_06_43_06_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_15_10343.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_25_9457.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_35_10348.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_45_9454.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_42_55_10442.jpg
/home/pi/Desktop/images/19042025/06/42/image_19042025_06_43_06_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":["1351798178","1351798172","1351798180","1351798165","1351798176","1351798169"],"photo_ids_order":["1351798165","1351798169","1351798172","1351798176","1351798178","1351798180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1fae8eb013b20e28d0e7ca91b76af3a6.jpg","text":"TemporaryFile(/tmp/multipartBody2147901707286581923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053903275,"filename":"image_19042025_06_42_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/19/fa8540e00f0ff2fc0cdd0be115db704e.jpg","text":"TemporaryFile(/tmp/multipartBody4715714507977385003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053903275,"filename":"image_19042025_06_42_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dbdfa07b3eb2a2d3ac7dd65d2bb958ba.jpg","text":"TemporaryFile(/tmp/multipartBody5499710421678966759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053903275,"filename":"image_19042025_06_43_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/19/56aea16e160611a252e9b34926afb6a7.jpg","text":"TemporaryFile(/tmp/multipartBody1687960399241758796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053903275,"filename":"image_19042025_06_42_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/19/f535995d7e2332e612002fbf2a3756c8.jpg","text":"TemporaryFile(/tmp/multipartBody5511191275948365389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053903275,"filename":"image_19042025_06_42_45_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/19/147375eed13aec03bb0ce774f268c5a8.jpg","text":"TemporaryFile(/tmp/multipartBody7747773346587063826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053903275,"filename":"image_19042025_06_42_25_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798172","file1":"1351798169","file0":"1351798165","file4":"1351798178","file5":"1351798180","file3":"1351798176"},"map_files_photo_id_array":[{"photo_id":"1351798180","filename":"file5"},{"photo_id":"1351798172","filename":"file2"},{"photo_id":"1351798178","filename":"file4"},{"photo_id":"1351798169","filename":"file1"},{"photo_id":"1351798165","filename":"file0"},{"photo_id":"1351798176","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798178":["hashtag1","hashtag2"]},{"1351798172":["hashtag1","hashtag2"]},{"1351798180":["hashtag1","hashtag2"]},{"1351798165":["hashtag1","hashtag2"]},{"1351798176":["hashtag1","hashtag2"]},{"1351798169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798178, 1351798172, 1351798180, 1351798165, 1351798176, 1351798169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.384709358215332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:11:33.063132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_15_9453.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_25_10358.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_35_9355.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_45_10418.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_55_10350.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_44_05_9502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_15_9453.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_25_10358.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_35_9355.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_45_10418.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_55_10350.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_44_05_9502.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4772515296936035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 11:11:43.044717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_15_9453.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_25_10358.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_35_9355.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_45_10418.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_55_10350.jpg', '/home/pi/Desktop/images/19042025/06/43/image_19042025_06_44_05_9502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_15_9453.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_25_10358.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_35_9355.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_45_10418.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_43_55_10350.jpg
/home/pi/Desktop/images/19042025/06/43/image_19042025_06_44_05_9502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351798223","1351798226","1351798229","1351798231","1351798219","1351798215"],"photo_ids_order":["1351798215","1351798219","1351798223","1351798226","1351798229","1351798231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ec9b174e5b27b51388a92dce87d899e.jpg","text":"TemporaryFile(/tmp/multipartBody821616190531906591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053963502,"filename":"image_19042025_06_43_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/19/f2192a5693667b453f5644d0df116f87.jpg","text":"TemporaryFile(/tmp/multipartBody5403748994349681103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053963502,"filename":"image_19042025_06_43_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/627ccd795f4a3154e75a502eb7304528.jpg","text":"TemporaryFile(/tmp/multipartBody1927512406008307794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053963502,"filename":"image_19042025_06_43_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/19/a042564f9aa90c803a48d354a397e271.jpg","text":"TemporaryFile(/tmp/multipartBody6670100111189963344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053963502,"filename":"image_19042025_06_44_05_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/19/0f8262ea8d86896c9a84651b8d8d6af7.jpg","text":"TemporaryFile(/tmp/multipartBody7668239223303759856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053963502,"filename":"image_19042025_06_43_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/19/208b8ab1233d8b586688c3d7ca26d3a5.jpg","text":"TemporaryFile(/tmp/multipartBody171508328998437830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745053963502,"filename":"image_19042025_06_43_15_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798223","file1":"1351798219","file0":"1351798215","file4":"1351798229","file5":"1351798231","file3":"1351798226"},"map_files_photo_id_array":[{"photo_id":"1351798231","filename":"file5"},{"photo_id":"1351798223","filename":"file2"},{"photo_id":"1351798229","filename":"file4"},{"photo_id":"1351798219","filename":"file1"},{"photo_id":"1351798215","filename":"file0"},{"photo_id":"1351798226","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798223":["hashtag1","hashtag2"]},{"1351798226":["hashtag1","hashtag2"]},{"1351798229":["hashtag1","hashtag2"]},{"1351798231":["hashtag1","hashtag2"]},{"1351798219":["hashtag1","hashtag2"]},{"1351798215":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798223, 1351798226, 1351798229, 1351798231, 1351798219, 1351798215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.08641767501831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:12:32.163538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_15_10342.jpg', '/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_25_9341.jpg', '/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_35_10408.jpg', '/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_45_10346.jpg', '/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_55_9432.jpg', '/home/pi/Desktop/images/19042025/06/44/image_19042025_06_45_05_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_15_10342.jpg
/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_25_9341.jpg
/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_35_10408.jpg
/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_45_10346.jpg
/home/pi/Desktop/images/19042025/06/44/image_19042025_06_44_55_9432.jpg
/home/pi/Desktop/images/19042025/06/44/image_19042025_06_45_05_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351798283","1351798262","1351798279","1351798246","1351798276","1351798281"],"photo_ids_order":["1351798246","1351798262","1351798276","1351798279","1351798281","1351798283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7bd43fe69dbffe094e97034d3cdadda9.jpg","text":"TemporaryFile(/tmp/multipartBody3781524492306838409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054012723,"filename":"image_19042025_06_45_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d527112f66dfb9ff172df42e4a73a30d.jpg","text":"TemporaryFile(/tmp/multipartBody8003188089792503906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054012723,"filename":"image_19042025_06_44_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9bdfa526d985c00d36e8f0d4cc77c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5511869069927764707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054012723,"filename":"image_19042025_06_44_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/75b64dad90e81c9c791f130343dd1388.jpg","text":"TemporaryFile(/tmp/multipartBody2775837839382702970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054012723,"filename":"image_19042025_06_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/19/615f120d9d6208f0944c794524fde896.jpg","text":"TemporaryFile(/tmp/multipartBody4649946338706410424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054012723,"filename":"image_19042025_06_44_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/19/43169d435c7e05a36bc4359df56acb4d.jpg","text":"TemporaryFile(/tmp/multipartBody8050522361932851096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054012723,"filename":"image_19042025_06_44_55_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798276","file1":"1351798262","file0":"1351798246","file4":"1351798281","file5":"1351798283","file3":"1351798279"},"map_files_photo_id_array":[{"photo_id":"1351798283","filename":"file5"},{"photo_id":"1351798276","filename":"file2"},{"photo_id":"1351798281","filename":"file4"},{"photo_id":"1351798262","filename":"file1"},{"photo_id":"1351798246","filename":"file0"},{"photo_id":"1351798279","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798283":["hashtag1","hashtag2"]},{"1351798262":["hashtag1","hashtag2"]},{"1351798279":["hashtag1","hashtag2"]},{"1351798246":["hashtag1","hashtag2"]},{"1351798276":["hashtag1","hashtag2"]},{"1351798281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798283, 1351798262, 1351798279, 1351798246, 1351798276, 1351798281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85984945297241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:13:32.383174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_16_10370.jpg', '/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_25_9462.jpg', '/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_35_10038.jpg', '/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_45_10379.jpg', '/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_55_9532.jpg', '/home/pi/Desktop/images/19042025/06/45/image_19042025_06_46_05_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_16_10370.jpg
/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_25_9462.jpg
/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_35_10038.jpg
/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_45_10379.jpg
/home/pi/Desktop/images/19042025/06/45/image_19042025_06_45_55_9532.jpg
/home/pi/Desktop/images/19042025/06/45/image_19042025_06_46_05_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":["1351798460","1351798454","1351798400","1351798456","1351798458","1351798431"],"photo_ids_order":["1351798400","1351798431","1351798454","1351798456","1351798458","1351798460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9337b30dfad5201f56296bb89796a4bd.jpg","text":"TemporaryFile(/tmp/multipartBody7440239668541025409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054072939,"filename":"image_19042025_06_46_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/19/42c5b72de7017ef59f96fbec8c3a5f83.jpg","text":"TemporaryFile(/tmp/multipartBody9131276346840276125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054072939,"filename":"image_19042025_06_45_35_10038.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/334056bd113aa26ebf010e009f6ad73e.jpg","text":"TemporaryFile(/tmp/multipartBody3038985204205671158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054072939,"filename":"image_19042025_06_45_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/19/5cbbf5dae77a1c085ff6b3aaca035682.jpg","text":"TemporaryFile(/tmp/multipartBody1075101476947455449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054072939,"filename":"image_19042025_06_45_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/19/b6c593d894bc064f56f249b4f280ba09.jpg","text":"TemporaryFile(/tmp/multipartBody380264893428874657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054072939,"filename":"image_19042025_06_45_55_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/19/2745ff1c63b995982493aca26fc4a1d7.jpg","text":"TemporaryFile(/tmp/multipartBody9083720944257836459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054072939,"filename":"image_19042025_06_45_25_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798454","file1":"1351798431","file0":"1351798400","file4":"1351798458","file5":"1351798460","file3":"1351798456"},"map_files_photo_id_array":[{"photo_id":"1351798460","filename":"file5"},{"photo_id":"1351798454","filename":"file2"},{"photo_id":"1351798458","filename":"file4"},{"photo_id":"1351798431","filename":"file1"},{"photo_id":"1351798400","filename":"file0"},{"photo_id":"1351798456","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798460":["hashtag1","hashtag2"]},{"1351798454":["hashtag1","hashtag2"]},{"1351798400":["hashtag1","hashtag2"]},{"1351798456":["hashtag1","hashtag2"]},{"1351798458":["hashtag1","hashtag2"]},{"1351798431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798460, 1351798454, 1351798400, 1351798456, 1351798458, 1351798431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.685570001602173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:14:32.698320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/46/image_19042025_06_46_15_9345.jpg', '/home/pi/Desktop/images/19042025/06/46/image_19042025_06_46_25_10407.jpg', '/home/pi/Desktop/images/19042025/06/46/image_19042025_06_46_35_10361.jpg', '/home/pi/Desktop/images/19042025/06/46/image_19042025_06_46_45_9403.jpg', '/home/pi/Desktop/images/19042025/06/46/image_19042025_06_47_06_10342.jpg', '/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_15_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/46/image_19042025_06_46_15_9345.jpg
/home/pi/Desktop/images/19042025/06/46/image_19042025_06_46_25_10407.jpg
/home/pi/Desktop/images/19042025/06/46/image_19042025_06_46_35_10361.jpg
/home/pi/Desktop/images/19042025/06/46/image_19042025_06_46_45_9403.jpg
/home/pi/Desktop/images/19042025/06/46/image_19042025_06_47_06_10342.jpg
/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_15_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":["1351798495","1351798480","1351798483","1351798477","1351798491","1351798487"],"photo_ids_order":["1351798477","1351798480","1351798483","1351798487","1351798491","1351798495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48f3d626256120658c5d55c637aa8ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8779719152645869789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054133262,"filename":"image_19042025_06_47_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/19/9973eeaa48db8a51c61a85f9c2971797.jpg","text":"TemporaryFile(/tmp/multipartBody4095005468529523421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054133262,"filename":"image_19042025_06_46_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/060ac0e77742880a066310a8343b8c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7056348977814164558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054133262,"filename":"image_19042025_06_46_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/19/26f5f0ac818c5d50400ebcc65bfd975b.jpg","text":"TemporaryFile(/tmp/multipartBody8964701993249005539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054133262,"filename":"image_19042025_06_46_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/19/821c70b037769b2b31a313c7630af218.jpg","text":"TemporaryFile(/tmp/multipartBody5163472366964874747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054133262,"filename":"image_19042025_06_47_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/19/db4c826ac7aba8da41312b8f49658649.jpg","text":"TemporaryFile(/tmp/multipartBody8532854552362810787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054133262,"filename":"image_19042025_06_46_45_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798483","file1":"1351798480","file0":"1351798477","file4":"1351798491","file5":"1351798495","file3":"1351798487"},"map_files_photo_id_array":[{"photo_id":"1351798495","filename":"file5"},{"photo_id":"1351798483","filename":"file2"},{"photo_id":"1351798491","filename":"file4"},{"photo_id":"1351798480","filename":"file1"},{"photo_id":"1351798477","filename":"file0"},{"photo_id":"1351798487","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798495":["hashtag1","hashtag2"]},{"1351798480":["hashtag1","hashtag2"]},{"1351798483":["hashtag1","hashtag2"]},{"1351798477":["hashtag1","hashtag2"]},{"1351798491":["hashtag1","hashtag2"]},{"1351798487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798495, 1351798480, 1351798483, 1351798477, 1351798491, 1351798487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.684204578399658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:15:32.753966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_25_10361.jpg', '/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_35_9355.jpg', '/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_45_10366.jpg', '/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_55_10347.jpg', '/home/pi/Desktop/images/19042025/06/47/image_19042025_06_48_05_9340.jpg', '/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_15_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_25_10361.jpg
/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_35_9355.jpg
/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_45_10366.jpg
/home/pi/Desktop/images/19042025/06/47/image_19042025_06_47_55_10347.jpg
/home/pi/Desktop/images/19042025/06/47/image_19042025_06_48_05_9340.jpg
/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_15_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351798520","1351798523","1351798517","1351798525","1351798513","1351798510"],"photo_ids_order":["1351798510","1351798513","1351798517","1351798520","1351798523","1351798525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/daca28b1a89dc7a92edaf6456fa4d72a.jpg","text":"TemporaryFile(/tmp/multipartBody7001372814799505077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054193308,"filename":"image_19042025_06_47_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/19/f2b79753f6f8541181f10108d1b74402.jpg","text":"TemporaryFile(/tmp/multipartBody6518666690672916781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054193308,"filename":"image_19042025_06_48_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/19/14f64a8f9ae1d91a40c8f22bfa7ac813.jpg","text":"TemporaryFile(/tmp/multipartBody6816783669586837063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054193308,"filename":"image_19042025_06_47_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/19/392829920b4ced10582ce58b687b8ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7177643550522273680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054193308,"filename":"image_19042025_06_48_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/19/c57660e44d5e6007f41b478e8e255b45.jpg","text":"TemporaryFile(/tmp/multipartBody3632217412542277681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054193308,"filename":"image_19042025_06_47_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/19/c66328fc07a56f36c9585b7686ccb825.jpg","text":"TemporaryFile(/tmp/multipartBody3213790315487983520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054193308,"filename":"image_19042025_06_47_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798517","file1":"1351798513","file0":"1351798510","file4":"1351798523","file5":"1351798525","file3":"1351798520"},"map_files_photo_id_array":[{"photo_id":"1351798525","filename":"file5"},{"photo_id":"1351798517","filename":"file2"},{"photo_id":"1351798523","filename":"file4"},{"photo_id":"1351798513","filename":"file1"},{"photo_id":"1351798510","filename":"file0"},{"photo_id":"1351798520","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798520":["hashtag1","hashtag2"]},{"1351798523":["hashtag1","hashtag2"]},{"1351798517":["hashtag1","hashtag2"]},{"1351798525":["hashtag1","hashtag2"]},{"1351798513":["hashtag1","hashtag2"]},{"1351798510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798520, 1351798523, 1351798517, 1351798525, 1351798513, 1351798510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.706083059310913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:16:33.107516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_25_10349.jpg', '/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_35_9351.jpg', '/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_45_10348.jpg', '/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_55_10350.jpg', '/home/pi/Desktop/images/19042025/06/48/image_19042025_06_49_05_9398.jpg', '/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_25_10349.jpg
/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_35_9351.jpg
/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_45_10348.jpg
/home/pi/Desktop/images/19042025/06/48/image_19042025_06_48_55_10350.jpg
/home/pi/Desktop/images/19042025/06/48/image_19042025_06_49_05_9398.jpg
/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351798574","1351798597","1351798579","1351798570","1351798583","1351798565"],"photo_ids_order":["1351798565","1351798570","1351798574","1351798579","1351798583","1351798597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9fe68a4a3e1bbd8727a85070d6242092.jpg","text":"TemporaryFile(/tmp/multipartBody7944896641699602473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054253669,"filename":"image_19042025_06_48_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/19/4508d110fca2b3fe3f6f8c66534bb40e.jpg","text":"TemporaryFile(/tmp/multipartBody2799132145767621751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054253669,"filename":"image_19042025_06_49_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/19/f1fc547a8e0b1b407cc794d0b841084e.jpg","text":"TemporaryFile(/tmp/multipartBody3743446303693440233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054253669,"filename":"image_19042025_06_48_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/19/833ad3fc35ac1e320b774f7c00c3ff6a.jpg","text":"TemporaryFile(/tmp/multipartBody6767113866130835739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054253669,"filename":"image_19042025_06_48_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/19/4ba35d8fb95ee512dfb6429f2d341ddd.jpg","text":"TemporaryFile(/tmp/multipartBody3426595532086535284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054253669,"filename":"image_19042025_06_49_05_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f188ffdd4847ec22123291d33682114e.jpg","text":"TemporaryFile(/tmp/multipartBody3710683755648356469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054253669,"filename":"image_19042025_06_48_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798574","file1":"1351798570","file0":"1351798565","file4":"1351798583","file5":"1351798597","file3":"1351798579"},"map_files_photo_id_array":[{"photo_id":"1351798597","filename":"file5"},{"photo_id":"1351798574","filename":"file2"},{"photo_id":"1351798583","filename":"file4"},{"photo_id":"1351798570","filename":"file1"},{"photo_id":"1351798565","filename":"file0"},{"photo_id":"1351798579","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798574":["hashtag1","hashtag2"]},{"1351798597":["hashtag1","hashtag2"]},{"1351798579":["hashtag1","hashtag2"]},{"1351798570":["hashtag1","hashtag2"]},{"1351798583":["hashtag1","hashtag2"]},{"1351798565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798574, 1351798597, 1351798579, 1351798570, 1351798583, 1351798565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83483004570007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:17:32.228681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_26_10361.jpg', '/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_35_9465.jpg', '/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_45_10451.jpg', '/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_55_9412.jpg', '/home/pi/Desktop/images/19042025/06/49/image_19042025_06_50_05_10358.jpg', '/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_16_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_26_10361.jpg
/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_35_9465.jpg
/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_45_10451.jpg
/home/pi/Desktop/images/19042025/06/49/image_19042025_06_49_55_9412.jpg
/home/pi/Desktop/images/19042025/06/49/image_19042025_06_50_05_10358.jpg
/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_16_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351798859","1351798855","1351798863","1351798872","1351798869","1351798874"],"photo_ids_order":["1351798855","1351798859","1351798863","1351798869","1351798872","1351798874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c956417d5f75a815c73a8b3a075e32a6.jpg","text":"TemporaryFile(/tmp/multipartBody1489258183405603271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054312776,"filename":"image_19042025_06_49_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/19/070de745475d8c5358f6bbbe6b18dcd5.jpg","text":"TemporaryFile(/tmp/multipartBody6313502703844503562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054312776,"filename":"image_19042025_06_49_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/818ffbcf0c632bee7458f7720164023b.jpg","text":"TemporaryFile(/tmp/multipartBody1758689320634424204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054312776,"filename":"image_19042025_06_49_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64a3e5b47f6820ed6fa476d350c5e4b3.jpg","text":"TemporaryFile(/tmp/multipartBody7105318136871198841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054312776,"filename":"image_19042025_06_50_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/19/13635937a7674e296576225a9e2d8934.jpg","text":"TemporaryFile(/tmp/multipartBody7346249224354302939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054312776,"filename":"image_19042025_06_49_55_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c1eb118f071b872d2ac28b9417db0bf6.jpg","text":"TemporaryFile(/tmp/multipartBody706730837273174898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054312776,"filename":"image_19042025_06_50_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798863","file1":"1351798859","file0":"1351798855","file4":"1351798872","file5":"1351798874","file3":"1351798869"},"map_files_photo_id_array":[{"photo_id":"1351798874","filename":"file5"},{"photo_id":"1351798863","filename":"file2"},{"photo_id":"1351798872","filename":"file4"},{"photo_id":"1351798859","filename":"file1"},{"photo_id":"1351798855","filename":"file0"},{"photo_id":"1351798869","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798859":["hashtag1","hashtag2"]},{"1351798855":["hashtag1","hashtag2"]},{"1351798863":["hashtag1","hashtag2"]},{"1351798872":["hashtag1","hashtag2"]},{"1351798869":["hashtag1","hashtag2"]},{"1351798874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798859, 1351798855, 1351798863, 1351798872, 1351798869, 1351798874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15221285820007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:18:32.434187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_25_9412.jpg', '/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_35_10437.jpg', '/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_45_9449.jpg', '/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_55_10350.jpg', '/home/pi/Desktop/images/19042025/06/50/image_19042025_06_51_06_10364.jpg', '/home/pi/Desktop/images/19042025/06/51/image_19042025_06_51_25_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_25_9412.jpg
/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_35_10437.jpg
/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_45_9449.jpg
/home/pi/Desktop/images/19042025/06/50/image_19042025_06_50_55_10350.jpg
/home/pi/Desktop/images/19042025/06/50/image_19042025_06_51_06_10364.jpg
/home/pi/Desktop/images/19042025/06/51/image_19042025_06_51_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":["1351798886","1351798891","1351798894","1351798896","1351798899","1351798884"],"photo_ids_order":["1351798884","1351798886","1351798891","1351798894","1351798896","1351798899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4ae39182f0620fc8dff6a7bc42f392f.jpg","text":"TemporaryFile(/tmp/multipartBody7211972578136730257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054372972,"filename":"image_19042025_06_50_35_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/62bc72cfd57c773a5472f0d98229eb94.jpg","text":"TemporaryFile(/tmp/multipartBody1894334364360445473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054372972,"filename":"image_19042025_06_50_45_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48f8111e3489a6a6de8341071fa128f7.jpg","text":"TemporaryFile(/tmp/multipartBody6161975257930885591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054372972,"filename":"image_19042025_06_50_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e8f291b8d2e37a671fc5c94c0c48750.jpg","text":"TemporaryFile(/tmp/multipartBody8581291530890759645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054372972,"filename":"image_19042025_06_51_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/19/0acd4a25d77f5a5f4c1a07f92e0a95bd.jpg","text":"TemporaryFile(/tmp/multipartBody2087278003347087678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054372972,"filename":"image_19042025_06_51_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/19/aee8985a76c3945171f2bb43cef6546a.jpg","text":"TemporaryFile(/tmp/multipartBody8024734310019605322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054372972,"filename":"image_19042025_06_50_25_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798891","file1":"1351798886","file0":"1351798884","file4":"1351798896","file5":"1351798899","file3":"1351798894"},"map_files_photo_id_array":[{"photo_id":"1351798899","filename":"file5"},{"photo_id":"1351798891","filename":"file2"},{"photo_id":"1351798896","filename":"file4"},{"photo_id":"1351798886","filename":"file1"},{"photo_id":"1351798884","filename":"file0"},{"photo_id":"1351798894","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798886":["hashtag1","hashtag2"]},{"1351798891":["hashtag1","hashtag2"]},{"1351798894":["hashtag1","hashtag2"]},{"1351798896":["hashtag1","hashtag2"]},{"1351798899":["hashtag1","hashtag2"]},{"1351798884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798886, 1351798891, 1351798894, 1351798896, 1351798899, 1351798884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.463146209716797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:19:32.736589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/51/image_19042025_06_51_35_9435.jpg', '/home/pi/Desktop/images/19042025/06/51/image_19042025_06_51_45_10406.jpg', '/home/pi/Desktop/images/19042025/06/51/image_19042025_06_51_56_10362.jpg', '/home/pi/Desktop/images/19042025/06/51/image_19042025_06_52_05_9367.jpg', '/home/pi/Desktop/images/19042025/06/52/image_19042025_06_52_25_9432.jpg', '/home/pi/Desktop/images/19042025/06/52/image_19042025_06_52_35_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/51/image_19042025_06_51_35_9435.jpg
/home/pi/Desktop/images/19042025/06/51/image_19042025_06_51_45_10406.jpg
/home/pi/Desktop/images/19042025/06/51/image_19042025_06_51_56_10362.jpg
/home/pi/Desktop/images/19042025/06/51/image_19042025_06_52_05_9367.jpg
/home/pi/Desktop/images/19042025/06/52/image_19042025_06_52_25_9432.jpg
/home/pi/Desktop/images/19042025/06/52/image_19042025_06_52_35_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":["1351798919","1351798928","1351798916","1351798933","1351798921","1351798926"],"photo_ids_order":["1351798916","1351798919","1351798921","1351798926","1351798928","1351798933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f8b8a2a71376ccef101bd0b7fa175f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7217669048117838917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054433295,"filename":"image_19042025_06_51_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/19/bb02965501a446b241c1f2834f39ce7b.jpg","text":"TemporaryFile(/tmp/multipartBody601766710858764561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054433295,"filename":"image_19042025_06_52_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/19/6fb5cbc6000259660b03b9417e52f68b.jpg","text":"TemporaryFile(/tmp/multipartBody4142489233770730286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054433295,"filename":"image_19042025_06_51_35_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e987c653253f19c8e8a30d369fb00c6c.jpg","text":"TemporaryFile(/tmp/multipartBody2962167667063747253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054433295,"filename":"image_19042025_06_52_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6fd2781331b0eff7b23e4f12328252a8.jpg","text":"TemporaryFile(/tmp/multipartBody8211311955704616242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054433295,"filename":"image_19042025_06_51_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/19/4c101049cc04784ef3f063df42abc6fa.jpg","text":"TemporaryFile(/tmp/multipartBody2636721312930088839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054433295,"filename":"image_19042025_06_52_05_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798921","file1":"1351798919","file0":"1351798916","file4":"1351798928","file5":"1351798933","file3":"1351798926"},"map_files_photo_id_array":[{"photo_id":"1351798933","filename":"file5"},{"photo_id":"1351798921","filename":"file2"},{"photo_id":"1351798928","filename":"file4"},{"photo_id":"1351798919","filename":"file1"},{"photo_id":"1351798916","filename":"file0"},{"photo_id":"1351798926","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798919":["hashtag1","hashtag2"]},{"1351798928":["hashtag1","hashtag2"]},{"1351798916":["hashtag1","hashtag2"]},{"1351798933":["hashtag1","hashtag2"]},{"1351798921":["hashtag1","hashtag2"]},{"1351798926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798919, 1351798928, 1351798916, 1351798933, 1351798921, 1351798926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29274082183838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:20:32.987257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/52/image_19042025_06_52_46_10366.jpg', '/home/pi/Desktop/images/19042025/06/52/image_19042025_06_52_55_9334.jpg', '/home/pi/Desktop/images/19042025/06/52/image_19042025_06_53_05_10353.jpg', '/home/pi/Desktop/images/19042025/06/53/image_19042025_06_53_16_10343.jpg', '/home/pi/Desktop/images/19042025/06/53/image_19042025_06_53_25_9352.jpg', '/home/pi/Desktop/images/19042025/06/53/image_19042025_06_53_45_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/52/image_19042025_06_52_46_10366.jpg
/home/pi/Desktop/images/19042025/06/52/image_19042025_06_52_55_9334.jpg
/home/pi/Desktop/images/19042025/06/52/image_19042025_06_53_05_10353.jpg
/home/pi/Desktop/images/19042025/06/53/image_19042025_06_53_16_10343.jpg
/home/pi/Desktop/images/19042025/06/53/image_19042025_06_53_25_9352.jpg
/home/pi/Desktop/images/19042025/06/53/image_19042025_06_53_45_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351798979","1351798964","1351798975","1351798971","1351798968","1351798982"],"photo_ids_order":["1351798964","1351798968","1351798971","1351798975","1351798979","1351798982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56f0d0b56b05a008d01c40da023732c8.jpg","text":"TemporaryFile(/tmp/multipartBody6518167866688677158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054493540,"filename":"image_19042025_06_53_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc3f1b43cc17a836275954bbe5025fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1444890028693685033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054493540,"filename":"image_19042025_06_52_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/19/4a293daff2a5ba5e81df03d51e644728.jpg","text":"TemporaryFile(/tmp/multipartBody5820476596943841435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054493540,"filename":"image_19042025_06_53_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/19/5d1a8d68e62f82eb48c8856d999730bb.jpg","text":"TemporaryFile(/tmp/multipartBody2022323230283339390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054493540,"filename":"image_19042025_06_53_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/19/1ca8f8f5ab7fbcdea5505ed77103b05f.jpg","text":"TemporaryFile(/tmp/multipartBody5237061451624245660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054493540,"filename":"image_19042025_06_52_55_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa81ab874bb7e03611ffa38b69a582d6.jpg","text":"TemporaryFile(/tmp/multipartBody2545299915664308407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054493540,"filename":"image_19042025_06_53_45_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798971","file1":"1351798968","file0":"1351798964","file4":"1351798979","file5":"1351798982","file3":"1351798975"},"map_files_photo_id_array":[{"photo_id":"1351798982","filename":"file5"},{"photo_id":"1351798971","filename":"file2"},{"photo_id":"1351798979","filename":"file4"},{"photo_id":"1351798968","filename":"file1"},{"photo_id":"1351798964","filename":"file0"},{"photo_id":"1351798975","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351798979":["hashtag1","hashtag2"]},{"1351798964":["hashtag1","hashtag2"]},{"1351798975":["hashtag1","hashtag2"]},{"1351798971":["hashtag1","hashtag2"]},{"1351798968":["hashtag1","hashtag2"]},{"1351798982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351798979, 1351798964, 1351798975, 1351798971, 1351798968, 1351798982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.519301414489746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:21:33.146797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/53/image_19042025_06_53_55_10404.jpg', '/home/pi/Desktop/images/19042025/06/53/image_19042025_06_54_05_10371.jpg', '/home/pi/Desktop/images/19042025/06/54/image_19042025_06_54_25_10392.jpg', '/home/pi/Desktop/images/19042025/06/54/image_19042025_06_54_36_10359.jpg', '/home/pi/Desktop/images/19042025/06/54/image_19042025_06_54_55_9940.jpg', '/home/pi/Desktop/images/19042025/06/54/image_19042025_06_55_05_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/53/image_19042025_06_53_55_10404.jpg
/home/pi/Desktop/images/19042025/06/53/image_19042025_06_54_05_10371.jpg
/home/pi/Desktop/images/19042025/06/54/image_19042025_06_54_25_10392.jpg
/home/pi/Desktop/images/19042025/06/54/image_19042025_06_54_36_10359.jpg
/home/pi/Desktop/images/19042025/06/54/image_19042025_06_54_55_9940.jpg
/home/pi/Desktop/images/19042025/06/54/image_19042025_06_55_05_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799006","1351799015","1351799020","1351798998","1351799001","1351799010"],"photo_ids_order":["1351798998","1351799001","1351799006","1351799010","1351799015","1351799020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ec799747e6b3f614d4adf3a5d70d85bb.jpg","text":"TemporaryFile(/tmp/multipartBody6833720562352586891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054553690,"filename":"image_19042025_06_54_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/19/d6477fcc7c8f0ace15fa44645ccc9cea.jpg","text":"TemporaryFile(/tmp/multipartBody646196066873217154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054553690,"filename":"image_19042025_06_54_55_9940.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/92089c11dc158c5294ee6d12503a5495.jpg","text":"TemporaryFile(/tmp/multipartBody4174739026923709356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054553690,"filename":"image_19042025_06_55_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/19/b6f6dd65f0551546525506cec6a890f5.jpg","text":"TemporaryFile(/tmp/multipartBody2226167242257064195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054553690,"filename":"image_19042025_06_53_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/19/9fea0d3e1b95c12178f6ef24fdc8caaf.jpg","text":"TemporaryFile(/tmp/multipartBody3971627722548319605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054553690,"filename":"image_19042025_06_54_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/19/ecc269df5ee8fb4ff31c09d6d80ff7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1674935016842480568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054553690,"filename":"image_19042025_06_54_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799006","file1":"1351799001","file0":"1351798998","file4":"1351799015","file5":"1351799020","file3":"1351799010"},"map_files_photo_id_array":[{"photo_id":"1351799020","filename":"file5"},{"photo_id":"1351799006","filename":"file2"},{"photo_id":"1351799015","filename":"file4"},{"photo_id":"1351799001","filename":"file1"},{"photo_id":"1351798998","filename":"file0"},{"photo_id":"1351799010","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799006":["hashtag1","hashtag2"]},{"1351799015":["hashtag1","hashtag2"]},{"1351799020":["hashtag1","hashtag2"]},{"1351798998":["hashtag1","hashtag2"]},{"1351799001":["hashtag1","hashtag2"]},{"1351799010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799006, 1351799015, 1351799020, 1351798998, 1351799001, 1351799010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.097020387649536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:22:32.405741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_15_9433.jpg', '/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_25_10350.jpg', '/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_36_10372.jpg', '/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_45_9346.jpg', '/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_55_10367.jpg', '/home/pi/Desktop/images/19042025/06/55/image_19042025_06_56_06_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_15_9433.jpg
/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_25_10350.jpg
/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_36_10372.jpg
/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_45_9346.jpg
/home/pi/Desktop/images/19042025/06/55/image_19042025_06_55_55_10367.jpg
/home/pi/Desktop/images/19042025/06/55/image_19042025_06_56_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":["1351799033","1351799050","1351799047","1351799038","1351799052","1351799042"],"photo_ids_order":["1351799033","1351799038","1351799042","1351799047","1351799050","1351799052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7edcbb3a551b9a1c43bb8e37264754af.jpg","text":"TemporaryFile(/tmp/multipartBody175843676269031414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054612980,"filename":"image_19042025_06_55_15_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55461e46e88b0a7528eff39a2d16b663.jpg","text":"TemporaryFile(/tmp/multipartBody2826328891959379391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054612980,"filename":"image_19042025_06_55_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/19/b3ec108fcd1ec46eb2512825958b3c26.jpg","text":"TemporaryFile(/tmp/multipartBody8489626130687685852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054612980,"filename":"image_19042025_06_55_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/19/f63f231a30bdcd95c9a552c46d1fed1c.jpg","text":"TemporaryFile(/tmp/multipartBody1607586103611970418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054612980,"filename":"image_19042025_06_55_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00863d8de207fb3f0e97ede918058ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8647735198978553907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054612980,"filename":"image_19042025_06_56_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/19/cb879fbd1e5f101a015dac4d22131766.jpg","text":"TemporaryFile(/tmp/multipartBody1856281746426208262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054612980,"filename":"image_19042025_06_55_36_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799042","file1":"1351799038","file0":"1351799033","file4":"1351799050","file5":"1351799052","file3":"1351799047"},"map_files_photo_id_array":[{"photo_id":"1351799052","filename":"file5"},{"photo_id":"1351799042","filename":"file2"},{"photo_id":"1351799050","filename":"file4"},{"photo_id":"1351799038","filename":"file1"},{"photo_id":"1351799033","filename":"file0"},{"photo_id":"1351799047","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799033":["hashtag1","hashtag2"]},{"1351799050":["hashtag1","hashtag2"]},{"1351799047":["hashtag1","hashtag2"]},{"1351799038":["hashtag1","hashtag2"]},{"1351799052":["hashtag1","hashtag2"]},{"1351799042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799033, 1351799050, 1351799047, 1351799038, 1351799052, 1351799042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.715874910354614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:23:32.737561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_15_9326.jpg', '/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_25_10361.jpg', '/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_35_9334.jpg', '/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_45_10433.jpg', '/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_55_10415.jpg', '/home/pi/Desktop/images/19042025/06/56/image_19042025_06_57_05_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_15_9326.jpg
/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_25_10361.jpg
/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_35_9334.jpg
/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_45_10433.jpg
/home/pi/Desktop/images/19042025/06/56/image_19042025_06_56_55_10415.jpg
/home/pi/Desktop/images/19042025/06/56/image_19042025_06_57_05_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799083","1351799080","1351799076","1351799070","1351799073","1351799087"],"photo_ids_order":["1351799070","1351799073","1351799076","1351799080","1351799083","1351799087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/570ff393b2d6af3d3026b9b34330af01.jpg","text":"TemporaryFile(/tmp/multipartBody4935696572666503676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054673567,"filename":"image_19042025_06_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/19/41a7a96ae21917d60e9746721596bdab.jpg","text":"TemporaryFile(/tmp/multipartBody2236849247862888569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054673567,"filename":"image_19042025_06_56_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/19/006a68ef5888d0a73c581ad349f5fc47.jpg","text":"TemporaryFile(/tmp/multipartBody270573876538456634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054673567,"filename":"image_19042025_06_56_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d46694a7ab6468dd28bac778f7e51ae8.jpg","text":"TemporaryFile(/tmp/multipartBody2028144464532872672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054673567,"filename":"image_19042025_06_56_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/157bca0b7e250c234d9ca6b5af1cad85.jpg","text":"TemporaryFile(/tmp/multipartBody1947738232863069077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054673567,"filename":"image_19042025_06_56_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/19/296173832b995316b4c4656ecf97ee68.jpg","text":"TemporaryFile(/tmp/multipartBody4946089122833146816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054673567,"filename":"image_19042025_06_57_05_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799076","file1":"1351799073","file0":"1351799070","file4":"1351799083","file5":"1351799087","file3":"1351799080"},"map_files_photo_id_array":[{"photo_id":"1351799087","filename":"file5"},{"photo_id":"1351799076","filename":"file2"},{"photo_id":"1351799083","filename":"file4"},{"photo_id":"1351799073","filename":"file1"},{"photo_id":"1351799070","filename":"file0"},{"photo_id":"1351799080","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799083":["hashtag1","hashtag2"]},{"1351799080":["hashtag1","hashtag2"]},{"1351799076":["hashtag1","hashtag2"]},{"1351799070":["hashtag1","hashtag2"]},{"1351799073":["hashtag1","hashtag2"]},{"1351799087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799083, 1351799080, 1351799076, 1351799070, 1351799073, 1351799087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23323106765747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:24:32.741974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/57/image_19042025_06_57_15_10366.jpg', '/home/pi/Desktop/images/19042025/06/57/image_19042025_06_57_26_10390.jpg', '/home/pi/Desktop/images/19042025/06/57/image_19042025_06_57_35_9354.jpg', '/home/pi/Desktop/images/19042025/06/57/image_19042025_06_57_45_10381.jpg', '/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_15_10361.jpg', '/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_25_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/57/image_19042025_06_57_15_10366.jpg
/home/pi/Desktop/images/19042025/06/57/image_19042025_06_57_26_10390.jpg
/home/pi/Desktop/images/19042025/06/57/image_19042025_06_57_35_9354.jpg
/home/pi/Desktop/images/19042025/06/57/image_19042025_06_57_45_10381.jpg
/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_15_10361.jpg
/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_25_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":["1351799102","1351799113","1351799199","1351799110","1351799106","1351799117"],"photo_ids_order":["1351799102","1351799106","1351799110","1351799113","1351799117","1351799199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9d6ac8ca9406c7d312a281ac33f97217.jpg","text":"TemporaryFile(/tmp/multipartBody8551076656748689699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054733297,"filename":"image_19042025_06_57_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/19/ee8c03b67f3c2556b471160e83cc29b8.jpg","text":"TemporaryFile(/tmp/multipartBody7074639301055839854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054733297,"filename":"image_19042025_06_57_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/19/e0a23f384b8dac960130c2a0fae02fec.jpg","text":"TemporaryFile(/tmp/multipartBody5382548209212722698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054733297,"filename":"image_19042025_06_58_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/19/af13cc3b3bbd9eb11ab3887187029e37.jpg","text":"TemporaryFile(/tmp/multipartBody4461248103844291006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054733297,"filename":"image_19042025_06_57_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/19/122f66526da4521e5cdd35ca008cd156.jpg","text":"TemporaryFile(/tmp/multipartBody6070044647446149366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054733297,"filename":"image_19042025_06_57_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/19/ebacc8e53cef0d581b87747326e96001.jpg","text":"TemporaryFile(/tmp/multipartBody5382117914750752152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054733297,"filename":"image_19042025_06_58_15_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799110","file1":"1351799106","file0":"1351799102","file4":"1351799117","file5":"1351799199","file3":"1351799113"},"map_files_photo_id_array":[{"photo_id":"1351799199","filename":"file5"},{"photo_id":"1351799110","filename":"file2"},{"photo_id":"1351799117","filename":"file4"},{"photo_id":"1351799106","filename":"file1"},{"photo_id":"1351799102","filename":"file0"},{"photo_id":"1351799113","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799102":["hashtag1","hashtag2"]},{"1351799113":["hashtag1","hashtag2"]},{"1351799199":["hashtag1","hashtag2"]},{"1351799110":["hashtag1","hashtag2"]},{"1351799106":["hashtag1","hashtag2"]},{"1351799117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799102, 1351799113, 1351799199, 1351799110, 1351799106, 1351799117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59727716445923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:25:32.826856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_35_10360.jpg', '/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_46_10354.jpg', '/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_55_9363.jpg', '/home/pi/Desktop/images/19042025/06/58/image_19042025_06_59_05_10482.jpg', '/home/pi/Desktop/images/19042025/06/59/image_19042025_06_59_15_9953.jpg', '/home/pi/Desktop/images/19042025/06/59/image_19042025_06_59_25_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_35_10360.jpg
/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_46_10354.jpg
/home/pi/Desktop/images/19042025/06/58/image_19042025_06_58_55_9363.jpg
/home/pi/Desktop/images/19042025/06/58/image_19042025_06_59_05_10482.jpg
/home/pi/Desktop/images/19042025/06/59/image_19042025_06_59_15_9953.jpg
/home/pi/Desktop/images/19042025/06/59/image_19042025_06_59_25_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799356","1351799350","1351799341","1351799343","1351799345","1351799354"],"photo_ids_order":["1351799341","1351799343","1351799345","1351799350","1351799354","1351799356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d369e09705c2271cdcd0b9afa446458.jpg","text":"TemporaryFile(/tmp/multipartBody1752458697072960827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054793392,"filename":"image_19042025_06_59_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/19/598cd42e37d210e6b917bdfbcf59fbbe.jpg","text":"TemporaryFile(/tmp/multipartBody3954776259094150545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054793392,"filename":"image_19042025_06_59_05_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d441ed030c2258a0deafeca0677ab91.jpg","text":"TemporaryFile(/tmp/multipartBody3713364843077088008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054793392,"filename":"image_19042025_06_58_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fe1d9e56e4d8b4e87e0a3f95d213367c.jpg","text":"TemporaryFile(/tmp/multipartBody4789813342686618407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054793392,"filename":"image_19042025_06_58_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/508592b6077ebc9160871b2fc058daac.jpg","text":"TemporaryFile(/tmp/multipartBody8751793983388062491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054793392,"filename":"image_19042025_06_58_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/19/35706b70ac02a2e92d0e2ec713042a66.jpg","text":"TemporaryFile(/tmp/multipartBody1353765810419166235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054793392,"filename":"image_19042025_06_59_15_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799345","file1":"1351799343","file0":"1351799341","file4":"1351799354","file5":"1351799356","file3":"1351799350"},"map_files_photo_id_array":[{"photo_id":"1351799356","filename":"file5"},{"photo_id":"1351799345","filename":"file2"},{"photo_id":"1351799354","filename":"file4"},{"photo_id":"1351799343","filename":"file1"},{"photo_id":"1351799341","filename":"file0"},{"photo_id":"1351799350","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799356":["hashtag1","hashtag2"]},{"1351799350":["hashtag1","hashtag2"]},{"1351799341":["hashtag1","hashtag2"]},{"1351799343":["hashtag1","hashtag2"]},{"1351799345":["hashtag1","hashtag2"]},{"1351799354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799356, 1351799350, 1351799341, 1351799343, 1351799345, 1351799354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.156100034713745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:26:33.095808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/06/59/image_19042025_06_59_35_10401.jpg', '/home/pi/Desktop/images/19042025/06/59/image_19042025_06_59_45_10373.jpg', '/home/pi/Desktop/images/19042025/07/00/image_19042025_07_00_37_10360.jpg', '/home/pi/Desktop/images/19042025/07/00/image_19042025_07_00_46_9414.jpg', '/home/pi/Desktop/images/19042025/07/00/image_19042025_07_00_56_10371.jpg', '/home/pi/Desktop/images/19042025/07/01/image_19042025_07_01_56_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/06/59/image_19042025_06_59_35_10401.jpg
/home/pi/Desktop/images/19042025/06/59/image_19042025_06_59_45_10373.jpg
/home/pi/Desktop/images/19042025/07/00/image_19042025_07_00_37_10360.jpg
/home/pi/Desktop/images/19042025/07/00/image_19042025_07_00_46_9414.jpg
/home/pi/Desktop/images/19042025/07/00/image_19042025_07_00_56_10371.jpg
/home/pi/Desktop/images/19042025/07/01/image_19042025_07_01_56_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":["1351799411","1351799386","1351799407","1351799394","1351799388","1351799382"],"photo_ids_order":["1351799382","1351799386","1351799388","1351799394","1351799407","1351799411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4946867b4100105e15c3ea37c746b5cf.jpg","text":"TemporaryFile(/tmp/multipartBody7768204529827751576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054853640,"filename":"image_19042025_07_01_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/19/59beefee50b425c6d7bd77eaaf6d96a3.jpg","text":"TemporaryFile(/tmp/multipartBody5398860336777735658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054853640,"filename":"image_19042025_06_59_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/85f060480867a26b68b91ed2b65cb7f5.jpg","text":"TemporaryFile(/tmp/multipartBody8641699328240626496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054853640,"filename":"image_19042025_07_00_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/19/cab9cdfab8648ae6a62cb79ced58a277.jpg","text":"TemporaryFile(/tmp/multipartBody488238853878769870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054853640,"filename":"image_19042025_07_00_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/19/65be6a80e530f5310e872f5663d38d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4832231512839722353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054853640,"filename":"image_19042025_07_00_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/19/174c1d4c9bbc7c374cf15854d6e27a31.jpg","text":"TemporaryFile(/tmp/multipartBody3035728922967112771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054853640,"filename":"image_19042025_06_59_35_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799388","file1":"1351799386","file0":"1351799382","file4":"1351799407","file5":"1351799411","file3":"1351799394"},"map_files_photo_id_array":[{"photo_id":"1351799411","filename":"file5"},{"photo_id":"1351799388","filename":"file2"},{"photo_id":"1351799407","filename":"file4"},{"photo_id":"1351799386","filename":"file1"},{"photo_id":"1351799382","filename":"file0"},{"photo_id":"1351799394","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799411":["hashtag1","hashtag2"]},{"1351799386":["hashtag1","hashtag2"]},{"1351799407":["hashtag1","hashtag2"]},{"1351799394":["hashtag1","hashtag2"]},{"1351799388":["hashtag1","hashtag2"]},{"1351799382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799411, 1351799386, 1351799407, 1351799394, 1351799388, 1351799382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.508881092071533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:27:32.457876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/01/image_19042025_07_02_06_10353.jpg', '/home/pi/Desktop/images/19042025/07/02/image_19042025_07_02_47_10363.jpg', '/home/pi/Desktop/images/19042025/07/02/image_19042025_07_02_56_9379.jpg', '/home/pi/Desktop/images/19042025/07/03/image_19042025_07_03_16_9435.jpg', '/home/pi/Desktop/images/19042025/07/03/image_19042025_07_03_26_10358.jpg', '/home/pi/Desktop/images/19042025/07/03/image_19042025_07_03_37_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/01/image_19042025_07_02_06_10353.jpg
/home/pi/Desktop/images/19042025/07/02/image_19042025_07_02_47_10363.jpg
/home/pi/Desktop/images/19042025/07/02/image_19042025_07_02_56_9379.jpg
/home/pi/Desktop/images/19042025/07/03/image_19042025_07_03_16_9435.jpg
/home/pi/Desktop/images/19042025/07/03/image_19042025_07_03_26_10358.jpg
/home/pi/Desktop/images/19042025/07/03/image_19042025_07_03_37_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799446","1351799440","1351799451","1351799459","1351799453","1351799456"],"photo_ids_order":["1351799440","1351799446","1351799451","1351799453","1351799456","1351799459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ab19f3311d7072e6d64aa9b8bbcba5f.jpg","text":"TemporaryFile(/tmp/multipartBody6372123592931038782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054913005,"filename":"image_19042025_07_02_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f526e5e0750fa1741b6574fa0f25c0e3.jpg","text":"TemporaryFile(/tmp/multipartBody2325491367581733443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054913005,"filename":"image_19042025_07_02_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e178950ea6c6741a3617eb97efba9ac.jpg","text":"TemporaryFile(/tmp/multipartBody2917269685921806674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054913005,"filename":"image_19042025_07_02_56_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e7279b3e2f5740e0bd39cac4f0def628.jpg","text":"TemporaryFile(/tmp/multipartBody4318033598649187587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054913005,"filename":"image_19042025_07_03_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/19/ab3a44da6782c709131a2d1cb9620b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5708651014302217285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054913005,"filename":"image_19042025_07_03_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/19/9433ae7956de3d2238c8dccbfe9d7ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7952861114105891605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054913005,"filename":"image_19042025_07_03_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799451","file1":"1351799446","file0":"1351799440","file4":"1351799456","file5":"1351799459","file3":"1351799453"},"map_files_photo_id_array":[{"photo_id":"1351799459","filename":"file5"},{"photo_id":"1351799451","filename":"file2"},{"photo_id":"1351799456","filename":"file4"},{"photo_id":"1351799446","filename":"file1"},{"photo_id":"1351799440","filename":"file0"},{"photo_id":"1351799453","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799446":["hashtag1","hashtag2"]},{"1351799440":["hashtag1","hashtag2"]},{"1351799451":["hashtag1","hashtag2"]},{"1351799459":["hashtag1","hashtag2"]},{"1351799453":["hashtag1","hashtag2"]},{"1351799456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799446, 1351799440, 1351799451, 1351799459, 1351799453, 1351799456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60283136367798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:28:32.592647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/03/image_19042025_07_03_56_10389.jpg', '/home/pi/Desktop/images/19042025/07/03/image_19042025_07_04_06_9419.jpg', '/home/pi/Desktop/images/19042025/07/04/image_19042025_07_04_16_10361.jpg', '/home/pi/Desktop/images/19042025/07/04/image_19042025_07_04_27_10391.jpg', '/home/pi/Desktop/images/19042025/07/04/image_19042025_07_04_36_9345.jpg', '/home/pi/Desktop/images/19042025/07/04/image_19042025_07_04_46_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/03/image_19042025_07_03_56_10389.jpg
/home/pi/Desktop/images/19042025/07/03/image_19042025_07_04_06_9419.jpg
/home/pi/Desktop/images/19042025/07/04/image_19042025_07_04_16_10361.jpg
/home/pi/Desktop/images/19042025/07/04/image_19042025_07_04_27_10391.jpg
/home/pi/Desktop/images/19042025/07/04/image_19042025_07_04_36_9345.jpg
/home/pi/Desktop/images/19042025/07/04/image_19042025_07_04_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":["1351799479","1351799487","1351799475","1351799489","1351799483","1351799486"],"photo_ids_order":["1351799475","1351799479","1351799483","1351799486","1351799487","1351799489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a96dd842b01b3f18617285d8f35dd9cd.jpg","text":"TemporaryFile(/tmp/multipartBody3879589521594795590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054973139,"filename":"image_19042025_07_04_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/19/c1ab0d4120d4765365c988dce0513f66.jpg","text":"TemporaryFile(/tmp/multipartBody7523614442043747070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054973139,"filename":"image_19042025_07_04_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/19/7abb0b17a3c50e7bd69f815696553542.jpg","text":"TemporaryFile(/tmp/multipartBody5357617234050475640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054973139,"filename":"image_19042025_07_03_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/19/61ad8b40ec55fd10f7fb0e7f0f4bc161.jpg","text":"TemporaryFile(/tmp/multipartBody5468564534977435819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054973139,"filename":"image_19042025_07_04_46_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e6ee8ae6a8af89a591d6edb138c89f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7167244291789251383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054973139,"filename":"image_19042025_07_04_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/19/5823aee094ca33ef92fae1165a1abf03.jpg","text":"TemporaryFile(/tmp/multipartBody745989080890283136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745054973139,"filename":"image_19042025_07_04_27_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799483","file1":"1351799479","file0":"1351799475","file4":"1351799487","file5":"1351799489","file3":"1351799486"},"map_files_photo_id_array":[{"photo_id":"1351799489","filename":"file5"},{"photo_id":"1351799483","filename":"file2"},{"photo_id":"1351799487","filename":"file4"},{"photo_id":"1351799479","filename":"file1"},{"photo_id":"1351799475","filename":"file0"},{"photo_id":"1351799486","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799479":["hashtag1","hashtag2"]},{"1351799487":["hashtag1","hashtag2"]},{"1351799475":["hashtag1","hashtag2"]},{"1351799489":["hashtag1","hashtag2"]},{"1351799483":["hashtag1","hashtag2"]},{"1351799486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799479, 1351799487, 1351799475, 1351799489, 1351799483, 1351799486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.212162494659424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:29:32.888517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/04/image_19042025_07_05_06_10414.jpg', '/home/pi/Desktop/images/19042025/07/05/image_19042025_07_05_26_9365.jpg', '/home/pi/Desktop/images/19042025/07/05/image_19042025_07_05_36_10356.jpg', '/home/pi/Desktop/images/19042025/07/05/image_19042025_07_05_56_10420.jpg', '/home/pi/Desktop/images/19042025/07/05/image_19042025_07_06_07_10343.jpg', '/home/pi/Desktop/images/19042025/07/06/image_19042025_07_07_06_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/04/image_19042025_07_05_06_10414.jpg
/home/pi/Desktop/images/19042025/07/05/image_19042025_07_05_26_9365.jpg
/home/pi/Desktop/images/19042025/07/05/image_19042025_07_05_36_10356.jpg
/home/pi/Desktop/images/19042025/07/05/image_19042025_07_05_56_10420.jpg
/home/pi/Desktop/images/19042025/07/05/image_19042025_07_06_07_10343.jpg
/home/pi/Desktop/images/19042025/07/06/image_19042025_07_07_06_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":["1351799510","1351799521","1351799514","1351799544","1351799546","1351799507"],"photo_ids_order":["1351799507","1351799510","1351799514","1351799521","1351799544","1351799546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2db640ee5947efde4e17b3482a2a3547.jpg","text":"TemporaryFile(/tmp/multipartBody1526255060541493277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055033693,"filename":"image_19042025_07_05_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/19/67982bdcd9a83fc8df93ec455bd91239.jpg","text":"TemporaryFile(/tmp/multipartBody3191891664901397773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055033693,"filename":"image_19042025_07_05_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/19/031e98bb89db5d360f789185e15fc267.jpg","text":"TemporaryFile(/tmp/multipartBody6254058364271877069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055033693,"filename":"image_19042025_07_05_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12999a44a4e7843948e563e1cd55eb49.jpg","text":"TemporaryFile(/tmp/multipartBody7009590487510893397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055033693,"filename":"image_19042025_07_06_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c27cae79837ebe4a504b39ad72c50063.jpg","text":"TemporaryFile(/tmp/multipartBody5971826750656406615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055033693,"filename":"image_19042025_07_07_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f3b44a4e7d97e26674799affe708f2f.jpg","text":"TemporaryFile(/tmp/multipartBody295638238306843785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055033693,"filename":"image_19042025_07_05_06_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799514","file1":"1351799510","file0":"1351799507","file4":"1351799544","file5":"1351799546","file3":"1351799521"},"map_files_photo_id_array":[{"photo_id":"1351799546","filename":"file5"},{"photo_id":"1351799514","filename":"file2"},{"photo_id":"1351799544","filename":"file4"},{"photo_id":"1351799510","filename":"file1"},{"photo_id":"1351799507","filename":"file0"},{"photo_id":"1351799521","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799510":["hashtag1","hashtag2"]},{"1351799521":["hashtag1","hashtag2"]},{"1351799514":["hashtag1","hashtag2"]},{"1351799544":["hashtag1","hashtag2"]},{"1351799546":["hashtag1","hashtag2"]},{"1351799507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799510, 1351799521, 1351799514, 1351799544, 1351799546, 1351799507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23288679122925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:30:33.135681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/07/image_19042025_07_07_27_10423.jpg', '/home/pi/Desktop/images/19042025/07/07/image_19042025_07_07_36_9479.jpg', '/home/pi/Desktop/images/19042025/07/07/image_19042025_07_07_46_10368.jpg', '/home/pi/Desktop/images/19042025/07/07/image_19042025_07_07_56_9475.jpg', '/home/pi/Desktop/images/19042025/07/07/image_19042025_07_08_06_10359.jpg', '/home/pi/Desktop/images/19042025/07/08/image_19042025_07_08_26_9481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/07/image_19042025_07_07_27_10423.jpg
/home/pi/Desktop/images/19042025/07/07/image_19042025_07_07_36_9479.jpg
/home/pi/Desktop/images/19042025/07/07/image_19042025_07_07_46_10368.jpg
/home/pi/Desktop/images/19042025/07/07/image_19042025_07_07_56_9475.jpg
/home/pi/Desktop/images/19042025/07/07/image_19042025_07_08_06_10359.jpg
/home/pi/Desktop/images/19042025/07/08/image_19042025_07_08_26_9481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799566","1351799569","1351799580","1351799576","1351799561","1351799558"],"photo_ids_order":["1351799558","1351799561","1351799566","1351799569","1351799576","1351799580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f708d6df9af3b68de9df2c3a5184ed9.jpg","text":"TemporaryFile(/tmp/multipartBody9159585394438544974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055093677,"filename":"image_19042025_07_07_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/19/90771ff3e7d8f7db36730a4b9b60895c.jpg","text":"TemporaryFile(/tmp/multipartBody4097929446838770944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055093677,"filename":"image_19042025_07_07_56_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ec067c14eb1ee73179f7f3ef310f2fe.jpg","text":"TemporaryFile(/tmp/multipartBody2639604626390250073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055093677,"filename":"image_19042025_07_08_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/19/c0e11963314a53556dc4ab4980a9b850.jpg","text":"TemporaryFile(/tmp/multipartBody7702426486075456992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055093677,"filename":"image_19042025_07_08_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/19/446a647345bfe72ff7754f097963d896.jpg","text":"TemporaryFile(/tmp/multipartBody5304221580197465020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055093677,"filename":"image_19042025_07_07_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/19/6bd893d8d58991de49c4206687dea3e8.jpg","text":"TemporaryFile(/tmp/multipartBody8758130789087469422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055093677,"filename":"image_19042025_07_07_27_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799566","file1":"1351799561","file0":"1351799558","file4":"1351799576","file5":"1351799580","file3":"1351799569"},"map_files_photo_id_array":[{"photo_id":"1351799580","filename":"file5"},{"photo_id":"1351799566","filename":"file2"},{"photo_id":"1351799576","filename":"file4"},{"photo_id":"1351799561","filename":"file1"},{"photo_id":"1351799558","filename":"file0"},{"photo_id":"1351799569","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799566":["hashtag1","hashtag2"]},{"1351799569":["hashtag1","hashtag2"]},{"1351799580":["hashtag1","hashtag2"]},{"1351799576":["hashtag1","hashtag2"]},{"1351799561":["hashtag1","hashtag2"]},{"1351799558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799566, 1351799569, 1351799580, 1351799576, 1351799561, 1351799558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.360344886779785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:31:32.549664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/08/image_19042025_07_08_37_10357.jpg', '/home/pi/Desktop/images/19042025/07/08/image_19042025_07_08_46_9349.jpg', '/home/pi/Desktop/images/19042025/07/08/image_19042025_07_08_56_10388.jpg', '/home/pi/Desktop/images/19042025/07/08/image_19042025_07_09_07_10342.jpg', '/home/pi/Desktop/images/19042025/07/09/image_19042025_07_09_16_9325.jpg', '/home/pi/Desktop/images/19042025/07/09/image_19042025_07_09_37_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/08/image_19042025_07_08_37_10357.jpg
/home/pi/Desktop/images/19042025/07/08/image_19042025_07_08_46_9349.jpg
/home/pi/Desktop/images/19042025/07/08/image_19042025_07_08_56_10388.jpg
/home/pi/Desktop/images/19042025/07/08/image_19042025_07_09_07_10342.jpg
/home/pi/Desktop/images/19042025/07/09/image_19042025_07_09_16_9325.jpg
/home/pi/Desktop/images/19042025/07/09/image_19042025_07_09_37_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":["1351799609","1351799602","1351799597","1351799591","1351799612","1351799606"],"photo_ids_order":["1351799591","1351799597","1351799602","1351799606","1351799609","1351799612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5dd17d267761cdcd2545fab9bb659d1.jpg","text":"TemporaryFile(/tmp/multipartBody7197767192231081891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055153112,"filename":"image_19042025_07_09_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/77ba18f75151cacff06e4df3632ca4ec.jpg","text":"TemporaryFile(/tmp/multipartBody1978510908073882512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055153112,"filename":"image_19042025_07_08_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/19/81cf9081244705f6e4c5c4946788bbc0.jpg","text":"TemporaryFile(/tmp/multipartBody1800219383262090429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055153112,"filename":"image_19042025_07_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/19/8d7d1e9c68c1285ffbd854f0f3a5ad7c.jpg","text":"TemporaryFile(/tmp/multipartBody3677437006721780057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055153112,"filename":"image_19042025_07_08_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/19/49e4f6f5b876d6acfbd9f118dddafabb.jpg","text":"TemporaryFile(/tmp/multipartBody7902362118596361576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055153112,"filename":"image_19042025_07_09_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/19/00e1d4a43c512e0c018152e474fdae88.jpg","text":"TemporaryFile(/tmp/multipartBody7352040795765111225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055153112,"filename":"image_19042025_07_09_07_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799602","file1":"1351799597","file0":"1351799591","file4":"1351799609","file5":"1351799612","file3":"1351799606"},"map_files_photo_id_array":[{"photo_id":"1351799612","filename":"file5"},{"photo_id":"1351799602","filename":"file2"},{"photo_id":"1351799609","filename":"file4"},{"photo_id":"1351799597","filename":"file1"},{"photo_id":"1351799591","filename":"file0"},{"photo_id":"1351799606","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799609":["hashtag1","hashtag2"]},{"1351799602":["hashtag1","hashtag2"]},{"1351799597":["hashtag1","hashtag2"]},{"1351799591":["hashtag1","hashtag2"]},{"1351799612":["hashtag1","hashtag2"]},{"1351799606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799609, 1351799602, 1351799597, 1351799591, 1351799612, 1351799606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17259502410889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:32:32.649416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/09/image_19042025_07_09_46_9338.jpg', '/home/pi/Desktop/images/19042025/07/09/image_19042025_07_10_07_10415.jpg', '/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_16_9354.jpg', '/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_27_10372.jpg', '/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_36_9368.jpg', '/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/09/image_19042025_07_09_46_9338.jpg
/home/pi/Desktop/images/19042025/07/09/image_19042025_07_10_07_10415.jpg
/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_16_9354.jpg
/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_27_10372.jpg
/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_36_9368.jpg
/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_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":["1351799620","1351799632","1351799628","1351799636","1351799639","1351799624"],"photo_ids_order":["1351799620","1351799624","1351799628","1351799632","1351799636","1351799639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad2a92f01e9bb81dbb367a5e2d77af42.jpg","text":"TemporaryFile(/tmp/multipartBody2487460123074911599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055213195,"filename":"image_19042025_07_09_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c998d6ffa48c3eb26ca11d2a019eca6e.jpg","text":"TemporaryFile(/tmp/multipartBody4192855930515527115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055213195,"filename":"image_19042025_07_10_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/19/51c8ad3d82219f978f02580825e8d706.jpg","text":"TemporaryFile(/tmp/multipartBody5040326061394614997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055213195,"filename":"image_19042025_07_10_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/19/55cf8f85952a6a0dc885e660952cb1d7.jpg","text":"TemporaryFile(/tmp/multipartBody3509446395156695558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055213195,"filename":"image_19042025_07_10_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4342c1125b82d55c5029ca422d4f28b0.jpg","text":"TemporaryFile(/tmp/multipartBody473388870480597494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055213195,"filename":"image_19042025_07_10_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/19/fa25efe1b3b614879551eb61cb0d661d.jpg","text":"TemporaryFile(/tmp/multipartBody8765568525098566951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055213195,"filename":"image_19042025_07_10_07_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799628","file1":"1351799624","file0":"1351799620","file4":"1351799636","file5":"1351799639","file3":"1351799632"},"map_files_photo_id_array":[{"photo_id":"1351799639","filename":"file5"},{"photo_id":"1351799628","filename":"file2"},{"photo_id":"1351799636","filename":"file4"},{"photo_id":"1351799624","filename":"file1"},{"photo_id":"1351799620","filename":"file0"},{"photo_id":"1351799632","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799620":["hashtag1","hashtag2"]},{"1351799632":["hashtag1","hashtag2"]},{"1351799628":["hashtag1","hashtag2"]},{"1351799636":["hashtag1","hashtag2"]},{"1351799639":["hashtag1","hashtag2"]},{"1351799624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799620, 1351799632, 1351799628, 1351799636, 1351799639, 1351799624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.55694890022278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:33:33.005434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_57_10380.jpg', '/home/pi/Desktop/images/19042025/07/10/image_19042025_07_11_06_9437.jpg', '/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_16_10347.jpg', '/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_26_9451.jpg', '/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_36_10367.jpg', '/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_47_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/10/image_19042025_07_10_57_10380.jpg
/home/pi/Desktop/images/19042025/07/10/image_19042025_07_11_06_9437.jpg
/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_16_10347.jpg
/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_26_9451.jpg
/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_36_10367.jpg
/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_47_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799673","1351799690","1351799687","1351799681","1351799684","1351799711"],"photo_ids_order":["1351799673","1351799681","1351799684","1351799687","1351799690","1351799711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89dc3fd0d2a8129e8b5584127cc9fa35.jpg","text":"TemporaryFile(/tmp/multipartBody7119947366328216656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055273551,"filename":"image_19042025_07_10_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/19/3ccde2bd08a6339264ef15128d764d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2775268084634108700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055273551,"filename":"image_19042025_07_11_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/19/a4cb0bee88b14e69d4d5d6d2b284f21c.jpg","text":"TemporaryFile(/tmp/multipartBody5177972807979508552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055273551,"filename":"image_19042025_07_11_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/19/1ba2d5066113217e61d20eab3de6ac6a.jpg","text":"TemporaryFile(/tmp/multipartBody4421273127444023114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055273551,"filename":"image_19042025_07_11_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/19/900441d5d60831c4c829be17f583da7a.jpg","text":"TemporaryFile(/tmp/multipartBody2692655986761414653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055273551,"filename":"image_19042025_07_11_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/19/fc3717908091fb223be8dfc661338d55.jpg","text":"TemporaryFile(/tmp/multipartBody5032633812091889432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055273551,"filename":"image_19042025_07_11_47_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799684","file1":"1351799681","file0":"1351799673","file4":"1351799690","file5":"1351799711","file3":"1351799687"},"map_files_photo_id_array":[{"photo_id":"1351799711","filename":"file5"},{"photo_id":"1351799684","filename":"file2"},{"photo_id":"1351799690","filename":"file4"},{"photo_id":"1351799681","filename":"file1"},{"photo_id":"1351799673","filename":"file0"},{"photo_id":"1351799687","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799673":["hashtag1","hashtag2"]},{"1351799690":["hashtag1","hashtag2"]},{"1351799687":["hashtag1","hashtag2"]},{"1351799681":["hashtag1","hashtag2"]},{"1351799684":["hashtag1","hashtag2"]},{"1351799711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799673, 1351799690, 1351799687, 1351799681, 1351799684, 1351799711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.977028131484985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:34:33.172227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_56_9438.jpg', '/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_16_9455.jpg', '/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_26_10436.jpg', '/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_37_10350.jpg', '/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_46_9354.jpg', '/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_56_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/11/image_19042025_07_11_56_9438.jpg
/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_16_9455.jpg
/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_26_10436.jpg
/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_37_10350.jpg
/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_46_9354.jpg
/home/pi/Desktop/images/19042025/07/12/image_19042025_07_12_56_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799720","1351799734","1351799745","1351799727","1351799753","1351799723"],"photo_ids_order":["1351799720","1351799723","1351799727","1351799734","1351799745","1351799753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08afeafbaf12b15d05a57002add75a26.jpg","text":"TemporaryFile(/tmp/multipartBody5060289543844449422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055333724,"filename":"image_19042025_07_11_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/19/9c28a6c51fc925f675ec63e5481b0bc2.jpg","text":"TemporaryFile(/tmp/multipartBody6349386062117447649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055333724,"filename":"image_19042025_07_12_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bba69094d39f2709305c405a5f22a64e.jpg","text":"TemporaryFile(/tmp/multipartBody1174626140613717143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055333724,"filename":"image_19042025_07_12_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/19/d32ccc4980fa01ec3c4e0b99e96a77e2.jpg","text":"TemporaryFile(/tmp/multipartBody7107356894895200927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055333724,"filename":"image_19042025_07_12_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/19/77dc1f71d3be6f56671a80758b11ee22.jpg","text":"TemporaryFile(/tmp/multipartBody7352893825346692378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055333724,"filename":"image_19042025_07_12_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/19/33a0052366e92020f424bd4e0bfbde38.jpg","text":"TemporaryFile(/tmp/multipartBody2735881175153280525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055333724,"filename":"image_19042025_07_12_16_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799727","file1":"1351799723","file0":"1351799720","file4":"1351799745","file5":"1351799753","file3":"1351799734"},"map_files_photo_id_array":[{"photo_id":"1351799753","filename":"file5"},{"photo_id":"1351799727","filename":"file2"},{"photo_id":"1351799745","filename":"file4"},{"photo_id":"1351799723","filename":"file1"},{"photo_id":"1351799720","filename":"file0"},{"photo_id":"1351799734","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799720":["hashtag1","hashtag2"]},{"1351799734":["hashtag1","hashtag2"]},{"1351799745":["hashtag1","hashtag2"]},{"1351799727":["hashtag1","hashtag2"]},{"1351799753":["hashtag1","hashtag2"]},{"1351799723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799720, 1351799734, 1351799745, 1351799727, 1351799753, 1351799723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51363468170166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:35:32.541851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/12/image_19042025_07_13_07_10346.jpg', '/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_16_9407.jpg', '/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_26_10356.jpg', '/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_36_9391.jpg', '/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_46_10354.jpg', '/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_57_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/12/image_19042025_07_13_07_10346.jpg
/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_16_9407.jpg
/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_26_10356.jpg
/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_36_9391.jpg
/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_46_10354.jpg
/home/pi/Desktop/images/19042025/07/13/image_19042025_07_13_57_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799764","1351799842","1351799815","1351799880","1351799868","1351799784"],"photo_ids_order":["1351799764","1351799784","1351799815","1351799842","1351799868","1351799880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/658a7b0168190f4fd6d2e8f49fcce83d.jpg","text":"TemporaryFile(/tmp/multipartBody596820458467960673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055393095,"filename":"image_19042025_07_13_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/19/bd0ed1a28ef9963881bb3aa1d298f28e.jpg","text":"TemporaryFile(/tmp/multipartBody2787826592361783001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055393095,"filename":"image_19042025_07_13_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/19/ab6d3c45e9ce85a68741b429965eb546.jpg","text":"TemporaryFile(/tmp/multipartBody6426273562196725810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055393095,"filename":"image_19042025_07_13_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ddd07dec4cefb0cd8d43b2be9df5dfbc.jpg","text":"TemporaryFile(/tmp/multipartBody6135191063463259388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055393095,"filename":"image_19042025_07_13_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/19/e9b0a63d616265c44ac3f686eaf8c03e.jpg","text":"TemporaryFile(/tmp/multipartBody8427738200544278041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055393095,"filename":"image_19042025_07_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/19/3b1fbf9e613d149f70040cfbf857d4c7.jpg","text":"TemporaryFile(/tmp/multipartBody7066861411476916466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055393095,"filename":"image_19042025_07_13_16_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799815","file1":"1351799784","file0":"1351799764","file4":"1351799868","file5":"1351799880","file3":"1351799842"},"map_files_photo_id_array":[{"photo_id":"1351799880","filename":"file5"},{"photo_id":"1351799815","filename":"file2"},{"photo_id":"1351799868","filename":"file4"},{"photo_id":"1351799784","filename":"file1"},{"photo_id":"1351799764","filename":"file0"},{"photo_id":"1351799842","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799764":["hashtag1","hashtag2"]},{"1351799842":["hashtag1","hashtag2"]},{"1351799815":["hashtag1","hashtag2"]},{"1351799880":["hashtag1","hashtag2"]},{"1351799868":["hashtag1","hashtag2"]},{"1351799784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799764, 1351799842, 1351799815, 1351799880, 1351799868, 1351799784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.49797296524048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:36:32.909685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/13/image_19042025_07_14_06_9356.jpg', '/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_16_10352.jpg', '/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_27_10356.jpg', '/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_36_9359.jpg', '/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_46_10347.jpg', '/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_57_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/13/image_19042025_07_14_06_9356.jpg
/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_16_10352.jpg
/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_27_10356.jpg
/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_36_9359.jpg
/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_46_10347.jpg
/home/pi/Desktop/images/19042025/07/14/image_19042025_07_14_57_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":["1351799896","1351799899","1351799902","1351799905","1351799891","1351799894"],"photo_ids_order":["1351799891","1351799894","1351799896","1351799899","1351799902","1351799905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d086225cd21558a58d73a44eff428e07.jpg","text":"TemporaryFile(/tmp/multipartBody1013648258248439898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055453483,"filename":"image_19042025_07_14_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32bc2aac6f09ca14c17eb1ead16b79dc.jpg","text":"TemporaryFile(/tmp/multipartBody5950669579089928647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055453483,"filename":"image_19042025_07_14_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f23599a358558eb30bf92aad6e624db2.jpg","text":"TemporaryFile(/tmp/multipartBody2207079348112547256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055453483,"filename":"image_19042025_07_14_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/19/36fe91022de0925a71f5d3e2459ed8d5.jpg","text":"TemporaryFile(/tmp/multipartBody5640053571748638371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055453483,"filename":"image_19042025_07_14_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8ca8460db186749820155d40f9bd71f1.jpg","text":"TemporaryFile(/tmp/multipartBody9195822370731123716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055453483,"filename":"image_19042025_07_14_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2a82826eb144791e55296a3221818df.jpg","text":"TemporaryFile(/tmp/multipartBody7464655757907476983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055453483,"filename":"image_19042025_07_14_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799896","file1":"1351799894","file0":"1351799891","file4":"1351799902","file5":"1351799905","file3":"1351799899"},"map_files_photo_id_array":[{"photo_id":"1351799905","filename":"file5"},{"photo_id":"1351799896","filename":"file2"},{"photo_id":"1351799902","filename":"file4"},{"photo_id":"1351799894","filename":"file1"},{"photo_id":"1351799891","filename":"file0"},{"photo_id":"1351799899","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799896":["hashtag1","hashtag2"]},{"1351799899":["hashtag1","hashtag2"]},{"1351799902":["hashtag1","hashtag2"]},{"1351799905":["hashtag1","hashtag2"]},{"1351799891":["hashtag1","hashtag2"]},{"1351799894":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799896, 1351799899, 1351799902, 1351799905, 1351799891, 1351799894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.938626766204834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:37:33.051650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/14/image_19042025_07_15_06_9413.jpg', '/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_16_10370.jpg', '/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_26_9565.jpg', '/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_36_10354.jpg', '/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_46_9415.jpg', '/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_56_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/14/image_19042025_07_15_06_9413.jpg
/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_16_10370.jpg
/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_26_9565.jpg
/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_36_10354.jpg
/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_46_9415.jpg
/home/pi/Desktop/images/19042025/07/15/image_19042025_07_15_56_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799935","1351799938","1351799951","1351799948","1351799942","1351799945"],"photo_ids_order":["1351799935","1351799938","1351799942","1351799945","1351799948","1351799951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4d421de3b18f6ac9e62a1cf0116c9022.jpg","text":"TemporaryFile(/tmp/multipartBody2503800279922116746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055513601,"filename":"image_19042025_07_15_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/19/380f8e8659a9f396bdf14a68ddfdc5b7.jpg","text":"TemporaryFile(/tmp/multipartBody8112317425376618703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055513601,"filename":"image_19042025_07_15_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4f8269e49a1875b08cd03067090f57b2.jpg","text":"TemporaryFile(/tmp/multipartBody3972403157535527101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055513601,"filename":"image_19042025_07_15_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/19/1efe7f65e16ce4769f227b0744d8c8e6.jpg","text":"TemporaryFile(/tmp/multipartBody6983266573521258175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055513601,"filename":"image_19042025_07_15_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/19/4624fd5dddb10b31e20aec145786d25a.jpg","text":"TemporaryFile(/tmp/multipartBody4494937996996043593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055513601,"filename":"image_19042025_07_15_26_9565.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce39eda52966d71543b4ff504b4d39a6.jpg","text":"TemporaryFile(/tmp/multipartBody961472582629652387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055513601,"filename":"image_19042025_07_15_36_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799942","file1":"1351799938","file0":"1351799935","file4":"1351799948","file5":"1351799951","file3":"1351799945"},"map_files_photo_id_array":[{"photo_id":"1351799951","filename":"file5"},{"photo_id":"1351799942","filename":"file2"},{"photo_id":"1351799948","filename":"file4"},{"photo_id":"1351799938","filename":"file1"},{"photo_id":"1351799935","filename":"file0"},{"photo_id":"1351799945","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799935":["hashtag1","hashtag2"]},{"1351799938":["hashtag1","hashtag2"]},{"1351799951":["hashtag1","hashtag2"]},{"1351799948":["hashtag1","hashtag2"]},{"1351799942":["hashtag1","hashtag2"]},{"1351799945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799935, 1351799938, 1351799951, 1351799948, 1351799942, 1351799945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88137125968933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:38:32.221206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/15/image_19042025_07_16_07_10346.jpg', '/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_16_9359.jpg', '/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_26_10365.jpg', '/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_37_10349.jpg', '/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_46_9360.jpg', '/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_56_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/15/image_19042025_07_16_07_10346.jpg
/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_16_9359.jpg
/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_26_10365.jpg
/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_37_10349.jpg
/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_46_9360.jpg
/home/pi/Desktop/images/19042025/07/16/image_19042025_07_16_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":["1351799962","1351799971","1351799959","1351799973","1351799967","1351799976"],"photo_ids_order":["1351799959","1351799962","1351799967","1351799971","1351799973","1351799976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f6a6e1a3df1695fe28806113361001d5.jpg","text":"TemporaryFile(/tmp/multipartBody5317150128705915502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055572770,"filename":"image_19042025_07_16_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/19/8396348da05004f03159bd8022eecc84.jpg","text":"TemporaryFile(/tmp/multipartBody375028927664138063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055572770,"filename":"image_19042025_07_16_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/19/766c9cbb23a3b1a6f94078df8efea635.jpg","text":"TemporaryFile(/tmp/multipartBody829903038718049433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055572770,"filename":"image_19042025_07_16_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/19/d3ea53bff16675fed40515f6d272d900.jpg","text":"TemporaryFile(/tmp/multipartBody4806675922151359726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055572770,"filename":"image_19042025_07_16_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/19/f0365753b8d85f1f63d9fe4684b0495e.jpg","text":"TemporaryFile(/tmp/multipartBody8291175031232078403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055572770,"filename":"image_19042025_07_16_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da71d4599d3c40359fd985e03e9505d7.jpg","text":"TemporaryFile(/tmp/multipartBody3873600055406801011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055572770,"filename":"image_19042025_07_16_56_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799967","file1":"1351799962","file0":"1351799959","file4":"1351799973","file5":"1351799976","file3":"1351799971"},"map_files_photo_id_array":[{"photo_id":"1351799976","filename":"file5"},{"photo_id":"1351799967","filename":"file2"},{"photo_id":"1351799973","filename":"file4"},{"photo_id":"1351799962","filename":"file1"},{"photo_id":"1351799959","filename":"file0"},{"photo_id":"1351799971","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351799962":["hashtag1","hashtag2"]},{"1351799971":["hashtag1","hashtag2"]},{"1351799959":["hashtag1","hashtag2"]},{"1351799973":["hashtag1","hashtag2"]},{"1351799967":["hashtag1","hashtag2"]},{"1351799976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351799962, 1351799971, 1351799959, 1351799973, 1351799967, 1351799976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.143746852874756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:39:32.454262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/16/image_19042025_07_17_07_10455.jpg', '/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_16_9351.jpg', '/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_36_9388.jpg', '/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_57_10367.jpg', '/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_36_10360.jpg', '/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_47_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/16/image_19042025_07_17_07_10455.jpg
/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_16_9351.jpg
/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_36_9388.jpg
/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_57_10367.jpg
/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_36_10360.jpg
/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_47_10426.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47043919563293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 11:39:42.445853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/16/image_19042025_07_17_07_10455.jpg', '/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_16_9351.jpg', '/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_36_9388.jpg', '/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_57_10367.jpg', '/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_36_10360.jpg', '/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_47_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/16/image_19042025_07_17_07_10455.jpg
/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_16_9351.jpg
/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_36_9388.jpg
/home/pi/Desktop/images/19042025/07/17/image_19042025_07_17_57_10367.jpg
/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_36_10360.jpg
/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_47_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800069","1351800050","1351800044","1351800014","1351800017","1351800067"],"photo_ids_order":["1351800014","1351800017","1351800044","1351800050","1351800067","1351800069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ddce15b58b5cd5443321642ad1028933.jpg","text":"TemporaryFile(/tmp/multipartBody6028859982222604909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055642912,"filename":"image_19042025_07_18_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/19/2abbc0b251cdb745166fd455d1980670.jpg","text":"TemporaryFile(/tmp/multipartBody5366834689452146030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055642912,"filename":"image_19042025_07_17_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/19/de85d4faa2d75704f14ae9dfeb5b1913.jpg","text":"TemporaryFile(/tmp/multipartBody6984187030099221556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055642912,"filename":"image_19042025_07_17_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/19/7b737d399457a1c0f174f8f88182fd0d.jpg","text":"TemporaryFile(/tmp/multipartBody7805410737610081068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055642912,"filename":"image_19042025_07_17_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/19/ad65422cfc8e4cf5e21e9f5c2da25438.jpg","text":"TemporaryFile(/tmp/multipartBody5026666967441381804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055642912,"filename":"image_19042025_07_17_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/19/05cc3f665ef5bdcb947072b673695bf1.jpg","text":"TemporaryFile(/tmp/multipartBody5260628451817218073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055642912,"filename":"image_19042025_07_18_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800044","file1":"1351800017","file0":"1351800014","file4":"1351800067","file5":"1351800069","file3":"1351800050"},"map_files_photo_id_array":[{"photo_id":"1351800069","filename":"file5"},{"photo_id":"1351800044","filename":"file2"},{"photo_id":"1351800067","filename":"file4"},{"photo_id":"1351800017","filename":"file1"},{"photo_id":"1351800014","filename":"file0"},{"photo_id":"1351800050","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800069":["hashtag1","hashtag2"]},{"1351800050":["hashtag1","hashtag2"]},{"1351800044":["hashtag1","hashtag2"]},{"1351800014":["hashtag1","hashtag2"]},{"1351800017":["hashtag1","hashtag2"]},{"1351800067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800069, 1351800050, 1351800044, 1351800014, 1351800017, 1351800067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53204607963562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:40:32.795809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_56_9360.jpg', '/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_07_10804.jpg', '/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_16_9355.jpg', '/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_27_10411.jpg', '/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_36_9375.jpg', '/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_46_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/18/image_19042025_07_18_56_9360.jpg
/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_07_10804.jpg
/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_16_9355.jpg
/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_27_10411.jpg
/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_36_9375.jpg
/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_46_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800115","1351800210","1351800111","1351800152","1351800125","1351800181"],"photo_ids_order":["1351800111","1351800115","1351800125","1351800152","1351800181","1351800210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9557ca49bd29e05b29e18d9cc485a209.jpg","text":"TemporaryFile(/tmp/multipartBody7367155085792113803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055693336,"filename":"image_19042025_07_19_07_10804.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e7044c35f5d89749d7604976940879cc.jpg","text":"TemporaryFile(/tmp/multipartBody25877286612390264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055693336,"filename":"image_19042025_07_19_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/19/c2c9ad602a77f0fda98c4b14896a74ac.jpg","text":"TemporaryFile(/tmp/multipartBody6355961158250093047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055693336,"filename":"image_19042025_07_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/19/5cb12ab6d47fcca201807d3d438b8c73.jpg","text":"TemporaryFile(/tmp/multipartBody6589312232824890803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055693336,"filename":"image_19042025_07_19_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/19/b09effc4949ae5f201d32384cc5c43a7.jpg","text":"TemporaryFile(/tmp/multipartBody1011764853227120738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055693336,"filename":"image_19042025_07_19_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f79cea4c5c9285f44e3c2b7cbe3cac93.jpg","text":"TemporaryFile(/tmp/multipartBody5917265087144975498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055693336,"filename":"image_19042025_07_19_36_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800125","file1":"1351800115","file0":"1351800111","file4":"1351800181","file5":"1351800210","file3":"1351800152"},"map_files_photo_id_array":[{"photo_id":"1351800210","filename":"file5"},{"photo_id":"1351800125","filename":"file2"},{"photo_id":"1351800181","filename":"file4"},{"photo_id":"1351800115","filename":"file1"},{"photo_id":"1351800111","filename":"file0"},{"photo_id":"1351800152","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800115":["hashtag1","hashtag2"]},{"1351800210":["hashtag1","hashtag2"]},{"1351800111":["hashtag1","hashtag2"]},{"1351800152":["hashtag1","hashtag2"]},{"1351800125":["hashtag1","hashtag2"]},{"1351800181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800115, 1351800210, 1351800111, 1351800152, 1351800125, 1351800181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.139857053756714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:41:32.976221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_57_10383.jpg', '/home/pi/Desktop/images/19042025/07/19/image_19042025_07_20_06_9393.jpg', '/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_16_10338.jpg', '/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_26_9486.jpg', '/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_36_10360.jpg', '/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_47_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/19/image_19042025_07_19_57_10383.jpg
/home/pi/Desktop/images/19042025/07/19/image_19042025_07_20_06_9393.jpg
/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_16_10338.jpg
/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_26_9486.jpg
/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_36_10360.jpg
/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_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":["1351800319","1351800282","1351800354","1351800377","1351800365","1351800292"],"photo_ids_order":["1351800282","1351800292","1351800319","1351800354","1351800365","1351800377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/88e710fb12761207a19488bd5cc00604.jpg","text":"TemporaryFile(/tmp/multipartBody827539821362065078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055753779,"filename":"image_19042025_07_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/19/f168f2c6fc3000619624d35036deb5e5.jpg","text":"TemporaryFile(/tmp/multipartBody2922447523486357768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055753779,"filename":"image_19042025_07_19_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/19/c00fafcddd9e2f695a8ea04a0a612415.jpg","text":"TemporaryFile(/tmp/multipartBody1279462317236686268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055753779,"filename":"image_19042025_07_20_26_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/764691f11aef8580042afef70d7520ef.jpg","text":"TemporaryFile(/tmp/multipartBody8005929234491743976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055753779,"filename":"image_19042025_07_20_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/19/0c08f521090f7f99b8e46952329981cd.jpg","text":"TemporaryFile(/tmp/multipartBody7920108933355241721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055753779,"filename":"image_19042025_07_20_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/19/c61b818cd9b99f1c1ae397baf10853a1.jpg","text":"TemporaryFile(/tmp/multipartBody4853272300943024541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055753779,"filename":"image_19042025_07_20_06_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800319","file1":"1351800292","file0":"1351800282","file4":"1351800365","file5":"1351800377","file3":"1351800354"},"map_files_photo_id_array":[{"photo_id":"1351800377","filename":"file5"},{"photo_id":"1351800319","filename":"file2"},{"photo_id":"1351800365","filename":"file4"},{"photo_id":"1351800292","filename":"file1"},{"photo_id":"1351800282","filename":"file0"},{"photo_id":"1351800354","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800319":["hashtag1","hashtag2"]},{"1351800282":["hashtag1","hashtag2"]},{"1351800354":["hashtag1","hashtag2"]},{"1351800377":["hashtag1","hashtag2"]},{"1351800365":["hashtag1","hashtag2"]},{"1351800292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800319, 1351800282, 1351800354, 1351800377, 1351800365, 1351800292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39141869544983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:42:32.206929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_56_9361.jpg', '/home/pi/Desktop/images/19042025/07/20/image_19042025_07_21_06_10356.jpg', '/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_17_10388.jpg', '/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_26_9415.jpg', '/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_37_10470.jpg', '/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_46_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/20/image_19042025_07_20_56_9361.jpg
/home/pi/Desktop/images/19042025/07/20/image_19042025_07_21_06_10356.jpg
/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_17_10388.jpg
/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_26_9415.jpg
/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_37_10470.jpg
/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_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":["1351800471","1351800465","1351800473","1351800467","1351800455","1351800469"],"photo_ids_order":["1351800455","1351800465","1351800467","1351800469","1351800471","1351800473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/05a176765aba110d8473b53e07901880.jpg","text":"TemporaryFile(/tmp/multipartBody8379178613523749098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055812752,"filename":"image_19042025_07_21_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/19/2b6c3ae3d4d658b543daa709129f7e74.jpg","text":"TemporaryFile(/tmp/multipartBody6635693520607682633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055812752,"filename":"image_19042025_07_21_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/19/0017b30e92ca43caff8b9c5069c270be.jpg","text":"TemporaryFile(/tmp/multipartBody5983383092765158715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055812752,"filename":"image_19042025_07_21_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/19/8b69ffbc11c09d717d785bb0ea19b72f.jpg","text":"TemporaryFile(/tmp/multipartBody7861076842009987020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055812752,"filename":"image_19042025_07_21_17_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e6ac5a4de56fa7508fb893fd34ad1d0.jpg","text":"TemporaryFile(/tmp/multipartBody2062688204514391941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055812752,"filename":"image_19042025_07_20_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/19/0c1d35fe5e92c2f09868a54ece4bc9d0.jpg","text":"TemporaryFile(/tmp/multipartBody7657595434796533607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055812752,"filename":"image_19042025_07_21_26_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800467","file1":"1351800465","file0":"1351800455","file4":"1351800471","file5":"1351800473","file3":"1351800469"},"map_files_photo_id_array":[{"photo_id":"1351800473","filename":"file5"},{"photo_id":"1351800467","filename":"file2"},{"photo_id":"1351800471","filename":"file4"},{"photo_id":"1351800465","filename":"file1"},{"photo_id":"1351800455","filename":"file0"},{"photo_id":"1351800469","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800471":["hashtag1","hashtag2"]},{"1351800465":["hashtag1","hashtag2"]},{"1351800473":["hashtag1","hashtag2"]},{"1351800467":["hashtag1","hashtag2"]},{"1351800455":["hashtag1","hashtag2"]},{"1351800469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800471, 1351800465, 1351800473, 1351800467, 1351800455, 1351800469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.56493902206421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:43:32.452905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_56_10364.jpg', '/home/pi/Desktop/images/19042025/07/21/image_19042025_07_22_07_10436.jpg', '/home/pi/Desktop/images/19042025/07/22/image_19042025_07_22_16_9354.jpg', '/home/pi/Desktop/images/19042025/07/22/image_19042025_07_22_36_9438.jpg', '/home/pi/Desktop/images/19042025/07/22/image_19042025_07_22_46_10370.jpg', '/home/pi/Desktop/images/19042025/07/22/image_19042025_07_23_06_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/21/image_19042025_07_21_56_10364.jpg
/home/pi/Desktop/images/19042025/07/21/image_19042025_07_22_07_10436.jpg
/home/pi/Desktop/images/19042025/07/22/image_19042025_07_22_16_9354.jpg
/home/pi/Desktop/images/19042025/07/22/image_19042025_07_22_36_9438.jpg
/home/pi/Desktop/images/19042025/07/22/image_19042025_07_22_46_10370.jpg
/home/pi/Desktop/images/19042025/07/22/image_19042025_07_23_06_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800492","1351800495","1351800489","1351800485","1351800496","1351800484"],"photo_ids_order":["1351800484","1351800485","1351800489","1351800492","1351800495","1351800496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d70aaf9831623602c2e9baf8917f9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1847068113792822213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055873005,"filename":"image_19042025_07_22_36_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/19/1ba83c1e4d8eaf51f172ccdc9aec51ec.jpg","text":"TemporaryFile(/tmp/multipartBody7816725768914461019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055873005,"filename":"image_19042025_07_22_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/19/ad157bd060d19527e0b241cd3cd81faa.jpg","text":"TemporaryFile(/tmp/multipartBody2641303698016736268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055873005,"filename":"image_19042025_07_22_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/19/bab14e5e47085b1298f74dc9d3eead3c.jpg","text":"TemporaryFile(/tmp/multipartBody6107367973060377427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055873005,"filename":"image_19042025_07_22_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/19/bca40c9899dea4b0d83b6379f2e72055.jpg","text":"TemporaryFile(/tmp/multipartBody958008172047680539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055873005,"filename":"image_19042025_07_23_06_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/19/c43500dc42c3cd7d1231c6ba8ce9fc42.jpg","text":"TemporaryFile(/tmp/multipartBody4831287005724316004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055873005,"filename":"image_19042025_07_21_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800489","file1":"1351800485","file0":"1351800484","file4":"1351800495","file5":"1351800496","file3":"1351800492"},"map_files_photo_id_array":[{"photo_id":"1351800496","filename":"file5"},{"photo_id":"1351800489","filename":"file2"},{"photo_id":"1351800495","filename":"file4"},{"photo_id":"1351800485","filename":"file1"},{"photo_id":"1351800484","filename":"file0"},{"photo_id":"1351800492","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800492":["hashtag1","hashtag2"]},{"1351800495":["hashtag1","hashtag2"]},{"1351800489":["hashtag1","hashtag2"]},{"1351800485":["hashtag1","hashtag2"]},{"1351800496":["hashtag1","hashtag2"]},{"1351800484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800492, 1351800495, 1351800489, 1351800485, 1351800496, 1351800484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.205902576446533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:44:32.651306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/23/image_19042025_07_23_26_9485.jpg', '/home/pi/Desktop/images/19042025/07/23/image_19042025_07_23_36_10400.jpg', '/home/pi/Desktop/images/19042025/07/23/image_19042025_07_24_07_10351.jpg', '/home/pi/Desktop/images/19042025/07/24/image_19042025_07_24_16_9342.jpg', '/home/pi/Desktop/images/19042025/07/24/image_19042025_07_24_46_9432.jpg', '/home/pi/Desktop/images/19042025/07/24/image_19042025_07_24_56_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/23/image_19042025_07_23_26_9485.jpg
/home/pi/Desktop/images/19042025/07/23/image_19042025_07_23_36_10400.jpg
/home/pi/Desktop/images/19042025/07/23/image_19042025_07_24_07_10351.jpg
/home/pi/Desktop/images/19042025/07/24/image_19042025_07_24_16_9342.jpg
/home/pi/Desktop/images/19042025/07/24/image_19042025_07_24_46_9432.jpg
/home/pi/Desktop/images/19042025/07/24/image_19042025_07_24_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":["1351800508","1351800517","1351800519","1351800509","1351800518","1351800511"],"photo_ids_order":["1351800508","1351800509","1351800511","1351800517","1351800518","1351800519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/be113ef07037daf93ccaa326adbecc8c.jpg","text":"TemporaryFile(/tmp/multipartBody5950454022257370733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055933194,"filename":"image_19042025_07_23_26_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e29dba8e6a0c59a458e5c7bb86a39ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2324145457951766614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055933194,"filename":"image_19042025_07_24_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/19/625f9b97fb54973621fdf392f4396b14.jpg","text":"TemporaryFile(/tmp/multipartBody4411693942118023667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055933194,"filename":"image_19042025_07_24_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/19/c544c7cda2a59aac3f1380f4f9761cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8879757048783660848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055933194,"filename":"image_19042025_07_23_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/19/35852d3d868efa4fe2f78766f25feb80.jpg","text":"TemporaryFile(/tmp/multipartBody8571791299067785482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055933194,"filename":"image_19042025_07_24_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/19/0a5e856433c9da130951ae4026eb1708.jpg","text":"TemporaryFile(/tmp/multipartBody2146964784051947839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055933194,"filename":"image_19042025_07_24_07_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800511","file1":"1351800509","file0":"1351800508","file4":"1351800518","file5":"1351800519","file3":"1351800517"},"map_files_photo_id_array":[{"photo_id":"1351800519","filename":"file5"},{"photo_id":"1351800511","filename":"file2"},{"photo_id":"1351800518","filename":"file4"},{"photo_id":"1351800509","filename":"file1"},{"photo_id":"1351800508","filename":"file0"},{"photo_id":"1351800517","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800508":["hashtag1","hashtag2"]},{"1351800517":["hashtag1","hashtag2"]},{"1351800519":["hashtag1","hashtag2"]},{"1351800509":["hashtag1","hashtag2"]},{"1351800518":["hashtag1","hashtag2"]},{"1351800511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800508, 1351800517, 1351800519, 1351800509, 1351800518, 1351800511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.08003091812134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:45:32.868243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/24/image_19042025_07_25_06_9428.jpg', '/home/pi/Desktop/images/19042025/07/25/image_19042025_07_25_16_10361.jpg', '/home/pi/Desktop/images/19042025/07/25/image_19042025_07_25_27_10354.jpg', '/home/pi/Desktop/images/19042025/07/25/image_19042025_07_25_36_9457.jpg', '/home/pi/Desktop/images/19042025/07/25/image_19042025_07_25_46_10390.jpg', '/home/pi/Desktop/images/19042025/07/25/image_19042025_07_26_06_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/24/image_19042025_07_25_06_9428.jpg
/home/pi/Desktop/images/19042025/07/25/image_19042025_07_25_16_10361.jpg
/home/pi/Desktop/images/19042025/07/25/image_19042025_07_25_27_10354.jpg
/home/pi/Desktop/images/19042025/07/25/image_19042025_07_25_36_9457.jpg
/home/pi/Desktop/images/19042025/07/25/image_19042025_07_25_46_10390.jpg
/home/pi/Desktop/images/19042025/07/25/image_19042025_07_26_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":["1351800706","1351800702","1351800705","1351800708","1351800707","1351800704"],"photo_ids_order":["1351800702","1351800704","1351800705","1351800706","1351800707","1351800708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e095197f3e8601a70119b4e5d34a10e7.jpg","text":"TemporaryFile(/tmp/multipartBody7090563018991089446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055993413,"filename":"image_19042025_07_25_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/19/accfaf98662099bf9a0f841e20b39204.jpg","text":"TemporaryFile(/tmp/multipartBody3852449938239704766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055993413,"filename":"image_19042025_07_25_06_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9abc6959ff829ccfc52c68157463929a.jpg","text":"TemporaryFile(/tmp/multipartBody693472167772712022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055993413,"filename":"image_19042025_07_25_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8dde3b38543d2de8e19ad658295747d7.jpg","text":"TemporaryFile(/tmp/multipartBody8747812286849589483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055993413,"filename":"image_19042025_07_26_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/19/1233dc3b0e2b34e0c0ff5972061b6d8c.jpg","text":"TemporaryFile(/tmp/multipartBody8797596156551239133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055993413,"filename":"image_19042025_07_25_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/756c08e646a02c8770d97058558a6944.jpg","text":"TemporaryFile(/tmp/multipartBody3482668922396521589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745055993413,"filename":"image_19042025_07_25_16_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800705","file1":"1351800704","file0":"1351800702","file4":"1351800707","file5":"1351800708","file3":"1351800706"},"map_files_photo_id_array":[{"photo_id":"1351800708","filename":"file5"},{"photo_id":"1351800705","filename":"file2"},{"photo_id":"1351800707","filename":"file4"},{"photo_id":"1351800704","filename":"file1"},{"photo_id":"1351800702","filename":"file0"},{"photo_id":"1351800706","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800706":["hashtag1","hashtag2"]},{"1351800702":["hashtag1","hashtag2"]},{"1351800705":["hashtag1","hashtag2"]},{"1351800708":["hashtag1","hashtag2"]},{"1351800707":["hashtag1","hashtag2"]},{"1351800704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800706, 1351800702, 1351800705, 1351800708, 1351800707, 1351800704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.87481999397278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:46:33.248983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/26/image_19042025_07_26_17_10440.jpg', '/home/pi/Desktop/images/19042025/07/26/image_19042025_07_26_26_9481.jpg', '/home/pi/Desktop/images/19042025/07/26/image_19042025_07_26_56_10373.jpg', '/home/pi/Desktop/images/19042025/07/26/image_19042025_07_27_07_10349.jpg', '/home/pi/Desktop/images/19042025/07/27/image_19042025_07_27_16_9428.jpg', '/home/pi/Desktop/images/19042025/07/27/image_19042025_07_27_26_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/26/image_19042025_07_26_17_10440.jpg
/home/pi/Desktop/images/19042025/07/26/image_19042025_07_26_26_9481.jpg
/home/pi/Desktop/images/19042025/07/26/image_19042025_07_26_56_10373.jpg
/home/pi/Desktop/images/19042025/07/26/image_19042025_07_27_07_10349.jpg
/home/pi/Desktop/images/19042025/07/27/image_19042025_07_27_16_9428.jpg
/home/pi/Desktop/images/19042025/07/27/image_19042025_07_27_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":["1351800721","1351800715","1351800759","1351800717","1351800761","1351800719"],"photo_ids_order":["1351800715","1351800717","1351800719","1351800721","1351800759","1351800761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/211348df9898897f49596c0a3ae76f11.jpg","text":"TemporaryFile(/tmp/multipartBody7736124170699074227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056053816,"filename":"image_19042025_07_27_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/19/75199695c48823febc1d4fc9f76bb47a.jpg","text":"TemporaryFile(/tmp/multipartBody4011390428965245696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056053816,"filename":"image_19042025_07_26_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e9a83a92d03ee7bad9d3533cecb92e6.jpg","text":"TemporaryFile(/tmp/multipartBody7297092947348336428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056053816,"filename":"image_19042025_07_27_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/19/d8953ff5e22efe0d8ff46a1215edf7c7.jpg","text":"TemporaryFile(/tmp/multipartBody945458709796892070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056053816,"filename":"image_19042025_07_26_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/19/c880a2362b18e7a92db541f8d60202a8.jpg","text":"TemporaryFile(/tmp/multipartBody4294163411715357057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056053816,"filename":"image_19042025_07_27_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/19/26121c7ae7cc532c7e4714454f8db017.jpg","text":"TemporaryFile(/tmp/multipartBody876883776092340654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056053816,"filename":"image_19042025_07_26_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800719","file1":"1351800717","file0":"1351800715","file4":"1351800759","file5":"1351800761","file3":"1351800721"},"map_files_photo_id_array":[{"photo_id":"1351800761","filename":"file5"},{"photo_id":"1351800719","filename":"file2"},{"photo_id":"1351800759","filename":"file4"},{"photo_id":"1351800717","filename":"file1"},{"photo_id":"1351800715","filename":"file0"},{"photo_id":"1351800721","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800721":["hashtag1","hashtag2"]},{"1351800715":["hashtag1","hashtag2"]},{"1351800759":["hashtag1","hashtag2"]},{"1351800717":["hashtag1","hashtag2"]},{"1351800761":["hashtag1","hashtag2"]},{"1351800719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800721, 1351800715, 1351800759, 1351800717, 1351800761, 1351800719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.52412462234497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:47:32.466864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/27/image_19042025_07_28_06_9341.jpg', '/home/pi/Desktop/images/19042025/07/28/image_19042025_07_28_16_10424.jpg', '/home/pi/Desktop/images/19042025/07/28/image_19042025_07_28_27_10390.jpg', '/home/pi/Desktop/images/19042025/07/29/image_19042025_07_29_37_10355.jpg', '/home/pi/Desktop/images/19042025/07/29/image_19042025_07_29_46_9462.jpg', '/home/pi/Desktop/images/19042025/07/29/image_19042025_07_29_56_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/27/image_19042025_07_28_06_9341.jpg
/home/pi/Desktop/images/19042025/07/28/image_19042025_07_28_16_10424.jpg
/home/pi/Desktop/images/19042025/07/28/image_19042025_07_28_27_10390.jpg
/home/pi/Desktop/images/19042025/07/29/image_19042025_07_29_37_10355.jpg
/home/pi/Desktop/images/19042025/07/29/image_19042025_07_29_46_9462.jpg
/home/pi/Desktop/images/19042025/07/29/image_19042025_07_29_56_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800867","1351800861","1351800869","1351800863","1351800857","1351800865"],"photo_ids_order":["1351800857","1351800861","1351800863","1351800865","1351800867","1351800869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dbf3bd87f191e0acda70479686bbd956.jpg","text":"TemporaryFile(/tmp/multipartBody3461186324829379381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056113031,"filename":"image_19042025_07_29_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/19/745909cedd23646e5b02ca77926fd998.jpg","text":"TemporaryFile(/tmp/multipartBody2410090360585760063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056113031,"filename":"image_19042025_07_28_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/19/b8fa8c8a1cedfca555f5d8f1cf4bc7f1.jpg","text":"TemporaryFile(/tmp/multipartBody6203668516449786515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056113031,"filename":"image_19042025_07_29_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4f87126705685575f309a9620c0007a1.jpg","text":"TemporaryFile(/tmp/multipartBody121142090591729569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056113031,"filename":"image_19042025_07_28_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/19/0b2dcfbd06675d9bb2befbfa0860315f.jpg","text":"TemporaryFile(/tmp/multipartBody1772597906494119862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056113031,"filename":"image_19042025_07_28_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/19/0499e5efd75e8abb3f214c3e14566125.jpg","text":"TemporaryFile(/tmp/multipartBody6642627519690410485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056113031,"filename":"image_19042025_07_29_37_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800863","file1":"1351800861","file0":"1351800857","file4":"1351800867","file5":"1351800869","file3":"1351800865"},"map_files_photo_id_array":[{"photo_id":"1351800869","filename":"file5"},{"photo_id":"1351800863","filename":"file2"},{"photo_id":"1351800867","filename":"file4"},{"photo_id":"1351800861","filename":"file1"},{"photo_id":"1351800857","filename":"file0"},{"photo_id":"1351800865","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800867":["hashtag1","hashtag2"]},{"1351800861":["hashtag1","hashtag2"]},{"1351800869":["hashtag1","hashtag2"]},{"1351800863":["hashtag1","hashtag2"]},{"1351800857":["hashtag1","hashtag2"]},{"1351800865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800867, 1351800861, 1351800869, 1351800863, 1351800857, 1351800865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.034648895263672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:48:32.613432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/29/image_19042025_07_30_07_10453.jpg', '/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_16_9435.jpg', '/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_27_10427.jpg', '/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_36_9416.jpg', '/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_47_10412.jpg', '/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_56_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/29/image_19042025_07_30_07_10453.jpg
/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_16_9435.jpg
/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_27_10427.jpg
/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_36_9416.jpg
/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_47_10412.jpg
/home/pi/Desktop/images/19042025/07/30/image_19042025_07_30_56_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":["1351800876","1351800885","1351800881","1351800890","1351800878","1351800880"],"photo_ids_order":["1351800876","1351800878","1351800880","1351800881","1351800885","1351800890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb86a8e2a2e836ae866ae9ff123a0de6.jpg","text":"TemporaryFile(/tmp/multipartBody8891418997382329138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056173169,"filename":"image_19042025_07_30_07_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/19/159260bd9a20cb3438e1c7c7c5ae6043.jpg","text":"TemporaryFile(/tmp/multipartBody2428032724562880307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056173169,"filename":"image_19042025_07_30_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/19/0f608c82bb53dbd67b888e06abae47bd.jpg","text":"TemporaryFile(/tmp/multipartBody5242539477122532000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056173169,"filename":"image_19042025_07_30_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de4b381edd9905198fc016196288ab02.jpg","text":"TemporaryFile(/tmp/multipartBody789459710121729944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056173169,"filename":"image_19042025_07_30_56_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e8615735942ff989a81fd9878f311a51.jpg","text":"TemporaryFile(/tmp/multipartBody3176210722571453228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056173169,"filename":"image_19042025_07_30_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/19/d4f8f76d039d7c206d91a308c6c825dd.jpg","text":"TemporaryFile(/tmp/multipartBody5360682326692409506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056173169,"filename":"image_19042025_07_30_27_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800880","file1":"1351800878","file0":"1351800876","file4":"1351800885","file5":"1351800890","file3":"1351800881"},"map_files_photo_id_array":[{"photo_id":"1351800890","filename":"file5"},{"photo_id":"1351800880","filename":"file2"},{"photo_id":"1351800885","filename":"file4"},{"photo_id":"1351800878","filename":"file1"},{"photo_id":"1351800876","filename":"file0"},{"photo_id":"1351800881","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800876":["hashtag1","hashtag2"]},{"1351800885":["hashtag1","hashtag2"]},{"1351800881":["hashtag1","hashtag2"]},{"1351800890":["hashtag1","hashtag2"]},{"1351800878":["hashtag1","hashtag2"]},{"1351800880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800876, 1351800885, 1351800881, 1351800890, 1351800878, 1351800880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.868467569351196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:49:32.836389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/30/image_19042025_07_31_06_10349.jpg', '/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_16_9497.jpg', '/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_26_10371.jpg', '/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_37_10445.jpg', '/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_46_9443.jpg', '/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_56_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/30/image_19042025_07_31_06_10349.jpg
/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_16_9497.jpg
/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_26_10371.jpg
/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_37_10445.jpg
/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_46_9443.jpg
/home/pi/Desktop/images/19042025/07/31/image_19042025_07_31_56_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800925","1351800913","1351800930","1351800918","1351800928","1351800916"],"photo_ids_order":["1351800913","1351800916","1351800918","1351800925","1351800928","1351800930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d76b463c9fee5167a205547d452a005.jpg","text":"TemporaryFile(/tmp/multipartBody6098154735162395985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056233400,"filename":"image_19042025_07_31_37_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa01602988309b0536509554eb32f251.jpg","text":"TemporaryFile(/tmp/multipartBody4807608430625767044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056233400,"filename":"image_19042025_07_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/19/6ac4cc12a7a75720b618e1a65e13f9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2059918368503383787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056233400,"filename":"image_19042025_07_31_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/19/653875a2d7bc90570b859bf91e9c78c0.jpg","text":"TemporaryFile(/tmp/multipartBody2323717969901902968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056233400,"filename":"image_19042025_07_31_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/19/04462ceaeac9d210e9e555ec7f68452a.jpg","text":"TemporaryFile(/tmp/multipartBody8637458729412125875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056233400,"filename":"image_19042025_07_31_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/19/066b6af690534464a9cd8738d78124e3.jpg","text":"TemporaryFile(/tmp/multipartBody6818868376123554789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056233400,"filename":"image_19042025_07_31_16_9497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800918","file1":"1351800916","file0":"1351800913","file4":"1351800928","file5":"1351800930","file3":"1351800925"},"map_files_photo_id_array":[{"photo_id":"1351800930","filename":"file5"},{"photo_id":"1351800918","filename":"file2"},{"photo_id":"1351800928","filename":"file4"},{"photo_id":"1351800916","filename":"file1"},{"photo_id":"1351800913","filename":"file0"},{"photo_id":"1351800925","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800925":["hashtag1","hashtag2"]},{"1351800913":["hashtag1","hashtag2"]},{"1351800930":["hashtag1","hashtag2"]},{"1351800918":["hashtag1","hashtag2"]},{"1351800928":["hashtag1","hashtag2"]},{"1351800916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800925, 1351800913, 1351800930, 1351800918, 1351800928, 1351800916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.431930541992188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:50:33.138486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/31/image_19042025_07_32_06_9511.jpg', '/home/pi/Desktop/images/19042025/07/32/image_19042025_07_32_16_10342.jpg', '/home/pi/Desktop/images/19042025/07/32/image_19042025_07_32_27_10341.jpg', '/home/pi/Desktop/images/19042025/07/32/image_19042025_07_32_36_9447.jpg', '/home/pi/Desktop/images/19042025/07/32/image_19042025_07_32_56_9473.jpg', '/home/pi/Desktop/images/19042025/07/32/image_19042025_07_33_06_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/31/image_19042025_07_32_06_9511.jpg
/home/pi/Desktop/images/19042025/07/32/image_19042025_07_32_16_10342.jpg
/home/pi/Desktop/images/19042025/07/32/image_19042025_07_32_27_10341.jpg
/home/pi/Desktop/images/19042025/07/32/image_19042025_07_32_36_9447.jpg
/home/pi/Desktop/images/19042025/07/32/image_19042025_07_32_56_9473.jpg
/home/pi/Desktop/images/19042025/07/32/image_19042025_07_33_06_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800945","1351800954","1351800950","1351800944","1351800947","1351800952"],"photo_ids_order":["1351800944","1351800945","1351800947","1351800950","1351800952","1351800954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cae93a91f8b5e2cca364254d1e96b90e.jpg","text":"TemporaryFile(/tmp/multipartBody40762664945107238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056293681,"filename":"image_19042025_07_32_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/19/7b061fe94099cb9a2d9ad79d04a0511e.jpg","text":"TemporaryFile(/tmp/multipartBody7506060360694262718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056293681,"filename":"image_19042025_07_33_06_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/899e38428fd3c16e2733f1a9b322ea10.jpg","text":"TemporaryFile(/tmp/multipartBody1953073674187088154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056293681,"filename":"image_19042025_07_32_36_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f868b8095d5096ee5225881b164b73b.jpg","text":"TemporaryFile(/tmp/multipartBody9072910700983934758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056293681,"filename":"image_19042025_07_32_06_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/19/6838888f7ce373af2641735f7290b9a7.jpg","text":"TemporaryFile(/tmp/multipartBody9118148876707523150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056293681,"filename":"image_19042025_07_32_27_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d9c63c171b2e0551ede3c5964673e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2799235022974137080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056293681,"filename":"image_19042025_07_32_56_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800947","file1":"1351800945","file0":"1351800944","file4":"1351800952","file5":"1351800954","file3":"1351800950"},"map_files_photo_id_array":[{"photo_id":"1351800954","filename":"file5"},{"photo_id":"1351800947","filename":"file2"},{"photo_id":"1351800952","filename":"file4"},{"photo_id":"1351800945","filename":"file1"},{"photo_id":"1351800944","filename":"file0"},{"photo_id":"1351800950","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800945":["hashtag1","hashtag2"]},{"1351800954":["hashtag1","hashtag2"]},{"1351800950":["hashtag1","hashtag2"]},{"1351800944":["hashtag1","hashtag2"]},{"1351800947":["hashtag1","hashtag2"]},{"1351800952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800945, 1351800954, 1351800950, 1351800944, 1351800947, 1351800952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2954204082489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:51:32.347430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_26_9470.jpg', '/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_37_10335.jpg', '/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_46_9452.jpg', '/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_56_10358.jpg', '/home/pi/Desktop/images/19042025/07/33/image_19042025_07_34_07_10420.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_16_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_26_9470.jpg
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_37_10335.jpg
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_46_9452.jpg
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_56_10358.jpg
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_34_07_10420.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_16_9433.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4839670658111572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 11:51:42.359740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_26_9470.jpg', '/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_37_10335.jpg', '/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_46_9452.jpg', '/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_56_10358.jpg', '/home/pi/Desktop/images/19042025/07/33/image_19042025_07_34_07_10420.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_16_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_26_9470.jpg
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_37_10335.jpg
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_46_9452.jpg
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_33_56_10358.jpg
/home/pi/Desktop/images/19042025/07/33/image_19042025_07_34_07_10420.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_16_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800981","1351800975","1351800972","1351800969","1351800977","1351800979"],"photo_ids_order":["1351800969","1351800972","1351800975","1351800977","1351800979","1351800981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/492716f280b95130d6b946897fe0acbc.jpg","text":"TemporaryFile(/tmp/multipartBody8103556503559230266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056362824,"filename":"image_19042025_07_34_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/19/c8b2ea4d108813705d96fcd99e87b877.jpg","text":"TemporaryFile(/tmp/multipartBody3693541121637427252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056362824,"filename":"image_19042025_07_33_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/19/a37a3838189b23f919e0c83c43a90cf3.jpg","text":"TemporaryFile(/tmp/multipartBody6190873061127110209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056362824,"filename":"image_19042025_07_33_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/19/7cde56b375bfbd856f919d1193cbfc96.jpg","text":"TemporaryFile(/tmp/multipartBody8489435006483641792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056362824,"filename":"image_19042025_07_33_26_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2b3fda82027159065b48f12fc583a380.jpg","text":"TemporaryFile(/tmp/multipartBody4363892535961882379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056362824,"filename":"image_19042025_07_33_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/19/7d77ed51669253400d667a0c2f865057.jpg","text":"TemporaryFile(/tmp/multipartBody406006772372975032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056362824,"filename":"image_19042025_07_34_07_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800975","file1":"1351800972","file0":"1351800969","file4":"1351800979","file5":"1351800981","file3":"1351800977"},"map_files_photo_id_array":[{"photo_id":"1351800981","filename":"file5"},{"photo_id":"1351800975","filename":"file2"},{"photo_id":"1351800979","filename":"file4"},{"photo_id":"1351800972","filename":"file1"},{"photo_id":"1351800969","filename":"file0"},{"photo_id":"1351800977","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351800981":["hashtag1","hashtag2"]},{"1351800975":["hashtag1","hashtag2"]},{"1351800972":["hashtag1","hashtag2"]},{"1351800969":["hashtag1","hashtag2"]},{"1351800977":["hashtag1","hashtag2"]},{"1351800979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351800981, 1351800975, 1351800972, 1351800969, 1351800977, 1351800979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63537311553955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:52:32.886594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_27_10378.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_36_9386.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_46_10367.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_57_10441.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_35_06_9425.jpg', '/home/pi/Desktop/images/19042025/07/35/image_19042025_07_35_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_27_10378.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_36_9386.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_46_10367.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_57_10441.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_35_06_9425.jpg
/home/pi/Desktop/images/19042025/07/35/image_19042025_07_35_17_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.5940911769866943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 11:52:42.594912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_27_10378.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_36_9386.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_46_10367.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_57_10441.jpg', '/home/pi/Desktop/images/19042025/07/34/image_19042025_07_35_06_9425.jpg', '/home/pi/Desktop/images/19042025/07/35/image_19042025_07_35_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_27_10378.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_36_9386.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_46_10367.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_34_57_10441.jpg
/home/pi/Desktop/images/19042025/07/34/image_19042025_07_35_06_9425.jpg
/home/pi/Desktop/images/19042025/07/35/image_19042025_07_35_17_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351801005","1351800998","1351800995","1351801001","1351801003","1351801006"],"photo_ids_order":["1351800995","1351800998","1351801001","1351801003","1351801005","1351801006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd51c0a39940fab9af9d1f57c8f51c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6416263925469174457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056423892,"filename":"image_19042025_07_35_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/19/355a67314cd4d7357834e558b40da5db.jpg","text":"TemporaryFile(/tmp/multipartBody1352038156819643010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056423892,"filename":"image_19042025_07_34_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d390c93debc5a38d439bf984fbe05a58.jpg","text":"TemporaryFile(/tmp/multipartBody2113216035729248228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056423892,"filename":"image_19042025_07_34_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5b875f33573d051d6efba02f116ce544.jpg","text":"TemporaryFile(/tmp/multipartBody635302400132748852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056423892,"filename":"image_19042025_07_34_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/19/5cdae3829b7ee46d99d48310a7f9e995.jpg","text":"TemporaryFile(/tmp/multipartBody6573602559403473213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056423892,"filename":"image_19042025_07_34_57_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ff881696559c5a1ff89bd29f39dfdb8e.jpg","text":"TemporaryFile(/tmp/multipartBody1374860554459773384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056423892,"filename":"image_19042025_07_35_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351801001","file1":"1351800998","file0":"1351800995","file4":"1351801005","file5":"1351801006","file3":"1351801003"},"map_files_photo_id_array":[{"photo_id":"1351801006","filename":"file5"},{"photo_id":"1351801001","filename":"file2"},{"photo_id":"1351801005","filename":"file4"},{"photo_id":"1351800998","filename":"file1"},{"photo_id":"1351800995","filename":"file0"},{"photo_id":"1351801003","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351801005":["hashtag1","hashtag2"]},{"1351800998":["hashtag1","hashtag2"]},{"1351800995":["hashtag1","hashtag2"]},{"1351801001":["hashtag1","hashtag2"]},{"1351801003":["hashtag1","hashtag2"]},{"1351801006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351801005, 1351800998, 1351800995, 1351801001, 1351801003, 1351801006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.508198738098145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:53:36.746059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/35/image_19042025_07_35_36_10361.jpg', '/home/pi/Desktop/images/19042025/07/35/image_19042025_07_36_07_10361.jpg', '/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_16_9344.jpg', '/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_26_10356.jpg', '/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_37_10355.jpg', '/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_46_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/35/image_19042025_07_35_36_10361.jpg
/home/pi/Desktop/images/19042025/07/35/image_19042025_07_36_07_10361.jpg
/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_16_9344.jpg
/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_26_10356.jpg
/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_37_10355.jpg
/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_46_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351801026","1351801023","1351801017","1351801025","1351801019","1351801021"],"photo_ids_order":["1351801017","1351801019","1351801021","1351801023","1351801025","1351801026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1fa5548ad7ff80fe30e34f677ddd07b7.jpg","text":"TemporaryFile(/tmp/multipartBody2237861787835135038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056477289,"filename":"image_19042025_07_36_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/19/48340c88f1d2bb9caabf29d6693eec2c.jpg","text":"TemporaryFile(/tmp/multipartBody8300034478864359198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056477289,"filename":"image_19042025_07_36_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c899a1ed63e07d0bf7c1245a159e9cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7495316561921159435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056477289,"filename":"image_19042025_07_35_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/19/593b39b2f335691be42f9296010a66a7.jpg","text":"TemporaryFile(/tmp/multipartBody1267125872850399610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056477289,"filename":"image_19042025_07_36_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/19/1873f73c79320e440dd23f39a778a370.jpg","text":"TemporaryFile(/tmp/multipartBody1840132114238889353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056477289,"filename":"image_19042025_07_36_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/205a919958b65c3f8024363da5eb1c22.jpg","text":"TemporaryFile(/tmp/multipartBody8987025161193691965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056477289,"filename":"image_19042025_07_36_16_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351801021","file1":"1351801019","file0":"1351801017","file4":"1351801025","file5":"1351801026","file3":"1351801023"},"map_files_photo_id_array":[{"photo_id":"1351801026","filename":"file5"},{"photo_id":"1351801021","filename":"file2"},{"photo_id":"1351801025","filename":"file4"},{"photo_id":"1351801019","filename":"file1"},{"photo_id":"1351801017","filename":"file0"},{"photo_id":"1351801023","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351801026":["hashtag1","hashtag2"]},{"1351801023":["hashtag1","hashtag2"]},{"1351801017":["hashtag1","hashtag2"]},{"1351801025":["hashtag1","hashtag2"]},{"1351801019":["hashtag1","hashtag2"]},{"1351801021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351801026, 1351801023, 1351801017, 1351801025, 1351801019, 1351801021)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351801021 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/19042025/07/36/image_19042025_07_36_16_9344.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 50.13295793533325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:54:33.142192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/36/image_19042025_07_37_06_9477.jpg', '/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_16_10353.jpg', '/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_27_10352.jpg', '/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_36_9441.jpg', '/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_46_10337.jpg', '/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_56_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/36/image_19042025_07_37_06_9477.jpg
/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_16_10353.jpg
/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_27_10352.jpg
/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_36_9441.jpg
/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_46_10337.jpg
/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_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":["1351801059","1351801082","1351801090","1351801045","1351801048","1351801074"],"photo_ids_order":["1351801045","1351801048","1351801059","1351801074","1351801082","1351801090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15a6384a5082f38e970f75fdb3503a4a.jpg","text":"TemporaryFile(/tmp/multipartBody2187206745992641416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056537792,"filename":"image_19042025_07_37_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/467b5b5a81d6662212e0702da1b16ee5.jpg","text":"TemporaryFile(/tmp/multipartBody6163736438609096000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056537792,"filename":"image_19042025_07_37_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fbcfa8eb94479b3239802230595859bc.jpg","text":"TemporaryFile(/tmp/multipartBody7268883316480751442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056537792,"filename":"image_19042025_07_37_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/19/0f4d7ef6e1d145f866e8eddf838740c4.jpg","text":"TemporaryFile(/tmp/multipartBody2299912778891248052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056537792,"filename":"image_19042025_07_37_06_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e9083133d5a015dbc65251d865192f37.jpg","text":"TemporaryFile(/tmp/multipartBody3425985548217349628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056537792,"filename":"image_19042025_07_37_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/19/7a5548481a216b43e7a0029b16a1f510.jpg","text":"TemporaryFile(/tmp/multipartBody953198049400123969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056537792,"filename":"image_19042025_07_37_36_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351801059","file1":"1351801048","file0":"1351801045","file4":"1351801082","file5":"1351801090","file3":"1351801074"},"map_files_photo_id_array":[{"photo_id":"1351801090","filename":"file5"},{"photo_id":"1351801059","filename":"file2"},{"photo_id":"1351801082","filename":"file4"},{"photo_id":"1351801048","filename":"file1"},{"photo_id":"1351801045","filename":"file0"},{"photo_id":"1351801074","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351801059":["hashtag1","hashtag2"]},{"1351801082":["hashtag1","hashtag2"]},{"1351801090":["hashtag1","hashtag2"]},{"1351801045":["hashtag1","hashtag2"]},{"1351801048":["hashtag1","hashtag2"]},{"1351801074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351801059, 1351801082, 1351801090, 1351801045, 1351801048, 1351801074)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351801059 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/19042025/07/37/image_19042025_07_37_27_10352.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.03974199295044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:55:32.368545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/37/image_19042025_07_38_06_10481.jpg', '/home/pi/Desktop/images/19042025/07/38/image_19042025_07_38_17_10511.jpg', '/home/pi/Desktop/images/19042025/07/38/image_19042025_07_38_37_10356.jpg', '/home/pi/Desktop/images/19042025/07/38/image_19042025_07_38_46_9352.jpg', '/home/pi/Desktop/images/19042025/07/38/image_19042025_07_38_56_10373.jpg', '/home/pi/Desktop/images/19042025/07/38/image_19042025_07_39_07_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/37/image_19042025_07_38_06_10481.jpg
/home/pi/Desktop/images/19042025/07/38/image_19042025_07_38_17_10511.jpg
/home/pi/Desktop/images/19042025/07/38/image_19042025_07_38_37_10356.jpg
/home/pi/Desktop/images/19042025/07/38/image_19042025_07_38_46_9352.jpg
/home/pi/Desktop/images/19042025/07/38/image_19042025_07_38_56_10373.jpg
/home/pi/Desktop/images/19042025/07/38/image_19042025_07_39_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":["1351801098","1351801097","1351801104","1351801100","1351801099","1351801102"],"photo_ids_order":["1351801097","1351801098","1351801099","1351801100","1351801102","1351801104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70035ab376d198ac4e088113f8e26e69.jpg","text":"TemporaryFile(/tmp/multipartBody711040465679031913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056592911,"filename":"image_19042025_07_38_17_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/45840c23738b00f38be1b880a9599102.jpg","text":"TemporaryFile(/tmp/multipartBody3082481497958228435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056592911,"filename":"image_19042025_07_38_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/19/c4b4c8226c9f9fd41c17e9ec14ee8e33.jpg","text":"TemporaryFile(/tmp/multipartBody7623287488435634863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056592911,"filename":"image_19042025_07_39_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/19/0fbfd3f6a18fc006dd56102de3256bbb.jpg","text":"TemporaryFile(/tmp/multipartBody6695233691643653638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056592911,"filename":"image_19042025_07_38_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/19/4355a153add00e55cc3e09307ad2b1d8.jpg","text":"TemporaryFile(/tmp/multipartBody171141526876143897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056592911,"filename":"image_19042025_07_38_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/19/242f4eb2c9a1a3386a5b54bb95f14274.jpg","text":"TemporaryFile(/tmp/multipartBody1056268294483526027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056592911,"filename":"image_19042025_07_38_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351801099","file1":"1351801098","file0":"1351801097","file4":"1351801102","file5":"1351801104","file3":"1351801100"},"map_files_photo_id_array":[{"photo_id":"1351801104","filename":"file5"},{"photo_id":"1351801099","filename":"file2"},{"photo_id":"1351801102","filename":"file4"},{"photo_id":"1351801098","filename":"file1"},{"photo_id":"1351801097","filename":"file0"},{"photo_id":"1351801100","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351801098":["hashtag1","hashtag2"]},{"1351801097":["hashtag1","hashtag2"]},{"1351801104":["hashtag1","hashtag2"]},{"1351801100":["hashtag1","hashtag2"]},{"1351801099":["hashtag1","hashtag2"]},{"1351801102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351801098, 1351801097, 1351801104, 1351801100, 1351801099, 1351801102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.799171686172485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:56:32.533409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_16_9455.jpg', '/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_26_10379.jpg', '/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_36_9383.jpg', '/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_46_10478.jpg', '/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_57_10379.jpg', '/home/pi/Desktop/images/19042025/07/39/image_19042025_07_40_06_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_16_9455.jpg
/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_26_10379.jpg
/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_36_9383.jpg
/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_46_10478.jpg
/home/pi/Desktop/images/19042025/07/39/image_19042025_07_39_57_10379.jpg
/home/pi/Desktop/images/19042025/07/39/image_19042025_07_40_06_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":["1351801283","1351801256","1351801337","1351801312","1351801228","1351801201"],"photo_ids_order":["1351801201","1351801228","1351801256","1351801283","1351801312","1351801337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20b6b8d34a03a6d367a9fbfd6c48b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody4216650751002014976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056653079,"filename":"image_19042025_07_39_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/19/07ee0950029b4df3b3ee0150b9832c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6112406576493298339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056653079,"filename":"image_19042025_07_39_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/19/dced67d5ff652006a4e2dd2284b15408.jpg","text":"TemporaryFile(/tmp/multipartBody1914034252520153616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056653079,"filename":"image_19042025_07_40_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/19/a8602ffd51f3aa75e2a306867efe6cae.jpg","text":"TemporaryFile(/tmp/multipartBody487936245154566612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056653079,"filename":"image_19042025_07_39_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/19/7c69ea58f20a54353d9bdad4fb86d044.jpg","text":"TemporaryFile(/tmp/multipartBody1228280823884981315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056653079,"filename":"image_19042025_07_39_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4160904ddd05e0215a953ac1dc23330f.jpg","text":"TemporaryFile(/tmp/multipartBody853957435215019914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056653079,"filename":"image_19042025_07_39_16_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351801256","file1":"1351801228","file0":"1351801201","file4":"1351801312","file5":"1351801337","file3":"1351801283"},"map_files_photo_id_array":[{"photo_id":"1351801337","filename":"file5"},{"photo_id":"1351801256","filename":"file2"},{"photo_id":"1351801312","filename":"file4"},{"photo_id":"1351801228","filename":"file1"},{"photo_id":"1351801201","filename":"file0"},{"photo_id":"1351801283","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351801283":["hashtag1","hashtag2"]},{"1351801256":["hashtag1","hashtag2"]},{"1351801337":["hashtag1","hashtag2"]},{"1351801312":["hashtag1","hashtag2"]},{"1351801228":["hashtag1","hashtag2"]},{"1351801201":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351801283, 1351801256, 1351801337, 1351801312, 1351801228, 1351801201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.831390142440796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 11:57:32.686213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_17_10467.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_26_9414.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_36_10368.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_46_9407.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_56_10355.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_41_07_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_17_10467.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_26_9414.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_36_10368.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_46_9407.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_56_10355.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_41_07_10399.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-19 11:59:03.261157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_17_10467.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_26_9414.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_36_10368.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_46_9407.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_56_10355.jpg', '/home/pi/Desktop/images/19042025/07/40/image_19042025_07_41_07_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_17_10467.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_26_9414.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_36_10368.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_46_9407.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_40_56_10355.jpg
/home/pi/Desktop/images/19042025/07/40/image_19042025_07_41_07_10399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351801830","1351801854","1351801805","1351801687","1351801732","1351801776"],"photo_ids_order":["1351801687","1351801732","1351801776","1351801805","1351801830","1351801854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/45b2dc641fc88c2459d88867334a3528.jpg","text":"TemporaryFile(/tmp/multipartBody8028963925900303366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056803948,"filename":"image_19042025_07_40_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/19/480e9fc3bce3e3cca053300f31b0e4c5.jpg","text":"TemporaryFile(/tmp/multipartBody2521548642206358879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056803948,"filename":"image_19042025_07_41_07_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0fd0b1020c2f861f71fa06584e75470c.jpg","text":"TemporaryFile(/tmp/multipartBody7395246109827313574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056803948,"filename":"image_19042025_07_40_46_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1eeff998fb6e2abf85af8f56d3c0b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody1714658965276079662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056803948,"filename":"image_19042025_07_40_17_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/19/0a912b47336f82936f44007698187103.jpg","text":"TemporaryFile(/tmp/multipartBody3031894798326102118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056803948,"filename":"image_19042025_07_40_26_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/19/2a6fb5db285ee6c102594383402377d8.jpg","text":"TemporaryFile(/tmp/multipartBody4652573523084790503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056803948,"filename":"image_19042025_07_40_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351801776","file1":"1351801732","file0":"1351801687","file4":"1351801830","file5":"1351801854","file3":"1351801805"},"map_files_photo_id_array":[{"photo_id":"1351801854","filename":"file5"},{"photo_id":"1351801776","filename":"file2"},{"photo_id":"1351801830","filename":"file4"},{"photo_id":"1351801732","filename":"file1"},{"photo_id":"1351801687","filename":"file0"},{"photo_id":"1351801805","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351801830":["hashtag1","hashtag2"]},{"1351801854":["hashtag1","hashtag2"]},{"1351801805":["hashtag1","hashtag2"]},{"1351801687":["hashtag1","hashtag2"]},{"1351801732":["hashtag1","hashtag2"]},{"1351801776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351801830, 1351801854, 1351801805, 1351801687, 1351801732, 1351801776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71682405471802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 11:59:42.420653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_16_9338.jpg', '/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_26_10407.jpg', '/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_37_10362.jpg', '/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_46_9392.jpg', '/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_56_10364.jpg', '/home/pi/Desktop/images/19042025/07/41/image_19042025_07_42_06_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_16_9338.jpg
/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_26_10407.jpg
/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_37_10362.jpg
/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_46_9392.jpg
/home/pi/Desktop/images/19042025/07/41/image_19042025_07_41_56_10364.jpg
/home/pi/Desktop/images/19042025/07/41/image_19042025_07_42_06_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351802363","1351802192","1351802273","1351802116","1351801998","1351802055"],"photo_ids_order":["1351801998","1351802055","1351802116","1351802192","1351802273","1351802363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/508473d4ec77b2e33e266da3c1f02762.jpg","text":"TemporaryFile(/tmp/multipartBody359399630717645720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056842984,"filename":"image_19042025_07_42_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/19/0f9979e80dda3bce860609792ec6896a.jpg","text":"TemporaryFile(/tmp/multipartBody1452360194217773561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056842984,"filename":"image_19042025_07_41_46_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/326e3036be3d7261b6c8b9c04b151b75.jpg","text":"TemporaryFile(/tmp/multipartBody4750518619986705295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056842984,"filename":"image_19042025_07_41_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f2a71e0394f62d3c0b4c5ca0109f4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3697268588448326860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056842984,"filename":"image_19042025_07_41_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/19/808b4e7264465942a3e180caf2de8db8.jpg","text":"TemporaryFile(/tmp/multipartBody1940772300991354431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056842984,"filename":"image_19042025_07_41_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/19/5829a665d1c453d077b77ae7d545a42c.jpg","text":"TemporaryFile(/tmp/multipartBody1190397898519159780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056842984,"filename":"image_19042025_07_41_26_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351802116","file1":"1351802055","file0":"1351801998","file4":"1351802273","file5":"1351802363","file3":"1351802192"},"map_files_photo_id_array":[{"photo_id":"1351802363","filename":"file5"},{"photo_id":"1351802116","filename":"file2"},{"photo_id":"1351802273","filename":"file4"},{"photo_id":"1351802055","filename":"file1"},{"photo_id":"1351801998","filename":"file0"},{"photo_id":"1351802192","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351802363":["hashtag1","hashtag2"]},{"1351802192":["hashtag1","hashtag2"]},{"1351802273":["hashtag1","hashtag2"]},{"1351802116":["hashtag1","hashtag2"]},{"1351801998":["hashtag1","hashtag2"]},{"1351802055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351802363, 1351802192, 1351802273, 1351802116, 1351801998, 1351802055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05712175369263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:00:32.526467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_16_10369.jpg', '/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_27_10371.jpg', '/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_36_9371.jpg', '/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_46_10362.jpg', '/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_57_10422.jpg', '/home/pi/Desktop/images/19042025/07/42/image_19042025_07_43_06_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_16_10369.jpg
/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_27_10371.jpg
/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_36_9371.jpg
/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_46_10362.jpg
/home/pi/Desktop/images/19042025/07/42/image_19042025_07_42_57_10422.jpg
/home/pi/Desktop/images/19042025/07/42/image_19042025_07_43_06_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351803077","1351802981","1351802930","1351803124","1351803028","1351802877"],"photo_ids_order":["1351802877","1351802930","1351802981","1351803028","1351803077","1351803124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c03c54f3a43bab4e1b9e3ea78019ea80.jpg","text":"TemporaryFile(/tmp/multipartBody8041932524754341401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056893088,"filename":"image_19042025_07_42_57_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef14867153acc2202457b3c03510c705.jpg","text":"TemporaryFile(/tmp/multipartBody5623865985741898220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056893088,"filename":"image_19042025_07_42_36_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/19/e56882858c4257c1ed3de34148135be5.jpg","text":"TemporaryFile(/tmp/multipartBody4603004701787705805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056893088,"filename":"image_19042025_07_42_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/19/58925d9dd3e58611ee7818ae1d70ce24.jpg","text":"TemporaryFile(/tmp/multipartBody6398416317440799763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056893088,"filename":"image_19042025_07_43_06_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f6022f1c09472130d8224002b4faecf.jpg","text":"TemporaryFile(/tmp/multipartBody1598154905233067370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056893088,"filename":"image_19042025_07_42_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/19/cafa5f2c944b6bc67f311603b0827039.jpg","text":"TemporaryFile(/tmp/multipartBody2115514388774787837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056893088,"filename":"image_19042025_07_42_16_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351802981","file1":"1351802930","file0":"1351802877","file4":"1351803077","file5":"1351803124","file3":"1351803028"},"map_files_photo_id_array":[{"photo_id":"1351803124","filename":"file5"},{"photo_id":"1351802981","filename":"file2"},{"photo_id":"1351803077","filename":"file4"},{"photo_id":"1351802930","filename":"file1"},{"photo_id":"1351802877","filename":"file0"},{"photo_id":"1351803028","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351803077":["hashtag1","hashtag2"]},{"1351802981":["hashtag1","hashtag2"]},{"1351802930":["hashtag1","hashtag2"]},{"1351803124":["hashtag1","hashtag2"]},{"1351803028":["hashtag1","hashtag2"]},{"1351802877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351803077, 1351802981, 1351802930, 1351803124, 1351803028, 1351802877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.190645694732666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:01:32.826770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_17_10363.jpg', '/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_26_9370.jpg', '/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_36_10382.jpg', '/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_46_9490.jpg', '/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_56_10372.jpg', '/home/pi/Desktop/images/19042025/07/43/image_19042025_07_44_07_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_17_10363.jpg
/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_26_9370.jpg
/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_36_10382.jpg
/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_46_9490.jpg
/home/pi/Desktop/images/19042025/07/43/image_19042025_07_43_56_10372.jpg
/home/pi/Desktop/images/19042025/07/43/image_19042025_07_44_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":["1351803787","1351803742","1351803687","1351803588","1351803636","1351803528"],"photo_ids_order":["1351803528","1351803588","1351803636","1351803687","1351803742","1351803787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a24d40ccd04602d90a584dd1cb7d3a58.jpg","text":"TemporaryFile(/tmp/multipartBody8514416004818429485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056953450,"filename":"image_19042025_07_44_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/19/77e3ee08963adb1449b67847d389d25e.jpg","text":"TemporaryFile(/tmp/multipartBody7963641742888075229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056953450,"filename":"image_19042025_07_43_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6154c4a18ec1c58ca96defcea851103.jpg","text":"TemporaryFile(/tmp/multipartBody9220406967707851231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056953450,"filename":"image_19042025_07_43_46_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/446c8604b8816f62b4f691819f433596.jpg","text":"TemporaryFile(/tmp/multipartBody5394335148050689794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056953450,"filename":"image_19042025_07_43_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/19/4280addc2a28da648b36c159a4f62efe.jpg","text":"TemporaryFile(/tmp/multipartBody5393715137395580216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056953450,"filename":"image_19042025_07_43_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fa52a7de6d264ac02fe25c757f3d5f42.jpg","text":"TemporaryFile(/tmp/multipartBody2409925710258363281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745056953450,"filename":"image_19042025_07_43_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351803636","file1":"1351803588","file0":"1351803528","file4":"1351803742","file5":"1351803787","file3":"1351803687"},"map_files_photo_id_array":[{"photo_id":"1351803787","filename":"file5"},{"photo_id":"1351803636","filename":"file2"},{"photo_id":"1351803742","filename":"file4"},{"photo_id":"1351803588","filename":"file1"},{"photo_id":"1351803528","filename":"file0"},{"photo_id":"1351803687","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351803787":["hashtag1","hashtag2"]},{"1351803742":["hashtag1","hashtag2"]},{"1351803687":["hashtag1","hashtag2"]},{"1351803588":["hashtag1","hashtag2"]},{"1351803636":["hashtag1","hashtag2"]},{"1351803528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351803787, 1351803742, 1351803687, 1351803588, 1351803636, 1351803528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.016085147857666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:02:32.991090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_16_9461.jpg', '/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_26_10394.jpg', '/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_37_10417.jpg', '/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_46_9486.jpg', '/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_57_10454.jpg', '/home/pi/Desktop/images/19042025/07/44/image_19042025_07_45_06_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_16_9461.jpg
/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_26_10394.jpg
/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_37_10417.jpg
/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_46_9486.jpg
/home/pi/Desktop/images/19042025/07/44/image_19042025_07_44_57_10454.jpg
/home/pi/Desktop/images/19042025/07/44/image_19042025_07_45_06_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":["1351803941","1351803914","1351803978","1351803972","1351803995","1351803980"],"photo_ids_order":["1351803914","1351803941","1351803972","1351803978","1351803980","1351803995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c544f89d05c88a7a273509ed9e8e641a.jpg","text":"TemporaryFile(/tmp/multipartBody3260079121094053843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057013539,"filename":"image_19042025_07_44_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/19/c6b18aeed3b4d61040df4acf64710abc.jpg","text":"TemporaryFile(/tmp/multipartBody9128472460988342543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057013539,"filename":"image_19042025_07_44_16_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a16d2483761c140e819e468480a4fb7d.jpg","text":"TemporaryFile(/tmp/multipartBody2179963668851164478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057013539,"filename":"image_19042025_07_44_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/19/f737d47fd277152e81bbe250554fb214.jpg","text":"TemporaryFile(/tmp/multipartBody8389404554764597279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057013539,"filename":"image_19042025_07_44_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/19/135fccf91a4eb06ac5ff59fcdc11f4e3.jpg","text":"TemporaryFile(/tmp/multipartBody3903867749249409623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057013539,"filename":"image_19042025_07_45_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/19/7adfbe8de21f15d79852485524874058.jpg","text":"TemporaryFile(/tmp/multipartBody5434308233041900220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057013539,"filename":"image_19042025_07_44_57_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351803972","file1":"1351803941","file0":"1351803914","file4":"1351803980","file5":"1351803995","file3":"1351803978"},"map_files_photo_id_array":[{"photo_id":"1351803995","filename":"file5"},{"photo_id":"1351803972","filename":"file2"},{"photo_id":"1351803980","filename":"file4"},{"photo_id":"1351803941","filename":"file1"},{"photo_id":"1351803914","filename":"file0"},{"photo_id":"1351803978","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351803941":["hashtag1","hashtag2"]},{"1351803914":["hashtag1","hashtag2"]},{"1351803978":["hashtag1","hashtag2"]},{"1351803972":["hashtag1","hashtag2"]},{"1351803995":["hashtag1","hashtag2"]},{"1351803980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351803941, 1351803914, 1351803978, 1351803972, 1351803995, 1351803980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.25424599647522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:03:32.206651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_16_10342.jpg', '/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_26_9401.jpg', '/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_36_10459.jpg', '/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_47_10380.jpg', '/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_56_9367.jpg', '/home/pi/Desktop/images/19042025/07/45/image_19042025_07_46_06_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_16_10342.jpg
/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_26_9401.jpg
/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_36_10459.jpg
/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_47_10380.jpg
/home/pi/Desktop/images/19042025/07/45/image_19042025_07_45_56_9367.jpg
/home/pi/Desktop/images/19042025/07/45/image_19042025_07_46_06_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":["1351804498","1351804594","1351804612","1351804446","1351804548","1351804391"],"photo_ids_order":["1351804391","1351804446","1351804498","1351804548","1351804594","1351804612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8bf7862640f9ce1620f361eeded0a785.jpg","text":"TemporaryFile(/tmp/multipartBody8891694564202837859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057072751,"filename":"image_19042025_07_45_36_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cef844f2da4e96ca2ef32d9e8df4d934.jpg","text":"TemporaryFile(/tmp/multipartBody7973314749297059006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057072751,"filename":"image_19042025_07_45_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/19/124ab111714a26ef34e0237ceca6ee5d.jpg","text":"TemporaryFile(/tmp/multipartBody2614897125388078266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057072751,"filename":"image_19042025_07_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/19/c6a68835b97657b163fe095bda78298d.jpg","text":"TemporaryFile(/tmp/multipartBody4270940140862849777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057072751,"filename":"image_19042025_07_45_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/19/a740898ff32b5ec8c5a0452ead77dc5d.jpg","text":"TemporaryFile(/tmp/multipartBody271872986821957922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057072751,"filename":"image_19042025_07_45_47_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3f5e5b11ed241ef35e4af2e279b91e26.jpg","text":"TemporaryFile(/tmp/multipartBody833274518044592539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057072751,"filename":"image_19042025_07_45_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351804498","file1":"1351804446","file0":"1351804391","file4":"1351804594","file5":"1351804612","file3":"1351804548"},"map_files_photo_id_array":[{"photo_id":"1351804612","filename":"file5"},{"photo_id":"1351804498","filename":"file2"},{"photo_id":"1351804594","filename":"file4"},{"photo_id":"1351804446","filename":"file1"},{"photo_id":"1351804391","filename":"file0"},{"photo_id":"1351804548","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351804498":["hashtag1","hashtag2"]},{"1351804594":["hashtag1","hashtag2"]},{"1351804612":["hashtag1","hashtag2"]},{"1351804446":["hashtag1","hashtag2"]},{"1351804548":["hashtag1","hashtag2"]},{"1351804391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351804498, 1351804594, 1351804612, 1351804446, 1351804548, 1351804391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.001410722732544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:04:32.493498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_16_9488.jpg', '/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_26_10363.jpg', '/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_37_10365.jpg', '/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_46_9457.jpg', '/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_56_10351.jpg', '/home/pi/Desktop/images/19042025/07/46/image_19042025_07_47_06_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_16_9488.jpg
/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_26_10363.jpg
/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_37_10365.jpg
/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_46_9457.jpg
/home/pi/Desktop/images/19042025/07/46/image_19042025_07_46_56_10351.jpg
/home/pi/Desktop/images/19042025/07/46/image_19042025_07_47_06_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":["1351804966","1351804873","1351804822","1351804818","1351804880","1351804844"],"photo_ids_order":["1351804818","1351804822","1351804844","1351804873","1351804880","1351804966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e4f9047ba75ab257173d1f56e78e507.jpg","text":"TemporaryFile(/tmp/multipartBody1392587983004640703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057133062,"filename":"image_19042025_07_47_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/19/1bb4aa7a0beecbd5bb68a03903fc05fc.jpg","text":"TemporaryFile(/tmp/multipartBody526317936228802703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057133062,"filename":"image_19042025_07_46_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/19/9a2f5583a1c8151e44758f662673cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody488371193610226020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057133062,"filename":"image_19042025_07_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/19/110a4e9484e7b732602ceffa52a4b0ff.jpg","text":"TemporaryFile(/tmp/multipartBody3079529831825338007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057133062,"filename":"image_19042025_07_46_16_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/19/c7c3dc92271b681341e2fd80eb3fd618.jpg","text":"TemporaryFile(/tmp/multipartBody6701236620563925935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057133062,"filename":"image_19042025_07_46_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/19/ede331afb617ff8708910ad24057d7c1.jpg","text":"TemporaryFile(/tmp/multipartBody1200323024923040199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057133062,"filename":"image_19042025_07_46_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351804844","file1":"1351804822","file0":"1351804818","file4":"1351804880","file5":"1351804966","file3":"1351804873"},"map_files_photo_id_array":[{"photo_id":"1351804966","filename":"file5"},{"photo_id":"1351804844","filename":"file2"},{"photo_id":"1351804880","filename":"file4"},{"photo_id":"1351804822","filename":"file1"},{"photo_id":"1351804818","filename":"file0"},{"photo_id":"1351804873","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351804966":["hashtag1","hashtag2"]},{"1351804873":["hashtag1","hashtag2"]},{"1351804822":["hashtag1","hashtag2"]},{"1351804818":["hashtag1","hashtag2"]},{"1351804880":["hashtag1","hashtag2"]},{"1351804844":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351804966, 1351804873, 1351804822, 1351804818, 1351804880, 1351804844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57437992095947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:05:32.686662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_16_10361.jpg', '/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_27_10373.jpg', '/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_36_9359.jpg', '/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_46_10359.jpg', '/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_56_9514.jpg', '/home/pi/Desktop/images/19042025/07/47/image_19042025_07_48_06_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_16_10361.jpg
/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_27_10373.jpg
/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_36_9359.jpg
/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_46_10359.jpg
/home/pi/Desktop/images/19042025/07/47/image_19042025_07_47_56_9514.jpg
/home/pi/Desktop/images/19042025/07/47/image_19042025_07_48_06_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805184","1351805189","1351805183","1351805186","1351805191","1351805188"],"photo_ids_order":["1351805183","1351805184","1351805186","1351805188","1351805189","1351805191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f32ddb9cd580b88b93fb9c055350677.jpg","text":"TemporaryFile(/tmp/multipartBody1743059934989210084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057193232,"filename":"image_19042025_07_47_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8ae8324675aeab7e331e9ac8d0f21055.jpg","text":"TemporaryFile(/tmp/multipartBody6431041733119286851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057193232,"filename":"image_19042025_07_47_56_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba72f8703738a16dd7e6e2dc177473c6.jpg","text":"TemporaryFile(/tmp/multipartBody8736785053346968231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057193232,"filename":"image_19042025_07_47_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/19/5763a7d952a9142dc3a27b19526b92a0.jpg","text":"TemporaryFile(/tmp/multipartBody5277511431530240571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057193232,"filename":"image_19042025_07_47_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/19/9623e133dafdc3efa86b165b6f6a3c9d.jpg","text":"TemporaryFile(/tmp/multipartBody7702463410029771609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057193232,"filename":"image_19042025_07_48_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/19/5c03ac0ba3e3c68606f2415c6edb5e86.jpg","text":"TemporaryFile(/tmp/multipartBody2361356508317034491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057193232,"filename":"image_19042025_07_47_46_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805186","file1":"1351805184","file0":"1351805183","file4":"1351805189","file5":"1351805191","file3":"1351805188"},"map_files_photo_id_array":[{"photo_id":"1351805191","filename":"file5"},{"photo_id":"1351805186","filename":"file2"},{"photo_id":"1351805189","filename":"file4"},{"photo_id":"1351805184","filename":"file1"},{"photo_id":"1351805183","filename":"file0"},{"photo_id":"1351805188","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805184":["hashtag1","hashtag2"]},{"1351805189":["hashtag1","hashtag2"]},{"1351805183":["hashtag1","hashtag2"]},{"1351805186":["hashtag1","hashtag2"]},{"1351805191":["hashtag1","hashtag2"]},{"1351805188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805184, 1351805189, 1351805183, 1351805186, 1351805191, 1351805188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.542519092559814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:06:32.880354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_17_10351.jpg', '/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_26_9467.jpg', '/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_36_10364.jpg', '/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_47_10362.jpg', '/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_56_9386.jpg', '/home/pi/Desktop/images/19042025/07/48/image_19042025_07_49_07_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_17_10351.jpg
/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_26_9467.jpg
/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_36_10364.jpg
/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_47_10362.jpg
/home/pi/Desktop/images/19042025/07/48/image_19042025_07_48_56_9386.jpg
/home/pi/Desktop/images/19042025/07/48/image_19042025_07_49_07_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805218","1351805215","1351805211","1351805225","1351805228","1351805222"],"photo_ids_order":["1351805211","1351805215","1351805218","1351805222","1351805225","1351805228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4fed106dec009b12601e77338eb586e.jpg","text":"TemporaryFile(/tmp/multipartBody9112451623754704112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057253441,"filename":"image_19042025_07_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/19/eefb2f9b6cf81c0d58a5c757eea16ffe.jpg","text":"TemporaryFile(/tmp/multipartBody5494415734606827036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057253441,"filename":"image_19042025_07_48_26_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0bd58fb4d6502c672dfca1b79d7906c2.jpg","text":"TemporaryFile(/tmp/multipartBody3844285737188004915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057253441,"filename":"image_19042025_07_48_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/19/e1cc7c8ffd4922f05fe3d0f5c6a02750.jpg","text":"TemporaryFile(/tmp/multipartBody7160692408341259071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057253441,"filename":"image_19042025_07_48_56_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/19/3115e249297d71f9c2b0be6d908e03f7.jpg","text":"TemporaryFile(/tmp/multipartBody8165518215451502132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057253441,"filename":"image_19042025_07_49_07_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f35f66b96d641db36427d0f4dc01f68a.jpg","text":"TemporaryFile(/tmp/multipartBody6208314518180982494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057253441,"filename":"image_19042025_07_48_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805218","file1":"1351805215","file0":"1351805211","file4":"1351805225","file5":"1351805228","file3":"1351805222"},"map_files_photo_id_array":[{"photo_id":"1351805228","filename":"file5"},{"photo_id":"1351805218","filename":"file2"},{"photo_id":"1351805225","filename":"file4"},{"photo_id":"1351805215","filename":"file1"},{"photo_id":"1351805211","filename":"file0"},{"photo_id":"1351805222","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805218":["hashtag1","hashtag2"]},{"1351805215":["hashtag1","hashtag2"]},{"1351805211":["hashtag1","hashtag2"]},{"1351805225":["hashtag1","hashtag2"]},{"1351805228":["hashtag1","hashtag2"]},{"1351805222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805218, 1351805215, 1351805211, 1351805225, 1351805228, 1351805222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.324392795562744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:07:33.091298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/49/image_19042025_07_49_16_9467.jpg', '/home/pi/Desktop/images/19042025/07/49/image_19042025_07_49_26_10360.jpg', '/home/pi/Desktop/images/19042025/07/49/image_19042025_07_49_37_10343.jpg', '/home/pi/Desktop/images/19042025/07/49/image_19042025_07_49_46_9406.jpg', '/home/pi/Desktop/images/19042025/07/49/image_19042025_07_50_06_9504.jpg', '/home/pi/Desktop/images/19042025/07/50/image_19042025_07_50_47_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/49/image_19042025_07_49_16_9467.jpg
/home/pi/Desktop/images/19042025/07/49/image_19042025_07_49_26_10360.jpg
/home/pi/Desktop/images/19042025/07/49/image_19042025_07_49_37_10343.jpg
/home/pi/Desktop/images/19042025/07/49/image_19042025_07_49_46_9406.jpg
/home/pi/Desktop/images/19042025/07/49/image_19042025_07_50_06_9504.jpg
/home/pi/Desktop/images/19042025/07/50/image_19042025_07_50_47_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805257","1351805265","1351805253","1351805261","1351805270","1351805267"],"photo_ids_order":["1351805253","1351805257","1351805261","1351805265","1351805267","1351805270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6845aed16054fff4e8f0ea45d5de04e4.jpg","text":"TemporaryFile(/tmp/multipartBody2446384796833386584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057313637,"filename":"image_19042025_07_49_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56584bc4418a82355074f49e4454c21f.jpg","text":"TemporaryFile(/tmp/multipartBody6978526002877257159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057313637,"filename":"image_19042025_07_49_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/19/20ab1ba0c0723192230d1b76c896a323.jpg","text":"TemporaryFile(/tmp/multipartBody5685775943861800239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057313637,"filename":"image_19042025_07_49_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/19/8eeb4bc2d58cf1b64b2b57a274789b81.jpg","text":"TemporaryFile(/tmp/multipartBody482618195013995912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057313637,"filename":"image_19042025_07_49_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/19/e29c165150f185f3357c7124460647ae.jpg","text":"TemporaryFile(/tmp/multipartBody2940274812093346972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057313637,"filename":"image_19042025_07_50_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4bd2825d6b6e148c020f1ba7ce0a9f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3092182917125797909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057313637,"filename":"image_19042025_07_50_06_9504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805261","file1":"1351805257","file0":"1351805253","file4":"1351805267","file5":"1351805270","file3":"1351805265"},"map_files_photo_id_array":[{"photo_id":"1351805270","filename":"file5"},{"photo_id":"1351805261","filename":"file2"},{"photo_id":"1351805267","filename":"file4"},{"photo_id":"1351805257","filename":"file1"},{"photo_id":"1351805253","filename":"file0"},{"photo_id":"1351805265","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805257":["hashtag1","hashtag2"]},{"1351805265":["hashtag1","hashtag2"]},{"1351805253":["hashtag1","hashtag2"]},{"1351805261":["hashtag1","hashtag2"]},{"1351805270":["hashtag1","hashtag2"]},{"1351805267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805257, 1351805265, 1351805253, 1351805261, 1351805270, 1351805267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45512771606445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:08:32.335454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_27_10362.jpg', '/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_36_9372.jpg', '/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_46_10456.jpg', '/home/pi/Desktop/images/19042025/07/52/image_19042025_07_53_06_9435.jpg', '/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_26_9468.jpg', '/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_47_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_27_10362.jpg
/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_36_9372.jpg
/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_46_10456.jpg
/home/pi/Desktop/images/19042025/07/52/image_19042025_07_53_06_9435.jpg
/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_26_9468.jpg
/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_47_10379.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47458839416503906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 12:08:42.369830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_27_10362.jpg', '/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_36_9372.jpg', '/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_46_10456.jpg', '/home/pi/Desktop/images/19042025/07/52/image_19042025_07_53_06_9435.jpg', '/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_26_9468.jpg', '/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_47_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_27_10362.jpg
/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_36_9372.jpg
/home/pi/Desktop/images/19042025/07/52/image_19042025_07_52_46_10456.jpg
/home/pi/Desktop/images/19042025/07/52/image_19042025_07_53_06_9435.jpg
/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_26_9468.jpg
/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_47_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805313","1351805307","1351805319","1351805324","1351805300","1351805303"],"photo_ids_order":["1351805300","1351805303","1351805307","1351805313","1351805319","1351805324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fba0fa6a09776021462ac431f39cc543.jpg","text":"TemporaryFile(/tmp/multipartBody6623567174923886297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057382844,"filename":"image_19042025_07_53_06_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/636dc4a47a1b7eab764689387e8ecf46.jpg","text":"TemporaryFile(/tmp/multipartBody8394782584438740697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057382844,"filename":"image_19042025_07_52_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9975fbf0193cab3c8743d9cc822b036.jpg","text":"TemporaryFile(/tmp/multipartBody5095255666967271873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057382844,"filename":"image_19042025_07_53_26_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ea8f5c7b41b6838a98aab408fc96ae10.jpg","text":"TemporaryFile(/tmp/multipartBody1136568498818231541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057382844,"filename":"image_19042025_07_53_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2333a7fffe2ad64f01b4feff38910f1.jpg","text":"TemporaryFile(/tmp/multipartBody2084467626739188783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057382844,"filename":"image_19042025_07_52_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/19/a4244205420012d5a434bdea0e63a360.jpg","text":"TemporaryFile(/tmp/multipartBody5699979021687310330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057382844,"filename":"image_19042025_07_52_36_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805307","file1":"1351805303","file0":"1351805300","file4":"1351805319","file5":"1351805324","file3":"1351805313"},"map_files_photo_id_array":[{"photo_id":"1351805324","filename":"file5"},{"photo_id":"1351805307","filename":"file2"},{"photo_id":"1351805319","filename":"file4"},{"photo_id":"1351805303","filename":"file1"},{"photo_id":"1351805300","filename":"file0"},{"photo_id":"1351805313","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805313":["hashtag1","hashtag2"]},{"1351805307":["hashtag1","hashtag2"]},{"1351805319":["hashtag1","hashtag2"]},{"1351805324":["hashtag1","hashtag2"]},{"1351805300":["hashtag1","hashtag2"]},{"1351805303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805313, 1351805307, 1351805319, 1351805324, 1351805300, 1351805303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.061065673828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:09:32.577272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_56_9440.jpg', '/home/pi/Desktop/images/19042025/07/53/image_19042025_07_54_06_10347.jpg', '/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_16_9446.jpg', '/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_26_10350.jpg', '/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_37_10362.jpg', '/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_46_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/53/image_19042025_07_53_56_9440.jpg
/home/pi/Desktop/images/19042025/07/53/image_19042025_07_54_06_10347.jpg
/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_16_9446.jpg
/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_26_10350.jpg
/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_37_10362.jpg
/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_46_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805376","1351805361","1351805373","1351805390","1351805387","1351805366"],"photo_ids_order":["1351805361","1351805366","1351805373","1351805376","1351805387","1351805390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9264054367f4583a404308f095b50b84.jpg","text":"TemporaryFile(/tmp/multipartBody3630499926878574571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057433123,"filename":"image_19042025_07_54_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/19/48e6257cc4d4e03e6439340578fb6706.jpg","text":"TemporaryFile(/tmp/multipartBody7268052680299174904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057433123,"filename":"image_19042025_07_53_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/19/37fe6e0128f9c1bf53f8be585cb1a0bb.jpg","text":"TemporaryFile(/tmp/multipartBody3988395304493935579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057433123,"filename":"image_19042025_07_54_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/19/e34632fe398fa526ff6d717a767b6558.jpg","text":"TemporaryFile(/tmp/multipartBody6493104171219737273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057433123,"filename":"image_19042025_07_54_46_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ac3ba3a67ef5433562918f031539cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4108934644364406183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057433123,"filename":"image_19042025_07_54_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/19/75c782f68637e1437cbf15db41a7890c.jpg","text":"TemporaryFile(/tmp/multipartBody5788495929952371765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057433123,"filename":"image_19042025_07_54_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805373","file1":"1351805366","file0":"1351805361","file4":"1351805387","file5":"1351805390","file3":"1351805376"},"map_files_photo_id_array":[{"photo_id":"1351805390","filename":"file5"},{"photo_id":"1351805373","filename":"file2"},{"photo_id":"1351805387","filename":"file4"},{"photo_id":"1351805366","filename":"file1"},{"photo_id":"1351805361","filename":"file0"},{"photo_id":"1351805376","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805376":["hashtag1","hashtag2"]},{"1351805361":["hashtag1","hashtag2"]},{"1351805373":["hashtag1","hashtag2"]},{"1351805390":["hashtag1","hashtag2"]},{"1351805387":["hashtag1","hashtag2"]},{"1351805366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805376, 1351805361, 1351805373, 1351805390, 1351805387, 1351805366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.82222843170166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:10:32.737887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_56_10370.jpg', '/home/pi/Desktop/images/19042025/07/55/image_19042025_07_55_36_9357.jpg', '/home/pi/Desktop/images/19042025/07/55/image_19042025_07_55_46_10402.jpg', '/home/pi/Desktop/images/19042025/07/56/image_19042025_07_56_26_9469.jpg', '/home/pi/Desktop/images/19042025/07/56/image_19042025_07_56_36_10365.jpg', '/home/pi/Desktop/images/19042025/07/56/image_19042025_07_56_46_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/54/image_19042025_07_54_56_10370.jpg
/home/pi/Desktop/images/19042025/07/55/image_19042025_07_55_36_9357.jpg
/home/pi/Desktop/images/19042025/07/55/image_19042025_07_55_46_10402.jpg
/home/pi/Desktop/images/19042025/07/56/image_19042025_07_56_26_9469.jpg
/home/pi/Desktop/images/19042025/07/56/image_19042025_07_56_36_10365.jpg
/home/pi/Desktop/images/19042025/07/56/image_19042025_07_56_46_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805449","1351805457","1351805451","1351805454","1351805444","1351805447"],"photo_ids_order":["1351805444","1351805447","1351805449","1351805451","1351805454","1351805457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/069383b0c8d8ff569f5fd24d4647f5a0.jpg","text":"TemporaryFile(/tmp/multipartBody2409934040069884323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057493292,"filename":"image_19042025_07_55_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/19/7abbdcbe044e2883a010ed94057279c7.jpg","text":"TemporaryFile(/tmp/multipartBody8955145203650223344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057493292,"filename":"image_19042025_07_56_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cef4a325ff81240289e55741525b2f5d.jpg","text":"TemporaryFile(/tmp/multipartBody6263366293559797348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057493292,"filename":"image_19042025_07_56_26_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6f51ee34ff46962d434a11863fefae2.jpg","text":"TemporaryFile(/tmp/multipartBody2766528732536374676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057493292,"filename":"image_19042025_07_56_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/19/497f12b2163f64e425560ad3b1afb3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5586332386947326585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057493292,"filename":"image_19042025_07_54_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/19/7f00681a7e2811bbb195b1463a0c895d.jpg","text":"TemporaryFile(/tmp/multipartBody3710222754876239363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057493292,"filename":"image_19042025_07_55_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805449","file1":"1351805447","file0":"1351805444","file4":"1351805454","file5":"1351805457","file3":"1351805451"},"map_files_photo_id_array":[{"photo_id":"1351805457","filename":"file5"},{"photo_id":"1351805449","filename":"file2"},{"photo_id":"1351805454","filename":"file4"},{"photo_id":"1351805447","filename":"file1"},{"photo_id":"1351805444","filename":"file0"},{"photo_id":"1351805451","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805449":["hashtag1","hashtag2"]},{"1351805457":["hashtag1","hashtag2"]},{"1351805451":["hashtag1","hashtag2"]},{"1351805454":["hashtag1","hashtag2"]},{"1351805444":["hashtag1","hashtag2"]},{"1351805447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805449, 1351805457, 1351805451, 1351805454, 1351805444, 1351805447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.89720845222473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:11:33.224927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/56/image_19042025_07_56_56_10385.jpg', '/home/pi/Desktop/images/19042025/07/56/image_19042025_07_57_07_10339.jpg', '/home/pi/Desktop/images/19042025/07/57/image_19042025_07_57_16_9466.jpg', '/home/pi/Desktop/images/19042025/07/57/image_19042025_07_57_26_10368.jpg', '/home/pi/Desktop/images/19042025/07/57/image_19042025_07_57_36_9404.jpg', '/home/pi/Desktop/images/19042025/07/57/image_19042025_07_57_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/56/image_19042025_07_56_56_10385.jpg
/home/pi/Desktop/images/19042025/07/56/image_19042025_07_57_07_10339.jpg
/home/pi/Desktop/images/19042025/07/57/image_19042025_07_57_16_9466.jpg
/home/pi/Desktop/images/19042025/07/57/image_19042025_07_57_26_10368.jpg
/home/pi/Desktop/images/19042025/07/57/image_19042025_07_57_36_9404.jpg
/home/pi/Desktop/images/19042025/07/57/image_19042025_07_57_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":["1351805487","1351805499","1351805495","1351805480","1351805483","1351805491"],"photo_ids_order":["1351805480","1351805483","1351805487","1351805491","1351805495","1351805499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3076a6ab05a03156372086c360f423dc.jpg","text":"TemporaryFile(/tmp/multipartBody5247613323975202415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057553768,"filename":"image_19042025_07_57_16_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ffa536d58718eb866b5f98e26095b32c.jpg","text":"TemporaryFile(/tmp/multipartBody7296936415149508243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057553768,"filename":"image_19042025_07_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/19/8bd1c67684d5257dfa01446dd9f3d229.jpg","text":"TemporaryFile(/tmp/multipartBody2657799234932053384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057553768,"filename":"image_19042025_07_57_36_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3a07899d7df4bfbaeaf913c41521b257.jpg","text":"TemporaryFile(/tmp/multipartBody829950509780026708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057553768,"filename":"image_19042025_07_56_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/19/5c60b4a8811c47693955c30e7feaead5.jpg","text":"TemporaryFile(/tmp/multipartBody3736187991336759922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057553768,"filename":"image_19042025_07_57_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/19/b5b59c0ab5d3e2852affe45aa15edaa1.jpg","text":"TemporaryFile(/tmp/multipartBody600022261044517236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057553768,"filename":"image_19042025_07_57_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805487","file1":"1351805483","file0":"1351805480","file4":"1351805495","file5":"1351805499","file3":"1351805491"},"map_files_photo_id_array":[{"photo_id":"1351805499","filename":"file5"},{"photo_id":"1351805487","filename":"file2"},{"photo_id":"1351805495","filename":"file4"},{"photo_id":"1351805483","filename":"file1"},{"photo_id":"1351805480","filename":"file0"},{"photo_id":"1351805491","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805487":["hashtag1","hashtag2"]},{"1351805499":["hashtag1","hashtag2"]},{"1351805495":["hashtag1","hashtag2"]},{"1351805480":["hashtag1","hashtag2"]},{"1351805483":["hashtag1","hashtag2"]},{"1351805491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805487, 1351805499, 1351805495, 1351805480, 1351805483, 1351805491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.161900997161865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:12:32.325475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/58/image_19042025_07_58_36_9428.jpg', '/home/pi/Desktop/images/19042025/07/58/image_19042025_07_58_56_9477.jpg', '/home/pi/Desktop/images/19042025/07/58/image_19042025_07_59_06_10377.jpg', '/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_17_10345.jpg', '/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_26_9457.jpg', '/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_37_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/58/image_19042025_07_58_36_9428.jpg
/home/pi/Desktop/images/19042025/07/58/image_19042025_07_58_56_9477.jpg
/home/pi/Desktop/images/19042025/07/58/image_19042025_07_59_06_10377.jpg
/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_17_10345.jpg
/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_26_9457.jpg
/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_37_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":["1351805539","1351805535","1351805528","1351805522","1351805531","1351805519"],"photo_ids_order":["1351805519","1351805522","1351805528","1351805531","1351805535","1351805539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98bc7d2911b5dffe8d403a9fa6618847.jpg","text":"TemporaryFile(/tmp/multipartBody698696642498254913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057612885,"filename":"image_19042025_07_59_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/19/b0b6b5910f05736851c41f993294d73b.jpg","text":"TemporaryFile(/tmp/multipartBody4567117236887062875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057612885,"filename":"image_19042025_07_59_26_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/053542cf13f90809481f523651369f73.jpg","text":"TemporaryFile(/tmp/multipartBody1145330149567633868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057612885,"filename":"image_19042025_07_59_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/19/334d3bc1bc351bcd2ffa95149264fd3f.jpg","text":"TemporaryFile(/tmp/multipartBody3174008601752436763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057612885,"filename":"image_19042025_07_58_56_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/938aa80d642f69a1fe2e51c78e3e5263.jpg","text":"TemporaryFile(/tmp/multipartBody8183022941735109225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057612885,"filename":"image_19042025_07_59_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/19/a36c1a2f7ea22511ef83085ef8b68881.jpg","text":"TemporaryFile(/tmp/multipartBody430597368534276791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057612885,"filename":"image_19042025_07_58_36_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805528","file1":"1351805522","file0":"1351805519","file4":"1351805535","file5":"1351805539","file3":"1351805531"},"map_files_photo_id_array":[{"photo_id":"1351805539","filename":"file5"},{"photo_id":"1351805528","filename":"file2"},{"photo_id":"1351805535","filename":"file4"},{"photo_id":"1351805522","filename":"file1"},{"photo_id":"1351805519","filename":"file0"},{"photo_id":"1351805531","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805539":["hashtag1","hashtag2"]},{"1351805535":["hashtag1","hashtag2"]},{"1351805528":["hashtag1","hashtag2"]},{"1351805522":["hashtag1","hashtag2"]},{"1351805531":["hashtag1","hashtag2"]},{"1351805519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805539, 1351805535, 1351805528, 1351805522, 1351805531, 1351805519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.750972986221313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:13:32.496121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_46_9364.jpg', '/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_56_10365.jpg', '/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_16_10076.jpg', '/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_26_10397.jpg', '/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_37_10358.jpg', '/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_46_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_46_9364.jpg
/home/pi/Desktop/images/19042025/07/59/image_19042025_07_59_56_10365.jpg
/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_16_10076.jpg
/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_26_10397.jpg
/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_37_10358.jpg
/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_46_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805574","1351805562","1351805571","1351805567","1351805555","1351805558"],"photo_ids_order":["1351805555","1351805558","1351805562","1351805567","1351805571","1351805574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6cf427faf0b5017ac45d6fdfb5246b72.jpg","text":"TemporaryFile(/tmp/multipartBody5858202357264302565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057673034,"filename":"image_19042025_08_00_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/19/ffa2cc87271b953bbc0e30a9d8f0a788.jpg","text":"TemporaryFile(/tmp/multipartBody46660273979040009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057673034,"filename":"image_19042025_08_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/19/8a664da0d351bbc906b3badfa300f555.jpg","text":"TemporaryFile(/tmp/multipartBody7532781590184467341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057673034,"filename":"image_19042025_08_00_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/19/d676bcebf5519229482867780b13ac2b.jpg","text":"TemporaryFile(/tmp/multipartBody4091383265633065759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057673034,"filename":"image_19042025_08_00_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/58733b73b0fd8cbe95334bfc2f7dd479.jpg","text":"TemporaryFile(/tmp/multipartBody3645937394047270296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057673034,"filename":"image_19042025_07_59_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/19/7fdeb21fab553f0facba24be9dc5dc64.jpg","text":"TemporaryFile(/tmp/multipartBody4277292179966786402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057673034,"filename":"image_19042025_07_59_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805562","file1":"1351805558","file0":"1351805555","file4":"1351805571","file5":"1351805574","file3":"1351805567"},"map_files_photo_id_array":[{"photo_id":"1351805574","filename":"file5"},{"photo_id":"1351805562","filename":"file2"},{"photo_id":"1351805571","filename":"file4"},{"photo_id":"1351805558","filename":"file1"},{"photo_id":"1351805555","filename":"file0"},{"photo_id":"1351805567","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805574":["hashtag1","hashtag2"]},{"1351805562":["hashtag1","hashtag2"]},{"1351805571":["hashtag1","hashtag2"]},{"1351805567":["hashtag1","hashtag2"]},{"1351805555":["hashtag1","hashtag2"]},{"1351805558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805574, 1351805562, 1351805571, 1351805567, 1351805555, 1351805558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.599526166915894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:14:32.819624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_56_10376.jpg', '/home/pi/Desktop/images/19042025/08/00/image_19042025_08_01_06_9445.jpg', '/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_16_10353.jpg', '/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_27_10367.jpg', '/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_36_9351.jpg', '/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_46_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/00/image_19042025_08_00_56_10376.jpg
/home/pi/Desktop/images/19042025/08/00/image_19042025_08_01_06_9445.jpg
/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_16_10353.jpg
/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_27_10367.jpg
/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_36_9351.jpg
/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_46_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805608","1351805595","1351805604","1351805612","1351805599","1351805590"],"photo_ids_order":["1351805590","1351805595","1351805599","1351805604","1351805608","1351805612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d348cf9bcb1796eb017c860177c7f23.jpg","text":"TemporaryFile(/tmp/multipartBody2394345535684967051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057733374,"filename":"image_19042025_08_01_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/19/19e960fdc521b13224b885ab4988add6.jpg","text":"TemporaryFile(/tmp/multipartBody7454021877384967196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057733374,"filename":"image_19042025_08_01_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/19/dfa53777143f7f98f624788aea892084.jpg","text":"TemporaryFile(/tmp/multipartBody700190367082764440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057733374,"filename":"image_19042025_08_01_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/19/cbe6e48d8b72c7b8ecc036d25696c26e.jpg","text":"TemporaryFile(/tmp/multipartBody6288279934772939566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057733374,"filename":"image_19042025_08_01_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b21ecadcf3bd0fd1bb8f3fa515017a1.jpg","text":"TemporaryFile(/tmp/multipartBody3406296612998102696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057733374,"filename":"image_19042025_08_01_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/19/979bd928b18c01abc15351b763aa959b.jpg","text":"TemporaryFile(/tmp/multipartBody236276203323651453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057733374,"filename":"image_19042025_08_00_56_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805599","file1":"1351805595","file0":"1351805590","file4":"1351805608","file5":"1351805612","file3":"1351805604"},"map_files_photo_id_array":[{"photo_id":"1351805612","filename":"file5"},{"photo_id":"1351805599","filename":"file2"},{"photo_id":"1351805608","filename":"file4"},{"photo_id":"1351805595","filename":"file1"},{"photo_id":"1351805590","filename":"file0"},{"photo_id":"1351805604","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805608":["hashtag1","hashtag2"]},{"1351805595":["hashtag1","hashtag2"]},{"1351805604":["hashtag1","hashtag2"]},{"1351805612":["hashtag1","hashtag2"]},{"1351805599":["hashtag1","hashtag2"]},{"1351805590":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805608, 1351805595, 1351805604, 1351805612, 1351805599, 1351805590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76793551445007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:15:32.963531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_57_10368.jpg', '/home/pi/Desktop/images/19042025/08/01/image_19042025_08_02_06_9438.jpg', '/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_16_10346.jpg', '/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_27_10383.jpg', '/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_36_9358.jpg', '/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_47_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/01/image_19042025_08_01_57_10368.jpg
/home/pi/Desktop/images/19042025/08/01/image_19042025_08_02_06_9438.jpg
/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_16_10346.jpg
/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_27_10383.jpg
/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_36_9358.jpg
/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_47_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805632","1351805640","1351805637","1351805625","1351805634","1351805628"],"photo_ids_order":["1351805625","1351805628","1351805632","1351805634","1351805637","1351805640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56f579cb5afe25d236aac4e7ea380152.jpg","text":"TemporaryFile(/tmp/multipartBody6960998153675497244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057793511,"filename":"image_19042025_08_02_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/19/5c1a4243deff0c28a9eba64736a7db6b.jpg","text":"TemporaryFile(/tmp/multipartBody4728093882743119984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057793511,"filename":"image_19042025_08_02_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/19/dad222d2108308f1d2692cc0a5d5b300.jpg","text":"TemporaryFile(/tmp/multipartBody8711800468174548531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057793511,"filename":"image_19042025_08_02_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/19/2e52b4fe9498a8356cc5bdf14a1d5cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3975269962551607891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057793511,"filename":"image_19042025_08_01_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/19/bfcc95fb52368d2085d254835a0ad12e.jpg","text":"TemporaryFile(/tmp/multipartBody5629485614340405249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057793511,"filename":"image_19042025_08_02_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/19/9f1a8f4a3f51bca872e02470b49ebd02.jpg","text":"TemporaryFile(/tmp/multipartBody1699345080683608499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057793511,"filename":"image_19042025_08_02_06_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805632","file1":"1351805628","file0":"1351805625","file4":"1351805637","file5":"1351805640","file3":"1351805634"},"map_files_photo_id_array":[{"photo_id":"1351805640","filename":"file5"},{"photo_id":"1351805632","filename":"file2"},{"photo_id":"1351805637","filename":"file4"},{"photo_id":"1351805628","filename":"file1"},{"photo_id":"1351805625","filename":"file0"},{"photo_id":"1351805634","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805632":["hashtag1","hashtag2"]},{"1351805640":["hashtag1","hashtag2"]},{"1351805637":["hashtag1","hashtag2"]},{"1351805625":["hashtag1","hashtag2"]},{"1351805634":["hashtag1","hashtag2"]},{"1351805628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805632, 1351805640, 1351805637, 1351805625, 1351805634, 1351805628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69761085510254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:16:32.131352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_56_9434.jpg', '/home/pi/Desktop/images/19042025/08/02/image_19042025_08_03_07_10431.jpg', '/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_16_9452.jpg', '/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_26_10462.jpg', '/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_36_9479.jpg', '/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_46_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/02/image_19042025_08_02_56_9434.jpg
/home/pi/Desktop/images/19042025/08/02/image_19042025_08_03_07_10431.jpg
/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_16_9452.jpg
/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_26_10462.jpg
/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_36_9479.jpg
/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_46_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805667","1351805664","1351805681","1351805672","1351805683","1351805677"],"photo_ids_order":["1351805664","1351805667","1351805672","1351805677","1351805681","1351805683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/490c348a97a9766736f1df25eeb53839.jpg","text":"TemporaryFile(/tmp/multipartBody1646427943467703984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057852691,"filename":"image_19042025_08_03_07_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61b742408d5f271bb20f5ee33e1e8d77.jpg","text":"TemporaryFile(/tmp/multipartBody6104983027786949406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057852691,"filename":"image_19042025_08_02_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/19/ec7d7231768cb60819320e2ee5a27726.jpg","text":"TemporaryFile(/tmp/multipartBody6228924427125024371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057852691,"filename":"image_19042025_08_03_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/19/e5b7e049816b6f37a11afd4fa9a3922a.jpg","text":"TemporaryFile(/tmp/multipartBody8340039036458832880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057852691,"filename":"image_19042025_08_03_16_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cbc5f91a8baca2b104eb7d479cd096a3.jpg","text":"TemporaryFile(/tmp/multipartBody2068249776871552578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057852691,"filename":"image_19042025_08_03_46_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a277d6dd2839aeee93f3e09576db2d43.jpg","text":"TemporaryFile(/tmp/multipartBody1869093086045573571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057852691,"filename":"image_19042025_08_03_26_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805672","file1":"1351805667","file0":"1351805664","file4":"1351805681","file5":"1351805683","file3":"1351805677"},"map_files_photo_id_array":[{"photo_id":"1351805683","filename":"file5"},{"photo_id":"1351805672","filename":"file2"},{"photo_id":"1351805681","filename":"file4"},{"photo_id":"1351805667","filename":"file1"},{"photo_id":"1351805664","filename":"file0"},{"photo_id":"1351805677","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805667":["hashtag1","hashtag2"]},{"1351805664":["hashtag1","hashtag2"]},{"1351805681":["hashtag1","hashtag2"]},{"1351805672":["hashtag1","hashtag2"]},{"1351805683":["hashtag1","hashtag2"]},{"1351805677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805667, 1351805664, 1351805681, 1351805672, 1351805683, 1351805677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01576066017151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:17:32.339174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_57_10530.jpg', '/home/pi/Desktop/images/19042025/08/03/image_19042025_08_04_06_9342.jpg', '/home/pi/Desktop/images/19042025/08/04/image_19042025_08_04_17_10360.jpg', '/home/pi/Desktop/images/19042025/08/04/image_19042025_08_04_36_10359.jpg', '/home/pi/Desktop/images/19042025/08/04/image_19042025_08_04_47_10487.jpg', '/home/pi/Desktop/images/19042025/08/04/image_19042025_08_04_56_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/03/image_19042025_08_03_57_10530.jpg
/home/pi/Desktop/images/19042025/08/03/image_19042025_08_04_06_9342.jpg
/home/pi/Desktop/images/19042025/08/04/image_19042025_08_04_17_10360.jpg
/home/pi/Desktop/images/19042025/08/04/image_19042025_08_04_36_10359.jpg
/home/pi/Desktop/images/19042025/08/04/image_19042025_08_04_47_10487.jpg
/home/pi/Desktop/images/19042025/08/04/image_19042025_08_04_56_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805827","1351805790","1351805859","1351805874","1351805780","1351805870"],"photo_ids_order":["1351805780","1351805790","1351805827","1351805859","1351805870","1351805874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84d5791f7a3493ab3ea0b77dc993d29b.jpg","text":"TemporaryFile(/tmp/multipartBody1880891552991431844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057912930,"filename":"image_19042025_08_04_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/19/1def1bc3677f29234d3c7135410393fb.jpg","text":"TemporaryFile(/tmp/multipartBody4309306145031947270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057912930,"filename":"image_19042025_08_04_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/19/741ebbb2ee7b50a0dbbb93195f2f624b.jpg","text":"TemporaryFile(/tmp/multipartBody8248345934731088927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057912930,"filename":"image_19042025_08_04_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2abb9899c5eccc5fd95d42fa7b89dca7.jpg","text":"TemporaryFile(/tmp/multipartBody1370491942515193550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057912930,"filename":"image_19042025_08_04_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b0732b96fdfac20d274b6a50ef595f95.jpg","text":"TemporaryFile(/tmp/multipartBody2593561678762891213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057912930,"filename":"image_19042025_08_03_57_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f23596c786a99cd6927a42d2d23139d9.jpg","text":"TemporaryFile(/tmp/multipartBody5040061597219107876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057912930,"filename":"image_19042025_08_04_47_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805827","file1":"1351805790","file0":"1351805780","file4":"1351805870","file5":"1351805874","file3":"1351805859"},"map_files_photo_id_array":[{"photo_id":"1351805874","filename":"file5"},{"photo_id":"1351805827","filename":"file2"},{"photo_id":"1351805870","filename":"file4"},{"photo_id":"1351805790","filename":"file1"},{"photo_id":"1351805780","filename":"file0"},{"photo_id":"1351805859","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351805827":["hashtag1","hashtag2"]},{"1351805790":["hashtag1","hashtag2"]},{"1351805859":["hashtag1","hashtag2"]},{"1351805874":["hashtag1","hashtag2"]},{"1351805780":["hashtag1","hashtag2"]},{"1351805870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351805827, 1351805790, 1351805859, 1351805874, 1351805780, 1351805870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.102944135665894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:18:32.612128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/04/image_19042025_08_05_07_10435.jpg', '/home/pi/Desktop/images/19042025/08/05/image_19042025_08_05_16_9440.jpg', '/home/pi/Desktop/images/19042025/08/05/image_19042025_08_05_27_10454.jpg', '/home/pi/Desktop/images/19042025/08/05/image_19042025_08_05_36_9445.jpg', '/home/pi/Desktop/images/19042025/08/05/image_19042025_08_05_46_10360.jpg', '/home/pi/Desktop/images/19042025/08/05/image_19042025_08_06_06_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/04/image_19042025_08_05_07_10435.jpg
/home/pi/Desktop/images/19042025/08/05/image_19042025_08_05_16_9440.jpg
/home/pi/Desktop/images/19042025/08/05/image_19042025_08_05_27_10454.jpg
/home/pi/Desktop/images/19042025/08/05/image_19042025_08_05_36_9445.jpg
/home/pi/Desktop/images/19042025/08/05/image_19042025_08_05_46_10360.jpg
/home/pi/Desktop/images/19042025/08/05/image_19042025_08_06_06_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":["1351806051","1351806048","1351806011","1351806035","1351806002","1351806016"],"photo_ids_order":["1351806002","1351806011","1351806016","1351806035","1351806048","1351806051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c9ed1a6935dcac275bc5a4eb21decbf.jpg","text":"TemporaryFile(/tmp/multipartBody1539825597426192682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057973152,"filename":"image_19042025_08_06_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/19/eb3ff8a6780804959dba5907ac894b83.jpg","text":"TemporaryFile(/tmp/multipartBody1130012562157891495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057973152,"filename":"image_19042025_08_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/19/3e1774a79690647c5e362b6d42415f5f.jpg","text":"TemporaryFile(/tmp/multipartBody495606706340187063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057973152,"filename":"image_19042025_08_05_16_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ea4127538d2b526ad274140d3b8376d1.jpg","text":"TemporaryFile(/tmp/multipartBody8487830898226180990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057973152,"filename":"image_19042025_08_05_36_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3c28eb637e02516ed0ca16ff81328efb.jpg","text":"TemporaryFile(/tmp/multipartBody8596344123614890482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057973152,"filename":"image_19042025_08_05_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/19/6d5a243f7ffd362de36f17173399a08f.jpg","text":"TemporaryFile(/tmp/multipartBody3035947333283572124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745057973152,"filename":"image_19042025_08_05_27_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806016","file1":"1351806011","file0":"1351806002","file4":"1351806048","file5":"1351806051","file3":"1351806035"},"map_files_photo_id_array":[{"photo_id":"1351806051","filename":"file5"},{"photo_id":"1351806016","filename":"file2"},{"photo_id":"1351806048","filename":"file4"},{"photo_id":"1351806011","filename":"file1"},{"photo_id":"1351806002","filename":"file0"},{"photo_id":"1351806035","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806051":["hashtag1","hashtag2"]},{"1351806048":["hashtag1","hashtag2"]},{"1351806011":["hashtag1","hashtag2"]},{"1351806035":["hashtag1","hashtag2"]},{"1351806002":["hashtag1","hashtag2"]},{"1351806016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806051, 1351806048, 1351806011, 1351806035, 1351806002, 1351806016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73379993438721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:19:32.845369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/06/image_19042025_08_06_17_10345.jpg', '/home/pi/Desktop/images/19042025/08/06/image_19042025_08_06_26_9463.jpg', '/home/pi/Desktop/images/19042025/08/06/image_19042025_08_06_56_9454.jpg', '/home/pi/Desktop/images/19042025/08/06/image_19042025_08_07_07_10345.jpg', '/home/pi/Desktop/images/19042025/08/07/image_19042025_08_07_16_9437.jpg', '/home/pi/Desktop/images/19042025/08/07/image_19042025_08_07_37_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/06/image_19042025_08_06_17_10345.jpg
/home/pi/Desktop/images/19042025/08/06/image_19042025_08_06_26_9463.jpg
/home/pi/Desktop/images/19042025/08/06/image_19042025_08_06_56_9454.jpg
/home/pi/Desktop/images/19042025/08/06/image_19042025_08_07_07_10345.jpg
/home/pi/Desktop/images/19042025/08/07/image_19042025_08_07_16_9437.jpg
/home/pi/Desktop/images/19042025/08/07/image_19042025_08_07_37_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351806096","1351806078","1351806074","1351806071","1351806091","1351806067"],"photo_ids_order":["1351806067","1351806071","1351806074","1351806078","1351806091","1351806096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c181c064096585409a781df77bced58c.jpg","text":"TemporaryFile(/tmp/multipartBody1216668756661286923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058033384,"filename":"image_19042025_08_07_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/19/3878ac8bafcb3cce2b5d504225f53fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2992729201615709131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058033384,"filename":"image_19042025_08_07_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/19/fa27f18dd42a35e9f56872aaa2992b5e.jpg","text":"TemporaryFile(/tmp/multipartBody6410148392063479133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058033384,"filename":"image_19042025_08_06_56_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e33fd76f0cc655ceace4bd3432cbae5e.jpg","text":"TemporaryFile(/tmp/multipartBody2025162892997992358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058033384,"filename":"image_19042025_08_06_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/19/3e3524d11a9e325aec650d0c6a873e84.jpg","text":"TemporaryFile(/tmp/multipartBody4852974423962706396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058033384,"filename":"image_19042025_08_07_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/19/b2602adf5b9215dddafe89368ba2e758.jpg","text":"TemporaryFile(/tmp/multipartBody2314901451141247765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058033384,"filename":"image_19042025_08_06_17_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806074","file1":"1351806071","file0":"1351806067","file4":"1351806091","file5":"1351806096","file3":"1351806078"},"map_files_photo_id_array":[{"photo_id":"1351806096","filename":"file5"},{"photo_id":"1351806074","filename":"file2"},{"photo_id":"1351806091","filename":"file4"},{"photo_id":"1351806071","filename":"file1"},{"photo_id":"1351806067","filename":"file0"},{"photo_id":"1351806078","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806096":["hashtag1","hashtag2"]},{"1351806078":["hashtag1","hashtag2"]},{"1351806074":["hashtag1","hashtag2"]},{"1351806071":["hashtag1","hashtag2"]},{"1351806091":["hashtag1","hashtag2"]},{"1351806067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806096, 1351806078, 1351806074, 1351806071, 1351806091, 1351806067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.011518478393555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:20:33.084863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/07/image_19042025_08_07_46_9335.jpg', '/home/pi/Desktop/images/19042025/08/07/image_19042025_08_08_07_10376.jpg', '/home/pi/Desktop/images/19042025/08/08/image_19042025_08_08_16_9336.jpg', '/home/pi/Desktop/images/19042025/08/08/image_19042025_08_09_06_9362.jpg', '/home/pi/Desktop/images/19042025/08/09/image_19042025_08_09_26_9472.jpg', '/home/pi/Desktop/images/19042025/08/09/image_19042025_08_09_36_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/07/image_19042025_08_07_46_9335.jpg
/home/pi/Desktop/images/19042025/08/07/image_19042025_08_08_07_10376.jpg
/home/pi/Desktop/images/19042025/08/08/image_19042025_08_08_16_9336.jpg
/home/pi/Desktop/images/19042025/08/08/image_19042025_08_09_06_9362.jpg
/home/pi/Desktop/images/19042025/08/09/image_19042025_08_09_26_9472.jpg
/home/pi/Desktop/images/19042025/08/09/image_19042025_08_09_36_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351806144","1351806138","1351806153","1351806149","1351806134","1351806128"],"photo_ids_order":["1351806128","1351806134","1351806138","1351806144","1351806149","1351806153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08ec30ad5ac8df63332aea3e570a95f1.jpg","text":"TemporaryFile(/tmp/multipartBody1030985533683118608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058093650,"filename":"image_19042025_08_09_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/19/d01ad18b48ac8b4a71bbc69630cae261.jpg","text":"TemporaryFile(/tmp/multipartBody6678735879318392186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058093650,"filename":"image_19042025_08_08_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/19/f2ea3060723552de9ca938e91e88872e.jpg","text":"TemporaryFile(/tmp/multipartBody8277817861131242786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058093650,"filename":"image_19042025_08_09_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e305e0815555109e94c9d0ee9cfc3e0.jpg","text":"TemporaryFile(/tmp/multipartBody5309940803375515972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058093650,"filename":"image_19042025_08_09_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/19/0078c41f13e2c295676ae3b5abd9bb66.jpg","text":"TemporaryFile(/tmp/multipartBody5578943692675857293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058093650,"filename":"image_19042025_08_08_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04a01c1194c6e4e6cd519c0749c71625.jpg","text":"TemporaryFile(/tmp/multipartBody3716158431733953070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058093650,"filename":"image_19042025_08_07_46_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806138","file1":"1351806134","file0":"1351806128","file4":"1351806149","file5":"1351806153","file3":"1351806144"},"map_files_photo_id_array":[{"photo_id":"1351806153","filename":"file5"},{"photo_id":"1351806138","filename":"file2"},{"photo_id":"1351806149","filename":"file4"},{"photo_id":"1351806134","filename":"file1"},{"photo_id":"1351806128","filename":"file0"},{"photo_id":"1351806144","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806144":["hashtag1","hashtag2"]},{"1351806138":["hashtag1","hashtag2"]},{"1351806153":["hashtag1","hashtag2"]},{"1351806149":["hashtag1","hashtag2"]},{"1351806134":["hashtag1","hashtag2"]},{"1351806128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806144, 1351806138, 1351806153, 1351806149, 1351806134, 1351806128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0467689037323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:21:32.305600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/09/image_19042025_08_09_47_10273.jpg', '/home/pi/Desktop/images/19042025/08/09/image_19042025_08_09_56_9418.jpg', '/home/pi/Desktop/images/19042025/08/09/image_19042025_08_10_06_10367.jpg', '/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_16_9432.jpg', '/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_26_10370.jpg', '/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_37_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/09/image_19042025_08_09_47_10273.jpg
/home/pi/Desktop/images/19042025/08/09/image_19042025_08_09_56_9418.jpg
/home/pi/Desktop/images/19042025/08/09/image_19042025_08_10_06_10367.jpg
/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_16_9432.jpg
/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_26_10370.jpg
/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_37_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":["1351806205","1351806183","1351806231","1351806216","1351806172","1351806169"],"photo_ids_order":["1351806169","1351806172","1351806183","1351806205","1351806216","1351806231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a40f07e0e97a390bd1850104d00aa54.jpg","text":"TemporaryFile(/tmp/multipartBody7565253986131016439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058152845,"filename":"image_19042025_08_10_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/19/e2883deb38332664a44f8bdf95a702ea.jpg","text":"TemporaryFile(/tmp/multipartBody6890191227323026949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058152845,"filename":"image_19042025_08_10_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e4cd3eead4ef111f8a3ef76209673972.jpg","text":"TemporaryFile(/tmp/multipartBody8859496355446798964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058152845,"filename":"image_19042025_08_10_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/19/fd7d4ad24d970096a27d2991ad3b0c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3534967776958791730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058152845,"filename":"image_19042025_08_10_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/19/5f7014a5f127450adbffbfb8b1a1742e.jpg","text":"TemporaryFile(/tmp/multipartBody5947327099907661642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058152845,"filename":"image_19042025_08_09_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/19/51a55fd5dea6bd716f124942cd0edba6.jpg","text":"TemporaryFile(/tmp/multipartBody4527168048943517212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058152845,"filename":"image_19042025_08_09_47_10273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806183","file1":"1351806172","file0":"1351806169","file4":"1351806216","file5":"1351806231","file3":"1351806205"},"map_files_photo_id_array":[{"photo_id":"1351806231","filename":"file5"},{"photo_id":"1351806183","filename":"file2"},{"photo_id":"1351806216","filename":"file4"},{"photo_id":"1351806172","filename":"file1"},{"photo_id":"1351806169","filename":"file0"},{"photo_id":"1351806205","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806205":["hashtag1","hashtag2"]},{"1351806183":["hashtag1","hashtag2"]},{"1351806231":["hashtag1","hashtag2"]},{"1351806216":["hashtag1","hashtag2"]},{"1351806172":["hashtag1","hashtag2"]},{"1351806169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806205, 1351806183, 1351806231, 1351806216, 1351806172, 1351806169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.22438430786133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:22:32.445424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_46_9432.jpg', '/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_57_10444.jpg', '/home/pi/Desktop/images/19042025/08/10/image_19042025_08_11_07_10352.jpg', '/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_16_9330.jpg', '/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_27_10473.jpg', '/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_36_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_46_9432.jpg
/home/pi/Desktop/images/19042025/08/10/image_19042025_08_10_57_10444.jpg
/home/pi/Desktop/images/19042025/08/10/image_19042025_08_11_07_10352.jpg
/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_16_9330.jpg
/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_27_10473.jpg
/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_36_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":["1351806310","1351806306","1351806303","1351806293","1351806298","1351806247"],"photo_ids_order":["1351806247","1351806293","1351806298","1351806303","1351806306","1351806310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/231ba722efe9417ce3c02b7c5272ab42.jpg","text":"TemporaryFile(/tmp/multipartBody2998533237805882992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058212979,"filename":"image_19042025_08_11_36_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/19/6ae070d80522db9776ea46c9fe2420d3.jpg","text":"TemporaryFile(/tmp/multipartBody8440714974045294646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058212979,"filename":"image_19042025_08_11_27_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e2b204e9ef3bbcff06493d85fda95a7.jpg","text":"TemporaryFile(/tmp/multipartBody1185407371073782745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058212979,"filename":"image_19042025_08_11_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ab3b335f6faa0e46988d859b787a3c03.jpg","text":"TemporaryFile(/tmp/multipartBody83857520028876198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058212979,"filename":"image_19042025_08_10_57_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/340ae656ec8b437bf3ed1d2a0b4f1146.jpg","text":"TemporaryFile(/tmp/multipartBody4603415377823600385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058212979,"filename":"image_19042025_08_11_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/19/a2ee2a155df40965f4f624e82ee8ff96.jpg","text":"TemporaryFile(/tmp/multipartBody3765782799123492144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058212979,"filename":"image_19042025_08_10_46_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806298","file1":"1351806293","file0":"1351806247","file4":"1351806306","file5":"1351806310","file3":"1351806303"},"map_files_photo_id_array":[{"photo_id":"1351806310","filename":"file5"},{"photo_id":"1351806298","filename":"file2"},{"photo_id":"1351806306","filename":"file4"},{"photo_id":"1351806293","filename":"file1"},{"photo_id":"1351806247","filename":"file0"},{"photo_id":"1351806303","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806310":["hashtag1","hashtag2"]},{"1351806306":["hashtag1","hashtag2"]},{"1351806303":["hashtag1","hashtag2"]},{"1351806293":["hashtag1","hashtag2"]},{"1351806298":["hashtag1","hashtag2"]},{"1351806247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806310, 1351806306, 1351806303, 1351806293, 1351806298, 1351806247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.019909381866455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:23:32.642042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_47_10444.jpg', '/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_56_9382.jpg', '/home/pi/Desktop/images/19042025/08/11/image_19042025_08_12_06_10336.jpg', '/home/pi/Desktop/images/19042025/08/12/image_19042025_08_12_17_10351.jpg', '/home/pi/Desktop/images/19042025/08/12/image_19042025_08_12_36_10355.jpg', '/home/pi/Desktop/images/19042025/08/12/image_19042025_08_12_47_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_47_10444.jpg
/home/pi/Desktop/images/19042025/08/11/image_19042025_08_11_56_9382.jpg
/home/pi/Desktop/images/19042025/08/11/image_19042025_08_12_06_10336.jpg
/home/pi/Desktop/images/19042025/08/12/image_19042025_08_12_17_10351.jpg
/home/pi/Desktop/images/19042025/08/12/image_19042025_08_12_36_10355.jpg
/home/pi/Desktop/images/19042025/08/12/image_19042025_08_12_47_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351806337","1351806330","1351806333","1351806326","1351806361","1351806385"],"photo_ids_order":["1351806326","1351806330","1351806333","1351806337","1351806361","1351806385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9dca55c1c41fad5050d26dae2128201d.jpg","text":"TemporaryFile(/tmp/multipartBody3159534716640565632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058273177,"filename":"image_19042025_08_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/19/6e02732f12c59ff4d622e54752776c85.jpg","text":"TemporaryFile(/tmp/multipartBody2715073153285222152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058273177,"filename":"image_19042025_08_11_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/19/360f28e24df65e0c25f515dc912dcef2.jpg","text":"TemporaryFile(/tmp/multipartBody2271891115713540621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058273177,"filename":"image_19042025_08_12_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/52b5a3a2ee1620a01bcf3916122f0b98.jpg","text":"TemporaryFile(/tmp/multipartBody5644866241773340606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058273177,"filename":"image_19042025_08_11_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/19/0456f4290c66823db655649d2698508f.jpg","text":"TemporaryFile(/tmp/multipartBody1603930477989721981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058273177,"filename":"image_19042025_08_12_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/19/65f347831b679bcf4ecbdc5692548fd5.jpg","text":"TemporaryFile(/tmp/multipartBody1583358922278668686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058273177,"filename":"image_19042025_08_12_47_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806333","file1":"1351806330","file0":"1351806326","file4":"1351806361","file5":"1351806385","file3":"1351806337"},"map_files_photo_id_array":[{"photo_id":"1351806385","filename":"file5"},{"photo_id":"1351806333","filename":"file2"},{"photo_id":"1351806361","filename":"file4"},{"photo_id":"1351806330","filename":"file1"},{"photo_id":"1351806326","filename":"file0"},{"photo_id":"1351806337","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806337":["hashtag1","hashtag2"]},{"1351806330":["hashtag1","hashtag2"]},{"1351806333":["hashtag1","hashtag2"]},{"1351806326":["hashtag1","hashtag2"]},{"1351806361":["hashtag1","hashtag2"]},{"1351806385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806337, 1351806330, 1351806333, 1351806326, 1351806361, 1351806385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.319395542144775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:24:33.049859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/12/image_19042025_08_12_56_9337.jpg', '/home/pi/Desktop/images/19042025/08/12/image_19042025_08_13_07_10352.jpg', '/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_16_9459.jpg', '/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_26_10347.jpg', '/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_37_10366.jpg', '/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_46_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/12/image_19042025_08_12_56_9337.jpg
/home/pi/Desktop/images/19042025/08/12/image_19042025_08_13_07_10352.jpg
/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_16_9459.jpg
/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_26_10347.jpg
/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_37_10366.jpg
/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_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":["1351806508","1351806492","1351806504","1351806501","1351806652","1351806547"],"photo_ids_order":["1351806492","1351806501","1351806504","1351806508","1351806547","1351806652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5477981b570397664cf28098ec94abf8.jpg","text":"TemporaryFile(/tmp/multipartBody1080753631645365522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058333599,"filename":"image_19042025_08_13_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84bad5ba89a61d604d7a8be180507252.jpg","text":"TemporaryFile(/tmp/multipartBody3836355014245207011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058333599,"filename":"image_19042025_08_12_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/19/1e68219c1384251c240896f4500ddfdb.jpg","text":"TemporaryFile(/tmp/multipartBody6321008739208584066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058333599,"filename":"image_19042025_08_13_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/19/7ea9c6ef72ed610d8b054b4bcdac69f2.jpg","text":"TemporaryFile(/tmp/multipartBody6296525873355037053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058333599,"filename":"image_19042025_08_13_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d2bee111adc7ff0e25c9bbe229b24c93.jpg","text":"TemporaryFile(/tmp/multipartBody3896733360154175470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058333599,"filename":"image_19042025_08_13_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/373deeb7065e92df70a62bf3d5fb796e.jpg","text":"TemporaryFile(/tmp/multipartBody2091162441939455580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058333599,"filename":"image_19042025_08_13_37_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806504","file1":"1351806501","file0":"1351806492","file4":"1351806547","file5":"1351806652","file3":"1351806508"},"map_files_photo_id_array":[{"photo_id":"1351806652","filename":"file5"},{"photo_id":"1351806504","filename":"file2"},{"photo_id":"1351806547","filename":"file4"},{"photo_id":"1351806501","filename":"file1"},{"photo_id":"1351806492","filename":"file0"},{"photo_id":"1351806508","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806508":["hashtag1","hashtag2"]},{"1351806492":["hashtag1","hashtag2"]},{"1351806504":["hashtag1","hashtag2"]},{"1351806501":["hashtag1","hashtag2"]},{"1351806652":["hashtag1","hashtag2"]},{"1351806547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806508, 1351806492, 1351806504, 1351806501, 1351806652, 1351806547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.653338193893433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:25:32.278102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_57_10371.jpg', '/home/pi/Desktop/images/19042025/08/13/image_19042025_08_14_07_10343.jpg', '/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_16_9388.jpg', '/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_27_10463.jpg', '/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_36_9425.jpg', '/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_46_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/13/image_19042025_08_13_57_10371.jpg
/home/pi/Desktop/images/19042025/08/13/image_19042025_08_14_07_10343.jpg
/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_16_9388.jpg
/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_27_10463.jpg
/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_36_9425.jpg
/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_46_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351806826","1351806876","1351806865","1351806841","1351806814","1351806823"],"photo_ids_order":["1351806814","1351806823","1351806826","1351806841","1351806865","1351806876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/625879f14332ce616fdedfe7a1827b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6494610348664569408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058392818,"filename":"image_19042025_08_14_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/19/fd88de7a3802f6767c37d938324568e5.jpg","text":"TemporaryFile(/tmp/multipartBody8466832068033011928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058392818,"filename":"image_19042025_08_14_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/372c3d9688b9adb68850cd9993d22d1f.jpg","text":"TemporaryFile(/tmp/multipartBody87081495529043549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058392818,"filename":"image_19042025_08_14_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d31ca03d4be3304809959ad5ba08c890.jpg","text":"TemporaryFile(/tmp/multipartBody531525981577808011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058392818,"filename":"image_19042025_08_14_27_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e221b2b82b5ad2174a1459b9a310aa4.jpg","text":"TemporaryFile(/tmp/multipartBody9191875560925161865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058392818,"filename":"image_19042025_08_13_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/19/64c0692b7964052ba79190ba9650cb67.jpg","text":"TemporaryFile(/tmp/multipartBody3348370678056047982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058392818,"filename":"image_19042025_08_14_07_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806826","file1":"1351806823","file0":"1351806814","file4":"1351806865","file5":"1351806876","file3":"1351806841"},"map_files_photo_id_array":[{"photo_id":"1351806876","filename":"file5"},{"photo_id":"1351806826","filename":"file2"},{"photo_id":"1351806865","filename":"file4"},{"photo_id":"1351806823","filename":"file1"},{"photo_id":"1351806814","filename":"file0"},{"photo_id":"1351806841","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806826":["hashtag1","hashtag2"]},{"1351806876":["hashtag1","hashtag2"]},{"1351806865":["hashtag1","hashtag2"]},{"1351806841":["hashtag1","hashtag2"]},{"1351806814":["hashtag1","hashtag2"]},{"1351806823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806826, 1351806876, 1351806865, 1351806841, 1351806814, 1351806823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.202892065048218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:26:32.526601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_56_9460.jpg', '/home/pi/Desktop/images/19042025/08/14/image_19042025_08_15_06_10355.jpg', '/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_17_10339.jpg', '/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_26_9401.jpg', '/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_36_10358.jpg', '/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_46_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/14/image_19042025_08_14_56_9460.jpg
/home/pi/Desktop/images/19042025/08/14/image_19042025_08_15_06_10355.jpg
/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_17_10339.jpg
/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_26_9401.jpg
/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_36_10358.jpg
/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_46_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351806904","1351806921","1351806909","1351806917","1351806898","1351806913"],"photo_ids_order":["1351806898","1351806904","1351806909","1351806913","1351806917","1351806921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/df3f7205d61761d7f20da8d9740756b1.jpg","text":"TemporaryFile(/tmp/multipartBody7769044621580189869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058453072,"filename":"image_19042025_08_15_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a77f133c9ad74a927149a7a5cea2246.jpg","text":"TemporaryFile(/tmp/multipartBody1515549280709673981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058453072,"filename":"image_19042025_08_15_46_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a437ac97193a4cf1ae3cb18d403c8ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5024417204133826512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058453072,"filename":"image_19042025_08_15_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/525567275d7952c8a3d618a37381af7e.jpg","text":"TemporaryFile(/tmp/multipartBody3117783241844468511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058453072,"filename":"image_19042025_08_15_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/19/c1968f3eff2fb67e018175ee8485a419.jpg","text":"TemporaryFile(/tmp/multipartBody3481627091097226890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058453072,"filename":"image_19042025_08_14_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/19/d343837443957d830e4a0d524f1bdc82.jpg","text":"TemporaryFile(/tmp/multipartBody6273877503864732084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058453072,"filename":"image_19042025_08_15_26_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806909","file1":"1351806904","file0":"1351806898","file4":"1351806917","file5":"1351806921","file3":"1351806913"},"map_files_photo_id_array":[{"photo_id":"1351806921","filename":"file5"},{"photo_id":"1351806909","filename":"file2"},{"photo_id":"1351806917","filename":"file4"},{"photo_id":"1351806904","filename":"file1"},{"photo_id":"1351806898","filename":"file0"},{"photo_id":"1351806913","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806904":["hashtag1","hashtag2"]},{"1351806921":["hashtag1","hashtag2"]},{"1351806909":["hashtag1","hashtag2"]},{"1351806917":["hashtag1","hashtag2"]},{"1351806898":["hashtag1","hashtag2"]},{"1351806913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806904, 1351806921, 1351806909, 1351806917, 1351806898, 1351806913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88153147697449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:27:32.651620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_56_10363.jpg', '/home/pi/Desktop/images/19042025/08/15/image_19042025_08_16_07_10351.jpg', '/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_16_9451.jpg', '/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_26_10363.jpg', '/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_36_9472.jpg', '/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_46_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/15/image_19042025_08_15_56_10363.jpg
/home/pi/Desktop/images/19042025/08/15/image_19042025_08_16_07_10351.jpg
/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_16_9451.jpg
/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_26_10363.jpg
/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_36_9472.jpg
/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_46_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351806957","1351806936","1351806953","1351806941","1351806950","1351806955"],"photo_ids_order":["1351806936","1351806941","1351806950","1351806953","1351806955","1351806957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4dd138cb4f980520298d4319471aa2ee.jpg","text":"TemporaryFile(/tmp/multipartBody5643580993939804114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058513196,"filename":"image_19042025_08_16_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/19/eef79d8b6e60db9a7da5757d6c9c2adb.jpg","text":"TemporaryFile(/tmp/multipartBody8969476073404480198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058513196,"filename":"image_19042025_08_15_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/19/f76890d7f05d6e45d26440cfb830a00b.jpg","text":"TemporaryFile(/tmp/multipartBody4520553125615211866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058513196,"filename":"image_19042025_08_16_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/19/3a96efecc2041876349b2ce5dbaa8ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5673834808264268484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058513196,"filename":"image_19042025_08_16_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/19/8fb7ae7bf15c0c4a263702d3ddb78086.jpg","text":"TemporaryFile(/tmp/multipartBody2768953028038472336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058513196,"filename":"image_19042025_08_16_16_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a86cb6b563651e18f2490b9da474268.jpg","text":"TemporaryFile(/tmp/multipartBody306328848567973113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058513196,"filename":"image_19042025_08_16_36_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806950","file1":"1351806941","file0":"1351806936","file4":"1351806955","file5":"1351806957","file3":"1351806953"},"map_files_photo_id_array":[{"photo_id":"1351806957","filename":"file5"},{"photo_id":"1351806950","filename":"file2"},{"photo_id":"1351806955","filename":"file4"},{"photo_id":"1351806941","filename":"file1"},{"photo_id":"1351806936","filename":"file0"},{"photo_id":"1351806953","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351806957":["hashtag1","hashtag2"]},{"1351806936":["hashtag1","hashtag2"]},{"1351806953":["hashtag1","hashtag2"]},{"1351806941":["hashtag1","hashtag2"]},{"1351806950":["hashtag1","hashtag2"]},{"1351806955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351806957, 1351806936, 1351806953, 1351806941, 1351806950, 1351806955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08602976799011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:28:32.898179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_57_10518.jpg', '/home/pi/Desktop/images/19042025/08/16/image_19042025_08_17_06_9339.jpg', '/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_17_10362.jpg', '/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_26_9398.jpg', '/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_36_10349.jpg', '/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_47_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/16/image_19042025_08_16_57_10518.jpg
/home/pi/Desktop/images/19042025/08/16/image_19042025_08_17_06_9339.jpg
/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_17_10362.jpg
/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_26_9398.jpg
/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_36_10349.jpg
/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_47_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351807005","1351806998","1351807031","1351807010","1351807001","1351806994"],"photo_ids_order":["1351806994","1351806998","1351807001","1351807005","1351807010","1351807031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5162e085c55469210190d8efef1f53e1.jpg","text":"TemporaryFile(/tmp/multipartBody5142142240615218926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058573429,"filename":"image_19042025_08_17_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/19/0119aecc05960291ea9a1878e672a583.jpg","text":"TemporaryFile(/tmp/multipartBody316699805934367082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058573429,"filename":"image_19042025_08_17_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19633b39f1e6e1e9b4600296bca4604f.jpg","text":"TemporaryFile(/tmp/multipartBody1364338080625902657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058573429,"filename":"image_19042025_08_17_47_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32348add1e80b84c392690b5ea3bc8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3728250976528933899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058573429,"filename":"image_19042025_08_17_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/19/7a3039d6f4c63f92c51bbc3a740fc98a.jpg","text":"TemporaryFile(/tmp/multipartBody1585504486666333890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058573429,"filename":"image_19042025_08_17_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/19/ee8502514c8eda8c36885eb3e53306a1.jpg","text":"TemporaryFile(/tmp/multipartBody1979099031765113332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058573429,"filename":"image_19042025_08_16_57_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351807001","file1":"1351806998","file0":"1351806994","file4":"1351807010","file5":"1351807031","file3":"1351807005"},"map_files_photo_id_array":[{"photo_id":"1351807031","filename":"file5"},{"photo_id":"1351807001","filename":"file2"},{"photo_id":"1351807010","filename":"file4"},{"photo_id":"1351806998","filename":"file1"},{"photo_id":"1351806994","filename":"file0"},{"photo_id":"1351807005","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351807005":["hashtag1","hashtag2"]},{"1351806998":["hashtag1","hashtag2"]},{"1351807031":["hashtag1","hashtag2"]},{"1351807010":["hashtag1","hashtag2"]},{"1351807001":["hashtag1","hashtag2"]},{"1351806994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351807005, 1351806998, 1351807031, 1351807010, 1351807001, 1351806994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.983691215515137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:29:32.282401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_56_9451.jpg', '/home/pi/Desktop/images/19042025/08/17/image_19042025_08_18_07_10352.jpg', '/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_16_9447.jpg', '/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_26_10373.jpg', '/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_37_10367.jpg', '/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_46_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/17/image_19042025_08_17_56_9451.jpg
/home/pi/Desktop/images/19042025/08/17/image_19042025_08_18_07_10352.jpg
/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_16_9447.jpg
/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_26_10373.jpg
/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_37_10367.jpg
/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_46_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351807125","1351807172","1351807121","1351807192","1351807150","1351807179"],"photo_ids_order":["1351807121","1351807125","1351807150","1351807172","1351807179","1351807192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24ec45f5c20fecd548e7c9a0adc22604.jpg","text":"TemporaryFile(/tmp/multipartBody6157032912551823171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058632825,"filename":"image_19042025_08_18_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/19/0996450c367d58368f8f331712a43458.jpg","text":"TemporaryFile(/tmp/multipartBody3730423861439179828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058632825,"filename":"image_19042025_08_18_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/19/172dabb1e987e217b4d43d11072cca0f.jpg","text":"TemporaryFile(/tmp/multipartBody8550122357967115274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058632825,"filename":"image_19042025_08_17_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/19/c76c43a43f52de326f28e86dfad364ad.jpg","text":"TemporaryFile(/tmp/multipartBody2870053067476071996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058632825,"filename":"image_19042025_08_18_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1fefd08a757685239697c920f6051cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5692585339251589135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058632825,"filename":"image_19042025_08_18_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/19/5cf7f30d758ed2c3df80b42a6200f6b0.jpg","text":"TemporaryFile(/tmp/multipartBody9179276003720844932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058632825,"filename":"image_19042025_08_18_37_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351807150","file1":"1351807125","file0":"1351807121","file4":"1351807179","file5":"1351807192","file3":"1351807172"},"map_files_photo_id_array":[{"photo_id":"1351807192","filename":"file5"},{"photo_id":"1351807150","filename":"file2"},{"photo_id":"1351807179","filename":"file4"},{"photo_id":"1351807125","filename":"file1"},{"photo_id":"1351807121","filename":"file0"},{"photo_id":"1351807172","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351807125":["hashtag1","hashtag2"]},{"1351807172":["hashtag1","hashtag2"]},{"1351807121":["hashtag1","hashtag2"]},{"1351807192":["hashtag1","hashtag2"]},{"1351807150":["hashtag1","hashtag2"]},{"1351807179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351807125, 1351807172, 1351807121, 1351807192, 1351807150, 1351807179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.81541872024536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:30:32.508265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_56_10432.jpg', '/home/pi/Desktop/images/19042025/08/18/image_19042025_08_19_07_10389.jpg', '/home/pi/Desktop/images/19042025/08/19/image_19042025_08_19_16_9342.jpg', '/home/pi/Desktop/images/19042025/08/19/image_19042025_08_19_27_10378.jpg', '/home/pi/Desktop/images/19042025/08/19/image_19042025_08_19_36_9450.jpg', '/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_17_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/18/image_19042025_08_18_56_10432.jpg
/home/pi/Desktop/images/19042025/08/18/image_19042025_08_19_07_10389.jpg
/home/pi/Desktop/images/19042025/08/19/image_19042025_08_19_16_9342.jpg
/home/pi/Desktop/images/19042025/08/19/image_19042025_08_19_27_10378.jpg
/home/pi/Desktop/images/19042025/08/19/image_19042025_08_19_36_9450.jpg
/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_17_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351807275","1351807263","1351807280","1351807232","1351807235","1351807238"],"photo_ids_order":["1351807232","1351807235","1351807238","1351807263","1351807275","1351807280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9965805c3766e6c16053c741de655c9.jpg","text":"TemporaryFile(/tmp/multipartBody4658262230873082381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058693063,"filename":"image_19042025_08_19_36_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/401fd70a7399cafda505a5088d347a8a.jpg","text":"TemporaryFile(/tmp/multipartBody4607563948789365055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058693063,"filename":"image_19042025_08_19_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f710a9095d0c240f3231c07d1e5018dd.jpg","text":"TemporaryFile(/tmp/multipartBody6747971679033297103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058693063,"filename":"image_19042025_08_20_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/19/a4d57b89eb85b280ed962c126a573812.jpg","text":"TemporaryFile(/tmp/multipartBody5974910712702429670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058693063,"filename":"image_19042025_08_18_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/19/8f8868b908411731c1e799d048030d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1768439141247285711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058693063,"filename":"image_19042025_08_19_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/19/020139d50d8fba3ccb9629c388266055.jpg","text":"TemporaryFile(/tmp/multipartBody3829154625146440005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058693063,"filename":"image_19042025_08_19_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351807238","file1":"1351807235","file0":"1351807232","file4":"1351807275","file5":"1351807280","file3":"1351807263"},"map_files_photo_id_array":[{"photo_id":"1351807280","filename":"file5"},{"photo_id":"1351807238","filename":"file2"},{"photo_id":"1351807275","filename":"file4"},{"photo_id":"1351807235","filename":"file1"},{"photo_id":"1351807232","filename":"file0"},{"photo_id":"1351807263","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351807275":["hashtag1","hashtag2"]},{"1351807263":["hashtag1","hashtag2"]},{"1351807280":["hashtag1","hashtag2"]},{"1351807232":["hashtag1","hashtag2"]},{"1351807235":["hashtag1","hashtag2"]},{"1351807238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351807275, 1351807263, 1351807280, 1351807232, 1351807235, 1351807238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.766796827316284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:31:32.802234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_26_9465.jpg', '/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_36_10340.jpg', '/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_47_10483.jpg', '/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_56_9349.jpg', '/home/pi/Desktop/images/19042025/08/20/image_19042025_08_21_07_10355.jpg', '/home/pi/Desktop/images/19042025/08/21/image_19042025_08_21_26_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_26_9465.jpg
/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_36_10340.jpg
/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_47_10483.jpg
/home/pi/Desktop/images/19042025/08/20/image_19042025_08_20_56_9349.jpg
/home/pi/Desktop/images/19042025/08/20/image_19042025_08_21_07_10355.jpg
/home/pi/Desktop/images/19042025/08/21/image_19042025_08_21_26_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":["1351807449","1351807499","1351807469","1351807454","1351807502","1351807494"],"photo_ids_order":["1351807449","1351807454","1351807469","1351807494","1351807499","1351807502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e66b45a483b79038d974738c1b35bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1017678582789277332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058753333,"filename":"image_19042025_08_20_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/19/54abb0f9e7d201f0c427892b296d9743.jpg","text":"TemporaryFile(/tmp/multipartBody8957207543622163327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058753333,"filename":"image_19042025_08_21_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4539759170c1e2adb53e0c98639d2a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2229545538758158723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058753333,"filename":"image_19042025_08_20_47_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f73a34090a4f55d098fdddf36656932f.jpg","text":"TemporaryFile(/tmp/multipartBody8145465479700509092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058753333,"filename":"image_19042025_08_20_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c460ebb58ac9f61a7d42d44ab43bcf8d.jpg","text":"TemporaryFile(/tmp/multipartBody3813452580251544525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058753333,"filename":"image_19042025_08_21_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/19/34745fed915cfffc760c85b2184a1fcf.jpg","text":"TemporaryFile(/tmp/multipartBody892457908134168585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058753333,"filename":"image_19042025_08_20_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351807469","file1":"1351807454","file0":"1351807449","file4":"1351807499","file5":"1351807502","file3":"1351807494"},"map_files_photo_id_array":[{"photo_id":"1351807502","filename":"file5"},{"photo_id":"1351807469","filename":"file2"},{"photo_id":"1351807499","filename":"file4"},{"photo_id":"1351807454","filename":"file1"},{"photo_id":"1351807449","filename":"file0"},{"photo_id":"1351807494","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351807449":["hashtag1","hashtag2"]},{"1351807499":["hashtag1","hashtag2"]},{"1351807469":["hashtag1","hashtag2"]},{"1351807454":["hashtag1","hashtag2"]},{"1351807502":["hashtag1","hashtag2"]},{"1351807494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351807449, 1351807499, 1351807469, 1351807454, 1351807502, 1351807494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14778113365173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:32:33.071745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/21/image_19042025_08_21_37_10390.jpg', '/home/pi/Desktop/images/19042025/08/21/image_19042025_08_21_46_9361.jpg', '/home/pi/Desktop/images/19042025/08/21/image_19042025_08_21_56_10352.jpg', '/home/pi/Desktop/images/19042025/08/21/image_19042025_08_22_06_9481.jpg', '/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_27_10357.jpg', '/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_36_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/21/image_19042025_08_21_37_10390.jpg
/home/pi/Desktop/images/19042025/08/21/image_19042025_08_21_46_9361.jpg
/home/pi/Desktop/images/19042025/08/21/image_19042025_08_21_56_10352.jpg
/home/pi/Desktop/images/19042025/08/21/image_19042025_08_22_06_9481.jpg
/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_27_10357.jpg
/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_36_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":["1351807572","1351807607","1351807672","1351807708","1351807642","1351807578"],"photo_ids_order":["1351807572","1351807578","1351807607","1351807642","1351807672","1351807708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38af752184273c4a8f00b3edcd0f6940.jpg","text":"TemporaryFile(/tmp/multipartBody4779355375408552330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058813611,"filename":"image_19042025_08_21_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/19/01e42b2c1b29ce853c8f87f64f653d28.jpg","text":"TemporaryFile(/tmp/multipartBody4914246408310705351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058813611,"filename":"image_19042025_08_21_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/19/3fb965ec2ad6316f01320375dc65ad23.jpg","text":"TemporaryFile(/tmp/multipartBody8041981578991603242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058813611,"filename":"image_19042025_08_22_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d369865d21c049172e7bc1ba1ef67a6b.jpg","text":"TemporaryFile(/tmp/multipartBody9166960013807288296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058813611,"filename":"image_19042025_08_22_36_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b5246e498dd5115738486b81e4d6839.jpg","text":"TemporaryFile(/tmp/multipartBody8603315469459486777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058813611,"filename":"image_19042025_08_22_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/19/ce179cc6566e2c74e2bdfe76cd2e2db0.jpg","text":"TemporaryFile(/tmp/multipartBody1127989626968662689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058813611,"filename":"image_19042025_08_21_46_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351807607","file1":"1351807578","file0":"1351807572","file4":"1351807672","file5":"1351807708","file3":"1351807642"},"map_files_photo_id_array":[{"photo_id":"1351807708","filename":"file5"},{"photo_id":"1351807607","filename":"file2"},{"photo_id":"1351807672","filename":"file4"},{"photo_id":"1351807578","filename":"file1"},{"photo_id":"1351807572","filename":"file0"},{"photo_id":"1351807642","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351807572":["hashtag1","hashtag2"]},{"1351807607":["hashtag1","hashtag2"]},{"1351807672":["hashtag1","hashtag2"]},{"1351807708":["hashtag1","hashtag2"]},{"1351807642":["hashtag1","hashtag2"]},{"1351807578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351807572, 1351807607, 1351807672, 1351807708, 1351807642, 1351807578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.110151290893555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:33:32.313514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_46_10356.jpg', '/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_56_9448.jpg', '/home/pi/Desktop/images/19042025/08/22/image_19042025_08_23_06_10364.jpg', '/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_17_10431.jpg', '/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_37_10335.jpg', '/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_47_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_46_10356.jpg
/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_56_9448.jpg
/home/pi/Desktop/images/19042025/08/22/image_19042025_08_23_06_10364.jpg
/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_17_10431.jpg
/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_37_10335.jpg
/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_47_10367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45220088958740234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 12:33:42.309250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_46_10356.jpg', '/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_56_9448.jpg', '/home/pi/Desktop/images/19042025/08/22/image_19042025_08_23_06_10364.jpg', '/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_17_10431.jpg', '/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_37_10335.jpg', '/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_47_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_46_10356.jpg
/home/pi/Desktop/images/19042025/08/22/image_19042025_08_22_56_9448.jpg
/home/pi/Desktop/images/19042025/08/22/image_19042025_08_23_06_10364.jpg
/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_17_10431.jpg
/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_37_10335.jpg
/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_47_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":["1351807959","1351807926","1351807990","1351807984","1351807930","1351807992"],"photo_ids_order":["1351807926","1351807930","1351807959","1351807984","1351807990","1351807992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c1c63043b5cd455c0346ba70df85dfcf.jpg","text":"TemporaryFile(/tmp/multipartBody3000594194623046534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058882773,"filename":"image_19042025_08_23_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/19/ff971f61f4ae775cb6136980e14942e3.jpg","text":"TemporaryFile(/tmp/multipartBody7838747488211861296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058882773,"filename":"image_19042025_08_22_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/570b13f655560ad507934a86f316c098.jpg","text":"TemporaryFile(/tmp/multipartBody793981260059565488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058882773,"filename":"image_19042025_08_23_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/19/087157bf59ca08715d68231d811ec75c.jpg","text":"TemporaryFile(/tmp/multipartBody3183379970165529428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058882773,"filename":"image_19042025_08_23_17_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e40be076bab784c7d158c34e3caa1ed.jpg","text":"TemporaryFile(/tmp/multipartBody6805499748871932682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058882773,"filename":"image_19042025_08_22_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/19/3142c6cfee9fd9de8a470639f9e352ed.jpg","text":"TemporaryFile(/tmp/multipartBody2707049774814553492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058882773,"filename":"image_19042025_08_23_47_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351807959","file1":"1351807930","file0":"1351807926","file4":"1351807990","file5":"1351807992","file3":"1351807984"},"map_files_photo_id_array":[{"photo_id":"1351807992","filename":"file5"},{"photo_id":"1351807959","filename":"file2"},{"photo_id":"1351807990","filename":"file4"},{"photo_id":"1351807930","filename":"file1"},{"photo_id":"1351807926","filename":"file0"},{"photo_id":"1351807984","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351807959":["hashtag1","hashtag2"]},{"1351807926":["hashtag1","hashtag2"]},{"1351807990":["hashtag1","hashtag2"]},{"1351807984":["hashtag1","hashtag2"]},{"1351807930":["hashtag1","hashtag2"]},{"1351807992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351807959, 1351807926, 1351807990, 1351807984, 1351807930, 1351807992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.657397031784058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:34:32.514725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_56_9354.jpg', '/home/pi/Desktop/images/19042025/08/23/image_19042025_08_24_07_10370.jpg', '/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_16_9467.jpg', '/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_26_10367.jpg', '/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_37_10388.jpg', '/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_46_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/23/image_19042025_08_23_56_9354.jpg
/home/pi/Desktop/images/19042025/08/23/image_19042025_08_24_07_10370.jpg
/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_16_9467.jpg
/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_26_10367.jpg
/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_37_10388.jpg
/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_46_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":["1351808112","1351808066","1351808126","1351808095","1351808116","1351808038"],"photo_ids_order":["1351808038","1351808066","1351808095","1351808112","1351808116","1351808126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7485ff2baa7428a912211e51c26dd14.jpg","text":"TemporaryFile(/tmp/multipartBody2641324836657587020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058933053,"filename":"image_19042025_08_24_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/19/6ae9dcc47bf95c6101cfb6662ed83e8a.jpg","text":"TemporaryFile(/tmp/multipartBody7157517943815389217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058933053,"filename":"image_19042025_08_24_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/19/698734e8a9da0b5da708df648577cd1a.jpg","text":"TemporaryFile(/tmp/multipartBody6645004507407327918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058933053,"filename":"image_19042025_08_24_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/19/d0a0d2c9af885d01d21d609215952f67.jpg","text":"TemporaryFile(/tmp/multipartBody329703044442950106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058933053,"filename":"image_19042025_08_24_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/19/88cffa97b44c05967c67d1f711d72e53.jpg","text":"TemporaryFile(/tmp/multipartBody7129740083838748036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058933053,"filename":"image_19042025_08_24_37_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/19/d73d2872c05a2235efa1cff61b817126.jpg","text":"TemporaryFile(/tmp/multipartBody3694987883446762149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058933053,"filename":"image_19042025_08_23_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808095","file1":"1351808066","file0":"1351808038","file4":"1351808116","file5":"1351808126","file3":"1351808112"},"map_files_photo_id_array":[{"photo_id":"1351808126","filename":"file5"},{"photo_id":"1351808095","filename":"file2"},{"photo_id":"1351808116","filename":"file4"},{"photo_id":"1351808066","filename":"file1"},{"photo_id":"1351808038","filename":"file0"},{"photo_id":"1351808112","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351808112":["hashtag1","hashtag2"]},{"1351808066":["hashtag1","hashtag2"]},{"1351808126":["hashtag1","hashtag2"]},{"1351808095":["hashtag1","hashtag2"]},{"1351808116":["hashtag1","hashtag2"]},{"1351808038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351808112, 1351808066, 1351808126, 1351808095, 1351808116, 1351808038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24677109718323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:35:32.815781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_57_10387.jpg', '/home/pi/Desktop/images/19042025/08/24/image_19042025_08_25_06_9469.jpg', '/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_16_10355.jpg', '/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_27_10339.jpg', '/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_36_9433.jpg', '/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_47_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/24/image_19042025_08_24_57_10387.jpg
/home/pi/Desktop/images/19042025/08/24/image_19042025_08_25_06_9469.jpg
/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_16_10355.jpg
/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_27_10339.jpg
/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_36_9433.jpg
/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_47_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351808168","1351808156","1351808153","1351808167","1351808163","1351808160"],"photo_ids_order":["1351808153","1351808156","1351808160","1351808163","1351808167","1351808168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8949879a6e640fec4bd42c8d1032c427.jpg","text":"TemporaryFile(/tmp/multipartBody4672847139470183813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058993349,"filename":"image_19042025_08_25_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97095624fe06d257859ed13f2e60fe68.jpg","text":"TemporaryFile(/tmp/multipartBody8782864265944837228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058993349,"filename":"image_19042025_08_25_06_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/10896f7e8ad0e8fd93031b5ab3e76bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5842450422561093277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058993349,"filename":"image_19042025_08_24_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/19/6b4411842595a7350eb244a05143a4a7.jpg","text":"TemporaryFile(/tmp/multipartBody6164116965921539349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058993349,"filename":"image_19042025_08_25_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e6db56181ac9d7479870b1e77a3ebad.jpg","text":"TemporaryFile(/tmp/multipartBody9131646037835926239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058993349,"filename":"image_19042025_08_25_27_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e9ac0497458d9d315cb67eae4850016.jpg","text":"TemporaryFile(/tmp/multipartBody5175274972175068346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745058993349,"filename":"image_19042025_08_25_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808160","file1":"1351808156","file0":"1351808153","file4":"1351808167","file5":"1351808168","file3":"1351808163"},"map_files_photo_id_array":[{"photo_id":"1351808168","filename":"file5"},{"photo_id":"1351808160","filename":"file2"},{"photo_id":"1351808167","filename":"file4"},{"photo_id":"1351808156","filename":"file1"},{"photo_id":"1351808153","filename":"file0"},{"photo_id":"1351808163","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351808168":["hashtag1","hashtag2"]},{"1351808156":["hashtag1","hashtag2"]},{"1351808153":["hashtag1","hashtag2"]},{"1351808167":["hashtag1","hashtag2"]},{"1351808163":["hashtag1","hashtag2"]},{"1351808160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351808168, 1351808156, 1351808153, 1351808167, 1351808163, 1351808160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.149287462234497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:36:33.010966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_56_9422.jpg', '/home/pi/Desktop/images/19042025/08/25/image_19042025_08_26_06_10356.jpg', '/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_17_10554.jpg', '/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_26_9463.jpg', '/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_37_10378.jpg', '/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_46_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/25/image_19042025_08_25_56_9422.jpg
/home/pi/Desktop/images/19042025/08/25/image_19042025_08_26_06_10356.jpg
/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_17_10554.jpg
/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_26_9463.jpg
/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_37_10378.jpg
/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_46_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351808223","1351808205","1351808219","1351808236","1351808209","1351808214"],"photo_ids_order":["1351808205","1351808209","1351808214","1351808219","1351808223","1351808236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ea28593d87f97c77133a887f139de18.jpg","text":"TemporaryFile(/tmp/multipartBody1936481868315020404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059053562,"filename":"image_19042025_08_26_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/19/453df53711249d97cbab7b59b38a528e.jpg","text":"TemporaryFile(/tmp/multipartBody2957456565794926598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059053562,"filename":"image_19042025_08_25_56_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f4568aadaf93d062b2df6010255c623d.jpg","text":"TemporaryFile(/tmp/multipartBody129863468463700044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059053562,"filename":"image_19042025_08_26_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/19/49bf957469058817df013f15b93a0a27.jpg","text":"TemporaryFile(/tmp/multipartBody4055579075153636894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059053562,"filename":"image_19042025_08_26_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/19/c8d368a401f8b2bced7245b53bbf657f.jpg","text":"TemporaryFile(/tmp/multipartBody2478357326366490077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059053562,"filename":"image_19042025_08_26_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a44a70d61d280898e86faa650db7160c.jpg","text":"TemporaryFile(/tmp/multipartBody4807657984157445752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059053562,"filename":"image_19042025_08_26_17_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808214","file1":"1351808209","file0":"1351808205","file4":"1351808223","file5":"1351808236","file3":"1351808219"},"map_files_photo_id_array":[{"photo_id":"1351808236","filename":"file5"},{"photo_id":"1351808214","filename":"file2"},{"photo_id":"1351808223","filename":"file4"},{"photo_id":"1351808209","filename":"file1"},{"photo_id":"1351808205","filename":"file0"},{"photo_id":"1351808219","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351808223":["hashtag1","hashtag2"]},{"1351808205":["hashtag1","hashtag2"]},{"1351808219":["hashtag1","hashtag2"]},{"1351808236":["hashtag1","hashtag2"]},{"1351808209":["hashtag1","hashtag2"]},{"1351808214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351808223, 1351808205, 1351808219, 1351808236, 1351808209, 1351808214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09840250015259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:37:32.240249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_56_10352.jpg', '/home/pi/Desktop/images/19042025/08/26/image_19042025_08_27_06_9423.jpg', '/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_16_10340.jpg', '/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_27_10368.jpg', '/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_36_9458.jpg', '/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/26/image_19042025_08_26_56_10352.jpg
/home/pi/Desktop/images/19042025/08/26/image_19042025_08_27_06_9423.jpg
/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_16_10340.jpg
/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_27_10368.jpg
/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_36_9458.jpg
/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_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":["1351808378","1351808357","1351808365","1351808374","1351808361","1351808370"],"photo_ids_order":["1351808357","1351808361","1351808365","1351808370","1351808374","1351808378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a240566bd11aca075c44608cae3b6abd.jpg","text":"TemporaryFile(/tmp/multipartBody6329529116428181332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059112779,"filename":"image_19042025_08_27_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/19/f6aa81d4f2c39d9b866af1549003ce1d.jpg","text":"TemporaryFile(/tmp/multipartBody5224958000646146041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059112779,"filename":"image_19042025_08_26_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/19/87f2e3234c9c57013ede3ead9abc6ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1163797535594982328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059112779,"filename":"image_19042025_08_27_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/19/cc5a559b28e3ba88b7b1be2d6d2fc6cc.jpg","text":"TemporaryFile(/tmp/multipartBody3190698823868134216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059112779,"filename":"image_19042025_08_27_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/19/9331a85a913922878670a15898944531.jpg","text":"TemporaryFile(/tmp/multipartBody8739028099306208621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059112779,"filename":"image_19042025_08_27_06_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d0a11a35a3de4fd34f1cca1797ac8ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4908064219415174708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059112779,"filename":"image_19042025_08_27_27_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808365","file1":"1351808361","file0":"1351808357","file4":"1351808374","file5":"1351808378","file3":"1351808370"},"map_files_photo_id_array":[{"photo_id":"1351808378","filename":"file5"},{"photo_id":"1351808365","filename":"file2"},{"photo_id":"1351808374","filename":"file4"},{"photo_id":"1351808361","filename":"file1"},{"photo_id":"1351808357","filename":"file0"},{"photo_id":"1351808370","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351808378":["hashtag1","hashtag2"]},{"1351808357":["hashtag1","hashtag2"]},{"1351808365":["hashtag1","hashtag2"]},{"1351808374":["hashtag1","hashtag2"]},{"1351808361":["hashtag1","hashtag2"]},{"1351808370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351808378, 1351808357, 1351808365, 1351808374, 1351808361, 1351808370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.65229845046997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:38:32.463948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_57_10420.jpg', '/home/pi/Desktop/images/19042025/08/27/image_19042025_08_28_06_9366.jpg', '/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_17_10389.jpg', '/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_26_9357.jpg', '/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_36_10429.jpg', '/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_47_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/27/image_19042025_08_27_57_10420.jpg
/home/pi/Desktop/images/19042025/08/27/image_19042025_08_28_06_9366.jpg
/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_17_10389.jpg
/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_26_9357.jpg
/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_36_10429.jpg
/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_47_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351808415","1351808399","1351808403","1351808411","1351808395","1351808407"],"photo_ids_order":["1351808395","1351808399","1351808403","1351808407","1351808411","1351808415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/82932a3c3421e9fa7a7e3e52dc7e1c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5329832906845737605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059173023,"filename":"image_19042025_08_28_47_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0323a218d10edd52f42eeefd0aee7ecb.jpg","text":"TemporaryFile(/tmp/multipartBody333557736339601625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059173023,"filename":"image_19042025_08_28_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/19/98b6dfa4208bcc792f55f8e8d18ee11e.jpg","text":"TemporaryFile(/tmp/multipartBody7828457441638317486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059173023,"filename":"image_19042025_08_28_17_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/19/ac96491e7ed395a24ab52ab864ec6cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4276207123770636996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059173023,"filename":"image_19042025_08_28_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/19/75965f008517d8ee6a2db0c85da248cf.jpg","text":"TemporaryFile(/tmp/multipartBody4826186658867817738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059173023,"filename":"image_19042025_08_27_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12eb173c2ee787190913b3891e4471a9.jpg","text":"TemporaryFile(/tmp/multipartBody1700047805910129696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059173023,"filename":"image_19042025_08_28_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808403","file1":"1351808399","file0":"1351808395","file4":"1351808411","file5":"1351808415","file3":"1351808407"},"map_files_photo_id_array":[{"photo_id":"1351808415","filename":"file5"},{"photo_id":"1351808403","filename":"file2"},{"photo_id":"1351808411","filename":"file4"},{"photo_id":"1351808399","filename":"file1"},{"photo_id":"1351808395","filename":"file0"},{"photo_id":"1351808407","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351808415":["hashtag1","hashtag2"]},{"1351808399":["hashtag1","hashtag2"]},{"1351808403":["hashtag1","hashtag2"]},{"1351808411":["hashtag1","hashtag2"]},{"1351808395":["hashtag1","hashtag2"]},{"1351808407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351808415, 1351808399, 1351808403, 1351808411, 1351808395, 1351808407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.673523664474487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:39:32.768940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_56_9360.jpg', '/home/pi/Desktop/images/19042025/08/28/image_19042025_08_29_07_10353.jpg', '/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_17_10346.jpg', '/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_26_9357.jpg', '/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_37_10467.jpg', '/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_46_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/28/image_19042025_08_28_56_9360.jpg
/home/pi/Desktop/images/19042025/08/28/image_19042025_08_29_07_10353.jpg
/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_17_10346.jpg
/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_26_9357.jpg
/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_37_10467.jpg
/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_46_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351808432","1351808606","1351808490","1351808682","1351808436","1351808757"],"photo_ids_order":["1351808432","1351808436","1351808490","1351808606","1351808682","1351808757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d5cc5f715d51f705541c5fc645ea9ff.jpg","text":"TemporaryFile(/tmp/multipartBody2353952795506550317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059233410,"filename":"image_19042025_08_28_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/19/0cdba86261bb45d7a60c903ed189c393.jpg","text":"TemporaryFile(/tmp/multipartBody8578761070735467907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059233410,"filename":"image_19042025_08_29_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/19/d850bd774d89fa1ef645dfe37b23807b.jpg","text":"TemporaryFile(/tmp/multipartBody2019676337710237092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059233410,"filename":"image_19042025_08_29_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/19/f10927cc9a4b28c8a6e4873ebc32d5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8871921863278696828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059233410,"filename":"image_19042025_08_29_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/19/627df960454b43be1120d4e37cda9089.jpg","text":"TemporaryFile(/tmp/multipartBody2612371088059113016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059233410,"filename":"image_19042025_08_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/19/cf8822d655424610de1564d8cf42da97.jpg","text":"TemporaryFile(/tmp/multipartBody6504732652059755674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059233410,"filename":"image_19042025_08_29_46_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808490","file1":"1351808436","file0":"1351808432","file4":"1351808682","file5":"1351808757","file3":"1351808606"},"map_files_photo_id_array":[{"photo_id":"1351808757","filename":"file5"},{"photo_id":"1351808490","filename":"file2"},{"photo_id":"1351808682","filename":"file4"},{"photo_id":"1351808436","filename":"file1"},{"photo_id":"1351808432","filename":"file0"},{"photo_id":"1351808606","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351808432":["hashtag1","hashtag2"]},{"1351808606":["hashtag1","hashtag2"]},{"1351808490":["hashtag1","hashtag2"]},{"1351808682":["hashtag1","hashtag2"]},{"1351808436":["hashtag1","hashtag2"]},{"1351808757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351808432, 1351808606, 1351808490, 1351808682, 1351808436, 1351808757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54817223548889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:40:33.052801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_57_10367.jpg', '/home/pi/Desktop/images/19042025/08/29/image_19042025_08_30_06_9483.jpg', '/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_16_10368.jpg', '/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_27_10372.jpg', '/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_36_9369.jpg', '/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/29/image_19042025_08_29_57_10367.jpg
/home/pi/Desktop/images/19042025/08/29/image_19042025_08_30_06_9483.jpg
/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_16_10368.jpg
/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_27_10372.jpg
/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_36_9369.jpg
/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_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":["1351808969","1351808983","1351809037","1351809013","1351809048","1351808999"],"photo_ids_order":["1351808969","1351808983","1351808999","1351809013","1351809037","1351809048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2851aa39972b4d8a30f3783427430d42.jpg","text":"TemporaryFile(/tmp/multipartBody4082849086072547161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059293607,"filename":"image_19042025_08_29_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/19/3336e84fc3035df19e94952523fcb44a.jpg","text":"TemporaryFile(/tmp/multipartBody2236084219688870488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059293607,"filename":"image_19042025_08_30_06_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/19/c0e0a4f417fdce7f164a93a50abb2526.jpg","text":"TemporaryFile(/tmp/multipartBody1152550125808799157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059293607,"filename":"image_19042025_08_30_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/19/49681d98810df3c7dbecdfda0c8bb40b.jpg","text":"TemporaryFile(/tmp/multipartBody7503043713998912257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059293607,"filename":"image_19042025_08_30_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/19/aab29717098525d1f7511d4a5d336e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1094186281236042590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059293607,"filename":"image_19042025_08_30_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9aec7b02550366ac21bffeed3deb30c0.jpg","text":"TemporaryFile(/tmp/multipartBody1267578595860668308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059293607,"filename":"image_19042025_08_30_16_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808999","file1":"1351808983","file0":"1351808969","file4":"1351809037","file5":"1351809048","file3":"1351809013"},"map_files_photo_id_array":[{"photo_id":"1351809048","filename":"file5"},{"photo_id":"1351808999","filename":"file2"},{"photo_id":"1351809037","filename":"file4"},{"photo_id":"1351808983","filename":"file1"},{"photo_id":"1351808969","filename":"file0"},{"photo_id":"1351809013","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351808969":["hashtag1","hashtag2"]},{"1351808983":["hashtag1","hashtag2"]},{"1351809037":["hashtag1","hashtag2"]},{"1351809013":["hashtag1","hashtag2"]},{"1351809048":["hashtag1","hashtag2"]},{"1351808999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351808969, 1351808983, 1351809037, 1351809013, 1351809048, 1351808999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88447380065918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:41:32.206382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_57_10420.jpg', '/home/pi/Desktop/images/19042025/08/30/image_19042025_08_31_06_9351.jpg', '/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_17_10361.jpg', '/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_26_9455.jpg', '/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_36_10394.jpg', '/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_47_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/30/image_19042025_08_30_57_10420.jpg
/home/pi/Desktop/images/19042025/08/30/image_19042025_08_31_06_9351.jpg
/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_17_10361.jpg
/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_26_9455.jpg
/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_36_10394.jpg
/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_47_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":["1351809131","1351809128","1351809139","1351809142","1351809150","1351809135"],"photo_ids_order":["1351809128","1351809131","1351809135","1351809139","1351809142","1351809150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3cc156d32228c804c6be9fec3e4e8777.jpg","text":"TemporaryFile(/tmp/multipartBody8716983722713268554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059352734,"filename":"image_19042025_08_31_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/19/89e84be86d53b281139a4bd42bceb685.jpg","text":"TemporaryFile(/tmp/multipartBody4688528598071962941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059352734,"filename":"image_19042025_08_30_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f95e86b561874b93ef331f8b6bcb8c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5979609311520559122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059352734,"filename":"image_19042025_08_31_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/19/aea80525078e7375600e4d1631fed288.jpg","text":"TemporaryFile(/tmp/multipartBody7139560661665186509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059352734,"filename":"image_19042025_08_31_36_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/480f41647fd9100ce96a6a9b83fde671.jpg","text":"TemporaryFile(/tmp/multipartBody2762070774493823218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059352734,"filename":"image_19042025_08_31_47_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/599a973207bdc83b8b5373aed5748fbb.jpg","text":"TemporaryFile(/tmp/multipartBody8959244909792966372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059352734,"filename":"image_19042025_08_31_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351809135","file1":"1351809131","file0":"1351809128","file4":"1351809142","file5":"1351809150","file3":"1351809139"},"map_files_photo_id_array":[{"photo_id":"1351809150","filename":"file5"},{"photo_id":"1351809135","filename":"file2"},{"photo_id":"1351809142","filename":"file4"},{"photo_id":"1351809131","filename":"file1"},{"photo_id":"1351809128","filename":"file0"},{"photo_id":"1351809139","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351809131":["hashtag1","hashtag2"]},{"1351809128":["hashtag1","hashtag2"]},{"1351809139":["hashtag1","hashtag2"]},{"1351809142":["hashtag1","hashtag2"]},{"1351809150":["hashtag1","hashtag2"]},{"1351809135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351809131, 1351809128, 1351809139, 1351809142, 1351809150, 1351809135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98577952384949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:42:32.448733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_56_9357.jpg', '/home/pi/Desktop/images/19042025/08/31/image_19042025_08_32_07_10345.jpg', '/home/pi/Desktop/images/19042025/08/32/image_19042025_08_32_17_10325.jpg', '/home/pi/Desktop/images/19042025/08/32/image_19042025_08_32_26_9357.jpg', '/home/pi/Desktop/images/19042025/08/32/image_19042025_08_32_37_10352.jpg', '/home/pi/Desktop/images/19042025/08/32/image_19042025_08_32_56_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/31/image_19042025_08_31_56_9357.jpg
/home/pi/Desktop/images/19042025/08/31/image_19042025_08_32_07_10345.jpg
/home/pi/Desktop/images/19042025/08/32/image_19042025_08_32_17_10325.jpg
/home/pi/Desktop/images/19042025/08/32/image_19042025_08_32_26_9357.jpg
/home/pi/Desktop/images/19042025/08/32/image_19042025_08_32_37_10352.jpg
/home/pi/Desktop/images/19042025/08/32/image_19042025_08_32_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":["1351809416","1351809370","1351809343","1351809418","1351809334","1351809339"],"photo_ids_order":["1351809334","1351809339","1351809343","1351809370","1351809416","1351809418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f73f4f2479ed66bd451d012045a7bb56.jpg","text":"TemporaryFile(/tmp/multipartBody7355121269325650392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059412978,"filename":"image_19042025_08_32_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/19/e5ab03cfd8e81ba65075254c09c4e768.jpg","text":"TemporaryFile(/tmp/multipartBody6668586322534638984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059412978,"filename":"image_19042025_08_32_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/19/36d328e846abc804fc6d076d59baaa98.jpg","text":"TemporaryFile(/tmp/multipartBody8277594546989162655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059412978,"filename":"image_19042025_08_32_17_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/22a8baf20cdc9269ae072c902cd9e781.jpg","text":"TemporaryFile(/tmp/multipartBody2562704681613891115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059412978,"filename":"image_19042025_08_32_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ea321c9f249e62bdcf0d48788b0cf74.jpg","text":"TemporaryFile(/tmp/multipartBody1686572387060131948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059412978,"filename":"image_19042025_08_31_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/19/0ee6009784a1349fdf7ba955ea07c138.jpg","text":"TemporaryFile(/tmp/multipartBody3453708016197274514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059412978,"filename":"image_19042025_08_32_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351809343","file1":"1351809339","file0":"1351809334","file4":"1351809416","file5":"1351809418","file3":"1351809370"},"map_files_photo_id_array":[{"photo_id":"1351809418","filename":"file5"},{"photo_id":"1351809343","filename":"file2"},{"photo_id":"1351809416","filename":"file4"},{"photo_id":"1351809339","filename":"file1"},{"photo_id":"1351809334","filename":"file0"},{"photo_id":"1351809370","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351809416":["hashtag1","hashtag2"]},{"1351809370":["hashtag1","hashtag2"]},{"1351809343":["hashtag1","hashtag2"]},{"1351809418":["hashtag1","hashtag2"]},{"1351809334":["hashtag1","hashtag2"]},{"1351809339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351809416, 1351809370, 1351809343, 1351809418, 1351809334, 1351809339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.051851272583008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:43:32.704359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/32/image_19042025_08_33_07_10470.jpg', '/home/pi/Desktop/images/19042025/08/33/image_19042025_08_33_16_9329.jpg', '/home/pi/Desktop/images/19042025/08/33/image_19042025_08_33_27_10425.jpg', '/home/pi/Desktop/images/19042025/08/33/image_19042025_08_33_57_10367.jpg', '/home/pi/Desktop/images/19042025/08/33/image_19042025_08_34_06_9343.jpg', '/home/pi/Desktop/images/19042025/08/34/image_19042025_08_34_17_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/32/image_19042025_08_33_07_10470.jpg
/home/pi/Desktop/images/19042025/08/33/image_19042025_08_33_16_9329.jpg
/home/pi/Desktop/images/19042025/08/33/image_19042025_08_33_27_10425.jpg
/home/pi/Desktop/images/19042025/08/33/image_19042025_08_33_57_10367.jpg
/home/pi/Desktop/images/19042025/08/33/image_19042025_08_34_06_9343.jpg
/home/pi/Desktop/images/19042025/08/34/image_19042025_08_34_17_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351809710","1351809559","1351809607","1351809654","1351809714","1351809683"],"photo_ids_order":["1351809559","1351809607","1351809654","1351809683","1351809710","1351809714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35a8fbae2c962d6bcd50c40738f8fd76.jpg","text":"TemporaryFile(/tmp/multipartBody1447897912927595005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059473231,"filename":"image_19042025_08_34_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/19/d397b69809cf1a5f826e1f3a6f61448c.jpg","text":"TemporaryFile(/tmp/multipartBody5375219790112333509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059473231,"filename":"image_19042025_08_33_07_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/19/ef2b440dedf001a9ac4dfd2f7eb5eaf0.jpg","text":"TemporaryFile(/tmp/multipartBody5535282859165529075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059473231,"filename":"image_19042025_08_33_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/82efaf8f8f680cd57d4a910ea10dc87b.jpg","text":"TemporaryFile(/tmp/multipartBody5111567633799521331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059473231,"filename":"image_19042025_08_33_27_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/19/079a6589e5b03e105cf1a659d2e215bb.jpg","text":"TemporaryFile(/tmp/multipartBody7458913173891817803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059473231,"filename":"image_19042025_08_34_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/19/1e68eff157d5014d491f6c41e3bc9524.jpg","text":"TemporaryFile(/tmp/multipartBody4462449992559715294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059473231,"filename":"image_19042025_08_33_57_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351809654","file1":"1351809607","file0":"1351809559","file4":"1351809710","file5":"1351809714","file3":"1351809683"},"map_files_photo_id_array":[{"photo_id":"1351809714","filename":"file5"},{"photo_id":"1351809654","filename":"file2"},{"photo_id":"1351809710","filename":"file4"},{"photo_id":"1351809607","filename":"file1"},{"photo_id":"1351809559","filename":"file0"},{"photo_id":"1351809683","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351809710":["hashtag1","hashtag2"]},{"1351809559":["hashtag1","hashtag2"]},{"1351809607":["hashtag1","hashtag2"]},{"1351809654":["hashtag1","hashtag2"]},{"1351809714":["hashtag1","hashtag2"]},{"1351809683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351809710, 1351809559, 1351809607, 1351809654, 1351809714, 1351809683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18255972862244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:44:32.899047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/34/image_19042025_08_34_26_9466.jpg', '/home/pi/Desktop/images/19042025/08/34/image_19042025_08_34_36_10351.jpg', '/home/pi/Desktop/images/19042025/08/34/image_19042025_08_34_47_10497.jpg', '/home/pi/Desktop/images/19042025/08/34/image_19042025_08_35_07_10444.jpg', '/home/pi/Desktop/images/19042025/08/35/image_19042025_08_35_16_9341.jpg', '/home/pi/Desktop/images/19042025/08/35/image_19042025_08_35_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/34/image_19042025_08_34_26_9466.jpg
/home/pi/Desktop/images/19042025/08/34/image_19042025_08_34_36_10351.jpg
/home/pi/Desktop/images/19042025/08/34/image_19042025_08_34_47_10497.jpg
/home/pi/Desktop/images/19042025/08/34/image_19042025_08_35_07_10444.jpg
/home/pi/Desktop/images/19042025/08/35/image_19042025_08_35_16_9341.jpg
/home/pi/Desktop/images/19042025/08/35/image_19042025_08_35_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":["1351809743","1351809731","1351809734","1351809750","1351809738","1351809747"],"photo_ids_order":["1351809731","1351809734","1351809738","1351809743","1351809747","1351809750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd8659694cdb7efbaedc40421f2da19f.jpg","text":"TemporaryFile(/tmp/multipartBody7646336924457460807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059533425,"filename":"image_19042025_08_35_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/19/b5fb0209d576d5d8d601ad3b963a4082.jpg","text":"TemporaryFile(/tmp/multipartBody1428387423117377647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059533425,"filename":"image_19042025_08_34_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/19/3db2330bcf2fbd457ff143aca7a9dc1a.jpg","text":"TemporaryFile(/tmp/multipartBody2193954812171906038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059533425,"filename":"image_19042025_08_34_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/19/25ad7059f346e9af3f18cdff9724376d.jpg","text":"TemporaryFile(/tmp/multipartBody4177259828542618851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059533425,"filename":"image_19042025_08_35_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f489ccf4f99cefb6c3506b29c9eba2b.jpg","text":"TemporaryFile(/tmp/multipartBody424771696176724206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059533425,"filename":"image_19042025_08_34_47_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97faf6d70b7423d9e993ae78b3957f9e.jpg","text":"TemporaryFile(/tmp/multipartBody7388675302575240782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059533425,"filename":"image_19042025_08_35_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351809738","file1":"1351809734","file0":"1351809731","file4":"1351809747","file5":"1351809750","file3":"1351809743"},"map_files_photo_id_array":[{"photo_id":"1351809750","filename":"file5"},{"photo_id":"1351809738","filename":"file2"},{"photo_id":"1351809747","filename":"file4"},{"photo_id":"1351809734","filename":"file1"},{"photo_id":"1351809731","filename":"file0"},{"photo_id":"1351809743","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351809743":["hashtag1","hashtag2"]},{"1351809731":["hashtag1","hashtag2"]},{"1351809734":["hashtag1","hashtag2"]},{"1351809750":["hashtag1","hashtag2"]},{"1351809738":["hashtag1","hashtag2"]},{"1351809747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351809743, 1351809731, 1351809734, 1351809750, 1351809738, 1351809747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.774139165878296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:45:33.219195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/35/image_19042025_08_35_37_10414.jpg', '/home/pi/Desktop/images/19042025/08/35/image_19042025_08_35_57_10366.jpg', '/home/pi/Desktop/images/19042025/08/35/image_19042025_08_36_06_9468.jpg', '/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_16_10341.jpg', '/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_27_10356.jpg', '/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_36_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/35/image_19042025_08_35_37_10414.jpg
/home/pi/Desktop/images/19042025/08/35/image_19042025_08_35_57_10366.jpg
/home/pi/Desktop/images/19042025/08/35/image_19042025_08_36_06_9468.jpg
/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_16_10341.jpg
/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_27_10356.jpg
/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_36_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":["1351809988","1351809982","1351809882","1351810003","1351809968","1351809953"],"photo_ids_order":["1351809882","1351809953","1351809968","1351809982","1351809988","1351810003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/03241aa1648d25fa2d1bb17af0457bae.jpg","text":"TemporaryFile(/tmp/multipartBody9481543175287155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059593747,"filename":"image_19042025_08_36_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8166085aa2b1a4f149513ecd020db6e3.jpg","text":"TemporaryFile(/tmp/multipartBody6793901161746231203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059593747,"filename":"image_19042025_08_36_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/19/90c4ea6ce554462283ae0d27f9797401.jpg","text":"TemporaryFile(/tmp/multipartBody6546824888007603754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059593747,"filename":"image_19042025_08_35_37_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24a6128cb1b9f91bc3921d1dd20f199a.jpg","text":"TemporaryFile(/tmp/multipartBody1169044332903338378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059593747,"filename":"image_19042025_08_36_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/19/b5f35265527d66858050a263b0b9eb79.jpg","text":"TemporaryFile(/tmp/multipartBody1274286156777875005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059593747,"filename":"image_19042025_08_36_06_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/57f0686cd80f194fb33e34c970530af3.jpg","text":"TemporaryFile(/tmp/multipartBody2740544574256954369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059593747,"filename":"image_19042025_08_35_57_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351809968","file1":"1351809953","file0":"1351809882","file4":"1351809988","file5":"1351810003","file3":"1351809982"},"map_files_photo_id_array":[{"photo_id":"1351810003","filename":"file5"},{"photo_id":"1351809968","filename":"file2"},{"photo_id":"1351809988","filename":"file4"},{"photo_id":"1351809953","filename":"file1"},{"photo_id":"1351809882","filename":"file0"},{"photo_id":"1351809982","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351809988":["hashtag1","hashtag2"]},{"1351809982":["hashtag1","hashtag2"]},{"1351809882":["hashtag1","hashtag2"]},{"1351810003":["hashtag1","hashtag2"]},{"1351809968":["hashtag1","hashtag2"]},{"1351809953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351809988, 1351809982, 1351809882, 1351810003, 1351809968, 1351809953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.111067533493042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:46:32.398560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_46_10350.jpg', '/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_57_10398.jpg', '/home/pi/Desktop/images/19042025/08/36/image_19042025_08_37_06_9349.jpg', '/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_17_10348.jpg', '/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_26_9412.jpg', '/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_36_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_46_10350.jpg
/home/pi/Desktop/images/19042025/08/36/image_19042025_08_36_57_10398.jpg
/home/pi/Desktop/images/19042025/08/36/image_19042025_08_37_06_9349.jpg
/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_17_10348.jpg
/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_26_9412.jpg
/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_36_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":["1351810107","1351810091","1351810112","1351810087","1351810062","1351810053"],"photo_ids_order":["1351810053","1351810062","1351810087","1351810091","1351810107","1351810112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce864f56fba3a25722a79529c7a366b9.jpg","text":"TemporaryFile(/tmp/multipartBody8772969851743277275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059652938,"filename":"image_19042025_08_37_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/19/de7cb16d3ac5d1d9de7093c3d5960c73.jpg","text":"TemporaryFile(/tmp/multipartBody8540661184436301488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059652938,"filename":"image_19042025_08_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/19/f820fcb9e2738618ff1c112c86f7cd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3507261646808759467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059652938,"filename":"image_19042025_08_37_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/19/fe4fa980ac42537eae5771bc4bb6c4da.jpg","text":"TemporaryFile(/tmp/multipartBody2388712677275265113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059652938,"filename":"image_19042025_08_37_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/19/9010df96813dde156988da3380c55efc.jpg","text":"TemporaryFile(/tmp/multipartBody4034284492137670982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059652938,"filename":"image_19042025_08_36_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/19/ccfc3baec4aa2d7c9b690094c0eadbeb.jpg","text":"TemporaryFile(/tmp/multipartBody2668771092317892929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059652938,"filename":"image_19042025_08_36_46_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810087","file1":"1351810062","file0":"1351810053","file4":"1351810107","file5":"1351810112","file3":"1351810091"},"map_files_photo_id_array":[{"photo_id":"1351810112","filename":"file5"},{"photo_id":"1351810087","filename":"file2"},{"photo_id":"1351810107","filename":"file4"},{"photo_id":"1351810062","filename":"file1"},{"photo_id":"1351810053","filename":"file0"},{"photo_id":"1351810091","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810107":["hashtag1","hashtag2"]},{"1351810091":["hashtag1","hashtag2"]},{"1351810112":["hashtag1","hashtag2"]},{"1351810087":["hashtag1","hashtag2"]},{"1351810062":["hashtag1","hashtag2"]},{"1351810053":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810107, 1351810091, 1351810112, 1351810087, 1351810062, 1351810053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.302223682403564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:47:32.651857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_47_10418.jpg', '/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_56_9357.jpg', '/home/pi/Desktop/images/19042025/08/37/image_19042025_08_38_07_10415.jpg', '/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_17_9910.jpg', '/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_26_9521.jpg', '/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_36_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_47_10418.jpg
/home/pi/Desktop/images/19042025/08/37/image_19042025_08_37_56_9357.jpg
/home/pi/Desktop/images/19042025/08/37/image_19042025_08_38_07_10415.jpg
/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_17_9910.jpg
/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_26_9521.jpg
/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_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":["1351810256","1351810264","1351810185","1351810260","1351810215","1351810245"],"photo_ids_order":["1351810185","1351810215","1351810245","1351810256","1351810260","1351810264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e834c9870b935979b60b05ad214a73cd.jpg","text":"TemporaryFile(/tmp/multipartBody714454712570245967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059713215,"filename":"image_19042025_08_38_17_9910.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f3abad2d87bc1b8d51a4400462c6d3af.jpg","text":"TemporaryFile(/tmp/multipartBody8855199128034767260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059713215,"filename":"image_19042025_08_38_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c804b81ea51a980b646423b5677842c7.jpg","text":"TemporaryFile(/tmp/multipartBody6906033380940272527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059713215,"filename":"image_19042025_08_37_47_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4dc929d802fd7b36c4a895b82be0af2.jpg","text":"TemporaryFile(/tmp/multipartBody3658516317967498925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059713215,"filename":"image_19042025_08_38_26_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/19/244cd83cba162acf10e970d993dbb228.jpg","text":"TemporaryFile(/tmp/multipartBody7406210425548225640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059713215,"filename":"image_19042025_08_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/19/68c8583dfa30d7af356b40aa9589bf71.jpg","text":"TemporaryFile(/tmp/multipartBody4926575188826318914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059713215,"filename":"image_19042025_08_38_07_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810245","file1":"1351810215","file0":"1351810185","file4":"1351810260","file5":"1351810264","file3":"1351810256"},"map_files_photo_id_array":[{"photo_id":"1351810264","filename":"file5"},{"photo_id":"1351810245","filename":"file2"},{"photo_id":"1351810260","filename":"file4"},{"photo_id":"1351810215","filename":"file1"},{"photo_id":"1351810185","filename":"file0"},{"photo_id":"1351810256","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810256":["hashtag1","hashtag2"]},{"1351810264":["hashtag1","hashtag2"]},{"1351810185":["hashtag1","hashtag2"]},{"1351810260":["hashtag1","hashtag2"]},{"1351810215":["hashtag1","hashtag2"]},{"1351810245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810256, 1351810264, 1351810185, 1351810260, 1351810215, 1351810245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66374659538269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:48:32.852501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_47_10423.jpg', '/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_56_9458.jpg', '/home/pi/Desktop/images/19042025/08/38/image_19042025_08_39_07_10604.jpg', '/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_17_9606.jpg', '/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_27_10371.jpg', '/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_36_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_47_10423.jpg
/home/pi/Desktop/images/19042025/08/38/image_19042025_08_38_56_9458.jpg
/home/pi/Desktop/images/19042025/08/38/image_19042025_08_39_07_10604.jpg
/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_17_9606.jpg
/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_27_10371.jpg
/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_36_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":["1351810280","1351810283","1351810277","1351810297","1351810287","1351810302"],"photo_ids_order":["1351810277","1351810280","1351810283","1351810287","1351810297","1351810302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c7fef6db0360927064786297c8875d1.jpg","text":"TemporaryFile(/tmp/multipartBody1708248732923820754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059773391,"filename":"image_19042025_08_38_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/19/5fa260ce6304a933ee871cf918c46e84.jpg","text":"TemporaryFile(/tmp/multipartBody356602331520907099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059773391,"filename":"image_19042025_08_39_07_10604.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0c414a52c85fae2cd6d85e0f2609e57d.jpg","text":"TemporaryFile(/tmp/multipartBody807585483398935988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059773391,"filename":"image_19042025_08_38_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/19/26f98202197dfda18a023e89ba116120.jpg","text":"TemporaryFile(/tmp/multipartBody1936745505075312809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059773391,"filename":"image_19042025_08_39_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/19/39d0c14fad8e984d95feff20df2903bd.jpg","text":"TemporaryFile(/tmp/multipartBody8470046547916666116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059773391,"filename":"image_19042025_08_39_17_9606.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7523dfe3609d8d31821d1cfdabdccc8.jpg","text":"TemporaryFile(/tmp/multipartBody5467699033813164857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059773391,"filename":"image_19042025_08_39_36_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810283","file1":"1351810280","file0":"1351810277","file4":"1351810297","file5":"1351810302","file3":"1351810287"},"map_files_photo_id_array":[{"photo_id":"1351810302","filename":"file5"},{"photo_id":"1351810283","filename":"file2"},{"photo_id":"1351810297","filename":"file4"},{"photo_id":"1351810280","filename":"file1"},{"photo_id":"1351810277","filename":"file0"},{"photo_id":"1351810287","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810280":["hashtag1","hashtag2"]},{"1351810283":["hashtag1","hashtag2"]},{"1351810277":["hashtag1","hashtag2"]},{"1351810297":["hashtag1","hashtag2"]},{"1351810287":["hashtag1","hashtag2"]},{"1351810302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810280, 1351810283, 1351810277, 1351810297, 1351810287, 1351810302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.64650058746338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:49:33.218880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_47_10368.jpg', '/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_56_9482.jpg', '/home/pi/Desktop/images/19042025/08/39/image_19042025_08_40_06_10360.jpg', '/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_16_9472.jpg', '/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_26_10358.jpg', '/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_37_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_47_10368.jpg
/home/pi/Desktop/images/19042025/08/39/image_19042025_08_39_56_9482.jpg
/home/pi/Desktop/images/19042025/08/39/image_19042025_08_40_06_10360.jpg
/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_16_9472.jpg
/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_26_10358.jpg
/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_37_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":["1351810394","1351810439","1351810448","1351810444","1351810398","1351810446"],"photo_ids_order":["1351810394","1351810398","1351810439","1351810444","1351810446","1351810448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/043b61bc0e053905aee3a5910e0a376b.jpg","text":"TemporaryFile(/tmp/multipartBody6298320428116185824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059833765,"filename":"image_19042025_08_39_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/19/7f8a301a3d544a1c76eb3d8fd01220ad.jpg","text":"TemporaryFile(/tmp/multipartBody7162983144615378073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059833765,"filename":"image_19042025_08_40_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/19/0171c00a906e265bc6d32b4e338bc1bd.jpg","text":"TemporaryFile(/tmp/multipartBody1186326282575887395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059833765,"filename":"image_19042025_08_40_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/19/f714daf9075c0c6df6721de97ac1a0fe.jpg","text":"TemporaryFile(/tmp/multipartBody8682635998931987444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059833765,"filename":"image_19042025_08_40_16_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20584939c14a9f8243fb4c058d760c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8114603192370954759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059833765,"filename":"image_19042025_08_39_56_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/19/7ab33578c0f5222685fdf05957af5ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4250183289897539379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059833765,"filename":"image_19042025_08_40_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810439","file1":"1351810398","file0":"1351810394","file4":"1351810446","file5":"1351810448","file3":"1351810444"},"map_files_photo_id_array":[{"photo_id":"1351810448","filename":"file5"},{"photo_id":"1351810439","filename":"file2"},{"photo_id":"1351810446","filename":"file4"},{"photo_id":"1351810398","filename":"file1"},{"photo_id":"1351810394","filename":"file0"},{"photo_id":"1351810444","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810394":["hashtag1","hashtag2"]},{"1351810439":["hashtag1","hashtag2"]},{"1351810448":["hashtag1","hashtag2"]},{"1351810444":["hashtag1","hashtag2"]},{"1351810398":["hashtag1","hashtag2"]},{"1351810446":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810394, 1351810439, 1351810448, 1351810444, 1351810398, 1351810446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54421329498291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:50:32.425507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_46_9346.jpg', '/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_56_10323.jpg', '/home/pi/Desktop/images/19042025/08/40/image_19042025_08_41_07_10324.jpg', '/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_16_9324.jpg', '/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_26_10339.jpg', '/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_37_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_46_9346.jpg
/home/pi/Desktop/images/19042025/08/40/image_19042025_08_40_56_10323.jpg
/home/pi/Desktop/images/19042025/08/40/image_19042025_08_41_07_10324.jpg
/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_16_9324.jpg
/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_26_10339.jpg
/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_37_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":["1351810487","1351810496","1351810492","1351810501","1351810504","1351810482"],"photo_ids_order":["1351810482","1351810487","1351810492","1351810496","1351810501","1351810504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d40faed117908ba96241ee5c64f4e6d.jpg","text":"TemporaryFile(/tmp/multipartBody4707667601912842337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059892946,"filename":"image_19042025_08_40_56_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/19/305ef274c66d38462f0e0fee0ffeb553.jpg","text":"TemporaryFile(/tmp/multipartBody329381167184622489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059892946,"filename":"image_19042025_08_41_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b69b89ba278f5a5412fa2eaf7c1693a5.jpg","text":"TemporaryFile(/tmp/multipartBody7467890072630691402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059892946,"filename":"image_19042025_08_41_07_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/19/aad5c638798070463899d50b0b161292.jpg","text":"TemporaryFile(/tmp/multipartBody7165663783882981108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059892946,"filename":"image_19042025_08_41_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc13ea4318694adeba30d8ce89b88700.jpg","text":"TemporaryFile(/tmp/multipartBody6657515949301644268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059892946,"filename":"image_19042025_08_41_37_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/700458e57320ad9ee47640a9151f003a.jpg","text":"TemporaryFile(/tmp/multipartBody5020262352967508821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059892946,"filename":"image_19042025_08_40_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810492","file1":"1351810487","file0":"1351810482","file4":"1351810501","file5":"1351810504","file3":"1351810496"},"map_files_photo_id_array":[{"photo_id":"1351810504","filename":"file5"},{"photo_id":"1351810492","filename":"file2"},{"photo_id":"1351810501","filename":"file4"},{"photo_id":"1351810487","filename":"file1"},{"photo_id":"1351810482","filename":"file0"},{"photo_id":"1351810496","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810487":["hashtag1","hashtag2"]},{"1351810496":["hashtag1","hashtag2"]},{"1351810492":["hashtag1","hashtag2"]},{"1351810501":["hashtag1","hashtag2"]},{"1351810504":["hashtag1","hashtag2"]},{"1351810482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810487, 1351810496, 1351810492, 1351810501, 1351810504, 1351810482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.517027616500854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:51:32.731176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_46_9448.jpg', '/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_57_10388.jpg', '/home/pi/Desktop/images/19042025/08/41/image_19042025_08_42_06_9424.jpg', '/home/pi/Desktop/images/19042025/08/42/image_19042025_08_42_16_10394.jpg', '/home/pi/Desktop/images/19042025/08/42/image_19042025_08_42_46_10338.jpg', '/home/pi/Desktop/images/19042025/08/42/image_19042025_08_42_57_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_46_9448.jpg
/home/pi/Desktop/images/19042025/08/41/image_19042025_08_41_57_10388.jpg
/home/pi/Desktop/images/19042025/08/41/image_19042025_08_42_06_9424.jpg
/home/pi/Desktop/images/19042025/08/42/image_19042025_08_42_16_10394.jpg
/home/pi/Desktop/images/19042025/08/42/image_19042025_08_42_46_10338.jpg
/home/pi/Desktop/images/19042025/08/42/image_19042025_08_42_57_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":["1351810526","1351810535","1351810530","1351810533","1351810536","1351810515"],"photo_ids_order":["1351810515","1351810526","1351810530","1351810533","1351810535","1351810536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2fcc34baa772797524510a8b92630da1.jpg","text":"TemporaryFile(/tmp/multipartBody4721277855692202835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059953286,"filename":"image_19042025_08_41_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/19/8615899716036fee670ae6e641d8f6ae.jpg","text":"TemporaryFile(/tmp/multipartBody8212329411606230843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059953286,"filename":"image_19042025_08_42_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e435cb24bb681f5ce5d9b36a9d7ea10b.jpg","text":"TemporaryFile(/tmp/multipartBody8971154606990609445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059953286,"filename":"image_19042025_08_42_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/19/269083b1453458c2ca0da13a21146073.jpg","text":"TemporaryFile(/tmp/multipartBody7729281069881775338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059953286,"filename":"image_19042025_08_42_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95f40469c5175b302297d8d51ec64241.jpg","text":"TemporaryFile(/tmp/multipartBody2553508398419461983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059953286,"filename":"image_19042025_08_42_57_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9ae0516103f397a02511944389ac0745.jpg","text":"TemporaryFile(/tmp/multipartBody4482763288092569057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745059953286,"filename":"image_19042025_08_41_46_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810530","file1":"1351810526","file0":"1351810515","file4":"1351810535","file5":"1351810536","file3":"1351810533"},"map_files_photo_id_array":[{"photo_id":"1351810536","filename":"file5"},{"photo_id":"1351810530","filename":"file2"},{"photo_id":"1351810535","filename":"file4"},{"photo_id":"1351810526","filename":"file1"},{"photo_id":"1351810515","filename":"file0"},{"photo_id":"1351810533","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810526":["hashtag1","hashtag2"]},{"1351810535":["hashtag1","hashtag2"]},{"1351810530":["hashtag1","hashtag2"]},{"1351810533":["hashtag1","hashtag2"]},{"1351810536":["hashtag1","hashtag2"]},{"1351810515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810526, 1351810535, 1351810530, 1351810533, 1351810536, 1351810515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61188054084778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:52:33.019748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/43/image_19042025_08_43_17_10342.jpg', '/home/pi/Desktop/images/19042025/08/43/image_19042025_08_43_26_9447.jpg', '/home/pi/Desktop/images/19042025/08/43/image_19042025_08_43_36_10346.jpg', '/home/pi/Desktop/images/19042025/08/43/image_19042025_08_43_47_10512.jpg', '/home/pi/Desktop/images/19042025/08/43/image_19042025_08_44_07_10354.jpg', '/home/pi/Desktop/images/19042025/08/44/image_19042025_08_44_16_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/43/image_19042025_08_43_17_10342.jpg
/home/pi/Desktop/images/19042025/08/43/image_19042025_08_43_26_9447.jpg
/home/pi/Desktop/images/19042025/08/43/image_19042025_08_43_36_10346.jpg
/home/pi/Desktop/images/19042025/08/43/image_19042025_08_43_47_10512.jpg
/home/pi/Desktop/images/19042025/08/43/image_19042025_08_44_07_10354.jpg
/home/pi/Desktop/images/19042025/08/44/image_19042025_08_44_16_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":["1351810556","1351810550","1351810553","1351810563","1351810566","1351810560"],"photo_ids_order":["1351810550","1351810553","1351810556","1351810560","1351810563","1351810566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/45481eb154ac3bc55a5f1f94ddf2a043.jpg","text":"TemporaryFile(/tmp/multipartBody470930861486353009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060013559,"filename":"image_19042025_08_43_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/19/98272ec418e9dcea5aa35384b9c7fd86.jpg","text":"TemporaryFile(/tmp/multipartBody6977520360311794821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060013559,"filename":"image_19042025_08_43_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f7a7c394a622c6d6d6607bcd0d18e89.jpg","text":"TemporaryFile(/tmp/multipartBody2434708084079107205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060013559,"filename":"image_19042025_08_43_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/19/9ea6071aea0767261cf58e2949c71689.jpg","text":"TemporaryFile(/tmp/multipartBody3105806119929264523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060013559,"filename":"image_19042025_08_44_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0decf14fdf843fe187c59d43153a42ef.jpg","text":"TemporaryFile(/tmp/multipartBody4030767020675997476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060013559,"filename":"image_19042025_08_44_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/19/b9e3c1f4729b899fb68c199182a4362c.jpg","text":"TemporaryFile(/tmp/multipartBody4001245355355846416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060013559,"filename":"image_19042025_08_43_47_10512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810556","file1":"1351810553","file0":"1351810550","file4":"1351810563","file5":"1351810566","file3":"1351810560"},"map_files_photo_id_array":[{"photo_id":"1351810566","filename":"file5"},{"photo_id":"1351810556","filename":"file2"},{"photo_id":"1351810563","filename":"file4"},{"photo_id":"1351810553","filename":"file1"},{"photo_id":"1351810550","filename":"file0"},{"photo_id":"1351810560","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810556":["hashtag1","hashtag2"]},{"1351810550":["hashtag1","hashtag2"]},{"1351810553":["hashtag1","hashtag2"]},{"1351810563":["hashtag1","hashtag2"]},{"1351810566":["hashtag1","hashtag2"]},{"1351810560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810556, 1351810550, 1351810553, 1351810563, 1351810566, 1351810560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.118237495422363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:53:32.148133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/44/image_19042025_08_44_26_10361.jpg', '/home/pi/Desktop/images/19042025/08/44/image_19042025_08_44_37_10488.jpg', '/home/pi/Desktop/images/19042025/08/44/image_19042025_08_44_46_9349.jpg', '/home/pi/Desktop/images/19042025/08/44/image_19042025_08_45_06_9347.jpg', '/home/pi/Desktop/images/19042025/08/45/image_19042025_08_45_57_10375.jpg', '/home/pi/Desktop/images/19042025/08/50/image_19042025_08_50_27_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/44/image_19042025_08_44_26_10361.jpg
/home/pi/Desktop/images/19042025/08/44/image_19042025_08_44_37_10488.jpg
/home/pi/Desktop/images/19042025/08/44/image_19042025_08_44_46_9349.jpg
/home/pi/Desktop/images/19042025/08/44/image_19042025_08_45_06_9347.jpg
/home/pi/Desktop/images/19042025/08/45/image_19042025_08_45_57_10375.jpg
/home/pi/Desktop/images/19042025/08/50/image_19042025_08_50_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":["1351810592","1351810586","1351810601","1351810588","1351810606","1351810596"],"photo_ids_order":["1351810586","1351810588","1351810592","1351810596","1351810601","1351810606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14f0663bc4ecec0dd0de290fb7f1bb56.jpg","text":"TemporaryFile(/tmp/multipartBody8284017099342945149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060072697,"filename":"image_19042025_08_44_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/19/670ba1d40cf490265e3fa824402641bf.jpg","text":"TemporaryFile(/tmp/multipartBody6247742063838787189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060072697,"filename":"image_19042025_08_44_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/19/b227c96df3aaf4f643fe3db7a42ff878.jpg","text":"TemporaryFile(/tmp/multipartBody8799544378162380238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060072697,"filename":"image_19042025_08_45_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/19/23b49a92e495a98344ee763919537022.jpg","text":"TemporaryFile(/tmp/multipartBody8059967472140062582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060072697,"filename":"image_19042025_08_44_37_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f1a79181de7121557d870ff4fcdcccfc.jpg","text":"TemporaryFile(/tmp/multipartBody1965595789286314974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060072697,"filename":"image_19042025_08_50_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/19/6cf50f4a59a1acab6f10d67249e27099.jpg","text":"TemporaryFile(/tmp/multipartBody96097912893522912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060072697,"filename":"image_19042025_08_45_06_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810592","file1":"1351810588","file0":"1351810586","file4":"1351810601","file5":"1351810606","file3":"1351810596"},"map_files_photo_id_array":[{"photo_id":"1351810606","filename":"file5"},{"photo_id":"1351810592","filename":"file2"},{"photo_id":"1351810601","filename":"file4"},{"photo_id":"1351810588","filename":"file1"},{"photo_id":"1351810586","filename":"file0"},{"photo_id":"1351810596","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810592":["hashtag1","hashtag2"]},{"1351810586":["hashtag1","hashtag2"]},{"1351810601":["hashtag1","hashtag2"]},{"1351810588":["hashtag1","hashtag2"]},{"1351810606":["hashtag1","hashtag2"]},{"1351810596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810592, 1351810586, 1351810601, 1351810588, 1351810606, 1351810596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.4619460105896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:54:32.484592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/51/image_19042025_08_51_36_10408.jpg', '/home/pi/Desktop/images/19042025/08/51/image_19042025_08_51_47_10421.jpg', '/home/pi/Desktop/images/19042025/08/51/image_19042025_08_51_56_9348.jpg', '/home/pi/Desktop/images/19042025/08/51/image_19042025_08_52_07_10362.jpg', '/home/pi/Desktop/images/19042025/08/52/image_19042025_08_52_17_10349.jpg', '/home/pi/Desktop/images/19042025/08/52/image_19042025_08_52_46_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/51/image_19042025_08_51_36_10408.jpg
/home/pi/Desktop/images/19042025/08/51/image_19042025_08_51_47_10421.jpg
/home/pi/Desktop/images/19042025/08/51/image_19042025_08_51_56_9348.jpg
/home/pi/Desktop/images/19042025/08/51/image_19042025_08_52_07_10362.jpg
/home/pi/Desktop/images/19042025/08/52/image_19042025_08_52_17_10349.jpg
/home/pi/Desktop/images/19042025/08/52/image_19042025_08_52_46_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351810643","1351810645","1351810636","1351810639","1351810632","1351810626"],"photo_ids_order":["1351810626","1351810632","1351810636","1351810639","1351810643","1351810645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/be85bba27f77e53fd82211c646f661ea.jpg","text":"TemporaryFile(/tmp/multipartBody2962458938036011237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060133041,"filename":"image_19042025_08_52_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66cb5321e96576bbbe95460d2b80ae73.jpg","text":"TemporaryFile(/tmp/multipartBody6884171690979150363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060133041,"filename":"image_19042025_08_52_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/19/4efc8635e6e19021e446d94098fea4c4.jpg","text":"TemporaryFile(/tmp/multipartBody8577827092863495154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060133041,"filename":"image_19042025_08_51_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/19/01326062022292dd6a8f07b991b8f48a.jpg","text":"TemporaryFile(/tmp/multipartBody2368997229709744267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060133041,"filename":"image_19042025_08_52_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/19/f2f36e148ad560b3ea762d4e86bd57d6.jpg","text":"TemporaryFile(/tmp/multipartBody1295772938302723770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060133041,"filename":"image_19042025_08_51_47_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bd4843034b6244683f8c881f0a4c6169.jpg","text":"TemporaryFile(/tmp/multipartBody3664776174757492332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060133041,"filename":"image_19042025_08_51_36_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810636","file1":"1351810632","file0":"1351810626","file4":"1351810643","file5":"1351810645","file3":"1351810639"},"map_files_photo_id_array":[{"photo_id":"1351810645","filename":"file5"},{"photo_id":"1351810636","filename":"file2"},{"photo_id":"1351810643","filename":"file4"},{"photo_id":"1351810632","filename":"file1"},{"photo_id":"1351810626","filename":"file0"},{"photo_id":"1351810639","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810643":["hashtag1","hashtag2"]},{"1351810645":["hashtag1","hashtag2"]},{"1351810636":["hashtag1","hashtag2"]},{"1351810639":["hashtag1","hashtag2"]},{"1351810632":["hashtag1","hashtag2"]},{"1351810626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810643, 1351810645, 1351810636, 1351810639, 1351810632, 1351810626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66959309577942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:55:32.523654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/52/image_19042025_08_53_07_10451.jpg', '/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_16_9344.jpg', '/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_27_10357.jpg', '/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_36_9347.jpg', '/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_46_10351.jpg', '/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_57_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/52/image_19042025_08_53_07_10451.jpg
/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_16_9344.jpg
/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_27_10357.jpg
/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_36_9347.jpg
/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_46_10351.jpg
/home/pi/Desktop/images/19042025/08/53/image_19042025_08_53_57_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351810670","1351810673","1351810667","1351810664","1351810662","1351810659"],"photo_ids_order":["1351810659","1351810662","1351810664","1351810667","1351810670","1351810673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3bd7ef2a1abe39ff06316c869c15c36d.jpg","text":"TemporaryFile(/tmp/multipartBody3942366561863809240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060193065,"filename":"image_19042025_08_53_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cbb425518611b0398e44b6d29a1df277.jpg","text":"TemporaryFile(/tmp/multipartBody8037262985356428410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060193065,"filename":"image_19042025_08_53_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/19/d3ad5e16bec2fc45733559357ae244e0.jpg","text":"TemporaryFile(/tmp/multipartBody5040745283361999863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060193065,"filename":"image_19042025_08_53_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/19/2e1523e5d6da6a177d3af45f4f1907b4.jpg","text":"TemporaryFile(/tmp/multipartBody6693950683016639567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060193065,"filename":"image_19042025_08_53_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/19/64a4593bcc6491c4443b1e0996b033e2.jpg","text":"TemporaryFile(/tmp/multipartBody5812912725286321607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060193065,"filename":"image_19042025_08_53_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/19/46c409b350fd0887612a4b93caa1f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody8436714504024897633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060193065,"filename":"image_19042025_08_53_07_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810664","file1":"1351810662","file0":"1351810659","file4":"1351810670","file5":"1351810673","file3":"1351810667"},"map_files_photo_id_array":[{"photo_id":"1351810673","filename":"file5"},{"photo_id":"1351810664","filename":"file2"},{"photo_id":"1351810670","filename":"file4"},{"photo_id":"1351810662","filename":"file1"},{"photo_id":"1351810659","filename":"file0"},{"photo_id":"1351810667","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810670":["hashtag1","hashtag2"]},{"1351810673":["hashtag1","hashtag2"]},{"1351810667":["hashtag1","hashtag2"]},{"1351810664":["hashtag1","hashtag2"]},{"1351810662":["hashtag1","hashtag2"]},{"1351810659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810670, 1351810673, 1351810667, 1351810664, 1351810662, 1351810659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.301256895065308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:56:32.727210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/54/image_19042025_08_54_16_10338.jpg', '/home/pi/Desktop/images/19042025/08/54/image_19042025_08_54_46_10374.jpg', '/home/pi/Desktop/images/19042025/08/54/image_19042025_08_54_57_10401.jpg', '/home/pi/Desktop/images/19042025/08/54/image_19042025_08_55_06_9430.jpg', '/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_17_10339.jpg', '/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_26_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/54/image_19042025_08_54_16_10338.jpg
/home/pi/Desktop/images/19042025/08/54/image_19042025_08_54_46_10374.jpg
/home/pi/Desktop/images/19042025/08/54/image_19042025_08_54_57_10401.jpg
/home/pi/Desktop/images/19042025/08/54/image_19042025_08_55_06_9430.jpg
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_17_10339.jpg
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_26_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351810722","1351810701","1351810729","1351810738","1351810692","1351810713"],"photo_ids_order":["1351810692","1351810701","1351810713","1351810722","1351810729","1351810738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1334120ec77d87b866823e437421c225.jpg","text":"TemporaryFile(/tmp/multipartBody4320022282912349564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060253264,"filename":"image_19042025_08_55_06_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/54d8644185616c19a6c7b704fda27dae.jpg","text":"TemporaryFile(/tmp/multipartBody6717091792648445817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060253264,"filename":"image_19042025_08_54_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/19/5e04ecb4aad8b791607e3b5c4db5e51d.jpg","text":"TemporaryFile(/tmp/multipartBody9053452521332048769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060253264,"filename":"image_19042025_08_55_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f7453393b64d0072209d80ce103bc90.jpg","text":"TemporaryFile(/tmp/multipartBody5511550398376296163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060253264,"filename":"image_19042025_08_55_26_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a27c6d05cd45118267de07302fc76728.jpg","text":"TemporaryFile(/tmp/multipartBody1278675133582278316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060253264,"filename":"image_19042025_08_54_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/19/5a0558150e3d04386d7c9c055acc2441.jpg","text":"TemporaryFile(/tmp/multipartBody2449150638600194473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060253264,"filename":"image_19042025_08_54_57_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810713","file1":"1351810701","file0":"1351810692","file4":"1351810729","file5":"1351810738","file3":"1351810722"},"map_files_photo_id_array":[{"photo_id":"1351810738","filename":"file5"},{"photo_id":"1351810713","filename":"file2"},{"photo_id":"1351810729","filename":"file4"},{"photo_id":"1351810701","filename":"file1"},{"photo_id":"1351810692","filename":"file0"},{"photo_id":"1351810722","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810722":["hashtag1","hashtag2"]},{"1351810701":["hashtag1","hashtag2"]},{"1351810729":["hashtag1","hashtag2"]},{"1351810738":["hashtag1","hashtag2"]},{"1351810692":["hashtag1","hashtag2"]},{"1351810713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810722, 1351810701, 1351810729, 1351810738, 1351810692, 1351810713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.27828645706177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:57:33.002279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_36_10354.jpg', '/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_47_10386.jpg', '/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_56_9437.jpg', '/home/pi/Desktop/images/19042025/08/55/image_19042025_08_56_07_10351.jpg', '/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_16_9354.jpg', '/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_26_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_36_10354.jpg
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_47_10386.jpg
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_56_9437.jpg
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_56_07_10351.jpg
/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_16_9354.jpg
/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_26_10412.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-19 12:59:04.337527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_36_10354.jpg', '/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_47_10386.jpg', '/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_56_9437.jpg', '/home/pi/Desktop/images/19042025/08/55/image_19042025_08_56_07_10351.jpg', '/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_16_9354.jpg', '/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_26_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_36_10354.jpg
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_47_10386.jpg
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_55_56_9437.jpg
/home/pi/Desktop/images/19042025/08/55/image_19042025_08_56_07_10351.jpg
/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_16_9354.jpg
/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_26_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351810916","1351810904","1351810933","1351810920","1351810926","1351810911"],"photo_ids_order":["1351810904","1351810911","1351810916","1351810920","1351810926","1351810933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc06d49c9a188baefdb9a580203c0666.jpg","text":"TemporaryFile(/tmp/multipartBody3386672818589438592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060404905,"filename":"image_19042025_08_55_56_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/db223acf79f32bd0d7914838629ed365.jpg","text":"TemporaryFile(/tmp/multipartBody7978234149930004585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060404905,"filename":"image_19042025_08_55_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/19/fc25a803884645df080fabee1184d3f0.jpg","text":"TemporaryFile(/tmp/multipartBody744500166722569098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060404905,"filename":"image_19042025_08_56_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/19/f9caca42d34df54980cdb01c30f39337.jpg","text":"TemporaryFile(/tmp/multipartBody556941183801133612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060404905,"filename":"image_19042025_08_56_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/19/ae7b1015c09c9a664e4cc8eaa085d400.jpg","text":"TemporaryFile(/tmp/multipartBody4260235244274253105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060404905,"filename":"image_19042025_08_56_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/19/d4524989267a75ac4e88dbdf268d7d79.jpg","text":"TemporaryFile(/tmp/multipartBody2876654947793152979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060404905,"filename":"image_19042025_08_55_47_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810916","file1":"1351810911","file0":"1351810904","file4":"1351810926","file5":"1351810933","file3":"1351810920"},"map_files_photo_id_array":[{"photo_id":"1351810933","filename":"file5"},{"photo_id":"1351810916","filename":"file2"},{"photo_id":"1351810926","filename":"file4"},{"photo_id":"1351810911","filename":"file1"},{"photo_id":"1351810904","filename":"file0"},{"photo_id":"1351810920","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351810916":["hashtag1","hashtag2"]},{"1351810904":["hashtag1","hashtag2"]},{"1351810933":["hashtag1","hashtag2"]},{"1351810920":["hashtag1","hashtag2"]},{"1351810926":["hashtag1","hashtag2"]},{"1351810911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351810916, 1351810904, 1351810933, 1351810920, 1351810926, 1351810911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.172221183776855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 12:59:52.635266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_37_10450.jpg', '/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_46_9403.jpg', '/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_57_10365.jpg', '/home/pi/Desktop/images/19042025/08/56/image_19042025_08_57_06_9372.jpg', '/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_16_10346.jpg', '/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_27_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_37_10450.jpg
/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_46_9403.jpg
/home/pi/Desktop/images/19042025/08/56/image_19042025_08_56_57_10365.jpg
/home/pi/Desktop/images/19042025/08/56/image_19042025_08_57_06_9372.jpg
/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_16_10346.jpg
/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_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":["1351811087","1351810973","1351811116","1351810945","1351811172","1351811145"],"photo_ids_order":["1351810945","1351810973","1351811087","1351811116","1351811145","1351811172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a101ede28badbd0735bb5382bd65979.jpg","text":"TemporaryFile(/tmp/multipartBody2624638042479488463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060453169,"filename":"image_19042025_08_56_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/19/18fc3d2589aa0bee346a7946b7c8120d.jpg","text":"TemporaryFile(/tmp/multipartBody2340561871935259191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060453169,"filename":"image_19042025_08_56_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/19/b7c6c0afe2f7d5249fc6e00ae51cee27.jpg","text":"TemporaryFile(/tmp/multipartBody7884385538854968151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060453169,"filename":"image_19042025_08_57_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/19/c308a38a78ff5c7b36d6ce34dd3fda45.jpg","text":"TemporaryFile(/tmp/multipartBody6625425692981847291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060453169,"filename":"image_19042025_08_56_37_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc874879d1517fa07d3ea365617dfa6c.jpg","text":"TemporaryFile(/tmp/multipartBody4323825749585438017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060453169,"filename":"image_19042025_08_57_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/19/63305d9d3424b8f82300bee2c59d80ea.jpg","text":"TemporaryFile(/tmp/multipartBody8549680379706387016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060453169,"filename":"image_19042025_08_57_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351811087","file1":"1351810973","file0":"1351810945","file4":"1351811145","file5":"1351811172","file3":"1351811116"},"map_files_photo_id_array":[{"photo_id":"1351811172","filename":"file5"},{"photo_id":"1351811087","filename":"file2"},{"photo_id":"1351811145","filename":"file4"},{"photo_id":"1351810973","filename":"file1"},{"photo_id":"1351810945","filename":"file0"},{"photo_id":"1351811116","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351811087":["hashtag1","hashtag2"]},{"1351810973":["hashtag1","hashtag2"]},{"1351811116":["hashtag1","hashtag2"]},{"1351810945":["hashtag1","hashtag2"]},{"1351811172":["hashtag1","hashtag2"]},{"1351811145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351811087, 1351810973, 1351811116, 1351810945, 1351811172, 1351811145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.625372886657715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 13:00:42.884643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_36_9388.jpg', '/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_47_10437.jpg', '/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_57_10369.jpg', '/home/pi/Desktop/images/19042025/08/57/image_19042025_08_58_06_9342.jpg', '/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_17_10406.jpg', '/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_26_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_36_9388.jpg
/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_47_10437.jpg
/home/pi/Desktop/images/19042025/08/57/image_19042025_08_57_57_10369.jpg
/home/pi/Desktop/images/19042025/08/57/image_19042025_08_58_06_9342.jpg
/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_17_10406.jpg
/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_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":["1351811450","1351811345","1351811315","1351811380","1351811421","1351811282"],"photo_ids_order":["1351811282","1351811315","1351811345","1351811380","1351811421","1351811450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/023547df884379e5b24c5ba94f1bab0c.jpg","text":"TemporaryFile(/tmp/multipartBody9125020762070455640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060503436,"filename":"image_19042025_08_58_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/19/da86642b070dd36feedfd2e0bf4052a8.jpg","text":"TemporaryFile(/tmp/multipartBody4965580158934311006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060503436,"filename":"image_19042025_08_57_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b68de2031f77a95e5e04ef4bfb902015.jpg","text":"TemporaryFile(/tmp/multipartBody1763114903445760087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060503436,"filename":"image_19042025_08_57_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/19/bffb46cba809502d37c93c35d46cc411.jpg","text":"TemporaryFile(/tmp/multipartBody513496471410686545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060503436,"filename":"image_19042025_08_58_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/19/e037ee336f41f8f49073b7028a9f4883.jpg","text":"TemporaryFile(/tmp/multipartBody2010216680723022421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060503436,"filename":"image_19042025_08_58_17_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8df00584821c32fc506754b53ee437af.jpg","text":"TemporaryFile(/tmp/multipartBody4997089014849636293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060503436,"filename":"image_19042025_08_57_36_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351811345","file1":"1351811315","file0":"1351811282","file4":"1351811421","file5":"1351811450","file3":"1351811380"},"map_files_photo_id_array":[{"photo_id":"1351811450","filename":"file5"},{"photo_id":"1351811345","filename":"file2"},{"photo_id":"1351811421","filename":"file4"},{"photo_id":"1351811315","filename":"file1"},{"photo_id":"1351811282","filename":"file0"},{"photo_id":"1351811380","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351811450":["hashtag1","hashtag2"]},{"1351811345":["hashtag1","hashtag2"]},{"1351811315":["hashtag1","hashtag2"]},{"1351811380":["hashtag1","hashtag2"]},{"1351811421":["hashtag1","hashtag2"]},{"1351811282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351811450, 1351811345, 1351811315, 1351811380, 1351811421, 1351811282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.25089168548584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:01:33.044893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_36_10352.jpg', '/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_47_10411.jpg', '/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_56_9352.jpg', '/home/pi/Desktop/images/19042025/08/58/image_19042025_08_59_07_10385.jpg', '/home/pi/Desktop/images/19042025/08/59/image_19042025_08_59_16_9365.jpg', '/home/pi/Desktop/images/19042025/08/59/image_19042025_08_59_26_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_36_10352.jpg
/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_47_10411.jpg
/home/pi/Desktop/images/19042025/08/58/image_19042025_08_58_56_9352.jpg
/home/pi/Desktop/images/19042025/08/58/image_19042025_08_59_07_10385.jpg
/home/pi/Desktop/images/19042025/08/59/image_19042025_08_59_16_9365.jpg
/home/pi/Desktop/images/19042025/08/59/image_19042025_08_59_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":["1351812014","1351811768","1351812046","1351811965","1351812035","1351812017"],"photo_ids_order":["1351811768","1351811965","1351812014","1351812017","1351812035","1351812046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d5b8d2249afbbf5eaff77ea250c5854.jpg","text":"TemporaryFile(/tmp/multipartBody4808798181551148614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060553590,"filename":"image_19042025_08_58_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e8d2f8a1fb4286c15430f240bd1357f8.jpg","text":"TemporaryFile(/tmp/multipartBody851803315619582671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060553590,"filename":"image_19042025_08_58_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e30fe91f926b3f86fd7fa401a801d059.jpg","text":"TemporaryFile(/tmp/multipartBody3353167693813835086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060553590,"filename":"image_19042025_08_59_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/19/874718f9ad6f68e34c4a213e096ddd2d.jpg","text":"TemporaryFile(/tmp/multipartBody2228712336444526433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060553590,"filename":"image_19042025_08_58_47_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/77441b0877cdd99ee44ce333d56b0684.jpg","text":"TemporaryFile(/tmp/multipartBody1385717055864043636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060553590,"filename":"image_19042025_08_59_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/19/5e4ab16556f5222922b04980490b6d53.jpg","text":"TemporaryFile(/tmp/multipartBody1938344676953384484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060553590,"filename":"image_19042025_08_59_07_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351812014","file1":"1351811965","file0":"1351811768","file4":"1351812035","file5":"1351812046","file3":"1351812017"},"map_files_photo_id_array":[{"photo_id":"1351812046","filename":"file5"},{"photo_id":"1351812014","filename":"file2"},{"photo_id":"1351812035","filename":"file4"},{"photo_id":"1351811965","filename":"file1"},{"photo_id":"1351811768","filename":"file0"},{"photo_id":"1351812017","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351812014":["hashtag1","hashtag2"]},{"1351811768":["hashtag1","hashtag2"]},{"1351812046":["hashtag1","hashtag2"]},{"1351811965":["hashtag1","hashtag2"]},{"1351812035":["hashtag1","hashtag2"]},{"1351812017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351812014, 1351811768, 1351812046, 1351811965, 1351812035, 1351812017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83731198310852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:02:32.215520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/08/59/image_19042025_08_59_46_9462.jpg', '/home/pi/Desktop/images/19042025/08/59/image_19042025_08_59_56_10358.jpg', '/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_15_10073.jpg', '/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_26_10372.jpg', '/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_36_10456.jpg', '/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_46_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/08/59/image_19042025_08_59_46_9462.jpg
/home/pi/Desktop/images/19042025/08/59/image_19042025_08_59_56_10358.jpg
/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_15_10073.jpg
/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_26_10372.jpg
/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_36_10456.jpg
/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_46_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351812346","1351812226","1351812399","1351812294","1351812204","1351812132"],"photo_ids_order":["1351812132","1351812204","1351812226","1351812294","1351812346","1351812399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6cb7659ba4c5adfde0efbf29345c005f.jpg","text":"TemporaryFile(/tmp/multipartBody533887796280559742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060612791,"filename":"image_19042025_09_00_36_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8efae6878ce40ce38ac7cf506d93d3bf.jpg","text":"TemporaryFile(/tmp/multipartBody5582817179623015284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060612791,"filename":"image_19042025_09_00_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/19/3fa81c3f787d29e3e3cfd70f22634e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8870330049123799506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060612791,"filename":"image_19042025_09_00_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/19/d4493e93ba9be0ae0422fa8cf65a2b3d.jpg","text":"TemporaryFile(/tmp/multipartBody8776088744693315484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060612791,"filename":"image_19042025_09_00_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/19/2fd21f30167c2c3ae59d57b8e0e96582.jpg","text":"TemporaryFile(/tmp/multipartBody3959085025561530734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060612791,"filename":"image_19042025_08_59_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/19/603cd1abc0765c5c92e85cb9ecfd52a8.jpg","text":"TemporaryFile(/tmp/multipartBody888022549148537739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060612791,"filename":"image_19042025_08_59_46_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351812226","file1":"1351812204","file0":"1351812132","file4":"1351812346","file5":"1351812399","file3":"1351812294"},"map_files_photo_id_array":[{"photo_id":"1351812399","filename":"file5"},{"photo_id":"1351812226","filename":"file2"},{"photo_id":"1351812346","filename":"file4"},{"photo_id":"1351812204","filename":"file1"},{"photo_id":"1351812132","filename":"file0"},{"photo_id":"1351812294","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351812346":["hashtag1","hashtag2"]},{"1351812226":["hashtag1","hashtag2"]},{"1351812399":["hashtag1","hashtag2"]},{"1351812294":["hashtag1","hashtag2"]},{"1351812204":["hashtag1","hashtag2"]},{"1351812132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351812346, 1351812226, 1351812399, 1351812294, 1351812204, 1351812132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38217878341675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:03:32.399831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_56_10359.jpg', '/home/pi/Desktop/images/19042025/09/00/image_19042025_09_01_05_9340.jpg', '/home/pi/Desktop/images/19042025/09/01/image_19042025_09_01_16_10352.jpg', '/home/pi/Desktop/images/19042025/09/01/image_19042025_09_01_26_10351.jpg', '/home/pi/Desktop/images/19042025/09/01/image_19042025_09_01_56_10368.jpg', '/home/pi/Desktop/images/19042025/09/01/image_19042025_09_02_05_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/00/image_19042025_09_00_56_10359.jpg
/home/pi/Desktop/images/19042025/09/00/image_19042025_09_01_05_9340.jpg
/home/pi/Desktop/images/19042025/09/01/image_19042025_09_01_16_10352.jpg
/home/pi/Desktop/images/19042025/09/01/image_19042025_09_01_26_10351.jpg
/home/pi/Desktop/images/19042025/09/01/image_19042025_09_01_56_10368.jpg
/home/pi/Desktop/images/19042025/09/01/image_19042025_09_02_05_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351812979","1351813191","1351813061","1351813118","1351813010","1351812926"],"photo_ids_order":["1351812926","1351812979","1351813010","1351813061","1351813118","1351813191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5f905d2f804219b1e877ab2f2f16ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8801604868475391132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060673185,"filename":"image_19042025_09_01_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/19/b5b1e0a8a6a75e3907cf7fbf1474a5e5.jpg","text":"TemporaryFile(/tmp/multipartBody1180267407197137793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060673185,"filename":"image_19042025_09_02_05_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/19/720ac9e43a4dfccbb3614682ce30c0ba.jpg","text":"TemporaryFile(/tmp/multipartBody7290110606496444812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060673185,"filename":"image_19042025_09_01_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/19/fdb1ee75848d00e5751b868b7576e0b6.jpg","text":"TemporaryFile(/tmp/multipartBody3786939190821827068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060673185,"filename":"image_19042025_09_01_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/19/446409092a96fb97358ca62a7a08b5fe.jpg","text":"TemporaryFile(/tmp/multipartBody1948132384067415550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060673185,"filename":"image_19042025_09_01_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/03c3bc670554c2aa839e576e464de458.jpg","text":"TemporaryFile(/tmp/multipartBody5986676880777380733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060673185,"filename":"image_19042025_09_00_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351813010","file1":"1351812979","file0":"1351812926","file4":"1351813118","file5":"1351813191","file3":"1351813061"},"map_files_photo_id_array":[{"photo_id":"1351813191","filename":"file5"},{"photo_id":"1351813010","filename":"file2"},{"photo_id":"1351813118","filename":"file4"},{"photo_id":"1351812979","filename":"file1"},{"photo_id":"1351812926","filename":"file0"},{"photo_id":"1351813061","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351812979":["hashtag1","hashtag2"]},{"1351813191":["hashtag1","hashtag2"]},{"1351813061":["hashtag1","hashtag2"]},{"1351813118":["hashtag1","hashtag2"]},{"1351813010":["hashtag1","hashtag2"]},{"1351812926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351812979, 1351813191, 1351813061, 1351813118, 1351813010, 1351812926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27322244644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:04:32.879820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/02/image_19042025_09_02_16_10465.jpg', '/home/pi/Desktop/images/19042025/09/02/image_19042025_09_02_46_10471.jpg', '/home/pi/Desktop/images/19042025/09/02/image_19042025_09_03_06_10393.jpg', '/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_16_10351.jpg', '/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_26_9339.jpg', '/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_36_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/02/image_19042025_09_02_16_10465.jpg
/home/pi/Desktop/images/19042025/09/02/image_19042025_09_02_46_10471.jpg
/home/pi/Desktop/images/19042025/09/02/image_19042025_09_03_06_10393.jpg
/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_16_10351.jpg
/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_26_9339.jpg
/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_36_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":["1351813627","1351813890","1351813734","1351813838","1351813684","1351813786"],"photo_ids_order":["1351813627","1351813684","1351813734","1351813786","1351813838","1351813890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/380a7c0ba8d3bcdfbecf39d929ef4a67.jpg","text":"TemporaryFile(/tmp/multipartBody1582568241756124193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060733449,"filename":"image_19042025_09_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/19/aefb451616e39110e1283791f420f6c6.jpg","text":"TemporaryFile(/tmp/multipartBody8351450067832735366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060733449,"filename":"image_19042025_09_03_36_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5c68602a69913571acb1ba5c8d9fe2f7.jpg","text":"TemporaryFile(/tmp/multipartBody8531639012910585354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060733449,"filename":"image_19042025_09_03_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d49bf27766988aec6c58a0f4c107922.jpg","text":"TemporaryFile(/tmp/multipartBody7482210433612198496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060733449,"filename":"image_19042025_09_03_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9ca1be5ac25388c9c1d0f782c2cd7a31.jpg","text":"TemporaryFile(/tmp/multipartBody716899010106751138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060733449,"filename":"image_19042025_09_02_46_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f17c3725be3b09d8165cd5d96c7d4b16.jpg","text":"TemporaryFile(/tmp/multipartBody2852440478310360852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060733449,"filename":"image_19042025_09_03_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351813734","file1":"1351813684","file0":"1351813627","file4":"1351813838","file5":"1351813890","file3":"1351813786"},"map_files_photo_id_array":[{"photo_id":"1351813890","filename":"file5"},{"photo_id":"1351813734","filename":"file2"},{"photo_id":"1351813838","filename":"file4"},{"photo_id":"1351813684","filename":"file1"},{"photo_id":"1351813627","filename":"file0"},{"photo_id":"1351813786","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351813627":["hashtag1","hashtag2"]},{"1351813890":["hashtag1","hashtag2"]},{"1351813734":["hashtag1","hashtag2"]},{"1351813838":["hashtag1","hashtag2"]},{"1351813684":["hashtag1","hashtag2"]},{"1351813786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351813627, 1351813890, 1351813734, 1351813838, 1351813684, 1351813786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.09058904647827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:05:33.210074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_45_9455.jpg', '/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_56_10439.jpg', '/home/pi/Desktop/images/19042025/09/04/image_19042025_09_04_35_9340.jpg', '/home/pi/Desktop/images/19042025/09/04/image_19042025_09_05_05_9352.jpg', '/home/pi/Desktop/images/19042025/09/05/image_19042025_09_05_26_10365.jpg', '/home/pi/Desktop/images/19042025/09/05/image_19042025_09_05_35_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_45_9455.jpg
/home/pi/Desktop/images/19042025/09/03/image_19042025_09_03_56_10439.jpg
/home/pi/Desktop/images/19042025/09/04/image_19042025_09_04_35_9340.jpg
/home/pi/Desktop/images/19042025/09/04/image_19042025_09_05_05_9352.jpg
/home/pi/Desktop/images/19042025/09/05/image_19042025_09_05_26_10365.jpg
/home/pi/Desktop/images/19042025/09/05/image_19042025_09_05_35_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351814388","1351814360","1351814228","1351814284","1351814326","1351814257"],"photo_ids_order":["1351814228","1351814257","1351814284","1351814326","1351814360","1351814388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3bee172cb453d4e637621e937f80b697.jpg","text":"TemporaryFile(/tmp/multipartBody3329666844951110728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060793771,"filename":"image_19042025_09_05_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/19/2c69f8856be6d7dcc8162dc95904d068.jpg","text":"TemporaryFile(/tmp/multipartBody6363140853779634425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060793771,"filename":"image_19042025_09_05_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/19/b7692f5b4f134d15988c063ef7bd6307.jpg","text":"TemporaryFile(/tmp/multipartBody3775450792543878544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060793771,"filename":"image_19042025_09_03_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/19/8e88e8027377143a9bd691489838d504.jpg","text":"TemporaryFile(/tmp/multipartBody9123831572181119317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060793771,"filename":"image_19042025_09_04_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e0848e7d4825c194526c02240020a107.jpg","text":"TemporaryFile(/tmp/multipartBody2516154739853123426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060793771,"filename":"image_19042025_09_05_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/19/58ae024cefb0f3bdd3a2f9ec5db6a397.jpg","text":"TemporaryFile(/tmp/multipartBody193632570931801193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060793771,"filename":"image_19042025_09_03_56_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351814284","file1":"1351814257","file0":"1351814228","file4":"1351814360","file5":"1351814388","file3":"1351814326"},"map_files_photo_id_array":[{"photo_id":"1351814388","filename":"file5"},{"photo_id":"1351814284","filename":"file2"},{"photo_id":"1351814360","filename":"file4"},{"photo_id":"1351814257","filename":"file1"},{"photo_id":"1351814228","filename":"file0"},{"photo_id":"1351814326","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351814388":["hashtag1","hashtag2"]},{"1351814360":["hashtag1","hashtag2"]},{"1351814228":["hashtag1","hashtag2"]},{"1351814284":["hashtag1","hashtag2"]},{"1351814326":["hashtag1","hashtag2"]},{"1351814257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351814388, 1351814360, 1351814228, 1351814284, 1351814326, 1351814257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.924067974090576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:06:32.381825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/05/image_19042025_09_05_46_10460.jpg', '/home/pi/Desktop/images/19042025/09/05/image_19042025_09_05_55_9344.jpg', '/home/pi/Desktop/images/19042025/09/05/image_19042025_09_06_06_10347.jpg', '/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_16_10333.jpg', '/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_25_9361.jpg', '/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_36_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/05/image_19042025_09_05_46_10460.jpg
/home/pi/Desktop/images/19042025/09/05/image_19042025_09_05_55_9344.jpg
/home/pi/Desktop/images/19042025/09/05/image_19042025_09_06_06_10347.jpg
/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_16_10333.jpg
/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_25_9361.jpg
/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_36_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":["1351814602","1351814571","1351814576","1351814573","1351814567","1351814563"],"photo_ids_order":["1351814563","1351814567","1351814571","1351814573","1351814576","1351814602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f8aaaaa96f32fb0c52c134751192add.jpg","text":"TemporaryFile(/tmp/multipartBody7623342214407864530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060852925,"filename":"image_19042025_09_06_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/19/ba80cb49516c1a16842e01a000fba9ec.jpg","text":"TemporaryFile(/tmp/multipartBody5100326830888802486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060852925,"filename":"image_19042025_09_06_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/19/0bd37aefd1de6c508bb5cacc8631f8aa.jpg","text":"TemporaryFile(/tmp/multipartBody5362063985648774448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060852925,"filename":"image_19042025_09_06_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/19/0d70a9049c844deaede03b04a08f3255.jpg","text":"TemporaryFile(/tmp/multipartBody6789833913154759317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060852925,"filename":"image_19042025_09_06_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35dd4077122d23ff8e67df10697fb988.jpg","text":"TemporaryFile(/tmp/multipartBody9135307433308314618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060852925,"filename":"image_19042025_09_05_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/19/189e6923cbd95680ad3bd141e55dbd26.jpg","text":"TemporaryFile(/tmp/multipartBody1944375904306652036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060852925,"filename":"image_19042025_09_05_46_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351814571","file1":"1351814567","file0":"1351814563","file4":"1351814576","file5":"1351814602","file3":"1351814573"},"map_files_photo_id_array":[{"photo_id":"1351814602","filename":"file5"},{"photo_id":"1351814571","filename":"file2"},{"photo_id":"1351814576","filename":"file4"},{"photo_id":"1351814567","filename":"file1"},{"photo_id":"1351814563","filename":"file0"},{"photo_id":"1351814573","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351814602":["hashtag1","hashtag2"]},{"1351814571":["hashtag1","hashtag2"]},{"1351814576":["hashtag1","hashtag2"]},{"1351814573":["hashtag1","hashtag2"]},{"1351814567":["hashtag1","hashtag2"]},{"1351814563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351814602, 1351814571, 1351814576, 1351814573, 1351814567, 1351814563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.388049602508545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:07:32.705656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_46_10430.jpg', '/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_55_9353.jpg', '/home/pi/Desktop/images/19042025/09/12/image_19042025_09_12_53_10348.jpg', '/home/pi/Desktop/images/19042025/09/12/image_19042025_09_13_02_9428.jpg', '/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_12_10334.jpg', '/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_23_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_46_10430.jpg
/home/pi/Desktop/images/19042025/09/06/image_19042025_09_06_55_9353.jpg
/home/pi/Desktop/images/19042025/09/12/image_19042025_09_12_53_10348.jpg
/home/pi/Desktop/images/19042025/09/12/image_19042025_09_13_02_9428.jpg
/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_12_10334.jpg
/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_23_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":["1351815462","1351815357","1351815191","1351815275","1351815145","1351815406"],"photo_ids_order":["1351815145","1351815191","1351815275","1351815357","1351815406","1351815462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20103ee18ef03878d67fedfc0a82f5b5.jpg","text":"TemporaryFile(/tmp/multipartBody6693516918723522939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060913236,"filename":"image_19042025_09_13_23_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/19/6b520c2dd58adb33d3398e92eb9cfedf.jpg","text":"TemporaryFile(/tmp/multipartBody8831178321097275648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060913236,"filename":"image_19042025_09_13_02_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/19/bf281e678cd6b70861cd540eec950b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3662047365117111331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060913236,"filename":"image_19042025_09_06_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8aa744343b0a093bfde4345503ad765f.jpg","text":"TemporaryFile(/tmp/multipartBody5049732088164700327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060913236,"filename":"image_19042025_09_12_53_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/19/0f935187310dd1e1858d895ead7f37f4.jpg","text":"TemporaryFile(/tmp/multipartBody7676705067751314020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060913236,"filename":"image_19042025_09_06_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/19/3b809a0a94183e02c0a1ac050ecd1aad.jpg","text":"TemporaryFile(/tmp/multipartBody3287525054060013127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060913236,"filename":"image_19042025_09_13_12_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351815275","file1":"1351815191","file0":"1351815145","file4":"1351815406","file5":"1351815462","file3":"1351815357"},"map_files_photo_id_array":[{"photo_id":"1351815462","filename":"file5"},{"photo_id":"1351815275","filename":"file2"},{"photo_id":"1351815406","filename":"file4"},{"photo_id":"1351815191","filename":"file1"},{"photo_id":"1351815145","filename":"file0"},{"photo_id":"1351815357","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351815462":["hashtag1","hashtag2"]},{"1351815357":["hashtag1","hashtag2"]},{"1351815191":["hashtag1","hashtag2"]},{"1351815275":["hashtag1","hashtag2"]},{"1351815145":["hashtag1","hashtag2"]},{"1351815406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351815462, 1351815357, 1351815191, 1351815275, 1351815145, 1351815406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5684335231781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:08:32.882174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_32_9383.jpg', '/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_43_10376.jpg', '/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_52_9358.jpg', '/home/pi/Desktop/images/19042025/09/13/image_19042025_09_14_02_10392.jpg', '/home/pi/Desktop/images/19042025/09/14/image_19042025_09_14_13_10482.jpg', '/home/pi/Desktop/images/19042025/09/14/image_19042025_09_14_22_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_32_9383.jpg
/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_43_10376.jpg
/home/pi/Desktop/images/19042025/09/13/image_19042025_09_13_52_9358.jpg
/home/pi/Desktop/images/19042025/09/13/image_19042025_09_14_02_10392.jpg
/home/pi/Desktop/images/19042025/09/14/image_19042025_09_14_13_10482.jpg
/home/pi/Desktop/images/19042025/09/14/image_19042025_09_14_22_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":["1351815998","1351816025","1351815917","1351816015","1351815853","1351815856"],"photo_ids_order":["1351815853","1351815856","1351815917","1351815998","1351816015","1351816025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e38444d38dc1b936bdfbea72178d69a8.jpg","text":"TemporaryFile(/tmp/multipartBody7035883710318277095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060973416,"filename":"image_19042025_09_14_02_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/19/af7e945495153fa677d95b665db17a68.jpg","text":"TemporaryFile(/tmp/multipartBody3903563992472643005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060973416,"filename":"image_19042025_09_14_22_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/19/9ae0ccc8eefcef9892779e766c4a957f.jpg","text":"TemporaryFile(/tmp/multipartBody4339741885148201194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060973416,"filename":"image_19042025_09_13_52_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/19/d687d261f17981bd3babe47c54a09b68.jpg","text":"TemporaryFile(/tmp/multipartBody7470152728431169264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060973416,"filename":"image_19042025_09_14_13_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/19/7448355bd1d69ea15223686f17b411e1.jpg","text":"TemporaryFile(/tmp/multipartBody5177260905342030871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060973416,"filename":"image_19042025_09_13_32_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/19/12a1a384ae0c5830d415d61ef321e315.jpg","text":"TemporaryFile(/tmp/multipartBody4972099980468398344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745060973416,"filename":"image_19042025_09_13_43_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351815917","file1":"1351815856","file0":"1351815853","file4":"1351816015","file5":"1351816025","file3":"1351815998"},"map_files_photo_id_array":[{"photo_id":"1351816025","filename":"file5"},{"photo_id":"1351815917","filename":"file2"},{"photo_id":"1351816015","filename":"file4"},{"photo_id":"1351815856","filename":"file1"},{"photo_id":"1351815853","filename":"file0"},{"photo_id":"1351815998","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351815998":["hashtag1","hashtag2"]},{"1351816025":["hashtag1","hashtag2"]},{"1351815917":["hashtag1","hashtag2"]},{"1351816015":["hashtag1","hashtag2"]},{"1351815853":["hashtag1","hashtag2"]},{"1351815856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351815998, 1351816025, 1351815917, 1351816015, 1351815853, 1351815856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78945517539978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:09:33.166493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/14/image_19042025_09_14_42_9445.jpg', '/home/pi/Desktop/images/19042025/09/14/image_19042025_09_15_03_10360.jpg', '/home/pi/Desktop/images/19042025/09/15/image_19042025_09_16_02_9369.jpg', '/home/pi/Desktop/images/19042025/09/16/image_19042025_09_16_32_9435.jpg', '/home/pi/Desktop/images/19042025/09/16/image_19042025_09_16_42_10371.jpg', '/home/pi/Desktop/images/19042025/09/17/image_19042025_09_17_13_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/14/image_19042025_09_14_42_9445.jpg
/home/pi/Desktop/images/19042025/09/14/image_19042025_09_15_03_10360.jpg
/home/pi/Desktop/images/19042025/09/15/image_19042025_09_16_02_9369.jpg
/home/pi/Desktop/images/19042025/09/16/image_19042025_09_16_32_9435.jpg
/home/pi/Desktop/images/19042025/09/16/image_19042025_09_16_42_10371.jpg
/home/pi/Desktop/images/19042025/09/17/image_19042025_09_17_13_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":["1351816535","1351816594","1351816480","1351816414","1351816452","1351816509"],"photo_ids_order":["1351816414","1351816452","1351816480","1351816509","1351816535","1351816594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4ac04b4b30d4b7397f4b3bf69aced7be.jpg","text":"TemporaryFile(/tmp/multipartBody8933272702614345019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061033656,"filename":"image_19042025_09_16_42_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/19/920a78620c81b5c5d08931d2c81bbc10.jpg","text":"TemporaryFile(/tmp/multipartBody283097964569767571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061033656,"filename":"image_19042025_09_17_13_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/19/a92951dc3b9ec2a25089dfb3f59ab755.jpg","text":"TemporaryFile(/tmp/multipartBody48521559218272857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061033656,"filename":"image_19042025_09_16_02_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/19/b52ae7cca6e54103d15858776660d07f.jpg","text":"TemporaryFile(/tmp/multipartBody5314747315471677393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061033656,"filename":"image_19042025_09_14_42_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/19/7647b17aa81cdf8210d0183ca3967c45.jpg","text":"TemporaryFile(/tmp/multipartBody478709450261896166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061033656,"filename":"image_19042025_09_15_03_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/19/3fbcfb542bd52019cbb1b66b35385dae.jpg","text":"TemporaryFile(/tmp/multipartBody4599038152355437896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061033656,"filename":"image_19042025_09_16_32_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351816480","file1":"1351816452","file0":"1351816414","file4":"1351816535","file5":"1351816594","file3":"1351816509"},"map_files_photo_id_array":[{"photo_id":"1351816594","filename":"file5"},{"photo_id":"1351816480","filename":"file2"},{"photo_id":"1351816535","filename":"file4"},{"photo_id":"1351816452","filename":"file1"},{"photo_id":"1351816414","filename":"file0"},{"photo_id":"1351816509","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351816535":["hashtag1","hashtag2"]},{"1351816594":["hashtag1","hashtag2"]},{"1351816480":["hashtag1","hashtag2"]},{"1351816414":["hashtag1","hashtag2"]},{"1351816452":["hashtag1","hashtag2"]},{"1351816509":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351816535, 1351816594, 1351816480, 1351816414, 1351816452, 1351816509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3292338848114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:10:32.365245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/17/image_19042025_09_17_22_9443.jpg', '/home/pi/Desktop/images/19042025/09/17/image_19042025_09_18_03_10354.jpg', '/home/pi/Desktop/images/19042025/09/18/image_19042025_09_18_22_10367.jpg', '/home/pi/Desktop/images/19042025/09/18/image_19042025_09_18_32_9510.jpg', '/home/pi/Desktop/images/19042025/09/18/image_19042025_09_18_42_10442.jpg', '/home/pi/Desktop/images/19042025/09/18/image_19042025_09_18_53_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/17/image_19042025_09_17_22_9443.jpg
/home/pi/Desktop/images/19042025/09/17/image_19042025_09_18_03_10354.jpg
/home/pi/Desktop/images/19042025/09/18/image_19042025_09_18_22_10367.jpg
/home/pi/Desktop/images/19042025/09/18/image_19042025_09_18_32_9510.jpg
/home/pi/Desktop/images/19042025/09/18/image_19042025_09_18_42_10442.jpg
/home/pi/Desktop/images/19042025/09/18/image_19042025_09_18_53_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":["1351817159","1351817236","1351817002","1351817070","1351816968","1351817103"],"photo_ids_order":["1351816968","1351817002","1351817070","1351817103","1351817159","1351817236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2a078cd62fb9b3f496080402d2f752fa.jpg","text":"TemporaryFile(/tmp/multipartBody3045348560658718130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061092901,"filename":"image_19042025_09_18_42_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/19/6bb209de3f9b36e9e125a978809bf8c6.jpg","text":"TemporaryFile(/tmp/multipartBody2768220555455460996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061092901,"filename":"image_19042025_09_18_53_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/19/4784ee1d37234bd135a8de1bd34dcd46.jpg","text":"TemporaryFile(/tmp/multipartBody6662908386663286981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061092901,"filename":"image_19042025_09_18_03_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/19/ae14735e2609fbb8bc9eb5d591b70ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6205175382618056037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061092901,"filename":"image_19042025_09_18_22_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/19/7035444cdad0a3920968c8e4c638e3a8.jpg","text":"TemporaryFile(/tmp/multipartBody6223394697181071652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061092901,"filename":"image_19042025_09_17_22_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/19/f3a54d3035050c4316a1350c2906724a.jpg","text":"TemporaryFile(/tmp/multipartBody1496062663700483281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061092901,"filename":"image_19042025_09_18_32_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351817070","file1":"1351817002","file0":"1351816968","file4":"1351817159","file5":"1351817236","file3":"1351817103"},"map_files_photo_id_array":[{"photo_id":"1351817236","filename":"file5"},{"photo_id":"1351817070","filename":"file2"},{"photo_id":"1351817159","filename":"file4"},{"photo_id":"1351817002","filename":"file1"},{"photo_id":"1351816968","filename":"file0"},{"photo_id":"1351817103","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351817159":["hashtag1","hashtag2"]},{"1351817236":["hashtag1","hashtag2"]},{"1351817002":["hashtag1","hashtag2"]},{"1351817070":["hashtag1","hashtag2"]},{"1351816968":["hashtag1","hashtag2"]},{"1351817103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351817159, 1351817236, 1351817002, 1351817070, 1351816968, 1351817103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27602505683899 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:11:32.523393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/18/image_19042025_09_19_02_9420.jpg', '/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_12_10412.jpg', '/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_22_9377.jpg', '/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_32_10443.jpg', '/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_43_10375.jpg', '/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_52_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/18/image_19042025_09_19_02_9420.jpg
/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_12_10412.jpg
/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_22_9377.jpg
/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_32_10443.jpg
/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_43_10375.jpg
/home/pi/Desktop/images/19042025/09/19/image_19042025_09_19_52_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":["1351817494","1351817700","1351817637","1351817559","1351817660","1351817613"],"photo_ids_order":["1351817494","1351817559","1351817613","1351817637","1351817660","1351817700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e4f2364ddc84289b2181600dfb7f497.jpg","text":"TemporaryFile(/tmp/multipartBody470484301415826470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061153043,"filename":"image_19042025_09_19_02_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/19/78c9db3ed02632bf47d1403d8b892bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8530122340632800251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061153043,"filename":"image_19042025_09_19_52_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cad58e8892dbee76deffca29761cd8d7.jpg","text":"TemporaryFile(/tmp/multipartBody6539017413090941659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061153043,"filename":"image_19042025_09_19_32_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/19/468172e0e0b998751e509e8c61b69ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5803388251055042258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061153043,"filename":"image_19042025_09_19_12_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/19/24a5cba889fb5ac379e316f76614a6c3.jpg","text":"TemporaryFile(/tmp/multipartBody275181431141387089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061153043,"filename":"image_19042025_09_19_43_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/19/3daf9108129268ffd708d12e93fbfa2b.jpg","text":"TemporaryFile(/tmp/multipartBody7029962021418514053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061153043,"filename":"image_19042025_09_19_22_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351817613","file1":"1351817559","file0":"1351817494","file4":"1351817660","file5":"1351817700","file3":"1351817637"},"map_files_photo_id_array":[{"photo_id":"1351817700","filename":"file5"},{"photo_id":"1351817613","filename":"file2"},{"photo_id":"1351817660","filename":"file4"},{"photo_id":"1351817559","filename":"file1"},{"photo_id":"1351817494","filename":"file0"},{"photo_id":"1351817637","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351817494":["hashtag1","hashtag2"]},{"1351817700":["hashtag1","hashtag2"]},{"1351817637":["hashtag1","hashtag2"]},{"1351817559":["hashtag1","hashtag2"]},{"1351817660":["hashtag1","hashtag2"]},{"1351817613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351817494, 1351817700, 1351817637, 1351817559, 1351817660, 1351817613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21126127243042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:12:32.733200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/19/image_19042025_09_20_02_10351.jpg', '/home/pi/Desktop/images/19042025/09/20/image_19042025_09_20_12_9464.jpg', '/home/pi/Desktop/images/19042025/09/20/image_19042025_09_20_22_10390.jpg', '/home/pi/Desktop/images/19042025/09/20/image_19042025_09_20_33_10547.jpg', '/home/pi/Desktop/images/19042025/09/20/image_19042025_09_20_42_9389.jpg', '/home/pi/Desktop/images/19042025/09/20/image_19042025_09_21_02_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/19/image_19042025_09_20_02_10351.jpg
/home/pi/Desktop/images/19042025/09/20/image_19042025_09_20_12_9464.jpg
/home/pi/Desktop/images/19042025/09/20/image_19042025_09_20_22_10390.jpg
/home/pi/Desktop/images/19042025/09/20/image_19042025_09_20_33_10547.jpg
/home/pi/Desktop/images/19042025/09/20/image_19042025_09_20_42_9389.jpg
/home/pi/Desktop/images/19042025/09/20/image_19042025_09_21_02_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":["1351817939","1351817896","1351817890","1351817893","1351817850","1351817885"],"photo_ids_order":["1351817850","1351817885","1351817890","1351817893","1351817896","1351817939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/847a9c0c854aed2a209765678cb88e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5677850455641483964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061213282,"filename":"image_19042025_09_21_02_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/19/b39d9253e3f855bb0deb7d706fce3c66.jpg","text":"TemporaryFile(/tmp/multipartBody7426586683862672361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061213282,"filename":"image_19042025_09_20_42_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/19/2581da9f1cb92e2f8306bc144abafcfe.jpg","text":"TemporaryFile(/tmp/multipartBody8674093169128664056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061213282,"filename":"image_19042025_09_20_22_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/19/a3b966ec3953c2d05b7b562b48726970.jpg","text":"TemporaryFile(/tmp/multipartBody7183857867032683764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061213282,"filename":"image_19042025_09_20_33_10547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/143b45c99d32824663e1bcd4830bd30a.jpg","text":"TemporaryFile(/tmp/multipartBody7526062410485464218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061213282,"filename":"image_19042025_09_20_02_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/19/ac58d7c81f6d985e34137600d06eb5e5.jpg","text":"TemporaryFile(/tmp/multipartBody147917650407872402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061213282,"filename":"image_19042025_09_20_12_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351817890","file1":"1351817885","file0":"1351817850","file4":"1351817896","file5":"1351817939","file3":"1351817893"},"map_files_photo_id_array":[{"photo_id":"1351817939","filename":"file5"},{"photo_id":"1351817890","filename":"file2"},{"photo_id":"1351817896","filename":"file4"},{"photo_id":"1351817885","filename":"file1"},{"photo_id":"1351817850","filename":"file0"},{"photo_id":"1351817893","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351817939":["hashtag1","hashtag2"]},{"1351817896":["hashtag1","hashtag2"]},{"1351817890":["hashtag1","hashtag2"]},{"1351817893":["hashtag1","hashtag2"]},{"1351817850":["hashtag1","hashtag2"]},{"1351817885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351817939, 1351817896, 1351817890, 1351817893, 1351817850, 1351817885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13819932937622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:13:32.999200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_12_10368.jpg', '/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_22_9460.jpg', '/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_32_10380.jpg', '/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_43_10351.jpg', '/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_52_9354.jpg', '/home/pi/Desktop/images/19042025/09/21/image_19042025_09_22_02_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_12_10368.jpg
/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_22_9460.jpg
/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_32_10380.jpg
/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_43_10351.jpg
/home/pi/Desktop/images/19042025/09/21/image_19042025_09_21_52_9354.jpg
/home/pi/Desktop/images/19042025/09/21/image_19042025_09_22_02_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":["1351818076","1351817989","1351818133","1351817986","1351818007","1351818038"],"photo_ids_order":["1351817986","1351817989","1351818007","1351818038","1351818076","1351818133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3653bfba2b78047a239e3d00b95f6230.jpg","text":"TemporaryFile(/tmp/multipartBody8169401452855376791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061273524,"filename":"image_19042025_09_21_52_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/19/6d5a20d3e044d0e40ac86966da3f5796.jpg","text":"TemporaryFile(/tmp/multipartBody365320762050089616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061273524,"filename":"image_19042025_09_21_22_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/19/26b82f8e0c392e4214ec2117b19a8e9d.jpg","text":"TemporaryFile(/tmp/multipartBody4093969216930735084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061273524,"filename":"image_19042025_09_22_02_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/19/375bf55a5676cc5f134f5a0451767856.jpg","text":"TemporaryFile(/tmp/multipartBody4151136448725195879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061273524,"filename":"image_19042025_09_21_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/19/908b93fac8c69d53130cd1c3a3defd8d.jpg","text":"TemporaryFile(/tmp/multipartBody5950630324033875536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061273524,"filename":"image_19042025_09_21_32_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/19/b58f43720a8234a214ecad3020bdb4b5.jpg","text":"TemporaryFile(/tmp/multipartBody2011415989688072130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061273524,"filename":"image_19042025_09_21_43_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351818007","file1":"1351817989","file0":"1351817986","file4":"1351818076","file5":"1351818133","file3":"1351818038"},"map_files_photo_id_array":[{"photo_id":"1351818133","filename":"file5"},{"photo_id":"1351818007","filename":"file2"},{"photo_id":"1351818076","filename":"file4"},{"photo_id":"1351817989","filename":"file1"},{"photo_id":"1351817986","filename":"file0"},{"photo_id":"1351818038","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351818076":["hashtag1","hashtag2"]},{"1351817989":["hashtag1","hashtag2"]},{"1351818133":["hashtag1","hashtag2"]},{"1351817986":["hashtag1","hashtag2"]},{"1351818007":["hashtag1","hashtag2"]},{"1351818038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351818076, 1351817989, 1351818133, 1351817986, 1351818007, 1351818038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20669150352478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:14:33.137170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/22/image_19042025_09_22_13_10461.jpg', '/home/pi/Desktop/images/19042025/09/22/image_19042025_09_22_22_9362.jpg', '/home/pi/Desktop/images/19042025/09/22/image_19042025_09_23_03_10362.jpg', '/home/pi/Desktop/images/19042025/09/23/image_19042025_09_23_22_10381.jpg', '/home/pi/Desktop/images/19042025/09/23/image_19042025_09_23_32_9377.jpg', '/home/pi/Desktop/images/19042025/09/23/image_19042025_09_23_42_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/22/image_19042025_09_22_13_10461.jpg
/home/pi/Desktop/images/19042025/09/22/image_19042025_09_22_22_9362.jpg
/home/pi/Desktop/images/19042025/09/22/image_19042025_09_23_03_10362.jpg
/home/pi/Desktop/images/19042025/09/23/image_19042025_09_23_22_10381.jpg
/home/pi/Desktop/images/19042025/09/23/image_19042025_09_23_32_9377.jpg
/home/pi/Desktop/images/19042025/09/23/image_19042025_09_23_42_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":["1351818325","1351818415","1351818444","1351818369","1351818299","1351818329"],"photo_ids_order":["1351818299","1351818325","1351818329","1351818369","1351818415","1351818444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a5ff965a8fbebfeb7066d93d8faaf1ea.jpg","text":"TemporaryFile(/tmp/multipartBody1575913553581828291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061333653,"filename":"image_19042025_09_22_22_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/19/e3a5cef480a440e07c8790de024214b3.jpg","text":"TemporaryFile(/tmp/multipartBody5492197841744079518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061333653,"filename":"image_19042025_09_23_32_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/19/1fe6b8590d510a59f9d88b15582ddf81.jpg","text":"TemporaryFile(/tmp/multipartBody9040295485462753689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061333653,"filename":"image_19042025_09_23_42_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/759948638ded4b099b492385e72c456c.jpg","text":"TemporaryFile(/tmp/multipartBody4877582249258155072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061333653,"filename":"image_19042025_09_23_22_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/19/2cce34217f924ed4b3f9b7390159e824.jpg","text":"TemporaryFile(/tmp/multipartBody2449372897545500732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061333653,"filename":"image_19042025_09_22_13_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/19/3871633dd04bce8e905755be4b39e5b2.jpg","text":"TemporaryFile(/tmp/multipartBody6347789513029601875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061333653,"filename":"image_19042025_09_23_03_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351818329","file1":"1351818325","file0":"1351818299","file4":"1351818415","file5":"1351818444","file3":"1351818369"},"map_files_photo_id_array":[{"photo_id":"1351818444","filename":"file5"},{"photo_id":"1351818329","filename":"file2"},{"photo_id":"1351818415","filename":"file4"},{"photo_id":"1351818325","filename":"file1"},{"photo_id":"1351818299","filename":"file0"},{"photo_id":"1351818369","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351818325":["hashtag1","hashtag2"]},{"1351818415":["hashtag1","hashtag2"]},{"1351818444":["hashtag1","hashtag2"]},{"1351818369":["hashtag1","hashtag2"]},{"1351818299":["hashtag1","hashtag2"]},{"1351818329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351818325, 1351818415, 1351818444, 1351818369, 1351818299, 1351818329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62294149398804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:15:32.493642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/23/image_19042025_09_24_02_9365.jpg', '/home/pi/Desktop/images/19042025/09/24/image_19042025_09_24_12_10353.jpg', '/home/pi/Desktop/images/19042025/09/24/image_19042025_09_24_23_10358.jpg', '/home/pi/Desktop/images/19042025/09/24/image_19042025_09_24_32_9400.jpg', '/home/pi/Desktop/images/19042025/09/24/image_19042025_09_24_42_10355.jpg', '/home/pi/Desktop/images/19042025/09/25/image_19042025_09_25_32_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/23/image_19042025_09_24_02_9365.jpg
/home/pi/Desktop/images/19042025/09/24/image_19042025_09_24_12_10353.jpg
/home/pi/Desktop/images/19042025/09/24/image_19042025_09_24_23_10358.jpg
/home/pi/Desktop/images/19042025/09/24/image_19042025_09_24_32_9400.jpg
/home/pi/Desktop/images/19042025/09/24/image_19042025_09_24_42_10355.jpg
/home/pi/Desktop/images/19042025/09/25/image_19042025_09_25_32_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":["1351818718","1351818711","1351818720","1351818714","1351818755","1351818818"],"photo_ids_order":["1351818711","1351818714","1351818718","1351818720","1351818755","1351818818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/169e19eba6e8daa5f6d95a85ae96181d.jpg","text":"TemporaryFile(/tmp/multipartBody2382590973554537377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061393037,"filename":"image_19042025_09_24_23_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/19/769625ad7ba7bb142c368831fea755ad.jpg","text":"TemporaryFile(/tmp/multipartBody1168410419881296601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061393037,"filename":"image_19042025_09_24_02_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/49add76d994e44610c66c059ee1fcc7a.jpg","text":"TemporaryFile(/tmp/multipartBody8368579015571349669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061393037,"filename":"image_19042025_09_24_32_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/19/c0917b45c658ca832487e3cc5407ecd2.jpg","text":"TemporaryFile(/tmp/multipartBody1791150715657899647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061393037,"filename":"image_19042025_09_24_12_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b85d43fb7a1f02e6fb92c73d47c1bdca.jpg","text":"TemporaryFile(/tmp/multipartBody5682126746973275586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061393037,"filename":"image_19042025_09_24_42_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/19/f86dad9326f94211655bc9662b0e63c0.jpg","text":"TemporaryFile(/tmp/multipartBody8918273467160376784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061393037,"filename":"image_19042025_09_25_32_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351818718","file1":"1351818714","file0":"1351818711","file4":"1351818755","file5":"1351818818","file3":"1351818720"},"map_files_photo_id_array":[{"photo_id":"1351818818","filename":"file5"},{"photo_id":"1351818718","filename":"file2"},{"photo_id":"1351818755","filename":"file4"},{"photo_id":"1351818714","filename":"file1"},{"photo_id":"1351818711","filename":"file0"},{"photo_id":"1351818720","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351818718":["hashtag1","hashtag2"]},{"1351818711":["hashtag1","hashtag2"]},{"1351818720":["hashtag1","hashtag2"]},{"1351818714":["hashtag1","hashtag2"]},{"1351818755":["hashtag1","hashtag2"]},{"1351818818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351818718, 1351818711, 1351818720, 1351818714, 1351818755, 1351818818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.374666690826416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:16:32.714794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/25/image_19042025_09_25_43_10347.jpg', '/home/pi/Desktop/images/19042025/09/25/image_19042025_09_25_52_9357.jpg', '/home/pi/Desktop/images/19042025/09/25/image_19042025_09_26_02_10365.jpg', '/home/pi/Desktop/images/19042025/09/26/image_19042025_09_26_42_9427.jpg', '/home/pi/Desktop/images/19042025/09/26/image_19042025_09_26_52_10354.jpg', '/home/pi/Desktop/images/19042025/09/26/image_19042025_09_27_03_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/25/image_19042025_09_25_43_10347.jpg
/home/pi/Desktop/images/19042025/09/25/image_19042025_09_25_52_9357.jpg
/home/pi/Desktop/images/19042025/09/25/image_19042025_09_26_02_10365.jpg
/home/pi/Desktop/images/19042025/09/26/image_19042025_09_26_42_9427.jpg
/home/pi/Desktop/images/19042025/09/26/image_19042025_09_26_52_10354.jpg
/home/pi/Desktop/images/19042025/09/26/image_19042025_09_27_03_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":["1351819225","1351819299","1351819278","1351819251","1351819167","1351819199"],"photo_ids_order":["1351819167","1351819199","1351819225","1351819251","1351819278","1351819299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f46ca49a9121c9a162b398b34d48995.jpg","text":"TemporaryFile(/tmp/multipartBody3774987940753280897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061453259,"filename":"image_19042025_09_26_02_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4fef03f4ab889eb6eea5135eaa0cb102.jpg","text":"TemporaryFile(/tmp/multipartBody5681519507254974469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061453259,"filename":"image_19042025_09_27_03_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/19/db09cfeb2c7f17af20be49ecac611bc0.jpg","text":"TemporaryFile(/tmp/multipartBody472883294023664907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061453259,"filename":"image_19042025_09_26_52_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/19/74a009a60bf86f4c478a966bff5417c3.jpg","text":"TemporaryFile(/tmp/multipartBody2440761081880615627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061453259,"filename":"image_19042025_09_26_42_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/19/deab1c80d0d94e60ec94edc32c89b864.jpg","text":"TemporaryFile(/tmp/multipartBody4836123214327337613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061453259,"filename":"image_19042025_09_25_43_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/19/7e0ec49cb931b3d8be1660c9cdb88dde.jpg","text":"TemporaryFile(/tmp/multipartBody5177240755479826125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061453259,"filename":"image_19042025_09_25_52_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351819225","file1":"1351819199","file0":"1351819167","file4":"1351819278","file5":"1351819299","file3":"1351819251"},"map_files_photo_id_array":[{"photo_id":"1351819299","filename":"file5"},{"photo_id":"1351819225","filename":"file2"},{"photo_id":"1351819278","filename":"file4"},{"photo_id":"1351819199","filename":"file1"},{"photo_id":"1351819167","filename":"file0"},{"photo_id":"1351819251","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351819225":["hashtag1","hashtag2"]},{"1351819299":["hashtag1","hashtag2"]},{"1351819278":["hashtag1","hashtag2"]},{"1351819251":["hashtag1","hashtag2"]},{"1351819167":["hashtag1","hashtag2"]},{"1351819199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351819225, 1351819299, 1351819278, 1351819251, 1351819167, 1351819199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.17096447944641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:17:32.925691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_12_9387.jpg', '/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_22_10368.jpg', '/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_32_9404.jpg', '/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_42_10391.jpg', '/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_53_10379.jpg', '/home/pi/Desktop/images/19042025/09/27/image_19042025_09_28_02_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_12_9387.jpg
/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_22_10368.jpg
/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_32_9404.jpg
/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_42_10391.jpg
/home/pi/Desktop/images/19042025/09/27/image_19042025_09_27_53_10379.jpg
/home/pi/Desktop/images/19042025/09/27/image_19042025_09_28_02_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":["1351819618","1351819647","1351819697","1351819571","1351819667","1351819630"],"photo_ids_order":["1351819571","1351819618","1351819630","1351819647","1351819667","1351819697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/77a1e063503c7af4259f2ee203a40481.jpg","text":"TemporaryFile(/tmp/multipartBody5012330097475902793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061513446,"filename":"image_19042025_09_27_22_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/19/893cc95392db3e6e6420a481c1546dd1.jpg","text":"TemporaryFile(/tmp/multipartBody5979488833186944999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061513446,"filename":"image_19042025_09_27_42_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/19/16bdd72ddcd0d558c45b81f43bfa27de.jpg","text":"TemporaryFile(/tmp/multipartBody5402788854899110149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061513446,"filename":"image_19042025_09_28_02_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/19/a6abe38efb37c93540f67443a5fcc634.jpg","text":"TemporaryFile(/tmp/multipartBody7678257390987280764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061513446,"filename":"image_19042025_09_27_12_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/19/01988e039e654e6ce509dbc4ff3362af.jpg","text":"TemporaryFile(/tmp/multipartBody1697222738517911133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061513446,"filename":"image_19042025_09_27_53_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/19/ca5726145af0435c8f05a025d4b443c0.jpg","text":"TemporaryFile(/tmp/multipartBody4796314935967778537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061513446,"filename":"image_19042025_09_27_32_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351819630","file1":"1351819618","file0":"1351819571","file4":"1351819667","file5":"1351819697","file3":"1351819647"},"map_files_photo_id_array":[{"photo_id":"1351819697","filename":"file5"},{"photo_id":"1351819630","filename":"file2"},{"photo_id":"1351819667","filename":"file4"},{"photo_id":"1351819618","filename":"file1"},{"photo_id":"1351819571","filename":"file0"},{"photo_id":"1351819647","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351819618":["hashtag1","hashtag2"]},{"1351819647":["hashtag1","hashtag2"]},{"1351819697":["hashtag1","hashtag2"]},{"1351819571":["hashtag1","hashtag2"]},{"1351819667":["hashtag1","hashtag2"]},{"1351819630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351819618, 1351819647, 1351819697, 1351819571, 1351819667, 1351819630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.1415057182312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:18:32.233231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_12_10353.jpg', '/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_22_9409.jpg', '/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_32_10385.jpg', '/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_43_10436.jpg', '/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_52_9364.jpg', '/home/pi/Desktop/images/19042025/09/28/image_19042025_09_29_02_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_12_10353.jpg
/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_22_9409.jpg
/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_32_10385.jpg
/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_43_10436.jpg
/home/pi/Desktop/images/19042025/09/28/image_19042025_09_28_52_9364.jpg
/home/pi/Desktop/images/19042025/09/28/image_19042025_09_29_02_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":["1351819828","1351819836","1351819821","1351819824","1351819832","1351819817"],"photo_ids_order":["1351819817","1351819821","1351819824","1351819828","1351819832","1351819836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/be5278d9705de844cfce80a5b5e61a38.jpg","text":"TemporaryFile(/tmp/multipartBody4290320233595415525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061574044,"filename":"image_19042025_09_28_43_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/19/f4a1c61595e19633401027a6aebbad4e.jpg","text":"TemporaryFile(/tmp/multipartBody3596166938861762956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061574044,"filename":"image_19042025_09_29_02_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/19/ec466e91551ba5b444d46f5798326b13.jpg","text":"TemporaryFile(/tmp/multipartBody3412305996432781931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061574044,"filename":"image_19042025_09_28_22_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/19/de3ab528b6de6204c653321de107f842.jpg","text":"TemporaryFile(/tmp/multipartBody5598288011532467501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061574044,"filename":"image_19042025_09_28_32_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/19/47978bcfa0e12865d905bc11e79e61ba.jpg","text":"TemporaryFile(/tmp/multipartBody2767781313761192382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061574044,"filename":"image_19042025_09_28_52_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/19/fed284b708887dedd1d9b395d7f43dad.jpg","text":"TemporaryFile(/tmp/multipartBody7795745731773910971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061574044,"filename":"image_19042025_09_28_12_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351819824","file1":"1351819821","file0":"1351819817","file4":"1351819832","file5":"1351819836","file3":"1351819828"},"map_files_photo_id_array":[{"photo_id":"1351819836","filename":"file5"},{"photo_id":"1351819824","filename":"file2"},{"photo_id":"1351819832","filename":"file4"},{"photo_id":"1351819821","filename":"file1"},{"photo_id":"1351819817","filename":"file0"},{"photo_id":"1351819828","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351819828":["hashtag1","hashtag2"]},{"1351819836":["hashtag1","hashtag2"]},{"1351819821":["hashtag1","hashtag2"]},{"1351819824":["hashtag1","hashtag2"]},{"1351819832":["hashtag1","hashtag2"]},{"1351819817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351819828, 1351819836, 1351819821, 1351819824, 1351819832, 1351819817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77020072937012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:19:32.381425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/29/image_19042025_09_29_12_9417.jpg', '/home/pi/Desktop/images/19042025/09/29/image_19042025_09_29_22_10368.jpg', '/home/pi/Desktop/images/19042025/09/29/image_19042025_09_29_33_10354.jpg', '/home/pi/Desktop/images/19042025/09/29/image_19042025_09_29_52_10358.jpg', '/home/pi/Desktop/images/19042025/09/29/image_19042025_09_30_03_10351.jpg', '/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_12_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/29/image_19042025_09_29_12_9417.jpg
/home/pi/Desktop/images/19042025/09/29/image_19042025_09_29_22_10368.jpg
/home/pi/Desktop/images/19042025/09/29/image_19042025_09_29_33_10354.jpg
/home/pi/Desktop/images/19042025/09/29/image_19042025_09_29_52_10358.jpg
/home/pi/Desktop/images/19042025/09/29/image_19042025_09_30_03_10351.jpg
/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_12_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351819927","1351820002","1351820014","1351819955","1351819883","1351819856"],"photo_ids_order":["1351819856","1351819883","1351819927","1351819955","1351820002","1351820014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ac87bd2960a7a8d8e3b8b43f7b76c7f.jpg","text":"TemporaryFile(/tmp/multipartBody6432073644635376248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061632904,"filename":"image_19042025_09_29_33_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/19/8069904430420c8c416ab4e935ee9324.jpg","text":"TemporaryFile(/tmp/multipartBody3331984629258481469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061632904,"filename":"image_19042025_09_30_03_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/19/9e1adad2e3d4dd888b3ee989e4055b7a.jpg","text":"TemporaryFile(/tmp/multipartBody3854593960986596361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061632904,"filename":"image_19042025_09_30_12_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/19/498bb8b19c1317e0737c9990eab54174.jpg","text":"TemporaryFile(/tmp/multipartBody2037619667121129237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061632904,"filename":"image_19042025_09_29_52_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/69fb5fc7d6edf330178adf1b34712779.jpg","text":"TemporaryFile(/tmp/multipartBody4462671792014300436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061632904,"filename":"image_19042025_09_29_22_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/19/a6cb3867dbc840f353f0e41012190999.jpg","text":"TemporaryFile(/tmp/multipartBody5312767241422231114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061632904,"filename":"image_19042025_09_29_12_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351819927","file1":"1351819883","file0":"1351819856","file4":"1351820002","file5":"1351820014","file3":"1351819955"},"map_files_photo_id_array":[{"photo_id":"1351820014","filename":"file5"},{"photo_id":"1351819927","filename":"file2"},{"photo_id":"1351820002","filename":"file4"},{"photo_id":"1351819883","filename":"file1"},{"photo_id":"1351819856","filename":"file0"},{"photo_id":"1351819955","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351819927":["hashtag1","hashtag2"]},{"1351820002":["hashtag1","hashtag2"]},{"1351820014":["hashtag1","hashtag2"]},{"1351819955":["hashtag1","hashtag2"]},{"1351819883":["hashtag1","hashtag2"]},{"1351819856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351819927, 1351820002, 1351820014, 1351819955, 1351819883, 1351819856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3592791557312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:20:32.753362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_22_10371.jpg', '/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_32_9596.jpg', '/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_42_10360.jpg', '/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_52_9487.jpg', '/home/pi/Desktop/images/19042025/09/30/image_19042025_09_31_02_10368.jpg', '/home/pi/Desktop/images/19042025/09/31/image_19042025_09_31_13_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_22_10371.jpg
/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_32_9596.jpg
/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_42_10360.jpg
/home/pi/Desktop/images/19042025/09/30/image_19042025_09_30_52_9487.jpg
/home/pi/Desktop/images/19042025/09/30/image_19042025_09_31_02_10368.jpg
/home/pi/Desktop/images/19042025/09/31/image_19042025_09_31_13_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":["1351820102","1351820116","1351820110","1351820113","1351820118","1351820106"],"photo_ids_order":["1351820102","1351820106","1351820110","1351820113","1351820116","1351820118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6caebabdd358256a4159ef1ce59abfbf.jpg","text":"TemporaryFile(/tmp/multipartBody4996155889829035982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061693278,"filename":"image_19042025_09_30_22_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/19/ab3585a1f92fbed3b2749521d2a6a102.jpg","text":"TemporaryFile(/tmp/multipartBody6661580194273953070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061693278,"filename":"image_19042025_09_31_02_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/19/85387248263b578647043221fb52361a.jpg","text":"TemporaryFile(/tmp/multipartBody7049101686515280629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061693278,"filename":"image_19042025_09_30_42_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/19/2b5966004b2cd7401773feecd8aa8074.jpg","text":"TemporaryFile(/tmp/multipartBody1785417244077593651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061693278,"filename":"image_19042025_09_30_52_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/19/9db9a38048f7914d038283d9115b2e24.jpg","text":"TemporaryFile(/tmp/multipartBody5162775294054906944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061693278,"filename":"image_19042025_09_31_13_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/19/b04df6d884782c2b3020b0a6a01091bb.jpg","text":"TemporaryFile(/tmp/multipartBody2906031159973818304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061693278,"filename":"image_19042025_09_30_32_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351820110","file1":"1351820106","file0":"1351820102","file4":"1351820116","file5":"1351820118","file3":"1351820113"},"map_files_photo_id_array":[{"photo_id":"1351820118","filename":"file5"},{"photo_id":"1351820110","filename":"file2"},{"photo_id":"1351820116","filename":"file4"},{"photo_id":"1351820106","filename":"file1"},{"photo_id":"1351820102","filename":"file0"},{"photo_id":"1351820113","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351820102":["hashtag1","hashtag2"]},{"1351820116":["hashtag1","hashtag2"]},{"1351820110":["hashtag1","hashtag2"]},{"1351820113":["hashtag1","hashtag2"]},{"1351820118":["hashtag1","hashtag2"]},{"1351820106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351820102, 1351820116, 1351820110, 1351820113, 1351820118, 1351820106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40106511116028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:21:32.967872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/31/image_19042025_09_31_32_10362.jpg', '/home/pi/Desktop/images/19042025/09/31/image_19042025_09_31_43_10431.jpg', '/home/pi/Desktop/images/19042025/09/31/image_19042025_09_31_52_9358.jpg', '/home/pi/Desktop/images/19042025/09/31/image_19042025_09_32_03_10442.jpg', '/home/pi/Desktop/images/19042025/09/32/image_19042025_09_32_12_9347.jpg', '/home/pi/Desktop/images/19042025/09/32/image_19042025_09_32_22_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/31/image_19042025_09_31_32_10362.jpg
/home/pi/Desktop/images/19042025/09/31/image_19042025_09_31_43_10431.jpg
/home/pi/Desktop/images/19042025/09/31/image_19042025_09_31_52_9358.jpg
/home/pi/Desktop/images/19042025/09/31/image_19042025_09_32_03_10442.jpg
/home/pi/Desktop/images/19042025/09/32/image_19042025_09_32_12_9347.jpg
/home/pi/Desktop/images/19042025/09/32/image_19042025_09_32_22_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":["1351820170","1351820172","1351820166","1351820160","1351820168","1351820165"],"photo_ids_order":["1351820160","1351820165","1351820166","1351820168","1351820170","1351820172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5803e109262f1b4bd75fe3d192482e82.jpg","text":"TemporaryFile(/tmp/multipartBody3790466911183657413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061753515,"filename":"image_19042025_09_32_12_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/19/94b0e9b479c2f101907ce21eb672915c.jpg","text":"TemporaryFile(/tmp/multipartBody4541328409668984305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061753515,"filename":"image_19042025_09_32_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/19/8ca20d6813c0486b729fd1b03f58635b.jpg","text":"TemporaryFile(/tmp/multipartBody8957080749702792994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061753515,"filename":"image_19042025_09_31_52_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/19/bd2e54d2d5a4a681a7bdf3c26c840f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3082260986068952571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061753515,"filename":"image_19042025_09_31_32_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/19/e0465d872b436be859103d11e51fedd8.jpg","text":"TemporaryFile(/tmp/multipartBody5964797887040215076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061753515,"filename":"image_19042025_09_32_03_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/19/943c3412822edd4d8b8701bbc0acd613.jpg","text":"TemporaryFile(/tmp/multipartBody1109602792624790044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061753515,"filename":"image_19042025_09_31_43_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351820166","file1":"1351820165","file0":"1351820160","file4":"1351820170","file5":"1351820172","file3":"1351820168"},"map_files_photo_id_array":[{"photo_id":"1351820172","filename":"file5"},{"photo_id":"1351820166","filename":"file2"},{"photo_id":"1351820170","filename":"file4"},{"photo_id":"1351820165","filename":"file1"},{"photo_id":"1351820160","filename":"file0"},{"photo_id":"1351820168","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351820170":["hashtag1","hashtag2"]},{"1351820172":["hashtag1","hashtag2"]},{"1351820166":["hashtag1","hashtag2"]},{"1351820160":["hashtag1","hashtag2"]},{"1351820168":["hashtag1","hashtag2"]},{"1351820165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351820170, 1351820172, 1351820166, 1351820160, 1351820168, 1351820165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.826218843460083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:22:32.215033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/32/image_19042025_09_32_42_9406.jpg', '/home/pi/Desktop/images/19042025/09/32/image_19042025_09_32_53_10368.jpg', '/home/pi/Desktop/images/19042025/09/33/image_19042025_09_33_12_10359.jpg', '/home/pi/Desktop/images/19042025/09/33/image_19042025_09_33_23_10349.jpg', '/home/pi/Desktop/images/19042025/09/33/image_19042025_09_33_42_10349.jpg', '/home/pi/Desktop/images/19042025/09/33/image_19042025_09_33_52_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/32/image_19042025_09_32_42_9406.jpg
/home/pi/Desktop/images/19042025/09/32/image_19042025_09_32_53_10368.jpg
/home/pi/Desktop/images/19042025/09/33/image_19042025_09_33_12_10359.jpg
/home/pi/Desktop/images/19042025/09/33/image_19042025_09_33_23_10349.jpg
/home/pi/Desktop/images/19042025/09/33/image_19042025_09_33_42_10349.jpg
/home/pi/Desktop/images/19042025/09/33/image_19042025_09_33_52_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":["1351820377","1351820341","1351820502","1351820279","1351820456","1351820315"],"photo_ids_order":["1351820279","1351820315","1351820341","1351820377","1351820456","1351820502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/65919c0b8eaaa0668de857fb86ca4e94.jpg","text":"TemporaryFile(/tmp/multipartBody3080730843853848859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061812721,"filename":"image_19042025_09_33_23_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/19/b31f890e1148ce8d07afee4caa5e97d9.jpg","text":"TemporaryFile(/tmp/multipartBody2309207263231009134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061812721,"filename":"image_19042025_09_33_12_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/19/4f386269d652b8b11a5f2ff54a16b817.jpg","text":"TemporaryFile(/tmp/multipartBody2371396783296357337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061812721,"filename":"image_19042025_09_33_52_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/19/53fb7dc72daf69a15a2aa21d3c8e28b2.jpg","text":"TemporaryFile(/tmp/multipartBody5175243269903241839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061812721,"filename":"image_19042025_09_32_42_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/19/fe75119463f44c56a4f08f93ec1344f5.jpg","text":"TemporaryFile(/tmp/multipartBody2783650062040920088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061812721,"filename":"image_19042025_09_33_42_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ced2ab43d256f347c629411e6a7336a7.jpg","text":"TemporaryFile(/tmp/multipartBody6540757684370416644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061812721,"filename":"image_19042025_09_32_53_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351820341","file1":"1351820315","file0":"1351820279","file4":"1351820456","file5":"1351820502","file3":"1351820377"},"map_files_photo_id_array":[{"photo_id":"1351820502","filename":"file5"},{"photo_id":"1351820341","filename":"file2"},{"photo_id":"1351820456","filename":"file4"},{"photo_id":"1351820315","filename":"file1"},{"photo_id":"1351820279","filename":"file0"},{"photo_id":"1351820377","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351820377":["hashtag1","hashtag2"]},{"1351820341":["hashtag1","hashtag2"]},{"1351820502":["hashtag1","hashtag2"]},{"1351820279":["hashtag1","hashtag2"]},{"1351820456":["hashtag1","hashtag2"]},{"1351820315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351820377, 1351820341, 1351820502, 1351820279, 1351820456, 1351820315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85112500190735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:23:32.402827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/33/image_19042025_09_34_02_10400.jpg', '/home/pi/Desktop/images/19042025/09/34/image_19042025_09_34_13_10343.jpg', '/home/pi/Desktop/images/19042025/09/34/image_19042025_09_34_42_9446.jpg', '/home/pi/Desktop/images/19042025/09/34/image_19042025_09_34_52_10377.jpg', '/home/pi/Desktop/images/19042025/09/34/image_19042025_09_35_03_10351.jpg', '/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_12_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/33/image_19042025_09_34_02_10400.jpg
/home/pi/Desktop/images/19042025/09/34/image_19042025_09_34_13_10343.jpg
/home/pi/Desktop/images/19042025/09/34/image_19042025_09_34_42_9446.jpg
/home/pi/Desktop/images/19042025/09/34/image_19042025_09_34_52_10377.jpg
/home/pi/Desktop/images/19042025/09/34/image_19042025_09_35_03_10351.jpg
/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_12_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":["1351820758","1351820784","1351820739","1351820742","1351820730","1351820708"],"photo_ids_order":["1351820708","1351820730","1351820739","1351820742","1351820758","1351820784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d36706ab78f4549aa360bb6d8560103.jpg","text":"TemporaryFile(/tmp/multipartBody2482062103181480614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061872932,"filename":"image_19042025_09_35_03_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/19/ca59ccd46f472e309c79315147bc5733.jpg","text":"TemporaryFile(/tmp/multipartBody7689273330509489846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061872932,"filename":"image_19042025_09_35_12_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/19/acf7b20c314cabd1e7ac91917fb599bb.jpg","text":"TemporaryFile(/tmp/multipartBody4616863560846636101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061872932,"filename":"image_19042025_09_34_42_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/19/37048e87c8382471ea7ca468c227c1f1.jpg","text":"TemporaryFile(/tmp/multipartBody5867007228900227705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061872932,"filename":"image_19042025_09_34_52_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/19/9e53a5f255ef7e0febed0c7d32904bb2.jpg","text":"TemporaryFile(/tmp/multipartBody7789668332255528823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061872932,"filename":"image_19042025_09_34_13_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/19/f858441af05945d5d31dcd6a4b14f902.jpg","text":"TemporaryFile(/tmp/multipartBody4617407127194776555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061872932,"filename":"image_19042025_09_34_02_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351820739","file1":"1351820730","file0":"1351820708","file4":"1351820758","file5":"1351820784","file3":"1351820742"},"map_files_photo_id_array":[{"photo_id":"1351820784","filename":"file5"},{"photo_id":"1351820739","filename":"file2"},{"photo_id":"1351820758","filename":"file4"},{"photo_id":"1351820730","filename":"file1"},{"photo_id":"1351820708","filename":"file0"},{"photo_id":"1351820742","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351820758":["hashtag1","hashtag2"]},{"1351820784":["hashtag1","hashtag2"]},{"1351820739":["hashtag1","hashtag2"]},{"1351820742":["hashtag1","hashtag2"]},{"1351820730":["hashtag1","hashtag2"]},{"1351820708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351820758, 1351820784, 1351820739, 1351820742, 1351820730, 1351820708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.518831968307495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:24:32.618984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_22_10379.jpg', '/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_32_9417.jpg', '/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_42_10398.jpg', '/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_53_10377.jpg', '/home/pi/Desktop/images/19042025/09/35/image_19042025_09_36_02_9471.jpg', '/home/pi/Desktop/images/19042025/09/36/image_19042025_09_36_13_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_22_10379.jpg
/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_32_9417.jpg
/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_42_10398.jpg
/home/pi/Desktop/images/19042025/09/35/image_19042025_09_35_53_10377.jpg
/home/pi/Desktop/images/19042025/09/35/image_19042025_09_36_02_9471.jpg
/home/pi/Desktop/images/19042025/09/36/image_19042025_09_36_13_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":["1351820925","1351820928","1351820922","1351821077","1351821026","1351820918"],"photo_ids_order":["1351820918","1351820922","1351820925","1351820928","1351821026","1351821077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8735d22226d9c16bec9ff05823535518.jpg","text":"TemporaryFile(/tmp/multipartBody8449726530820182938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061933157,"filename":"image_19042025_09_35_42_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/19/842171d84b105734115c2a8d0e03d3e3.jpg","text":"TemporaryFile(/tmp/multipartBody7768460004517300015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061933157,"filename":"image_19042025_09_35_53_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/19/4a7ee783bb4cab2ccb597b9dbbee9139.jpg","text":"TemporaryFile(/tmp/multipartBody3869656888681436145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061933157,"filename":"image_19042025_09_35_32_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/19/a4eb50d58ec3ffc03b0dd53f857c6e2f.jpg","text":"TemporaryFile(/tmp/multipartBody8522336135827485358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061933157,"filename":"image_19042025_09_36_13_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/19/fe0e0c8be2e2df70c15bcb639a4429a5.jpg","text":"TemporaryFile(/tmp/multipartBody9121406406462205575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061933157,"filename":"image_19042025_09_36_02_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5030e00b4f4ae19f047500a8d71d1ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3018794638944373661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061933157,"filename":"image_19042025_09_35_22_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351820925","file1":"1351820922","file0":"1351820918","file4":"1351821026","file5":"1351821077","file3":"1351820928"},"map_files_photo_id_array":[{"photo_id":"1351821077","filename":"file5"},{"photo_id":"1351820925","filename":"file2"},{"photo_id":"1351821026","filename":"file4"},{"photo_id":"1351820922","filename":"file1"},{"photo_id":"1351820918","filename":"file0"},{"photo_id":"1351820928","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351820925":["hashtag1","hashtag2"]},{"1351820928":["hashtag1","hashtag2"]},{"1351820922":["hashtag1","hashtag2"]},{"1351821077":["hashtag1","hashtag2"]},{"1351821026":["hashtag1","hashtag2"]},{"1351820918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351820925, 1351820928, 1351820922, 1351821077, 1351821026, 1351820918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.399171113967896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:25:32.897582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/36/image_19042025_09_36_43_10360.jpg', '/home/pi/Desktop/images/19042025/09/36/image_19042025_09_36_52_9356.jpg', '/home/pi/Desktop/images/19042025/09/36/image_19042025_09_37_02_10358.jpg', '/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_13_10465.jpg', '/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_22_9387.jpg', '/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_33_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/36/image_19042025_09_36_43_10360.jpg
/home/pi/Desktop/images/19042025/09/36/image_19042025_09_36_52_9356.jpg
/home/pi/Desktop/images/19042025/09/36/image_19042025_09_37_02_10358.jpg
/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_13_10465.jpg
/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_22_9387.jpg
/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_33_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":["1351821409","1351821316","1351821261","1351821420","1351821363","1351821423"],"photo_ids_order":["1351821261","1351821316","1351821363","1351821409","1351821420","1351821423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a5aa2c84ee9f62cc94e85ce5cd57bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2761830692092190766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061993414,"filename":"image_19042025_09_37_13_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/19/e548b45a69eaf73c30e23488e6b23e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1510358803533407757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061993414,"filename":"image_19042025_09_36_52_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/19/95d9f4daa157c0ddac659dd595f662b5.jpg","text":"TemporaryFile(/tmp/multipartBody3594295002534462486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061993414,"filename":"image_19042025_09_36_43_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/19/d5f3daf73e0af2eb32d1c8489e3dc2c8.jpg","text":"TemporaryFile(/tmp/multipartBody3162427820764810577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061993414,"filename":"image_19042025_09_37_22_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b78ff1230ab4460745b7d1f6d9f3c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody988012111403112274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061993414,"filename":"image_19042025_09_37_02_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/19/d2b9b4ce1d1cf9e6af2165e6c59b494d.jpg","text":"TemporaryFile(/tmp/multipartBody7915502358226953639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745061993414,"filename":"image_19042025_09_37_33_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351821363","file1":"1351821316","file0":"1351821261","file4":"1351821420","file5":"1351821423","file3":"1351821409"},"map_files_photo_id_array":[{"photo_id":"1351821423","filename":"file5"},{"photo_id":"1351821363","filename":"file2"},{"photo_id":"1351821420","filename":"file4"},{"photo_id":"1351821316","filename":"file1"},{"photo_id":"1351821261","filename":"file0"},{"photo_id":"1351821409","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351821409":["hashtag1","hashtag2"]},{"1351821316":["hashtag1","hashtag2"]},{"1351821261":["hashtag1","hashtag2"]},{"1351821420":["hashtag1","hashtag2"]},{"1351821363":["hashtag1","hashtag2"]},{"1351821423":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351821409, 1351821316, 1351821261, 1351821420, 1351821363, 1351821423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.937644243240356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:26:33.108959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_42_9350.jpg', '/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_52_10358.jpg', '/home/pi/Desktop/images/19042025/09/37/image_19042025_09_38_03_10350.jpg', '/home/pi/Desktop/images/19042025/09/38/image_19042025_09_38_12_9404.jpg', '/home/pi/Desktop/images/19042025/09/38/image_19042025_09_38_42_9361.jpg', '/home/pi/Desktop/images/19042025/09/38/image_19042025_09_38_53_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_42_9350.jpg
/home/pi/Desktop/images/19042025/09/37/image_19042025_09_37_52_10358.jpg
/home/pi/Desktop/images/19042025/09/37/image_19042025_09_38_03_10350.jpg
/home/pi/Desktop/images/19042025/09/38/image_19042025_09_38_12_9404.jpg
/home/pi/Desktop/images/19042025/09/38/image_19042025_09_38_42_9361.jpg
/home/pi/Desktop/images/19042025/09/38/image_19042025_09_38_53_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":["1351821684","1351821600","1351821761","1351821710","1351821796","1351821652"],"photo_ids_order":["1351821600","1351821652","1351821684","1351821710","1351821761","1351821796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/101ea195368f6d3ba8b0e7b0ede5b683.jpg","text":"TemporaryFile(/tmp/multipartBody4492589193532892003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062053616,"filename":"image_19042025_09_38_03_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/19/ad1f49cfa396dbb77cbc2be973d36a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7975197532655258094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062053616,"filename":"image_19042025_09_37_42_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/19/9400fa2eb159383d3f11506f77cca89c.jpg","text":"TemporaryFile(/tmp/multipartBody7819848945668498406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062053616,"filename":"image_19042025_09_38_42_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/19/32f7a9dec65117d0c9a6e2d413597941.jpg","text":"TemporaryFile(/tmp/multipartBody4903048217242506423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062053616,"filename":"image_19042025_09_38_12_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/19/2e30cf5e70fde2a5e08dca0728e7fb46.jpg","text":"TemporaryFile(/tmp/multipartBody5516714669353732391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062053616,"filename":"image_19042025_09_38_53_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/19/cf086ec52dfaa4dea8a07b382e70c637.jpg","text":"TemporaryFile(/tmp/multipartBody8978529266556548683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062053616,"filename":"image_19042025_09_37_52_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351821684","file1":"1351821652","file0":"1351821600","file4":"1351821761","file5":"1351821796","file3":"1351821710"},"map_files_photo_id_array":[{"photo_id":"1351821796","filename":"file5"},{"photo_id":"1351821684","filename":"file2"},{"photo_id":"1351821761","filename":"file4"},{"photo_id":"1351821652","filename":"file1"},{"photo_id":"1351821600","filename":"file0"},{"photo_id":"1351821710","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351821684":["hashtag1","hashtag2"]},{"1351821600":["hashtag1","hashtag2"]},{"1351821761":["hashtag1","hashtag2"]},{"1351821710":["hashtag1","hashtag2"]},{"1351821796":["hashtag1","hashtag2"]},{"1351821652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351821684, 1351821600, 1351821761, 1351821710, 1351821796, 1351821652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.94303274154663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:27:32.366939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/38/image_19042025_09_39_02_9459.jpg', '/home/pi/Desktop/images/19042025/09/39/image_19042025_09_39_23_10413.jpg', '/home/pi/Desktop/images/19042025/09/39/image_19042025_09_39_32_9349.jpg', '/home/pi/Desktop/images/19042025/09/39/image_19042025_09_39_43_10358.jpg', '/home/pi/Desktop/images/19042025/09/40/image_19042025_09_40_22_9442.jpg', '/home/pi/Desktop/images/19042025/09/40/image_19042025_09_40_52_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/38/image_19042025_09_39_02_9459.jpg
/home/pi/Desktop/images/19042025/09/39/image_19042025_09_39_23_10413.jpg
/home/pi/Desktop/images/19042025/09/39/image_19042025_09_39_32_9349.jpg
/home/pi/Desktop/images/19042025/09/39/image_19042025_09_39_43_10358.jpg
/home/pi/Desktop/images/19042025/09/40/image_19042025_09_40_22_9442.jpg
/home/pi/Desktop/images/19042025/09/40/image_19042025_09_40_52_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":["1351822025","1351822007","1351822022","1351822016","1351822019","1351821985"],"photo_ids_order":["1351821985","1351822007","1351822016","1351822019","1351822022","1351822025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f0ac69d6bf9c94fcf51b0a64ecd05b6.jpg","text":"TemporaryFile(/tmp/multipartBody7987816583224052303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062112883,"filename":"image_19042025_09_40_52_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/19/92722de9e88fe33cbbf90802e588e595.jpg","text":"TemporaryFile(/tmp/multipartBody3657904912729844634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062112883,"filename":"image_19042025_09_39_23_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/19/8ab01728857f56f21dc433f687f35823.jpg","text":"TemporaryFile(/tmp/multipartBody8687515346983325065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062112883,"filename":"image_19042025_09_40_22_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b6bc7e4101edce08f6338a42754d5d7.jpg","text":"TemporaryFile(/tmp/multipartBody6743162080796736275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062112883,"filename":"image_19042025_09_39_32_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/19/7dc73ac3cb5a99da8f1a1e152412088e.jpg","text":"TemporaryFile(/tmp/multipartBody1173350895563066916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062112883,"filename":"image_19042025_09_39_43_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/19/9029efe97b41104243b2fa564cfe923b.jpg","text":"TemporaryFile(/tmp/multipartBody1314343916960303491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062112883,"filename":"image_19042025_09_39_02_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351822016","file1":"1351822007","file0":"1351821985","file4":"1351822022","file5":"1351822025","file3":"1351822019"},"map_files_photo_id_array":[{"photo_id":"1351822025","filename":"file5"},{"photo_id":"1351822016","filename":"file2"},{"photo_id":"1351822022","filename":"file4"},{"photo_id":"1351822007","filename":"file1"},{"photo_id":"1351821985","filename":"file0"},{"photo_id":"1351822019","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351822025":["hashtag1","hashtag2"]},{"1351822007":["hashtag1","hashtag2"]},{"1351822022":["hashtag1","hashtag2"]},{"1351822016":["hashtag1","hashtag2"]},{"1351822019":["hashtag1","hashtag2"]},{"1351821985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351822025, 1351822007, 1351822022, 1351822016, 1351822019, 1351821985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.87533450126648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:28:32.631700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/40/image_19042025_09_41_02_9426.jpg', '/home/pi/Desktop/images/19042025/09/41/image_19042025_09_41_23_10362.jpg', '/home/pi/Desktop/images/19042025/09/41/image_19042025_09_41_52_9508.jpg', '/home/pi/Desktop/images/19042025/09/42/image_19042025_09_42_32_10366.jpg', '/home/pi/Desktop/images/19042025/09/42/image_19042025_09_42_52_9359.jpg', '/home/pi/Desktop/images/19042025/09/43/image_19042025_09_43_22_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/40/image_19042025_09_41_02_9426.jpg
/home/pi/Desktop/images/19042025/09/41/image_19042025_09_41_23_10362.jpg
/home/pi/Desktop/images/19042025/09/41/image_19042025_09_41_52_9508.jpg
/home/pi/Desktop/images/19042025/09/42/image_19042025_09_42_32_10366.jpg
/home/pi/Desktop/images/19042025/09/42/image_19042025_09_42_52_9359.jpg
/home/pi/Desktop/images/19042025/09/43/image_19042025_09_43_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":["1351822257","1351822350","1351822119","1351822310","1351822202","1351822103"],"photo_ids_order":["1351822103","1351822119","1351822202","1351822257","1351822310","1351822350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70455607eb020c3d09efc3e13f413425.jpg","text":"TemporaryFile(/tmp/multipartBody1538019933205063211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062173123,"filename":"image_19042025_09_42_32_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/19/8c65a231e0dff9018dd3199c60fd851b.jpg","text":"TemporaryFile(/tmp/multipartBody2419034898078452058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062173123,"filename":"image_19042025_09_43_22_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/19/810d67e80fb3ae204a9485f133861f85.jpg","text":"TemporaryFile(/tmp/multipartBody5420868600121079719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062173123,"filename":"image_19042025_09_41_23_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/19/63a2fee9c73ba07c79d3a10da7c9fd0b.jpg","text":"TemporaryFile(/tmp/multipartBody140621424580856756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062173123,"filename":"image_19042025_09_42_52_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/19/4fc97fb29051e103e1c8a30a871c17d5.jpg","text":"TemporaryFile(/tmp/multipartBody3980270063328856480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062173123,"filename":"image_19042025_09_41_52_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/19/01f03529c3c46d351dad792a67ff79fe.jpg","text":"TemporaryFile(/tmp/multipartBody8534890528481736564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062173123,"filename":"image_19042025_09_41_02_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351822202","file1":"1351822119","file0":"1351822103","file4":"1351822310","file5":"1351822350","file3":"1351822257"},"map_files_photo_id_array":[{"photo_id":"1351822350","filename":"file5"},{"photo_id":"1351822202","filename":"file2"},{"photo_id":"1351822310","filename":"file4"},{"photo_id":"1351822119","filename":"file1"},{"photo_id":"1351822103","filename":"file0"},{"photo_id":"1351822257","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351822257":["hashtag1","hashtag2"]},{"1351822350":["hashtag1","hashtag2"]},{"1351822119":["hashtag1","hashtag2"]},{"1351822310":["hashtag1","hashtag2"]},{"1351822202":["hashtag1","hashtag2"]},{"1351822103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351822257, 1351822350, 1351822119, 1351822310, 1351822202, 1351822103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09567046165466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:29:32.975731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/43/image_19042025_09_43_42_9366.jpg', '/home/pi/Desktop/images/19042025/09/45/image_19042025_09_45_33_10384.jpg', '/home/pi/Desktop/images/19042025/09/45/image_19042025_09_45_42_9362.jpg', '/home/pi/Desktop/images/19042025/09/45/image_19042025_09_45_52_10348.jpg', '/home/pi/Desktop/images/19042025/09/45/image_19042025_09_46_03_10340.jpg', '/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_12_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/43/image_19042025_09_43_42_9366.jpg
/home/pi/Desktop/images/19042025/09/45/image_19042025_09_45_33_10384.jpg
/home/pi/Desktop/images/19042025/09/45/image_19042025_09_45_42_9362.jpg
/home/pi/Desktop/images/19042025/09/45/image_19042025_09_45_52_10348.jpg
/home/pi/Desktop/images/19042025/09/45/image_19042025_09_46_03_10340.jpg
/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_12_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":["1351822536","1351822589","1351822567","1351822525","1351822468","1351822516"],"photo_ids_order":["1351822468","1351822516","1351822525","1351822536","1351822567","1351822589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3cf5e95c801d3ee16272b16e668ed2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2956966756325991434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062233473,"filename":"image_19042025_09_45_52_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/19/9c47ae9f4895b01a5b9e22338d46be01.jpg","text":"TemporaryFile(/tmp/multipartBody4748381122892080979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062233473,"filename":"image_19042025_09_46_12_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/19/bacda2a30a71b6ea43103dc40b308bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3427580298510239027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062233473,"filename":"image_19042025_09_46_03_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/19/34d31f99a78082cd0f368bb92e94a327.jpg","text":"TemporaryFile(/tmp/multipartBody8072096640832422588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062233473,"filename":"image_19042025_09_45_42_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/19/991e255577fd688c269e0f28a24aaecf.jpg","text":"TemporaryFile(/tmp/multipartBody2942590377195932131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062233473,"filename":"image_19042025_09_43_42_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/19/1736f2d8d6a3cf5a0218ed7b0fcc49ce.jpg","text":"TemporaryFile(/tmp/multipartBody2955465673551496333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062233473,"filename":"image_19042025_09_45_33_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351822525","file1":"1351822516","file0":"1351822468","file4":"1351822567","file5":"1351822589","file3":"1351822536"},"map_files_photo_id_array":[{"photo_id":"1351822589","filename":"file5"},{"photo_id":"1351822525","filename":"file2"},{"photo_id":"1351822567","filename":"file4"},{"photo_id":"1351822516","filename":"file1"},{"photo_id":"1351822468","filename":"file0"},{"photo_id":"1351822536","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351822536":["hashtag1","hashtag2"]},{"1351822589":["hashtag1","hashtag2"]},{"1351822567":["hashtag1","hashtag2"]},{"1351822525":["hashtag1","hashtag2"]},{"1351822468":["hashtag1","hashtag2"]},{"1351822516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351822536, 1351822589, 1351822567, 1351822525, 1351822468, 1351822516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28213119506836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:30:32.148197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_22_10363.jpg', '/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_33_10477.jpg', '/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_42_9434.jpg', '/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_53_10364.jpg', '/home/pi/Desktop/images/19042025/09/46/image_19042025_09_47_02_9372.jpg', '/home/pi/Desktop/images/19042025/09/47/image_19042025_09_47_12_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_22_10363.jpg
/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_33_10477.jpg
/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_42_9434.jpg
/home/pi/Desktop/images/19042025/09/46/image_19042025_09_46_53_10364.jpg
/home/pi/Desktop/images/19042025/09/46/image_19042025_09_47_02_9372.jpg
/home/pi/Desktop/images/19042025/09/47/image_19042025_09_47_12_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":["1351822767","1351822641","1351822644","1351822647","1351822832","1351822829"],"photo_ids_order":["1351822641","1351822644","1351822647","1351822767","1351822829","1351822832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/92e57217bffba053a752f29e0599dbc2.jpg","text":"TemporaryFile(/tmp/multipartBody3770126705126718211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062292666,"filename":"image_19042025_09_46_53_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/19/55d784bec240632e2b7cfa645ed34845.jpg","text":"TemporaryFile(/tmp/multipartBody1527585157072801511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062292666,"filename":"image_19042025_09_46_22_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/19/94c5535cac1ed92a8f41a9f2ccb02669.jpg","text":"TemporaryFile(/tmp/multipartBody1719185162595466835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062292666,"filename":"image_19042025_09_46_33_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/19/510ad489a5373d0f9dabf94904e16c73.jpg","text":"TemporaryFile(/tmp/multipartBody4780776228861069292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062292666,"filename":"image_19042025_09_46_42_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/19/f217d1728f5acd86565c00d54318dd0b.jpg","text":"TemporaryFile(/tmp/multipartBody8158194203052480461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062292666,"filename":"image_19042025_09_47_12_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/19/60965eec9312d09d93e79a0f0a45520a.jpg","text":"TemporaryFile(/tmp/multipartBody7714766025500042974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062292666,"filename":"image_19042025_09_47_02_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351822647","file1":"1351822644","file0":"1351822641","file4":"1351822829","file5":"1351822832","file3":"1351822767"},"map_files_photo_id_array":[{"photo_id":"1351822832","filename":"file5"},{"photo_id":"1351822647","filename":"file2"},{"photo_id":"1351822829","filename":"file4"},{"photo_id":"1351822644","filename":"file1"},{"photo_id":"1351822641","filename":"file0"},{"photo_id":"1351822767","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351822767":["hashtag1","hashtag2"]},{"1351822641":["hashtag1","hashtag2"]},{"1351822644":["hashtag1","hashtag2"]},{"1351822647":["hashtag1","hashtag2"]},{"1351822832":["hashtag1","hashtag2"]},{"1351822829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351822767, 1351822641, 1351822644, 1351822647, 1351822832, 1351822829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13552260398865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:31:32.410992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/47/image_19042025_09_47_23_10366.jpg', '/home/pi/Desktop/images/19042025/09/47/image_19042025_09_47_32_9435.jpg', '/home/pi/Desktop/images/19042025/09/47/image_19042025_09_47_52_9351.jpg', '/home/pi/Desktop/images/19042025/09/47/image_19042025_09_48_02_10372.jpg', '/home/pi/Desktop/images/19042025/09/48/image_19042025_09_48_13_10368.jpg', '/home/pi/Desktop/images/19042025/09/48/image_19042025_09_48_22_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/47/image_19042025_09_47_23_10366.jpg
/home/pi/Desktop/images/19042025/09/47/image_19042025_09_47_32_9435.jpg
/home/pi/Desktop/images/19042025/09/47/image_19042025_09_47_52_9351.jpg
/home/pi/Desktop/images/19042025/09/47/image_19042025_09_48_02_10372.jpg
/home/pi/Desktop/images/19042025/09/48/image_19042025_09_48_13_10368.jpg
/home/pi/Desktop/images/19042025/09/48/image_19042025_09_48_22_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":["1351823004","1351822923","1351822955","1351823002","1351822995","1351822998"],"photo_ids_order":["1351822923","1351822955","1351822995","1351822998","1351823002","1351823004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd0717d268571f9fd622ac3765bcfe3f.jpg","text":"TemporaryFile(/tmp/multipartBody6247236540742164998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062354195,"filename":"image_19042025_09_48_22_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/19/51a82d84a1d84ca90394d2730aa80a94.jpg","text":"TemporaryFile(/tmp/multipartBody4209542331482200657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062354195,"filename":"image_19042025_09_47_23_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/19/9ec2f70e5806963cfe0cf0a2cddc9132.jpg","text":"TemporaryFile(/tmp/multipartBody7853689505800804623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062354195,"filename":"image_19042025_09_47_32_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/19/8df8bdb1782b3beacca6897230375663.jpg","text":"TemporaryFile(/tmp/multipartBody6179733981207478715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062354195,"filename":"image_19042025_09_48_13_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/19/982ed1e29f4ee771ffea1cbb984dff67.jpg","text":"TemporaryFile(/tmp/multipartBody8000263012750791959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062354195,"filename":"image_19042025_09_47_52_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/19/0fc83dd818d81ae601268698c206f266.jpg","text":"TemporaryFile(/tmp/multipartBody929551914126320208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062354195,"filename":"image_19042025_09_48_02_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351822995","file1":"1351822955","file0":"1351822923","file4":"1351823002","file5":"1351823004","file3":"1351822998"},"map_files_photo_id_array":[{"photo_id":"1351823004","filename":"file5"},{"photo_id":"1351822995","filename":"file2"},{"photo_id":"1351823002","filename":"file4"},{"photo_id":"1351822955","filename":"file1"},{"photo_id":"1351822923","filename":"file0"},{"photo_id":"1351822998","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351823004":["hashtag1","hashtag2"]},{"1351822923":["hashtag1","hashtag2"]},{"1351822955":["hashtag1","hashtag2"]},{"1351823002":["hashtag1","hashtag2"]},{"1351822995":["hashtag1","hashtag2"]},{"1351822998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351823004, 1351822923, 1351822955, 1351823002, 1351822995, 1351822998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96930480003357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:32:32.675160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/48/image_19042025_09_48_32_10426.jpg', '/home/pi/Desktop/images/19042025/09/49/image_19042025_09_49_12_9425.jpg', '/home/pi/Desktop/images/19042025/09/49/image_19042025_09_49_22_10360.jpg', '/home/pi/Desktop/images/19042025/09/49/image_19042025_09_49_42_9600.jpg', '/home/pi/Desktop/images/19042025/09/49/image_19042025_09_49_53_10419.jpg', '/home/pi/Desktop/images/19042025/09/49/image_19042025_09_50_02_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/48/image_19042025_09_48_32_10426.jpg
/home/pi/Desktop/images/19042025/09/49/image_19042025_09_49_12_9425.jpg
/home/pi/Desktop/images/19042025/09/49/image_19042025_09_49_22_10360.jpg
/home/pi/Desktop/images/19042025/09/49/image_19042025_09_49_42_9600.jpg
/home/pi/Desktop/images/19042025/09/49/image_19042025_09_49_53_10419.jpg
/home/pi/Desktop/images/19042025/09/49/image_19042025_09_50_02_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":["1351823154","1351823186","1351823180","1351823126","1351823182","1351823185"],"photo_ids_order":["1351823126","1351823154","1351823180","1351823182","1351823185","1351823186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e0b1fdc1d6379e2c9825cf7f10d347b0.jpg","text":"TemporaryFile(/tmp/multipartBody5373222864743603131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062413173,"filename":"image_19042025_09_49_12_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/19/d1763a448bdb63f422f614df2aaa95e1.jpg","text":"TemporaryFile(/tmp/multipartBody5372408548007896045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062413173,"filename":"image_19042025_09_50_02_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/19/6131c74f87bfae8ecfa6314ac4dc6700.jpg","text":"TemporaryFile(/tmp/multipartBody5006946010784218648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062413173,"filename":"image_19042025_09_49_22_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/19/ded76cc29c8c55aabe7acc0775da1a70.jpg","text":"TemporaryFile(/tmp/multipartBody5647779109293554425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062413173,"filename":"image_19042025_09_48_32_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/19/45b08d43c3e8dd993541c4f5925a2b80.jpg","text":"TemporaryFile(/tmp/multipartBody8799950590649435130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062413173,"filename":"image_19042025_09_49_42_9600.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e80b06bf7ef845fe31ef7c5526bc4fc1.jpg","text":"TemporaryFile(/tmp/multipartBody6157937739350332371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062413173,"filename":"image_19042025_09_49_53_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351823180","file1":"1351823154","file0":"1351823126","file4":"1351823185","file5":"1351823186","file3":"1351823182"},"map_files_photo_id_array":[{"photo_id":"1351823186","filename":"file5"},{"photo_id":"1351823180","filename":"file2"},{"photo_id":"1351823185","filename":"file4"},{"photo_id":"1351823154","filename":"file1"},{"photo_id":"1351823126","filename":"file0"},{"photo_id":"1351823182","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351823154":["hashtag1","hashtag2"]},{"1351823186":["hashtag1","hashtag2"]},{"1351823180":["hashtag1","hashtag2"]},{"1351823126":["hashtag1","hashtag2"]},{"1351823182":["hashtag1","hashtag2"]},{"1351823185":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351823154, 1351823186, 1351823180, 1351823126, 1351823182, 1351823185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.644715070724487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:33:32.905904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/50/image_19042025_09_50_13_10365.jpg', '/home/pi/Desktop/images/19042025/09/50/image_19042025_09_50_43_10426.jpg', '/home/pi/Desktop/images/19042025/09/50/image_19042025_09_50_52_9355.jpg', '/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_12_9396.jpg', '/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_22_10369.jpg', '/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_33_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/50/image_19042025_09_50_13_10365.jpg
/home/pi/Desktop/images/19042025/09/50/image_19042025_09_50_43_10426.jpg
/home/pi/Desktop/images/19042025/09/50/image_19042025_09_50_52_9355.jpg
/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_12_9396.jpg
/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_22_10369.jpg
/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_33_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":["1351823480","1351823334","1351823453","1351823365","1351823509","1351823422"],"photo_ids_order":["1351823334","1351823365","1351823422","1351823453","1351823480","1351823509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28bca861a8d59d1d224dbf2ca9875d9c.jpg","text":"TemporaryFile(/tmp/multipartBody2225562933685069102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062473421,"filename":"image_19042025_09_51_22_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/19/34d893f04362f922f2902d9ccc664419.jpg","text":"TemporaryFile(/tmp/multipartBody7755920203295569422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062473421,"filename":"image_19042025_09_50_13_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/19/9bcbf72acb61c85df025e72155e8e606.jpg","text":"TemporaryFile(/tmp/multipartBody657359238066878856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062473421,"filename":"image_19042025_09_51_12_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/19/ae15bf8be3d33de2fb1b0ddd33c02028.jpg","text":"TemporaryFile(/tmp/multipartBody3344064932476000582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062473421,"filename":"image_19042025_09_50_43_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/19/e9717e23e724f2b5e6ceecbdae1c85a5.jpg","text":"TemporaryFile(/tmp/multipartBody7035731166361380201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062473421,"filename":"image_19042025_09_51_33_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/19/00f2897fbafb9f4a1f9dc1f6a00a7a75.jpg","text":"TemporaryFile(/tmp/multipartBody2831941818435830553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062473421,"filename":"image_19042025_09_50_52_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351823422","file1":"1351823365","file0":"1351823334","file4":"1351823480","file5":"1351823509","file3":"1351823453"},"map_files_photo_id_array":[{"photo_id":"1351823509","filename":"file5"},{"photo_id":"1351823422","filename":"file2"},{"photo_id":"1351823480","filename":"file4"},{"photo_id":"1351823365","filename":"file1"},{"photo_id":"1351823334","filename":"file0"},{"photo_id":"1351823453","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351823480":["hashtag1","hashtag2"]},{"1351823334":["hashtag1","hashtag2"]},{"1351823453":["hashtag1","hashtag2"]},{"1351823365":["hashtag1","hashtag2"]},{"1351823509":["hashtag1","hashtag2"]},{"1351823422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351823480, 1351823334, 1351823453, 1351823365, 1351823509, 1351823422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.34050178527832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:34:33.129437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_42_9306.jpg', '/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_52_10377.jpg', '/home/pi/Desktop/images/19042025/09/52/image_19042025_09_52_12_9342.jpg', '/home/pi/Desktop/images/19042025/09/52/image_19042025_09_52_23_10368.jpg', '/home/pi/Desktop/images/19042025/09/52/image_19042025_09_52_32_9436.jpg', '/home/pi/Desktop/images/19042025/09/52/image_19042025_09_52_42_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_42_9306.jpg
/home/pi/Desktop/images/19042025/09/51/image_19042025_09_51_52_10377.jpg
/home/pi/Desktop/images/19042025/09/52/image_19042025_09_52_12_9342.jpg
/home/pi/Desktop/images/19042025/09/52/image_19042025_09_52_23_10368.jpg
/home/pi/Desktop/images/19042025/09/52/image_19042025_09_52_32_9436.jpg
/home/pi/Desktop/images/19042025/09/52/image_19042025_09_52_42_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":["1351824191","1351824239","1351824080","1351824052","1351824135","1351823997"],"photo_ids_order":["1351823997","1351824052","1351824080","1351824135","1351824191","1351824239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61b028f2d718a23a8ba0cd1816d5cdfc.jpg","text":"TemporaryFile(/tmp/multipartBody5515281213139254430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062533657,"filename":"image_19042025_09_52_32_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/19/51405cf86a1e27188b0eed54881cd0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5660349960847027185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062533657,"filename":"image_19042025_09_52_42_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/19/6a8ee240a8535a875885f18902884b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6219825763570192201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062533657,"filename":"image_19042025_09_52_12_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/19/392c27df24579e8e8036854244cf9265.jpg","text":"TemporaryFile(/tmp/multipartBody1353733921045332958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062533657,"filename":"image_19042025_09_51_52_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/19/38a9258cda655fef69fa71a45df980f4.jpg","text":"TemporaryFile(/tmp/multipartBody2698031346804212162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062533657,"filename":"image_19042025_09_52_23_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/19/1fbfe01dfad0cd310db0f04d63948506.jpg","text":"TemporaryFile(/tmp/multipartBody3268658908474565393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062533657,"filename":"image_19042025_09_51_42_9306.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351824080","file1":"1351824052","file0":"1351823997","file4":"1351824191","file5":"1351824239","file3":"1351824135"},"map_files_photo_id_array":[{"photo_id":"1351824239","filename":"file5"},{"photo_id":"1351824080","filename":"file2"},{"photo_id":"1351824191","filename":"file4"},{"photo_id":"1351824052","filename":"file1"},{"photo_id":"1351823997","filename":"file0"},{"photo_id":"1351824135","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351824191":["hashtag1","hashtag2"]},{"1351824239":["hashtag1","hashtag2"]},{"1351824080":["hashtag1","hashtag2"]},{"1351824052":["hashtag1","hashtag2"]},{"1351824135":["hashtag1","hashtag2"]},{"1351823997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351824191, 1351824239, 1351824080, 1351824052, 1351824135, 1351823997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84674668312073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:35:32.477991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/52/image_19042025_09_53_02_9440.jpg', '/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_13_10434.jpg', '/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_22_9431.jpg', '/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_32_10381.jpg', '/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_43_10457.jpg', '/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_52_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/52/image_19042025_09_53_02_9440.jpg
/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_13_10434.jpg
/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_22_9431.jpg
/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_32_10381.jpg
/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_43_10457.jpg
/home/pi/Desktop/images/19042025/09/53/image_19042025_09_53_52_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":["1351824784","1351824640","1351824849","1351824858","1351824825","1351824711"],"photo_ids_order":["1351824640","1351824711","1351824784","1351824825","1351824849","1351824858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f0923392db69c08cfd37892c7c23bc5.jpg","text":"TemporaryFile(/tmp/multipartBody647471418305297873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062593011,"filename":"image_19042025_09_53_22_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/19/9cfd6e84bee845f096d70ab9617df8cc.jpg","text":"TemporaryFile(/tmp/multipartBody8965517466435824305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062593011,"filename":"image_19042025_09_53_02_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/19/5a297387d5c6b966247ef1b489ccec72.jpg","text":"TemporaryFile(/tmp/multipartBody6176788144140213234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062593011,"filename":"image_19042025_09_53_43_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/19/21ec7150ea41c114fe09c0020d83196b.jpg","text":"TemporaryFile(/tmp/multipartBody7262384914074357037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062593011,"filename":"image_19042025_09_53_52_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/19/e2cc2b8e551259327018e16b17e30733.jpg","text":"TemporaryFile(/tmp/multipartBody6387945955220130930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062593011,"filename":"image_19042025_09_53_32_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/19/0208a2358783bed75ce17001020ff23d.jpg","text":"TemporaryFile(/tmp/multipartBody2016548323997495864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062593011,"filename":"image_19042025_09_53_13_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351824784","file1":"1351824711","file0":"1351824640","file4":"1351824849","file5":"1351824858","file3":"1351824825"},"map_files_photo_id_array":[{"photo_id":"1351824858","filename":"file5"},{"photo_id":"1351824784","filename":"file2"},{"photo_id":"1351824849","filename":"file4"},{"photo_id":"1351824711","filename":"file1"},{"photo_id":"1351824640","filename":"file0"},{"photo_id":"1351824825","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351824784":["hashtag1","hashtag2"]},{"1351824640":["hashtag1","hashtag2"]},{"1351824849":["hashtag1","hashtag2"]},{"1351824858":["hashtag1","hashtag2"]},{"1351824825":["hashtag1","hashtag2"]},{"1351824711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351824784, 1351824640, 1351824849, 1351824858, 1351824825, 1351824711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.448981285095215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:36:32.674954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/53/image_19042025_09_54_03_10365.jpg', '/home/pi/Desktop/images/19042025/09/54/image_19042025_09_54_12_9331.jpg', '/home/pi/Desktop/images/19042025/09/54/image_19042025_09_54_22_10362.jpg', '/home/pi/Desktop/images/19042025/09/54/image_19042025_09_54_42_9404.jpg', '/home/pi/Desktop/images/19042025/09/56/image_19042025_09_56_32_10370.jpg', '/home/pi/Desktop/images/19042025/09/57/image_19042025_09_57_33_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/53/image_19042025_09_54_03_10365.jpg
/home/pi/Desktop/images/19042025/09/54/image_19042025_09_54_12_9331.jpg
/home/pi/Desktop/images/19042025/09/54/image_19042025_09_54_22_10362.jpg
/home/pi/Desktop/images/19042025/09/54/image_19042025_09_54_42_9404.jpg
/home/pi/Desktop/images/19042025/09/56/image_19042025_09_56_32_10370.jpg
/home/pi/Desktop/images/19042025/09/57/image_19042025_09_57_33_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":["1351825040","1351825228","1351825135","1351825254","1351825190","1351825011"],"photo_ids_order":["1351825011","1351825040","1351825135","1351825190","1351825228","1351825254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/856cbb9d2eb7dc24c213b5a9ea27a2fd.jpg","text":"TemporaryFile(/tmp/multipartBody2671595136871776990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062653184,"filename":"image_19042025_09_54_12_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/19/96ad54edc54854024b66ce904689d846.jpg","text":"TemporaryFile(/tmp/multipartBody8661881715450797244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062653184,"filename":"image_19042025_09_56_32_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/19/651d67be7b393327fae2b261adc7dbc0.jpg","text":"TemporaryFile(/tmp/multipartBody2509092766898287564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062653184,"filename":"image_19042025_09_54_22_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/19/217e9bf702f04478d412dbc1c0b0c079.jpg","text":"TemporaryFile(/tmp/multipartBody6627189620586718364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062653184,"filename":"image_19042025_09_57_33_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/19/dd13151d48600ec4d581d885613b45bf.jpg","text":"TemporaryFile(/tmp/multipartBody2237438262305291320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062653184,"filename":"image_19042025_09_54_42_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/19/b9e691cd20237128f8e8fd12058bffd0.jpg","text":"TemporaryFile(/tmp/multipartBody7968560456628543058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062653184,"filename":"image_19042025_09_54_03_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351825135","file1":"1351825040","file0":"1351825011","file4":"1351825228","file5":"1351825254","file3":"1351825190"},"map_files_photo_id_array":[{"photo_id":"1351825254","filename":"file5"},{"photo_id":"1351825135","filename":"file2"},{"photo_id":"1351825228","filename":"file4"},{"photo_id":"1351825040","filename":"file1"},{"photo_id":"1351825011","filename":"file0"},{"photo_id":"1351825190","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351825040":["hashtag1","hashtag2"]},{"1351825228":["hashtag1","hashtag2"]},{"1351825135":["hashtag1","hashtag2"]},{"1351825254":["hashtag1","hashtag2"]},{"1351825190":["hashtag1","hashtag2"]},{"1351825011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351825040, 1351825228, 1351825135, 1351825254, 1351825190, 1351825011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.650763273239136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:37:32.852480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/57/image_19042025_09_57_52_10367.jpg', '/home/pi/Desktop/images/19042025/09/57/image_19042025_09_58_02_9414.jpg', '/home/pi/Desktop/images/19042025/09/58/image_19042025_09_58_12_10368.jpg', '/home/pi/Desktop/images/19042025/09/58/image_19042025_09_58_32_9352.jpg', '/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_12_10341.jpg', '/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_22_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/57/image_19042025_09_57_52_10367.jpg
/home/pi/Desktop/images/19042025/09/57/image_19042025_09_58_02_9414.jpg
/home/pi/Desktop/images/19042025/09/58/image_19042025_09_58_12_10368.jpg
/home/pi/Desktop/images/19042025/09/58/image_19042025_09_58_32_9352.jpg
/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_12_10341.jpg
/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_22_9522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351825369","1351825336","1351825395","1351825332","1351825334","1351825421"],"photo_ids_order":["1351825332","1351825334","1351825336","1351825369","1351825395","1351825421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2905f881c13486340f8623b8e03fdf7b.jpg","text":"TemporaryFile(/tmp/multipartBody2460810480770932091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062713368,"filename":"image_19042025_09_58_32_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/19/1b7b496eae2cd3f22680f3d0e59d394c.jpg","text":"TemporaryFile(/tmp/multipartBody553225740586073412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062713368,"filename":"image_19042025_09_58_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/19/520fc90cb986f746cd5725b9bcda38d4.jpg","text":"TemporaryFile(/tmp/multipartBody8436279212416965275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062713368,"filename":"image_19042025_09_59_12_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/19/bf5011dc2d8389f2433f804b51bb751f.jpg","text":"TemporaryFile(/tmp/multipartBody3542192146689559267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062713368,"filename":"image_19042025_09_57_52_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/19/fb2332f3b4d75bd8da3f2104f721d9ec.jpg","text":"TemporaryFile(/tmp/multipartBody274171777851547238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062713368,"filename":"image_19042025_09_58_02_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/19/97aa3b3c78fc1b473034624ac8f27cc5.jpg","text":"TemporaryFile(/tmp/multipartBody8849257122241731684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062713368,"filename":"image_19042025_09_59_22_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351825336","file1":"1351825334","file0":"1351825332","file4":"1351825395","file5":"1351825421","file3":"1351825369"},"map_files_photo_id_array":[{"photo_id":"1351825421","filename":"file5"},{"photo_id":"1351825336","filename":"file2"},{"photo_id":"1351825395","filename":"file4"},{"photo_id":"1351825334","filename":"file1"},{"photo_id":"1351825332","filename":"file0"},{"photo_id":"1351825369","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351825369":["hashtag1","hashtag2"]},{"1351825336":["hashtag1","hashtag2"]},{"1351825395":["hashtag1","hashtag2"]},{"1351825332":["hashtag1","hashtag2"]},{"1351825334":["hashtag1","hashtag2"]},{"1351825421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351825369, 1351825336, 1351825395, 1351825332, 1351825334, 1351825421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.00284719467163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:38:33.092454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_32_10382.jpg', '/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_43_10364.jpg', '/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_52_9432.jpg', '/home/pi/Desktop/images/19042025/10/01/image_19042025_10_01_15_10085.jpg', '/home/pi/Desktop/images/19042025/10/01/image_19042025_10_01_25_10405.jpg', '/home/pi/Desktop/images/19042025/10/01/image_19042025_10_01_36_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_32_10382.jpg
/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_43_10364.jpg
/home/pi/Desktop/images/19042025/09/59/image_19042025_09_59_52_9432.jpg
/home/pi/Desktop/images/19042025/10/01/image_19042025_10_01_15_10085.jpg
/home/pi/Desktop/images/19042025/10/01/image_19042025_10_01_25_10405.jpg
/home/pi/Desktop/images/19042025/10/01/image_19042025_10_01_36_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351825584","1351825671","1351825638","1351825611","1351825676","1351825664"],"photo_ids_order":["1351825584","1351825611","1351825638","1351825664","1351825671","1351825676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/07da188091f33c1b7be2421915a77415.jpg","text":"TemporaryFile(/tmp/multipartBody6088055911227454524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062773610,"filename":"image_19042025_09_59_32_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/19/5d86225246ecb366c510f81343e698d0.jpg","text":"TemporaryFile(/tmp/multipartBody1658900790418748259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062773610,"filename":"image_19042025_10_01_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/19/8c3b188896d6ee572589e7378f80d58d.jpg","text":"TemporaryFile(/tmp/multipartBody5934042797188707237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062773610,"filename":"image_19042025_09_59_52_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/19/ae86fa287ac24dcb53a079def5120522.jpg","text":"TemporaryFile(/tmp/multipartBody1443806437661975389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062773610,"filename":"image_19042025_09_59_43_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/19/f4892e0634939776a27457b9ea503334.jpg","text":"TemporaryFile(/tmp/multipartBody4233469042289525996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062773610,"filename":"image_19042025_10_01_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/19/7daafe37c09bc2211dac11eb451cfd5d.jpg","text":"TemporaryFile(/tmp/multipartBody4124952882147403244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062773610,"filename":"image_19042025_10_01_15_10085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351825638","file1":"1351825611","file0":"1351825584","file4":"1351825671","file5":"1351825676","file3":"1351825664"},"map_files_photo_id_array":[{"photo_id":"1351825676","filename":"file5"},{"photo_id":"1351825638","filename":"file2"},{"photo_id":"1351825671","filename":"file4"},{"photo_id":"1351825611","filename":"file1"},{"photo_id":"1351825584","filename":"file0"},{"photo_id":"1351825664","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351825584":["hashtag1","hashtag2"]},{"1351825671":["hashtag1","hashtag2"]},{"1351825638":["hashtag1","hashtag2"]},{"1351825611":["hashtag1","hashtag2"]},{"1351825676":["hashtag1","hashtag2"]},{"1351825664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351825584, 1351825671, 1351825638, 1351825611, 1351825676, 1351825664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71628975868225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:39:32.306411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/01/image_19042025_10_01_55_10363.jpg', '/home/pi/Desktop/images/19042025/10/01/image_19042025_10_02_06_10383.jpg', '/home/pi/Desktop/images/19042025/10/02/image_19042025_10_02_15_9439.jpg', '/home/pi/Desktop/images/19042025/10/02/image_19042025_10_02_55_9356.jpg', '/home/pi/Desktop/images/19042025/10/02/image_19042025_10_03_05_10358.jpg', '/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/01/image_19042025_10_01_55_10363.jpg
/home/pi/Desktop/images/19042025/10/01/image_19042025_10_02_06_10383.jpg
/home/pi/Desktop/images/19042025/10/02/image_19042025_10_02_15_9439.jpg
/home/pi/Desktop/images/19042025/10/02/image_19042025_10_02_55_9356.jpg
/home/pi/Desktop/images/19042025/10/02/image_19042025_10_03_05_10358.jpg
/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351825934","1351826068","1351825875","1351826019","1351825967","1351825905"],"photo_ids_order":["1351825875","1351825905","1351825934","1351825967","1351826019","1351826068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/47112955e9c92dae80a73a810bfe43c4.jpg","text":"TemporaryFile(/tmp/multipartBody3922610214480633992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062832817,"filename":"image_19042025_10_02_15_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08f37b755fce3f93617ac1b7a9f17ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5670669031464164233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062832817,"filename":"image_19042025_10_03_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4bc92e6e7a31a78556b1cedec4f196c3.jpg","text":"TemporaryFile(/tmp/multipartBody7829949671745971018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062832817,"filename":"image_19042025_10_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/19/de3444fb51b3bdf87ee03185a0d43bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8042174704898417684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062832817,"filename":"image_19042025_10_03_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/19/8915c9640a661bde325fe0303c62d26c.jpg","text":"TemporaryFile(/tmp/multipartBody76821666340922312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062832817,"filename":"image_19042025_10_02_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e817355d0b9b522ae22b0dbddf07b02.jpg","text":"TemporaryFile(/tmp/multipartBody5733248598032816076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062832817,"filename":"image_19042025_10_02_06_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351825934","file1":"1351825905","file0":"1351825875","file4":"1351826019","file5":"1351826068","file3":"1351825967"},"map_files_photo_id_array":[{"photo_id":"1351826068","filename":"file5"},{"photo_id":"1351825934","filename":"file2"},{"photo_id":"1351826019","filename":"file4"},{"photo_id":"1351825905","filename":"file1"},{"photo_id":"1351825875","filename":"file0"},{"photo_id":"1351825967","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351825934":["hashtag1","hashtag2"]},{"1351826068":["hashtag1","hashtag2"]},{"1351825875":["hashtag1","hashtag2"]},{"1351826019":["hashtag1","hashtag2"]},{"1351825967":["hashtag1","hashtag2"]},{"1351825905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351825934, 1351826068, 1351825875, 1351826019, 1351825967, 1351825905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.748319387435913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:40:32.381842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_25_9499.jpg', '/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_35_10374.jpg', '/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_46_10357.jpg', '/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_55_9359.jpg', '/home/pi/Desktop/images/19042025/10/03/image_19042025_10_04_05_10366.jpg', '/home/pi/Desktop/images/19042025/10/04/image_19042025_10_04_15_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_25_9499.jpg
/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_35_10374.jpg
/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_46_10357.jpg
/home/pi/Desktop/images/19042025/10/03/image_19042025_10_03_55_9359.jpg
/home/pi/Desktop/images/19042025/10/03/image_19042025_10_04_05_10366.jpg
/home/pi/Desktop/images/19042025/10/04/image_19042025_10_04_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":["1351826179","1351826181","1351826175","1351826184","1351826226","1351826197"],"photo_ids_order":["1351826175","1351826179","1351826181","1351826184","1351826197","1351826226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a61fbebf498099c6f52229e3c4f1f317.jpg","text":"TemporaryFile(/tmp/multipartBody5419451477653707871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062892909,"filename":"image_19042025_10_03_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/19/c6baa86ddc709f636a57dc7b1e8d33ab.jpg","text":"TemporaryFile(/tmp/multipartBody8710456803675438869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062892909,"filename":"image_19042025_10_03_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/19/880f205d59c39ba57b37185d63400823.jpg","text":"TemporaryFile(/tmp/multipartBody6931214156426962702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062892909,"filename":"image_19042025_10_03_25_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28fe197f7bb9edf4208427e132d06b00.jpg","text":"TemporaryFile(/tmp/multipartBody3025680883359969695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062892909,"filename":"image_19042025_10_03_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/19/237f96ba1295f70bd78bc36ac2f0febe.jpg","text":"TemporaryFile(/tmp/multipartBody1406204812934084324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062892909,"filename":"image_19042025_10_04_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/19/c820e9b4fa28e6fb7ca5f1f0650527c8.jpg","text":"TemporaryFile(/tmp/multipartBody2443010563331644971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062892909,"filename":"image_19042025_10_04_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351826181","file1":"1351826179","file0":"1351826175","file4":"1351826197","file5":"1351826226","file3":"1351826184"},"map_files_photo_id_array":[{"photo_id":"1351826226","filename":"file5"},{"photo_id":"1351826181","filename":"file2"},{"photo_id":"1351826197","filename":"file4"},{"photo_id":"1351826179","filename":"file1"},{"photo_id":"1351826175","filename":"file0"},{"photo_id":"1351826184","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351826179":["hashtag1","hashtag2"]},{"1351826181":["hashtag1","hashtag2"]},{"1351826175":["hashtag1","hashtag2"]},{"1351826184":["hashtag1","hashtag2"]},{"1351826226":["hashtag1","hashtag2"]},{"1351826197":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351826179, 1351826181, 1351826175, 1351826184, 1351826226, 1351826197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24745535850525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:41:32.622082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/04/image_19042025_10_04_25_10422.jpg', '/home/pi/Desktop/images/19042025/10/04/image_19042025_10_04_35_10361.jpg', '/home/pi/Desktop/images/19042025/10/04/image_19042025_10_04_45_9487.jpg', '/home/pi/Desktop/images/19042025/10/04/image_19042025_10_05_05_9334.jpg', '/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_15_10370.jpg', '/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/04/image_19042025_10_04_25_10422.jpg
/home/pi/Desktop/images/19042025/10/04/image_19042025_10_04_35_10361.jpg
/home/pi/Desktop/images/19042025/10/04/image_19042025_10_04_45_9487.jpg
/home/pi/Desktop/images/19042025/10/04/image_19042025_10_05_05_9334.jpg
/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_15_10370.jpg
/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_25_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351827474","1351826577","1351827659","1351826541","1351826863","1351826686"],"photo_ids_order":["1351826541","1351826577","1351826686","1351826863","1351827474","1351827659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/315417c98adca9c6b2ebeea080b0a89d.jpg","text":"TemporaryFile(/tmp/multipartBody1425715676632131742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062953144,"filename":"image_19042025_10_05_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/19/41a81267dbc80a045808cefe17e83d42.jpg","text":"TemporaryFile(/tmp/multipartBody6555285159659374964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062953144,"filename":"image_19042025_10_04_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/19/931a931aac4385f69d3fe7fbff4d1001.jpg","text":"TemporaryFile(/tmp/multipartBody4812781653081332239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062953144,"filename":"image_19042025_10_05_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/19/dcef9f47a0748318e5b6879c3bfe9b4d.jpg","text":"TemporaryFile(/tmp/multipartBody5849980382988282481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062953144,"filename":"image_19042025_10_04_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e7d9093db6971adb922c76a1d6d7968.jpg","text":"TemporaryFile(/tmp/multipartBody5913151759226696101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062953144,"filename":"image_19042025_10_05_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/19/72fc70c63b3ed40b6a1590b52305938d.jpg","text":"TemporaryFile(/tmp/multipartBody4831786660144768963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745062953144,"filename":"image_19042025_10_04_45_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351826686","file1":"1351826577","file0":"1351826541","file4":"1351827474","file5":"1351827659","file3":"1351826863"},"map_files_photo_id_array":[{"photo_id":"1351827659","filename":"file5"},{"photo_id":"1351826686","filename":"file2"},{"photo_id":"1351827474","filename":"file4"},{"photo_id":"1351826577","filename":"file1"},{"photo_id":"1351826541","filename":"file0"},{"photo_id":"1351826863","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351827474":["hashtag1","hashtag2"]},{"1351826577":["hashtag1","hashtag2"]},{"1351827659":["hashtag1","hashtag2"]},{"1351826541":["hashtag1","hashtag2"]},{"1351826863":["hashtag1","hashtag2"]},{"1351826686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351827474, 1351826577, 1351827659, 1351826541, 1351826863, 1351826686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.736732721328735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:42:32.794532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_35_9424.jpg', '/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_45_10451.jpg', '/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_56_10354.jpg', '/home/pi/Desktop/images/19042025/10/05/image_19042025_10_06_05_9438.jpg', '/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_15_10358.jpg', '/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_25_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_35_9424.jpg
/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_45_10451.jpg
/home/pi/Desktop/images/19042025/10/05/image_19042025_10_05_56_10354.jpg
/home/pi/Desktop/images/19042025/10/05/image_19042025_10_06_05_9438.jpg
/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_15_10358.jpg
/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_25_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":["1351828425","1351828370","1351828451","1351828289","1351828343","1351828261"],"photo_ids_order":["1351828261","1351828289","1351828343","1351828370","1351828425","1351828451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3efd8441dc959ace6fc4f641e5755ff4.jpg","text":"TemporaryFile(/tmp/multipartBody830959080063115529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063013315,"filename":"image_19042025_10_06_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/19/31545bb44e983be9db516a7a72eee05c.jpg","text":"TemporaryFile(/tmp/multipartBody7246094209392455808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063013315,"filename":"image_19042025_10_06_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/19/1f1d07923c28d03a2f75ee397fedb655.jpg","text":"TemporaryFile(/tmp/multipartBody5225270646022211793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063013315,"filename":"image_19042025_10_06_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/19/e6553415c19b28803ac5f3084c4a46ee.jpg","text":"TemporaryFile(/tmp/multipartBody60747939864541318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063013315,"filename":"image_19042025_10_05_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6af486f522a221e2e21a2cc6f5d927ee.jpg","text":"TemporaryFile(/tmp/multipartBody2082941919404816826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063013315,"filename":"image_19042025_10_05_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/19/a94ab4aedd505156d191494ee9f17fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8562766690405651354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063013315,"filename":"image_19042025_10_05_35_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351828343","file1":"1351828289","file0":"1351828261","file4":"1351828425","file5":"1351828451","file3":"1351828370"},"map_files_photo_id_array":[{"photo_id":"1351828451","filename":"file5"},{"photo_id":"1351828343","filename":"file2"},{"photo_id":"1351828425","filename":"file4"},{"photo_id":"1351828289","filename":"file1"},{"photo_id":"1351828261","filename":"file0"},{"photo_id":"1351828370","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351828425":["hashtag1","hashtag2"]},{"1351828370":["hashtag1","hashtag2"]},{"1351828451":["hashtag1","hashtag2"]},{"1351828289":["hashtag1","hashtag2"]},{"1351828343":["hashtag1","hashtag2"]},{"1351828261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351828425, 1351828370, 1351828451, 1351828289, 1351828343, 1351828261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91338133811951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:43:33.043581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_35_10353.jpg', '/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_45_9443.jpg', '/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_55_10368.jpg', '/home/pi/Desktop/images/19042025/10/06/image_19042025_10_07_05_10363.jpg', '/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_15_9837.jpg', '/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_26_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_35_10353.jpg
/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_45_9443.jpg
/home/pi/Desktop/images/19042025/10/06/image_19042025_10_06_55_10368.jpg
/home/pi/Desktop/images/19042025/10/06/image_19042025_10_07_05_10363.jpg
/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_15_9837.jpg
/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_26_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351828662","1351828710","1351828682","1351828736","1351828678","1351828785"],"photo_ids_order":["1351828662","1351828678","1351828682","1351828710","1351828736","1351828785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/daba4bacaf040af70616041eb81ee285.jpg","text":"TemporaryFile(/tmp/multipartBody8577390608073807482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063073571,"filename":"image_19042025_10_06_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/19/706b053ad6d984d98649d542f6c60308.jpg","text":"TemporaryFile(/tmp/multipartBody5035823323577677613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063073571,"filename":"image_19042025_10_07_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/19/4dc08d9685ad9e363d5b89f5ec82e104.jpg","text":"TemporaryFile(/tmp/multipartBody876420099682653970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063073571,"filename":"image_19042025_10_06_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/19/d554f36de718198386e87bd015abae2c.jpg","text":"TemporaryFile(/tmp/multipartBody6476767272897785209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063073571,"filename":"image_19042025_10_07_15_9837.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fba6397d7e57fab0b24389cde92ac2f2.jpg","text":"TemporaryFile(/tmp/multipartBody2258223078645271020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063073571,"filename":"image_19042025_10_06_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/19/c58993ac832b2455af88c6ac44d78ef3.jpg","text":"TemporaryFile(/tmp/multipartBody4180287842614433811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063073571,"filename":"image_19042025_10_07_26_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351828682","file1":"1351828678","file0":"1351828662","file4":"1351828736","file5":"1351828785","file3":"1351828710"},"map_files_photo_id_array":[{"photo_id":"1351828785","filename":"file5"},{"photo_id":"1351828682","filename":"file2"},{"photo_id":"1351828736","filename":"file4"},{"photo_id":"1351828678","filename":"file1"},{"photo_id":"1351828662","filename":"file0"},{"photo_id":"1351828710","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351828662":["hashtag1","hashtag2"]},{"1351828710":["hashtag1","hashtag2"]},{"1351828682":["hashtag1","hashtag2"]},{"1351828736":["hashtag1","hashtag2"]},{"1351828678":["hashtag1","hashtag2"]},{"1351828785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351828662, 1351828710, 1351828682, 1351828736, 1351828678, 1351828785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40369486808777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:44:32.184657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_35_9359.jpg', '/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_45_10418.jpg', '/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_55_9433.jpg', '/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_15_9450.jpg', '/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_25_10456.jpg', '/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_36_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_35_9359.jpg
/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_45_10418.jpg
/home/pi/Desktop/images/19042025/10/07/image_19042025_10_07_55_9433.jpg
/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_15_9450.jpg
/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_25_10456.jpg
/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_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":["1351829486","1351829675","1351829702","1351829898","1351829725","1351829308"],"photo_ids_order":["1351829308","1351829486","1351829675","1351829702","1351829725","1351829898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb58bdd9d728c1c1857437664e51e6f4.jpg","text":"TemporaryFile(/tmp/multipartBody7175885075475792448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063132717,"filename":"image_19042025_10_07_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/19/901df5a3595215524e27bc05f3ea74c7.jpg","text":"TemporaryFile(/tmp/multipartBody4922221746367789277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063132717,"filename":"image_19042025_10_07_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/19/8b79f8de5061f35b7cd92ed1daaccf5a.jpg","text":"TemporaryFile(/tmp/multipartBody7311023329288881186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063132717,"filename":"image_19042025_10_08_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/19/6a4a5c45c34631761de8e87eaa08bfa9.jpg","text":"TemporaryFile(/tmp/multipartBody1931681923034854767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063132717,"filename":"image_19042025_10_08_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/19/4f3b7ea3b819515244dc401b2f17ccfa.jpg","text":"TemporaryFile(/tmp/multipartBody3532820173859726629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063132717,"filename":"image_19042025_10_08_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/19/38d0686697efa49cbae47175d66cee6a.jpg","text":"TemporaryFile(/tmp/multipartBody5259959246580170619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063132717,"filename":"image_19042025_10_07_35_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351829675","file1":"1351829486","file0":"1351829308","file4":"1351829725","file5":"1351829898","file3":"1351829702"},"map_files_photo_id_array":[{"photo_id":"1351829898","filename":"file5"},{"photo_id":"1351829675","filename":"file2"},{"photo_id":"1351829725","filename":"file4"},{"photo_id":"1351829486","filename":"file1"},{"photo_id":"1351829308","filename":"file0"},{"photo_id":"1351829702","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351829486":["hashtag1","hashtag2"]},{"1351829675":["hashtag1","hashtag2"]},{"1351829702":["hashtag1","hashtag2"]},{"1351829898":["hashtag1","hashtag2"]},{"1351829725":["hashtag1","hashtag2"]},{"1351829308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351829486, 1351829675, 1351829702, 1351829898, 1351829725, 1351829308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.68349003791809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:45:32.429509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_45_9454.jpg', '/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_55_10375.jpg', '/home/pi/Desktop/images/19042025/10/08/image_19042025_10_09_05_9447.jpg', '/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_15_10445.jpg', '/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_25_9472.jpg', '/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_35_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_45_9454.jpg
/home/pi/Desktop/images/19042025/10/08/image_19042025_10_08_55_10375.jpg
/home/pi/Desktop/images/19042025/10/08/image_19042025_10_09_05_9447.jpg
/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_15_10445.jpg
/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_25_9472.jpg
/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_35_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351830738","1351830467","1351830395","1351830575","1351830667","1351830520"],"photo_ids_order":["1351830395","1351830467","1351830520","1351830575","1351830667","1351830738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/92bb1800da46bf8f9cdf023060298aec.jpg","text":"TemporaryFile(/tmp/multipartBody5033208032145855795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063192968,"filename":"image_19042025_10_09_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/19/04deb044d9da822b021ef87df212793f.jpg","text":"TemporaryFile(/tmp/multipartBody34388470811759833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063192968,"filename":"image_19042025_10_08_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af8023e183ffb4efae33f64f958597df.jpg","text":"TemporaryFile(/tmp/multipartBody6384545241605392805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063192968,"filename":"image_19042025_10_08_45_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/19/66b60d2abd0a8a43cd3238bcbf1a4226.jpg","text":"TemporaryFile(/tmp/multipartBody2178156868292948563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063192968,"filename":"image_19042025_10_09_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/19/2ebf9bc927a11fb67e517d2e2924dc44.jpg","text":"TemporaryFile(/tmp/multipartBody8772813966615731978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063192968,"filename":"image_19042025_10_09_25_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9faefafde554719ca6010f2f09ad5052.jpg","text":"TemporaryFile(/tmp/multipartBody7511719969377682983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063192968,"filename":"image_19042025_10_09_05_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351830520","file1":"1351830467","file0":"1351830395","file4":"1351830667","file5":"1351830738","file3":"1351830575"},"map_files_photo_id_array":[{"photo_id":"1351830738","filename":"file5"},{"photo_id":"1351830520","filename":"file2"},{"photo_id":"1351830667","filename":"file4"},{"photo_id":"1351830467","filename":"file1"},{"photo_id":"1351830395","filename":"file0"},{"photo_id":"1351830575","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351830738":["hashtag1","hashtag2"]},{"1351830467":["hashtag1","hashtag2"]},{"1351830395":["hashtag1","hashtag2"]},{"1351830575":["hashtag1","hashtag2"]},{"1351830667":["hashtag1","hashtag2"]},{"1351830520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351830738, 1351830467, 1351830395, 1351830575, 1351830667, 1351830520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.176766395568848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:46:32.596700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_46_10448.jpg', '/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_55_9441.jpg', '/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_15_9407.jpg', '/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_25_10382.jpg', '/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_35_10041.jpg', '/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_46_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_46_10448.jpg
/home/pi/Desktop/images/19042025/10/09/image_19042025_10_09_55_9441.jpg
/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_15_9407.jpg
/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_25_10382.jpg
/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_35_10041.jpg
/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_46_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":["1351831094","1351831130","1351831124","1351831067","1351831127","1351831062"],"photo_ids_order":["1351831062","1351831067","1351831094","1351831124","1351831127","1351831130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a77966c1356c2354f4f51dcd96dcbc28.jpg","text":"TemporaryFile(/tmp/multipartBody1456651809709606162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063253123,"filename":"image_19042025_10_10_15_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f897f041cf7806e29f2d311a4d29480.jpg","text":"TemporaryFile(/tmp/multipartBody3587267523382015200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063253123,"filename":"image_19042025_10_10_46_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d3dba976d7f4296111a89ed914b15928.jpg","text":"TemporaryFile(/tmp/multipartBody7565578865197820938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063253123,"filename":"image_19042025_10_10_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/19/835ed466c728b5fd79d1100e3219efda.jpg","text":"TemporaryFile(/tmp/multipartBody6975088594456686673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063253123,"filename":"image_19042025_10_09_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/19/9a7062e713ac3edf9b2e20dda1399ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6203131792358892055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063253123,"filename":"image_19042025_10_10_35_10041.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a94af3f75c0b94ca1484bd425aceb593.jpg","text":"TemporaryFile(/tmp/multipartBody9086285128436015846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063253123,"filename":"image_19042025_10_09_46_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351831094","file1":"1351831067","file0":"1351831062","file4":"1351831127","file5":"1351831130","file3":"1351831124"},"map_files_photo_id_array":[{"photo_id":"1351831130","filename":"file5"},{"photo_id":"1351831094","filename":"file2"},{"photo_id":"1351831127","filename":"file4"},{"photo_id":"1351831067","filename":"file1"},{"photo_id":"1351831062","filename":"file0"},{"photo_id":"1351831124","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351831094":["hashtag1","hashtag2"]},{"1351831130":["hashtag1","hashtag2"]},{"1351831124":["hashtag1","hashtag2"]},{"1351831067":["hashtag1","hashtag2"]},{"1351831127":["hashtag1","hashtag2"]},{"1351831062":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351831094, 1351831130, 1351831124, 1351831067, 1351831127, 1351831062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06467914581299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:47:32.831768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_55_9477.jpg', '/home/pi/Desktop/images/19042025/10/10/image_19042025_10_11_05_10352.jpg', '/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_15_9481.jpg', '/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_25_10448.jpg', '/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_35_9468.jpg', '/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_45_10311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/10/image_19042025_10_10_55_9477.jpg
/home/pi/Desktop/images/19042025/10/10/image_19042025_10_11_05_10352.jpg
/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_15_9481.jpg
/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_25_10448.jpg
/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_35_9468.jpg
/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_45_10311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351831824","1351831302","1351831685","1351831508","1351831798","1351831768"],"photo_ids_order":["1351831302","1351831508","1351831685","1351831768","1351831798","1351831824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6fabe419ea800062005b4a10ff29a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7545526210588361390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063313354,"filename":"image_19042025_10_11_45_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ea9d501d57bc5d620c89af404a6438b.jpg","text":"TemporaryFile(/tmp/multipartBody1691297349662352067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063313354,"filename":"image_19042025_10_10_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/19/7840aee2d1cc04b895f8c6939063d2ce.jpg","text":"TemporaryFile(/tmp/multipartBody2421723132280664493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063313354,"filename":"image_19042025_10_11_15_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/19/0260bfa11d8189d1a6aff8bf3a5367ac.jpg","text":"TemporaryFile(/tmp/multipartBody7355071201295169573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063313354,"filename":"image_19042025_10_11_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ed604f5bc196ef2b705f170775e8e914.jpg","text":"TemporaryFile(/tmp/multipartBody3265556442403327461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063313354,"filename":"image_19042025_10_11_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/19/1deae3c3b8a9c37ff88a78d28b2bcb70.jpg","text":"TemporaryFile(/tmp/multipartBody7478254640465881252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063313354,"filename":"image_19042025_10_11_25_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351831685","file1":"1351831508","file0":"1351831302","file4":"1351831798","file5":"1351831824","file3":"1351831768"},"map_files_photo_id_array":[{"photo_id":"1351831824","filename":"file5"},{"photo_id":"1351831685","filename":"file2"},{"photo_id":"1351831798","filename":"file4"},{"photo_id":"1351831508","filename":"file1"},{"photo_id":"1351831302","filename":"file0"},{"photo_id":"1351831768","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351831824":["hashtag1","hashtag2"]},{"1351831302":["hashtag1","hashtag2"]},{"1351831685":["hashtag1","hashtag2"]},{"1351831508":["hashtag1","hashtag2"]},{"1351831798":["hashtag1","hashtag2"]},{"1351831768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351831824, 1351831302, 1351831685, 1351831508, 1351831798, 1351831768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.284681797027588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:48:32.982982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_56_10361.jpg', '/home/pi/Desktop/images/19042025/10/11/image_19042025_10_12_05_9454.jpg', '/home/pi/Desktop/images/19042025/10/12/image_19042025_10_12_15_10352.jpg', '/home/pi/Desktop/images/19042025/10/12/image_19042025_10_12_35_10423.jpg', '/home/pi/Desktop/images/19042025/10/12/image_19042025_10_12_46_10358.jpg', '/home/pi/Desktop/images/19042025/10/12/image_19042025_10_12_55_9475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/11/image_19042025_10_11_56_10361.jpg
/home/pi/Desktop/images/19042025/10/11/image_19042025_10_12_05_9454.jpg
/home/pi/Desktop/images/19042025/10/12/image_19042025_10_12_15_10352.jpg
/home/pi/Desktop/images/19042025/10/12/image_19042025_10_12_35_10423.jpg
/home/pi/Desktop/images/19042025/10/12/image_19042025_10_12_46_10358.jpg
/home/pi/Desktop/images/19042025/10/12/image_19042025_10_12_55_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":["1351832063","1351832197","1351832092","1351832347","1351832137","1351832037"],"photo_ids_order":["1351832037","1351832063","1351832092","1351832137","1351832197","1351832347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e8ba33ce9e9c7fff280906b07a894cff.jpg","text":"TemporaryFile(/tmp/multipartBody7089739611101794870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063373502,"filename":"image_19042025_10_12_05_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e408f58c8a4fc2bf6f229dbb7b9c47c.jpg","text":"TemporaryFile(/tmp/multipartBody3319994861612766519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063373502,"filename":"image_19042025_10_12_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/75a53809978f987368c4a98260cf1dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5738524658439368983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063373502,"filename":"image_19042025_10_12_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/19/cf957f1c844957714f020bd27491c831.jpg","text":"TemporaryFile(/tmp/multipartBody5932889363075943166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063373502,"filename":"image_19042025_10_12_55_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1066a0eab89e97ea1c5b9363c47fd31f.jpg","text":"TemporaryFile(/tmp/multipartBody6297253455056720927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063373502,"filename":"image_19042025_10_12_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/19/1986e15f3b9c6a3211d928511745ea2f.jpg","text":"TemporaryFile(/tmp/multipartBody772220509465865884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063373502,"filename":"image_19042025_10_11_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832092","file1":"1351832063","file0":"1351832037","file4":"1351832197","file5":"1351832347","file3":"1351832137"},"map_files_photo_id_array":[{"photo_id":"1351832347","filename":"file5"},{"photo_id":"1351832092","filename":"file2"},{"photo_id":"1351832197","filename":"file4"},{"photo_id":"1351832063","filename":"file1"},{"photo_id":"1351832037","filename":"file0"},{"photo_id":"1351832137","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351832063":["hashtag1","hashtag2"]},{"1351832197":["hashtag1","hashtag2"]},{"1351832092":["hashtag1","hashtag2"]},{"1351832347":["hashtag1","hashtag2"]},{"1351832137":["hashtag1","hashtag2"]},{"1351832037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351832063, 1351832197, 1351832092, 1351832347, 1351832137, 1351832037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.9575731754303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:49:32.236918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/12/image_19042025_10_13_06_10396.jpg', '/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_15_9456.jpg', '/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_25_10385.jpg', '/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_35_9503.jpg', '/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_45_10372.jpg', '/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/12/image_19042025_10_13_06_10396.jpg
/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_15_9456.jpg
/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_25_10385.jpg
/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_35_9503.jpg
/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_45_10372.jpg
/home/pi/Desktop/images/19042025/10/13/image_19042025_10_13_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351832351","1351832354","1351832364","1351832367","1351832361","1351832357"],"photo_ids_order":["1351832351","1351832354","1351832357","1351832361","1351832364","1351832367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a4c67940790b5395b0e696100fe74f2.jpg","text":"TemporaryFile(/tmp/multipartBody4840931904134041551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063432775,"filename":"image_19042025_10_13_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c267bfd1128929edfa0dd426b6ed4dc8.jpg","text":"TemporaryFile(/tmp/multipartBody7874679850778878749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063432775,"filename":"image_19042025_10_13_15_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac15f94c16f9929166c094d0d20d02b0.jpg","text":"TemporaryFile(/tmp/multipartBody6996325315757912620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063432775,"filename":"image_19042025_10_13_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5df56e0bc27529e708274fe4a33ed83c.jpg","text":"TemporaryFile(/tmp/multipartBody6720672550594900406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063432775,"filename":"image_19042025_10_13_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/19/49a894c3723458a6d8316ad9ea18c0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1447972635104464013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063432775,"filename":"image_19042025_10_13_35_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/19/d70c87d4b166cc98569548ba15c3ced8.jpg","text":"TemporaryFile(/tmp/multipartBody3914906245023755662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063432775,"filename":"image_19042025_10_13_25_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832357","file1":"1351832354","file0":"1351832351","file4":"1351832364","file5":"1351832367","file3":"1351832361"},"map_files_photo_id_array":[{"photo_id":"1351832367","filename":"file5"},{"photo_id":"1351832357","filename":"file2"},{"photo_id":"1351832364","filename":"file4"},{"photo_id":"1351832354","filename":"file1"},{"photo_id":"1351832351","filename":"file0"},{"photo_id":"1351832361","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351832351":["hashtag1","hashtag2"]},{"1351832354":["hashtag1","hashtag2"]},{"1351832364":["hashtag1","hashtag2"]},{"1351832367":["hashtag1","hashtag2"]},{"1351832361":["hashtag1","hashtag2"]},{"1351832357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351832351, 1351832354, 1351832364, 1351832367, 1351832361, 1351832357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.15061616897583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:50:32.415703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/13/image_19042025_10_14_05_9417.jpg', '/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_15_10413.jpg', '/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_25_9458.jpg', '/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_35_10368.jpg', '/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_46_10367.jpg', '/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_55_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/13/image_19042025_10_14_05_9417.jpg
/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_15_10413.jpg
/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_25_9458.jpg
/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_35_10368.jpg
/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_46_10367.jpg
/home/pi/Desktop/images/19042025/10/14/image_19042025_10_14_55_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351832630","1351832525","1351832650","1351832575","1351832548","1351832602"],"photo_ids_order":["1351832525","1351832548","1351832575","1351832602","1351832630","1351832650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48f162f6aa4dd8ff04b7a3a59ff78a14.jpg","text":"TemporaryFile(/tmp/multipartBody4371118973293377585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063492952,"filename":"image_19042025_10_14_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/19/dd3703501448844f63ff11942ae4f0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1765896267823773797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063492952,"filename":"image_19042025_10_14_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2332bfa935d5f5eaf691daae241a0dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2895970434442130893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063492952,"filename":"image_19042025_10_14_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/19/eee504658489efe64a44c41cddc9cd1c.jpg","text":"TemporaryFile(/tmp/multipartBody2174374897608795209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063492952,"filename":"image_19042025_10_14_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/19/c8feacecb359d3d729b1159375afc399.jpg","text":"TemporaryFile(/tmp/multipartBody214576582146246943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063492952,"filename":"image_19042025_10_14_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/19/2af0a93cb8912f47e8f17d9307d6d512.jpg","text":"TemporaryFile(/tmp/multipartBody5148184138263816573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063492952,"filename":"image_19042025_10_14_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832575","file1":"1351832548","file0":"1351832525","file4":"1351832630","file5":"1351832650","file3":"1351832602"},"map_files_photo_id_array":[{"photo_id":"1351832650","filename":"file5"},{"photo_id":"1351832575","filename":"file2"},{"photo_id":"1351832630","filename":"file4"},{"photo_id":"1351832548","filename":"file1"},{"photo_id":"1351832525","filename":"file0"},{"photo_id":"1351832602","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351832630":["hashtag1","hashtag2"]},{"1351832525":["hashtag1","hashtag2"]},{"1351832650":["hashtag1","hashtag2"]},{"1351832575":["hashtag1","hashtag2"]},{"1351832548":["hashtag1","hashtag2"]},{"1351832602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351832630, 1351832525, 1351832650, 1351832575, 1351832548, 1351832602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.376430988311768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:51:32.751806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/14/image_19042025_10_15_05_10362.jpg', '/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_15_9475.jpg', '/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_25_10373.jpg', '/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_35_9362.jpg', '/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_45_10358.jpg', '/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/14/image_19042025_10_15_05_10362.jpg
/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_15_9475.jpg
/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_25_10373.jpg
/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_35_9362.jpg
/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_45_10358.jpg
/home/pi/Desktop/images/19042025/10/15/image_19042025_10_15_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351832657","1351832668","1351832662","1351832664","1351832666","1351832660"],"photo_ids_order":["1351832657","1351832660","1351832662","1351832664","1351832666","1351832668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/045983409c653c22fe03af03ec3850c3.jpg","text":"TemporaryFile(/tmp/multipartBody1422691131698575418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063553276,"filename":"image_19042025_10_15_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/19/19069ec4a4a0ee965c93d201fcd7a6aa.jpg","text":"TemporaryFile(/tmp/multipartBody379513127151444533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063553276,"filename":"image_19042025_10_15_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/19/f7524e65e068af787dead1a54ed910f2.jpg","text":"TemporaryFile(/tmp/multipartBody6358823912827201881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063553276,"filename":"image_19042025_10_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/19/624cdc229482a5a0e907520010f163bf.jpg","text":"TemporaryFile(/tmp/multipartBody171001375132289150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063553276,"filename":"image_19042025_10_15_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/19/e83648c98e96f12a6704f8bd03692abc.jpg","text":"TemporaryFile(/tmp/multipartBody4856978740321998182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063553276,"filename":"image_19042025_10_15_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/19/a9f558144ea5189e5dd6bb25333e7367.jpg","text":"TemporaryFile(/tmp/multipartBody212991427476507997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063553276,"filename":"image_19042025_10_15_15_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832662","file1":"1351832660","file0":"1351832657","file4":"1351832666","file5":"1351832668","file3":"1351832664"},"map_files_photo_id_array":[{"photo_id":"1351832668","filename":"file5"},{"photo_id":"1351832662","filename":"file2"},{"photo_id":"1351832666","filename":"file4"},{"photo_id":"1351832660","filename":"file1"},{"photo_id":"1351832657","filename":"file0"},{"photo_id":"1351832664","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351832657":["hashtag1","hashtag2"]},{"1351832668":["hashtag1","hashtag2"]},{"1351832662":["hashtag1","hashtag2"]},{"1351832664":["hashtag1","hashtag2"]},{"1351832666":["hashtag1","hashtag2"]},{"1351832660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351832657, 1351832668, 1351832662, 1351832664, 1351832666, 1351832660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.464419841766357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:52:33.110487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/15/image_19042025_10_16_05_9448.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_15_10354.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_26_10354.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_35_9366.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_45_10354.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_55_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/15/image_19042025_10_16_05_9448.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_15_10354.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_26_10354.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_35_9366.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_45_10354.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_55_9431.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4432821273803711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 13:52:42.985560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/15/image_19042025_10_16_05_9448.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_15_10354.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_26_10354.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_35_9366.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_45_10354.jpg', '/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_55_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/15/image_19042025_10_16_05_9448.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_15_10354.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_26_10354.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_35_9366.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_45_10354.jpg
/home/pi/Desktop/images/19042025/10/16/image_19042025_10_16_55_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351832702","1351832705","1351832695","1351832698","1351832704","1351832691"],"photo_ids_order":["1351832691","1351832695","1351832698","1351832702","1351832704","1351832705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c581aa878b49398957ba377d01573f5.jpg","text":"TemporaryFile(/tmp/multipartBody8935536221221446491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063623448,"filename":"image_19042025_10_16_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3715940a1380346e53262f8ea4f3f176.jpg","text":"TemporaryFile(/tmp/multipartBody5798563221248359546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063623448,"filename":"image_19042025_10_16_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/19/65258ad767754f24f26d5efab2aca874.jpg","text":"TemporaryFile(/tmp/multipartBody3114663064985950620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063623448,"filename":"image_19042025_10_16_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/19/c9a7aba668a9d03ae9658ffe73aecc86.jpg","text":"TemporaryFile(/tmp/multipartBody6081373223308407251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063623448,"filename":"image_19042025_10_16_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/19/c9116a14ddfd84883b150c9885edb652.jpg","text":"TemporaryFile(/tmp/multipartBody7282458270446017727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063623448,"filename":"image_19042025_10_16_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/19/0b6ad037a2b28bf786fcaef51c9081a1.jpg","text":"TemporaryFile(/tmp/multipartBody4481748147931122709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063623448,"filename":"image_19042025_10_16_05_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832698","file1":"1351832695","file0":"1351832691","file4":"1351832704","file5":"1351832705","file3":"1351832702"},"map_files_photo_id_array":[{"photo_id":"1351832705","filename":"file5"},{"photo_id":"1351832698","filename":"file2"},{"photo_id":"1351832704","filename":"file4"},{"photo_id":"1351832695","filename":"file1"},{"photo_id":"1351832691","filename":"file0"},{"photo_id":"1351832702","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351832702":["hashtag1","hashtag2"]},{"1351832705":["hashtag1","hashtag2"]},{"1351832695":["hashtag1","hashtag2"]},{"1351832698":["hashtag1","hashtag2"]},{"1351832704":["hashtag1","hashtag2"]},{"1351832691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351832702, 1351832705, 1351832695, 1351832698, 1351832704, 1351832691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.447396993637085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:53:32.251576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_16_10367.jpg', '/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_25_9469.jpg', '/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_35_10411.jpg', '/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_45_9417.jpg', '/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_55_10375.jpg', '/home/pi/Desktop/images/19042025/10/17/image_19042025_10_18_06_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_16_10367.jpg
/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_25_9469.jpg
/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_35_10411.jpg
/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_45_9417.jpg
/home/pi/Desktop/images/19042025/10/17/image_19042025_10_17_55_10375.jpg
/home/pi/Desktop/images/19042025/10/17/image_19042025_10_18_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":["1351832723","1351832717","1351832728","1351832719","1351832739","1351832733"],"photo_ids_order":["1351832717","1351832719","1351832723","1351832728","1351832733","1351832739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/010e62d58b9d456b72efeebd468f8234.jpg","text":"TemporaryFile(/tmp/multipartBody1542005898257765780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063672785,"filename":"image_19042025_10_17_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/19/31e6336fca25f777d07c15eb98499362.jpg","text":"TemporaryFile(/tmp/multipartBody8211055735831380428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063672785,"filename":"image_19042025_10_17_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/19/a4ec239fd0a8b6123e111db53c3e0a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8723436898745162304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063672785,"filename":"image_19042025_10_17_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/80fbe4b799b90e5319e40e807199c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3788727639826857161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063672785,"filename":"image_19042025_10_17_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/83c35a9a718f4ce36f1d7e74af159d69.jpg","text":"TemporaryFile(/tmp/multipartBody392751486253005419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063672785,"filename":"image_19042025_10_18_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/19/381fc9bc0d87dce0d7a99c6521a72056.jpg","text":"TemporaryFile(/tmp/multipartBody3599409673197948359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063672785,"filename":"image_19042025_10_17_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832723","file1":"1351832719","file0":"1351832717","file4":"1351832733","file5":"1351832739","file3":"1351832728"},"map_files_photo_id_array":[{"photo_id":"1351832739","filename":"file5"},{"photo_id":"1351832723","filename":"file2"},{"photo_id":"1351832733","filename":"file4"},{"photo_id":"1351832719","filename":"file1"},{"photo_id":"1351832717","filename":"file0"},{"photo_id":"1351832728","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351832723":["hashtag1","hashtag2"]},{"1351832717":["hashtag1","hashtag2"]},{"1351832728":["hashtag1","hashtag2"]},{"1351832719":["hashtag1","hashtag2"]},{"1351832739":["hashtag1","hashtag2"]},{"1351832733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351832723, 1351832717, 1351832728, 1351832719, 1351832739, 1351832733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.10750412940979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:54:32.561708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_15_9422.jpg', '/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_25_10368.jpg', '/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_35_9473.jpg', '/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_45_10368.jpg', '/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_56_10381.jpg', '/home/pi/Desktop/images/19042025/10/18/image_19042025_10_19_05_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_15_9422.jpg
/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_25_10368.jpg
/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_35_9473.jpg
/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_45_10368.jpg
/home/pi/Desktop/images/19042025/10/18/image_19042025_10_18_56_10381.jpg
/home/pi/Desktop/images/19042025/10/18/image_19042025_10_19_05_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":["1351832776","1351832788","1351832787","1351832778","1351832772","1351832783"],"photo_ids_order":["1351832772","1351832776","1351832778","1351832783","1351832787","1351832788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b4cb7c17e3c72ea6f70b8118f5ef858.jpg","text":"TemporaryFile(/tmp/multipartBody1636945078997984101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063733090,"filename":"image_19042025_10_18_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/19/82347f1b56927b871ddaf37913f4265e.jpg","text":"TemporaryFile(/tmp/multipartBody2783763975729542867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063733090,"filename":"image_19042025_10_19_05_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/172fbc99346a29c9a52cb2fc71004d46.jpg","text":"TemporaryFile(/tmp/multipartBody4273428257633397234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063733090,"filename":"image_19042025_10_18_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e9d5ecf726c368d7e3e368cabff6db19.jpg","text":"TemporaryFile(/tmp/multipartBody5782211588243679387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063733090,"filename":"image_19042025_10_18_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/19/34bc2df790f68ad79d78508c449ab023.jpg","text":"TemporaryFile(/tmp/multipartBody4904353608762906886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063733090,"filename":"image_19042025_10_18_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/19/7575f2e3c3320641dad472d1766abde9.jpg","text":"TemporaryFile(/tmp/multipartBody1159113618938387093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063733090,"filename":"image_19042025_10_18_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832778","file1":"1351832776","file0":"1351832772","file4":"1351832787","file5":"1351832788","file3":"1351832783"},"map_files_photo_id_array":[{"photo_id":"1351832788","filename":"file5"},{"photo_id":"1351832778","filename":"file2"},{"photo_id":"1351832787","filename":"file4"},{"photo_id":"1351832776","filename":"file1"},{"photo_id":"1351832772","filename":"file0"},{"photo_id":"1351832783","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351832776":["hashtag1","hashtag2"]},{"1351832788":["hashtag1","hashtag2"]},{"1351832787":["hashtag1","hashtag2"]},{"1351832778":["hashtag1","hashtag2"]},{"1351832772":["hashtag1","hashtag2"]},{"1351832783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351832776, 1351832788, 1351832787, 1351832778, 1351832772, 1351832783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.227232456207275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:55:32.798652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/19/image_19042025_10_19_15_10467.jpg', '/home/pi/Desktop/images/19042025/10/19/image_19042025_10_19_25_9419.jpg', '/home/pi/Desktop/images/19042025/10/19/image_19042025_10_19_35_10379.jpg', '/home/pi/Desktop/images/19042025/10/19/image_19042025_10_19_45_9475.jpg', '/home/pi/Desktop/images/19042025/10/19/image_19042025_10_20_05_10372.jpg', '/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_15_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/19/image_19042025_10_19_15_10467.jpg
/home/pi/Desktop/images/19042025/10/19/image_19042025_10_19_25_9419.jpg
/home/pi/Desktop/images/19042025/10/19/image_19042025_10_19_35_10379.jpg
/home/pi/Desktop/images/19042025/10/19/image_19042025_10_19_45_9475.jpg
/home/pi/Desktop/images/19042025/10/19/image_19042025_10_20_05_10372.jpg
/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_15_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":["1351832819","1351832810","1351832804","1351832813","1351832807","1351832817"],"photo_ids_order":["1351832804","1351832807","1351832810","1351832813","1351832817","1351832819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e35349fe92ae43afc58f16cb1368bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2880884566457532654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063793350,"filename":"image_19042025_10_20_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/19/142d5bb4db27ee206169467a6d21fe34.jpg","text":"TemporaryFile(/tmp/multipartBody5746440628759821692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063793350,"filename":"image_19042025_10_19_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/19/433b6fb132c9b384c314232929ab76a2.jpg","text":"TemporaryFile(/tmp/multipartBody8044710538676798448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063793350,"filename":"image_19042025_10_19_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/19/e4f48707d18203b36c7373a4025b4cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8889764911814266704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063793350,"filename":"image_19042025_10_19_45_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/19/5f05daf9745be18d6a63c333d8bdc1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5526650110708697060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063793350,"filename":"image_19042025_10_19_25_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e5e1fa6337efaaee0c1a37e151a2f77.jpg","text":"TemporaryFile(/tmp/multipartBody9015708332721091804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063793350,"filename":"image_19042025_10_20_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832810","file1":"1351832807","file0":"1351832804","file4":"1351832817","file5":"1351832819","file3":"1351832813"},"map_files_photo_id_array":[{"photo_id":"1351832819","filename":"file5"},{"photo_id":"1351832810","filename":"file2"},{"photo_id":"1351832817","filename":"file4"},{"photo_id":"1351832807","filename":"file1"},{"photo_id":"1351832804","filename":"file0"},{"photo_id":"1351832813","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351832819":["hashtag1","hashtag2"]},{"1351832810":["hashtag1","hashtag2"]},{"1351832804":["hashtag1","hashtag2"]},{"1351832813":["hashtag1","hashtag2"]},{"1351832807":["hashtag1","hashtag2"]},{"1351832817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351832819, 1351832810, 1351832804, 1351832813, 1351832807, 1351832817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.169718503952026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:56:32.902235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_25_10459.jpg', '/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_35_9373.jpg', '/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_45_10429.jpg', '/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_56_10419.jpg', '/home/pi/Desktop/images/19042025/10/20/image_19042025_10_21_05_9438.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_15_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_25_10459.jpg
/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_35_9373.jpg
/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_45_10429.jpg
/home/pi/Desktop/images/19042025/10/20/image_19042025_10_20_56_10419.jpg
/home/pi/Desktop/images/19042025/10/20/image_19042025_10_21_05_9438.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_15_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351833096","1351833084","1351832935","1351832838","1351833008","1351832966"],"photo_ids_order":["1351832838","1351832935","1351832966","1351833008","1351833084","1351833096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90472729460a4717ed9d6bf4adf29421.jpg","text":"TemporaryFile(/tmp/multipartBody4023657562905716130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063853431,"filename":"image_19042025_10_21_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/222d2053c74970c55dac633105cc6eff.jpg","text":"TemporaryFile(/tmp/multipartBody9140660782554246749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063853431,"filename":"image_19042025_10_21_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/19/c5dba13a09898d6553366279b46f36ec.jpg","text":"TemporaryFile(/tmp/multipartBody7656374508150133685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063853431,"filename":"image_19042025_10_20_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/19/8c1bf5be07bcf9386bd323a1acb0b02b.jpg","text":"TemporaryFile(/tmp/multipartBody1414840519721321889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063853431,"filename":"image_19042025_10_20_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f710c5fcff9a77e5c8aefa5d62f006cb.jpg","text":"TemporaryFile(/tmp/multipartBody4890980862769829596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063853431,"filename":"image_19042025_10_20_56_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/712056ad9679ae3be5af6323011cad33.jpg","text":"TemporaryFile(/tmp/multipartBody1886947981717763817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745063853431,"filename":"image_19042025_10_20_45_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832966","file1":"1351832935","file0":"1351832838","file4":"1351833084","file5":"1351833096","file3":"1351833008"},"map_files_photo_id_array":[{"photo_id":"1351833096","filename":"file5"},{"photo_id":"1351832966","filename":"file2"},{"photo_id":"1351833084","filename":"file4"},{"photo_id":"1351832935","filename":"file1"},{"photo_id":"1351832838","filename":"file0"},{"photo_id":"1351833008","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351833096":["hashtag1","hashtag2"]},{"1351833084":["hashtag1","hashtag2"]},{"1351832935":["hashtag1","hashtag2"]},{"1351832838":["hashtag1","hashtag2"]},{"1351833008":["hashtag1","hashtag2"]},{"1351832966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351833096, 1351833084, 1351832935, 1351832838, 1351833008, 1351832966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.505454540252686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 13:57:32.196872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_25_9425.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_35_10367.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_46_10360.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_55_9457.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_22_05_10429.jpg', '/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_15_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_25_9425.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_35_10367.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_46_10360.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_55_9457.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_22_05_10429.jpg
/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_15_9423.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-19 13:59:04.192499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_25_9425.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_35_10367.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_46_10360.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_55_9457.jpg', '/home/pi/Desktop/images/19042025/10/21/image_19042025_10_22_05_10429.jpg', '/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_15_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_25_9425.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_35_10367.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_46_10360.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_21_55_9457.jpg
/home/pi/Desktop/images/19042025/10/21/image_19042025_10_22_05_10429.jpg
/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_15_9423.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351833742","1351833820","1351833633","1351833878","1351833791","1351833686"],"photo_ids_order":["1351833633","1351833686","1351833742","1351833791","1351833820","1351833878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c318b9db7a3e000503d21e3befef8c2.jpg","text":"TemporaryFile(/tmp/multipartBody6453551132698275991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064004823,"filename":"image_19042025_10_21_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/19/bfd70206f6bdfc14f8d90bce69417120.jpg","text":"TemporaryFile(/tmp/multipartBody8821178551267835555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064004823,"filename":"image_19042025_10_22_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ef0648878ea1a7b105efb39fdcf973d.jpg","text":"TemporaryFile(/tmp/multipartBody8963601292111388998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064004823,"filename":"image_19042025_10_21_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/19/ae78bb727c102f58267fae33ca69227d.jpg","text":"TemporaryFile(/tmp/multipartBody1920770492695652394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064004823,"filename":"image_19042025_10_22_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/19/fda9a978ca28d3bf1b47d982193aea01.jpg","text":"TemporaryFile(/tmp/multipartBody9208420709504243579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064004823,"filename":"image_19042025_10_21_55_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/23e789344e857e866a8af0d68991727e.jpg","text":"TemporaryFile(/tmp/multipartBody4712966061447448119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064004823,"filename":"image_19042025_10_21_35_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351833742","file1":"1351833686","file0":"1351833633","file4":"1351833820","file5":"1351833878","file3":"1351833791"},"map_files_photo_id_array":[{"photo_id":"1351833878","filename":"file5"},{"photo_id":"1351833742","filename":"file2"},{"photo_id":"1351833820","filename":"file4"},{"photo_id":"1351833686","filename":"file1"},{"photo_id":"1351833633","filename":"file0"},{"photo_id":"1351833791","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351833742":["hashtag1","hashtag2"]},{"1351833820":["hashtag1","hashtag2"]},{"1351833633":["hashtag1","hashtag2"]},{"1351833878":["hashtag1","hashtag2"]},{"1351833791":["hashtag1","hashtag2"]},{"1351833686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351833742, 1351833820, 1351833633, 1351833878, 1351833791, 1351833686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40265250205994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 13:59:42.881848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_25_10372.jpg', '/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_36_10363.jpg', '/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_45_9466.jpg', '/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_55_10386.jpg', '/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_15_10359.jpg', '/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_25_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_25_10372.jpg
/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_36_10363.jpg
/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_45_9466.jpg
/home/pi/Desktop/images/19042025/10/22/image_19042025_10_22_55_10386.jpg
/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_15_10359.jpg
/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_25_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351834073","1351833992","1351834046","1351834019","1351833959","1351834099"],"photo_ids_order":["1351833959","1351833992","1351834019","1351834046","1351834073","1351834099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95fbd8ba5998982f561c5b64594a2049.jpg","text":"TemporaryFile(/tmp/multipartBody4289908729100747979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064043408,"filename":"image_19042025_10_23_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/19/cacb6bbfc2db84b6faf8fe011cd8f23e.jpg","text":"TemporaryFile(/tmp/multipartBody5034658141903761385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064043408,"filename":"image_19042025_10_22_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/19/0dbe25020feb6b7dabdd90235e301bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5309223945049631026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064043408,"filename":"image_19042025_10_22_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/19/dac20655babb8d818b9c1f163e1a38f4.jpg","text":"TemporaryFile(/tmp/multipartBody5171889076541831799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064043408,"filename":"image_19042025_10_22_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/19/693390c16a8a9d46cbc1f086e48b468a.jpg","text":"TemporaryFile(/tmp/multipartBody2030832750269656100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064043408,"filename":"image_19042025_10_22_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/19/0aa86b2fca793a756198ec9ce326ca9a.jpg","text":"TemporaryFile(/tmp/multipartBody7255650995732909160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064043408,"filename":"image_19042025_10_23_25_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351834019","file1":"1351833992","file0":"1351833959","file4":"1351834073","file5":"1351834099","file3":"1351834046"},"map_files_photo_id_array":[{"photo_id":"1351834099","filename":"file5"},{"photo_id":"1351834019","filename":"file2"},{"photo_id":"1351834073","filename":"file4"},{"photo_id":"1351833992","filename":"file1"},{"photo_id":"1351833959","filename":"file0"},{"photo_id":"1351834046","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351834073":["hashtag1","hashtag2"]},{"1351833992":["hashtag1","hashtag2"]},{"1351834046":["hashtag1","hashtag2"]},{"1351834019":["hashtag1","hashtag2"]},{"1351833959":["hashtag1","hashtag2"]},{"1351834099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351834073, 1351833992, 1351834046, 1351834019, 1351833959, 1351834099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.578864097595215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:00:33.064729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_35_10440.jpg', '/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_46_10375.jpg', '/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_55_9448.jpg', '/home/pi/Desktop/images/19042025/10/23/image_19042025_10_24_05_10358.jpg', '/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_15_9342.jpg', '/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_35_10440.jpg
/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_46_10375.jpg
/home/pi/Desktop/images/19042025/10/23/image_19042025_10_23_55_9448.jpg
/home/pi/Desktop/images/19042025/10/23/image_19042025_10_24_05_10358.jpg
/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_15_9342.jpg
/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_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":["1351834360","1351834434","1351834649","1351834535","1351834489","1351834597"],"photo_ids_order":["1351834360","1351834434","1351834489","1351834535","1351834597","1351834649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/78bc4ea7279b9416a2786d5bc2eeca2a.jpg","text":"TemporaryFile(/tmp/multipartBody4709031528988757960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064093602,"filename":"image_19042025_10_23_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/19/b7561eea5d3bd4f8a259f7685c6e2e98.jpg","text":"TemporaryFile(/tmp/multipartBody1762306612261507297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064093602,"filename":"image_19042025_10_23_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/19/b8e2b785960609df05119bb6a0843576.jpg","text":"TemporaryFile(/tmp/multipartBody5673627084923776118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064093602,"filename":"image_19042025_10_24_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/19/c14e77109bd22f73108ac2d08ff1a56b.jpg","text":"TemporaryFile(/tmp/multipartBody5779606610591881007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064093602,"filename":"image_19042025_10_24_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/19/48b1d40cbb351317c10eb5739395e13a.jpg","text":"TemporaryFile(/tmp/multipartBody6782534045226351822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064093602,"filename":"image_19042025_10_23_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/19/9984f9421d1528a013b246564a9e04b8.jpg","text":"TemporaryFile(/tmp/multipartBody7064827013621997934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064093602,"filename":"image_19042025_10_24_15_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351834489","file1":"1351834434","file0":"1351834360","file4":"1351834597","file5":"1351834649","file3":"1351834535"},"map_files_photo_id_array":[{"photo_id":"1351834649","filename":"file5"},{"photo_id":"1351834489","filename":"file2"},{"photo_id":"1351834597","filename":"file4"},{"photo_id":"1351834434","filename":"file1"},{"photo_id":"1351834360","filename":"file0"},{"photo_id":"1351834535","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351834360":["hashtag1","hashtag2"]},{"1351834434":["hashtag1","hashtag2"]},{"1351834649":["hashtag1","hashtag2"]},{"1351834535":["hashtag1","hashtag2"]},{"1351834489":["hashtag1","hashtag2"]},{"1351834597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351834360, 1351834434, 1351834649, 1351834535, 1351834489, 1351834597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.996100664138794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:01:32.446927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_35_10351.jpg', '/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_45_9432.jpg', '/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_55_10379.jpg', '/home/pi/Desktop/images/19042025/10/24/image_19042025_10_25_06_10426.jpg', '/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_15_9439.jpg', '/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_35_10351.jpg
/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_45_9432.jpg
/home/pi/Desktop/images/19042025/10/24/image_19042025_10_24_55_10379.jpg
/home/pi/Desktop/images/19042025/10/24/image_19042025_10_25_06_10426.jpg
/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_15_9439.jpg
/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_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":["1351834969","1351834933","1351834912","1351834914","1351834908","1351834961"],"photo_ids_order":["1351834908","1351834912","1351834914","1351834933","1351834961","1351834969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c84ec43dc7c66606e308abaf9ebe7925.jpg","text":"TemporaryFile(/tmp/multipartBody4734204250800127443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064152969,"filename":"image_19042025_10_25_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/19/f9a797556b61e05d866741155f5f50b5.jpg","text":"TemporaryFile(/tmp/multipartBody7044681321619807532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064152969,"filename":"image_19042025_10_25_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/19/0581c4ab827e25a6cb785c69bbba9155.jpg","text":"TemporaryFile(/tmp/multipartBody3302040575111820484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064152969,"filename":"image_19042025_10_24_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/19/afdc80cf7063a41928be9d002f816c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4947897811273629934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064152969,"filename":"image_19042025_10_24_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/19/53cd011f29d0074c6fde3634e554d05f.jpg","text":"TemporaryFile(/tmp/multipartBody7205680707897740555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064152969,"filename":"image_19042025_10_24_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b39ca65e6a63e6aa9c632b6f7efb2424.jpg","text":"TemporaryFile(/tmp/multipartBody1400048458915406627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064152969,"filename":"image_19042025_10_25_15_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351834914","file1":"1351834912","file0":"1351834908","file4":"1351834961","file5":"1351834969","file3":"1351834933"},"map_files_photo_id_array":[{"photo_id":"1351834969","filename":"file5"},{"photo_id":"1351834914","filename":"file2"},{"photo_id":"1351834961","filename":"file4"},{"photo_id":"1351834912","filename":"file1"},{"photo_id":"1351834908","filename":"file0"},{"photo_id":"1351834933","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351834969":["hashtag1","hashtag2"]},{"1351834933":["hashtag1","hashtag2"]},{"1351834912":["hashtag1","hashtag2"]},{"1351834914":["hashtag1","hashtag2"]},{"1351834908":["hashtag1","hashtag2"]},{"1351834961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351834969, 1351834933, 1351834912, 1351834914, 1351834908, 1351834961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.34066414833069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:02:32.703016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_35_9430.jpg', '/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_45_10394.jpg', '/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_56_10379.jpg', '/home/pi/Desktop/images/19042025/10/25/image_19042025_10_26_05_9439.jpg', '/home/pi/Desktop/images/19042025/10/26/image_19042025_10_26_15_10382.jpg', '/home/pi/Desktop/images/19042025/10/26/image_19042025_10_26_25_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_35_9430.jpg
/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_45_10394.jpg
/home/pi/Desktop/images/19042025/10/25/image_19042025_10_25_56_10379.jpg
/home/pi/Desktop/images/19042025/10/25/image_19042025_10_26_05_9439.jpg
/home/pi/Desktop/images/19042025/10/26/image_19042025_10_26_15_10382.jpg
/home/pi/Desktop/images/19042025/10/26/image_19042025_10_26_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":["1351835985","1351835877","1351835712","1351835640","1351835933","1351835807"],"photo_ids_order":["1351835640","1351835712","1351835807","1351835877","1351835933","1351835985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d74ab4ba91e0605b96e8febf0caa764.jpg","text":"TemporaryFile(/tmp/multipartBody7282067183361990634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064213240,"filename":"image_19042025_10_26_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/19/c4440253ae9d861c77e96286edbeb2b1.jpg","text":"TemporaryFile(/tmp/multipartBody2884633551618826661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064213240,"filename":"image_19042025_10_26_05_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f063e171e0bf4275b738e02fcbed43e.jpg","text":"TemporaryFile(/tmp/multipartBody5206446749736790663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064213240,"filename":"image_19042025_10_25_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/19/64776fb9e5b6d153fd01195535cd0d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5963914014806900386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064213240,"filename":"image_19042025_10_25_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ddee81f4c6de2063a721ee1763c3522d.jpg","text":"TemporaryFile(/tmp/multipartBody6918058762650005241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064213240,"filename":"image_19042025_10_26_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/19/f27292fa153243792ea466f780b7496d.jpg","text":"TemporaryFile(/tmp/multipartBody7370698764192600734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064213240,"filename":"image_19042025_10_25_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351835807","file1":"1351835712","file0":"1351835640","file4":"1351835933","file5":"1351835985","file3":"1351835877"},"map_files_photo_id_array":[{"photo_id":"1351835985","filename":"file5"},{"photo_id":"1351835807","filename":"file2"},{"photo_id":"1351835933","filename":"file4"},{"photo_id":"1351835712","filename":"file1"},{"photo_id":"1351835640","filename":"file0"},{"photo_id":"1351835877","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351835985":["hashtag1","hashtag2"]},{"1351835877":["hashtag1","hashtag2"]},{"1351835712":["hashtag1","hashtag2"]},{"1351835640":["hashtag1","hashtag2"]},{"1351835933":["hashtag1","hashtag2"]},{"1351835807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351835985, 1351835877, 1351835712, 1351835640, 1351835933, 1351835807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8608193397522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:03:32.844983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/26/image_19042025_10_26_45_9417.jpg', '/home/pi/Desktop/images/19042025/10/26/image_19042025_10_26_55_10363.jpg', '/home/pi/Desktop/images/19042025/10/26/image_19042025_10_27_05_10372.jpg', '/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_15_9404.jpg', '/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_25_10364.jpg', '/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_35_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/26/image_19042025_10_26_45_9417.jpg
/home/pi/Desktop/images/19042025/10/26/image_19042025_10_26_55_10363.jpg
/home/pi/Desktop/images/19042025/10/26/image_19042025_10_27_05_10372.jpg
/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_15_9404.jpg
/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_25_10364.jpg
/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_35_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351836522","1351836624","1351836494","1351836670","1351836718","1351836553"],"photo_ids_order":["1351836494","1351836522","1351836553","1351836624","1351836670","1351836718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/889efadf52a613df7fe6e7d58854850a.jpg","text":"TemporaryFile(/tmp/multipartBody6511308729202189192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064273369,"filename":"image_19042025_10_26_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8dfae22d2194027e400ef59e1c6131a3.jpg","text":"TemporaryFile(/tmp/multipartBody3602853379794543630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064273369,"filename":"image_19042025_10_27_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/19/b33fd38b60e8b0779c8cf2d4ce76834e.jpg","text":"TemporaryFile(/tmp/multipartBody828028816198402405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064273369,"filename":"image_19042025_10_26_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/973f40c9a0a86d1c0fc2700985b27f58.jpg","text":"TemporaryFile(/tmp/multipartBody5432242591120574112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064273369,"filename":"image_19042025_10_27_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/098eccea690ba7c9c04c8b3cd933452e.jpg","text":"TemporaryFile(/tmp/multipartBody2934118276795304919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064273369,"filename":"image_19042025_10_27_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9560ae7b0acff7b48a57b4a1e4887081.jpg","text":"TemporaryFile(/tmp/multipartBody7352238696596158892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064273369,"filename":"image_19042025_10_27_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351836553","file1":"1351836522","file0":"1351836494","file4":"1351836670","file5":"1351836718","file3":"1351836624"},"map_files_photo_id_array":[{"photo_id":"1351836718","filename":"file5"},{"photo_id":"1351836553","filename":"file2"},{"photo_id":"1351836670","filename":"file4"},{"photo_id":"1351836522","filename":"file1"},{"photo_id":"1351836494","filename":"file0"},{"photo_id":"1351836624","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351836522":["hashtag1","hashtag2"]},{"1351836624":["hashtag1","hashtag2"]},{"1351836494":["hashtag1","hashtag2"]},{"1351836670":["hashtag1","hashtag2"]},{"1351836718":["hashtag1","hashtag2"]},{"1351836553":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351836522, 1351836624, 1351836494, 1351836670, 1351836718, 1351836553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.74349308013916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:04:32.229185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_45_10406.jpg', '/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_55_10430.jpg', '/home/pi/Desktop/images/19042025/10/27/image_19042025_10_28_05_9358.jpg', '/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_15_10452.jpg', '/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_25_9362.jpg', '/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_35_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_45_10406.jpg
/home/pi/Desktop/images/19042025/10/27/image_19042025_10_27_55_10430.jpg
/home/pi/Desktop/images/19042025/10/27/image_19042025_10_28_05_9358.jpg
/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_15_10452.jpg
/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_25_9362.jpg
/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_35_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":["1351837215","1351837190","1351837162","1351837100","1351837168","1351837135"],"photo_ids_order":["1351837100","1351837135","1351837162","1351837168","1351837190","1351837215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa9b5037c4191651dbea231ae6349654.jpg","text":"TemporaryFile(/tmp/multipartBody5649840043769133399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064332760,"filename":"image_19042025_10_28_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/19/908b234d256d77df87384ccd917632cb.jpg","text":"TemporaryFile(/tmp/multipartBody5225636456148441151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064332760,"filename":"image_19042025_10_28_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/19/a9512ad81f83de3adc96bd79b75af41e.jpg","text":"TemporaryFile(/tmp/multipartBody4571976787327103463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064332760,"filename":"image_19042025_10_28_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00aba0030eda4254656ec0e0a7ea5a4f.jpg","text":"TemporaryFile(/tmp/multipartBody6008731543507731498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064332760,"filename":"image_19042025_10_27_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/19/a4a9ee6eb3c8b4d28e7301fd6aaf80ac.jpg","text":"TemporaryFile(/tmp/multipartBody7010167497384246412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064332760,"filename":"image_19042025_10_28_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/19/c2444343f9901550103107bce9d3e41e.jpg","text":"TemporaryFile(/tmp/multipartBody2985290634405402407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064332760,"filename":"image_19042025_10_27_55_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351837162","file1":"1351837135","file0":"1351837100","file4":"1351837190","file5":"1351837215","file3":"1351837168"},"map_files_photo_id_array":[{"photo_id":"1351837215","filename":"file5"},{"photo_id":"1351837162","filename":"file2"},{"photo_id":"1351837190","filename":"file4"},{"photo_id":"1351837135","filename":"file1"},{"photo_id":"1351837100","filename":"file0"},{"photo_id":"1351837168","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351837215":["hashtag1","hashtag2"]},{"1351837190":["hashtag1","hashtag2"]},{"1351837162":["hashtag1","hashtag2"]},{"1351837100":["hashtag1","hashtag2"]},{"1351837168":["hashtag1","hashtag2"]},{"1351837135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351837215, 1351837190, 1351837162, 1351837100, 1351837168, 1351837135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.990331411361694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:05:32.381511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_45_10354.jpg', '/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_55_9513.jpg', '/home/pi/Desktop/images/19042025/10/28/image_19042025_10_29_05_10384.jpg', '/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_15_9356.jpg', '/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_25_10483.jpg', '/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_36_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_45_10354.jpg
/home/pi/Desktop/images/19042025/10/28/image_19042025_10_28_55_9513.jpg
/home/pi/Desktop/images/19042025/10/28/image_19042025_10_29_05_10384.jpg
/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_15_9356.jpg
/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_25_10483.jpg
/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_36_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":["1351837481","1351837478","1351837487","1351837483","1351837485","1351837488"],"photo_ids_order":["1351837478","1351837481","1351837483","1351837485","1351837487","1351837488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a5173cde9ab353735342f9b68bcf6e95.jpg","text":"TemporaryFile(/tmp/multipartBody5914930044882653264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064392911,"filename":"image_19042025_10_28_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/19/5146d5f69896eec3b2e40d36b49ecb27.jpg","text":"TemporaryFile(/tmp/multipartBody3807059202997305208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064392911,"filename":"image_19042025_10_28_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4dd37b7e1db8489e422b1f5f30230487.jpg","text":"TemporaryFile(/tmp/multipartBody1891611805397519354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064392911,"filename":"image_19042025_10_29_25_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/19/6d7c3b128218357e97d8adbb920bce56.jpg","text":"TemporaryFile(/tmp/multipartBody68844170094727260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064392911,"filename":"image_19042025_10_29_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/19/f1ff98b0360683f0f98907e7bb05dbb1.jpg","text":"TemporaryFile(/tmp/multipartBody64676112785776200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064392911,"filename":"image_19042025_10_29_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/19/5665e45d95d478d68eff1f5794763dfe.jpg","text":"TemporaryFile(/tmp/multipartBody9076820680572198448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064392911,"filename":"image_19042025_10_29_36_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351837483","file1":"1351837481","file0":"1351837478","file4":"1351837487","file5":"1351837488","file3":"1351837485"},"map_files_photo_id_array":[{"photo_id":"1351837488","filename":"file5"},{"photo_id":"1351837483","filename":"file2"},{"photo_id":"1351837487","filename":"file4"},{"photo_id":"1351837481","filename":"file1"},{"photo_id":"1351837478","filename":"file0"},{"photo_id":"1351837485","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351837481":["hashtag1","hashtag2"]},{"1351837478":["hashtag1","hashtag2"]},{"1351837487":["hashtag1","hashtag2"]},{"1351837483":["hashtag1","hashtag2"]},{"1351837485":["hashtag1","hashtag2"]},{"1351837488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351837481, 1351837478, 1351837487, 1351837483, 1351837485, 1351837488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.962318897247314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:06:32.624849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_45_9359.jpg', '/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_55_10364.jpg', '/home/pi/Desktop/images/19042025/10/29/image_19042025_10_30_05_9477.jpg', '/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_15_10364.jpg', '/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_26_10374.jpg', '/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_35_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_45_9359.jpg
/home/pi/Desktop/images/19042025/10/29/image_19042025_10_29_55_10364.jpg
/home/pi/Desktop/images/19042025/10/29/image_19042025_10_30_05_9477.jpg
/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_15_10364.jpg
/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_26_10374.jpg
/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_35_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351837669","1351837642","1351837615","1351837698","1351837758","1351837728"],"photo_ids_order":["1351837615","1351837642","1351837669","1351837698","1351837728","1351837758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a57117c3be237d31d27d543d12832366.jpg","text":"TemporaryFile(/tmp/multipartBody3511611973593473040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064453150,"filename":"image_19042025_10_30_05_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b6a7e44e28867c11406719e7eb8a2030.jpg","text":"TemporaryFile(/tmp/multipartBody4926183517422473802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064453150,"filename":"image_19042025_10_29_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/19/933a0781a342b1c4d5587c900aadaf7a.jpg","text":"TemporaryFile(/tmp/multipartBody3872429192275587644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064453150,"filename":"image_19042025_10_29_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/19/319650700bae421d81b6f095cd21df34.jpg","text":"TemporaryFile(/tmp/multipartBody6638644922546810914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064453150,"filename":"image_19042025_10_30_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/418fa863702d0b989c66b87317c1efc7.jpg","text":"TemporaryFile(/tmp/multipartBody2297858972626833417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064453150,"filename":"image_19042025_10_30_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da060ed3ea4383596ef97a4fb00d7ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8920942257701994357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064453150,"filename":"image_19042025_10_30_26_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351837669","file1":"1351837642","file0":"1351837615","file4":"1351837728","file5":"1351837758","file3":"1351837698"},"map_files_photo_id_array":[{"photo_id":"1351837758","filename":"file5"},{"photo_id":"1351837669","filename":"file2"},{"photo_id":"1351837728","filename":"file4"},{"photo_id":"1351837642","filename":"file1"},{"photo_id":"1351837615","filename":"file0"},{"photo_id":"1351837698","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351837669":["hashtag1","hashtag2"]},{"1351837642":["hashtag1","hashtag2"]},{"1351837615":["hashtag1","hashtag2"]},{"1351837698":["hashtag1","hashtag2"]},{"1351837758":["hashtag1","hashtag2"]},{"1351837728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351837669, 1351837642, 1351837615, 1351837698, 1351837758, 1351837728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97207570075989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:07:32.811186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_45_10383.jpg', '/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_55_9365.jpg', '/home/pi/Desktop/images/19042025/10/30/image_19042025_10_31_05_10367.jpg', '/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_15_10358.jpg', '/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_25_9422.jpg', '/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_45_10383.jpg
/home/pi/Desktop/images/19042025/10/30/image_19042025_10_30_55_9365.jpg
/home/pi/Desktop/images/19042025/10/30/image_19042025_10_31_05_10367.jpg
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_15_10358.jpg
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_25_9422.jpg
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_35_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351837994","1351837961","1351837990","1351837930","1351838106","1351838007"],"photo_ids_order":["1351837930","1351837961","1351837990","1351837994","1351838007","1351838106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2092b55b7f734978ea76bca003587cae.jpg","text":"TemporaryFile(/tmp/multipartBody7652264203560303616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064513349,"filename":"image_19042025_10_31_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/19/967eb98da3534903d57d6f59fe15d23f.jpg","text":"TemporaryFile(/tmp/multipartBody2912230243013477725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064513349,"filename":"image_19042025_10_30_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/19/206f35c31b8b9655e916b87f974feaea.jpg","text":"TemporaryFile(/tmp/multipartBody8535495776465851877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064513349,"filename":"image_19042025_10_31_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/19/c96dd82dd96c9b5521b335f0a1068340.jpg","text":"TemporaryFile(/tmp/multipartBody958247086770964403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064513349,"filename":"image_19042025_10_30_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/19/75a23f354beed23c550030849dfaf95a.jpg","text":"TemporaryFile(/tmp/multipartBody7270405915308521827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064513349,"filename":"image_19042025_10_31_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/19/a4873f006c121b7aaf3a22adf40ad758.jpg","text":"TemporaryFile(/tmp/multipartBody3391967917301655866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064513349,"filename":"image_19042025_10_31_25_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351837990","file1":"1351837961","file0":"1351837930","file4":"1351838007","file5":"1351838106","file3":"1351837994"},"map_files_photo_id_array":[{"photo_id":"1351838106","filename":"file5"},{"photo_id":"1351837990","filename":"file2"},{"photo_id":"1351838007","filename":"file4"},{"photo_id":"1351837961","filename":"file1"},{"photo_id":"1351837930","filename":"file0"},{"photo_id":"1351837994","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351837994":["hashtag1","hashtag2"]},{"1351837961":["hashtag1","hashtag2"]},{"1351837990":["hashtag1","hashtag2"]},{"1351837930":["hashtag1","hashtag2"]},{"1351838106":["hashtag1","hashtag2"]},{"1351838007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351837994, 1351837961, 1351837990, 1351837930, 1351838106, 1351838007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0620653629303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:08:33.106281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_46_10363.jpg', '/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_55_9429.jpg', '/home/pi/Desktop/images/19042025/10/31/image_19042025_10_32_05_10431.jpg', '/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_15_9514.jpg', '/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_35_9406.jpg', '/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_45_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_46_10363.jpg
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_55_9429.jpg
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_32_05_10431.jpg
/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_15_9514.jpg
/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_35_9406.jpg
/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_45_10373.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46816515922546387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 14:08:43.093944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_46_10363.jpg', '/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_55_9429.jpg', '/home/pi/Desktop/images/19042025/10/31/image_19042025_10_32_05_10431.jpg', '/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_15_9514.jpg', '/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_35_9406.jpg', '/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_45_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_46_10363.jpg
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_31_55_9429.jpg
/home/pi/Desktop/images/19042025/10/31/image_19042025_10_32_05_10431.jpg
/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_15_9514.jpg
/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_35_9406.jpg
/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_45_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351838558","1351838645","1351838680","1351838530","1351838487","1351838616"],"photo_ids_order":["1351838487","1351838530","1351838558","1351838616","1351838645","1351838680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/493338a524305e388901e933436bc762.jpg","text":"TemporaryFile(/tmp/multipartBody3798349036357678476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064583548,"filename":"image_19042025_10_32_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/19/e7790f8b178d6efe114c28154111fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4550855213694982273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064583548,"filename":"image_19042025_10_32_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70eb9a9c459af5010c7569ce68a3f222.jpg","text":"TemporaryFile(/tmp/multipartBody2387957075319185571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064583548,"filename":"image_19042025_10_32_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/19/3abdbfa40d1e85c84614a98373ff9fb5.jpg","text":"TemporaryFile(/tmp/multipartBody813654882764909869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064583548,"filename":"image_19042025_10_31_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/19/56150a65b5a8eb4a7838fbd703c690e6.jpg","text":"TemporaryFile(/tmp/multipartBody117657456227798057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064583548,"filename":"image_19042025_10_31_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/19/52552b0b93b808f53aac4da7c69b115b.jpg","text":"TemporaryFile(/tmp/multipartBody4314073294314224397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064583548,"filename":"image_19042025_10_32_15_9514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351838558","file1":"1351838530","file0":"1351838487","file4":"1351838645","file5":"1351838680","file3":"1351838616"},"map_files_photo_id_array":[{"photo_id":"1351838680","filename":"file5"},{"photo_id":"1351838558","filename":"file2"},{"photo_id":"1351838645","filename":"file4"},{"photo_id":"1351838530","filename":"file1"},{"photo_id":"1351838487","filename":"file0"},{"photo_id":"1351838616","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351838558":["hashtag1","hashtag2"]},{"1351838645":["hashtag1","hashtag2"]},{"1351838680":["hashtag1","hashtag2"]},{"1351838530":["hashtag1","hashtag2"]},{"1351838487":["hashtag1","hashtag2"]},{"1351838616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351838558, 1351838645, 1351838680, 1351838530, 1351838487, 1351838616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57608675956726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:09:32.376691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_56_10458.jpg', '/home/pi/Desktop/images/19042025/10/32/image_19042025_10_33_05_9480.jpg', '/home/pi/Desktop/images/19042025/10/33/image_19042025_10_33_15_10359.jpg', '/home/pi/Desktop/images/19042025/10/33/image_19042025_10_33_25_9444.jpg', '/home/pi/Desktop/images/19042025/10/33/image_19042025_10_33_35_10411.jpg', '/home/pi/Desktop/images/19042025/10/33/image_19042025_10_33_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/32/image_19042025_10_32_56_10458.jpg
/home/pi/Desktop/images/19042025/10/32/image_19042025_10_33_05_9480.jpg
/home/pi/Desktop/images/19042025/10/33/image_19042025_10_33_15_10359.jpg
/home/pi/Desktop/images/19042025/10/33/image_19042025_10_33_25_9444.jpg
/home/pi/Desktop/images/19042025/10/33/image_19042025_10_33_35_10411.jpg
/home/pi/Desktop/images/19042025/10/33/image_19042025_10_33_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":["1351838929","1351838991","1351838985","1351838970","1351838902","1351838865"],"photo_ids_order":["1351838865","1351838902","1351838929","1351838970","1351838985","1351838991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3bfbdf872c2150c9388bc6b859328e09.jpg","text":"TemporaryFile(/tmp/multipartBody8098834621174466882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064632887,"filename":"image_19042025_10_33_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/19/40db3b94f8ec400c66cf6944029c791b.jpg","text":"TemporaryFile(/tmp/multipartBody6117009105627162109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064632887,"filename":"image_19042025_10_33_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/19/992d25be147701f697a920eed7037691.jpg","text":"TemporaryFile(/tmp/multipartBody1257639192625612015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064632887,"filename":"image_19042025_10_33_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/19/f3d970c2059bfadf947ef04bfca46a77.jpg","text":"TemporaryFile(/tmp/multipartBody2313497011476776847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064632887,"filename":"image_19042025_10_33_25_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e1b6cddb4784d24da1e96d8b08e78b87.jpg","text":"TemporaryFile(/tmp/multipartBody355208659463852963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064632887,"filename":"image_19042025_10_33_05_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1432f6c2376e2bf83f8326278832cdf5.jpg","text":"TemporaryFile(/tmp/multipartBody6569003533361580585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064632887,"filename":"image_19042025_10_32_56_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351838929","file1":"1351838902","file0":"1351838865","file4":"1351838985","file5":"1351838991","file3":"1351838970"},"map_files_photo_id_array":[{"photo_id":"1351838991","filename":"file5"},{"photo_id":"1351838929","filename":"file2"},{"photo_id":"1351838985","filename":"file4"},{"photo_id":"1351838902","filename":"file1"},{"photo_id":"1351838865","filename":"file0"},{"photo_id":"1351838970","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351838929":["hashtag1","hashtag2"]},{"1351838991":["hashtag1","hashtag2"]},{"1351838985":["hashtag1","hashtag2"]},{"1351838970":["hashtag1","hashtag2"]},{"1351838902":["hashtag1","hashtag2"]},{"1351838865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351838929, 1351838991, 1351838985, 1351838970, 1351838902, 1351838865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31039094924927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:10:32.761664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/33/image_19042025_10_34_05_10423.jpg', '/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_15_9397.jpg', '/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_25_10347.jpg', '/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_36_10372.jpg', '/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_45_9357.jpg', '/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_55_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/33/image_19042025_10_34_05_10423.jpg
/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_15_9397.jpg
/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_25_10347.jpg
/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_36_10372.jpg
/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_45_9357.jpg
/home/pi/Desktop/images/19042025/10/34/image_19042025_10_34_55_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":["1351839073","1351839046","1351839100","1351839153","1351839126","1351839039"],"photo_ids_order":["1351839039","1351839046","1351839073","1351839100","1351839126","1351839153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4e354f08300cf1e999f274f54741a4c.jpg","text":"TemporaryFile(/tmp/multipartBody1109577932756475161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064693294,"filename":"image_19042025_10_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/19/583b325a5939d49a24a98743b6f312f9.jpg","text":"TemporaryFile(/tmp/multipartBody8516273697042571926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064693294,"filename":"image_19042025_10_34_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/19/6ead79a913625a8121b09c7e147bd647.jpg","text":"TemporaryFile(/tmp/multipartBody5527883602841616279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064693294,"filename":"image_19042025_10_34_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/19/aa5f7ae06d5a8a1bebf1dcaefc4be4df.jpg","text":"TemporaryFile(/tmp/multipartBody7927665716853280588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064693294,"filename":"image_19042025_10_34_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/19/515eadc52a79de94b1f132305dda2311.jpg","text":"TemporaryFile(/tmp/multipartBody1869320815242933134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064693294,"filename":"image_19042025_10_34_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/19/d6791792740f380480fb2b8fb599e43e.jpg","text":"TemporaryFile(/tmp/multipartBody8122255165306753507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064693294,"filename":"image_19042025_10_34_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351839073","file1":"1351839046","file0":"1351839039","file4":"1351839126","file5":"1351839153","file3":"1351839100"},"map_files_photo_id_array":[{"photo_id":"1351839153","filename":"file5"},{"photo_id":"1351839073","filename":"file2"},{"photo_id":"1351839126","filename":"file4"},{"photo_id":"1351839046","filename":"file1"},{"photo_id":"1351839039","filename":"file0"},{"photo_id":"1351839100","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351839073":["hashtag1","hashtag2"]},{"1351839046":["hashtag1","hashtag2"]},{"1351839100":["hashtag1","hashtag2"]},{"1351839153":["hashtag1","hashtag2"]},{"1351839126":["hashtag1","hashtag2"]},{"1351839039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351839073, 1351839046, 1351839100, 1351839153, 1351839126, 1351839039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.010730743408203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:11:33.007926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/34/image_19042025_10_35_05_9431.jpg', '/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_15_10421.jpg', '/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_26_10391.jpg', '/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_35_9391.jpg', '/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_45_10379.jpg', '/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_55_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/34/image_19042025_10_35_05_9431.jpg
/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_15_10421.jpg
/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_26_10391.jpg
/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_35_9391.jpg
/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_45_10379.jpg
/home/pi/Desktop/images/19042025/10/35/image_19042025_10_35_55_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351839552","1351839435","1351839575","1351839485","1351839527","1351839608"],"photo_ids_order":["1351839435","1351839485","1351839527","1351839552","1351839575","1351839608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b35ea492733276bd0c3a232e9f1a7e02.jpg","text":"TemporaryFile(/tmp/multipartBody9069783291702150231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064753545,"filename":"image_19042025_10_35_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/19/de77c402b78138b2095614914c1607d2.jpg","text":"TemporaryFile(/tmp/multipartBody1519976889551995407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064753545,"filename":"image_19042025_10_35_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c3696d119349ce2297120abe8da74f3.jpg","text":"TemporaryFile(/tmp/multipartBody4174565058927310652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064753545,"filename":"image_19042025_10_35_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fdd9901e0ceba90edd59f9b723ea9b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3162890556141136441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064753545,"filename":"image_19042025_10_35_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5fed1164d429220e9605529a2f00ef09.jpg","text":"TemporaryFile(/tmp/multipartBody4832354915785093854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064753545,"filename":"image_19042025_10_35_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/19/683797860816c28054407b142551f6f7.jpg","text":"TemporaryFile(/tmp/multipartBody4820010204886356161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064753545,"filename":"image_19042025_10_35_55_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351839527","file1":"1351839485","file0":"1351839435","file4":"1351839575","file5":"1351839608","file3":"1351839552"},"map_files_photo_id_array":[{"photo_id":"1351839608","filename":"file5"},{"photo_id":"1351839527","filename":"file2"},{"photo_id":"1351839575","filename":"file4"},{"photo_id":"1351839485","filename":"file1"},{"photo_id":"1351839435","filename":"file0"},{"photo_id":"1351839552","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351839552":["hashtag1","hashtag2"]},{"1351839435":["hashtag1","hashtag2"]},{"1351839575":["hashtag1","hashtag2"]},{"1351839485":["hashtag1","hashtag2"]},{"1351839527":["hashtag1","hashtag2"]},{"1351839608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351839552, 1351839435, 1351839575, 1351839485, 1351839527, 1351839608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.553117752075195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:12:32.248879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/35/image_19042025_10_36_05_10437.jpg', '/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_15_10362.jpg', '/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_25_9478.jpg', '/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_35_10366.jpg', '/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_45_9420.jpg', '/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_55_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/35/image_19042025_10_36_05_10437.jpg
/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_15_10362.jpg
/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_25_9478.jpg
/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_35_10366.jpg
/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_45_9420.jpg
/home/pi/Desktop/images/19042025/10/36/image_19042025_10_36_55_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":["1351840349","1351840099","1351840207","1351840152","1351840404","1351840289"],"photo_ids_order":["1351840099","1351840152","1351840207","1351840289","1351840349","1351840404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/418419df632aedce6006862d1d15c1e2.jpg","text":"TemporaryFile(/tmp/multipartBody6091505187942941589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064812777,"filename":"image_19042025_10_36_45_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ecbd07f1d0fe5b98cbf8023dd579649.jpg","text":"TemporaryFile(/tmp/multipartBody5030434295039423797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064812777,"filename":"image_19042025_10_36_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/19/cb6d230e0a8715ec6412208fc0a2ffaf.jpg","text":"TemporaryFile(/tmp/multipartBody1253893556324413290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064812777,"filename":"image_19042025_10_36_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/19/30efca2e27e53391aa21a1603ed9e67d.jpg","text":"TemporaryFile(/tmp/multipartBody8217001698673814709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064812777,"filename":"image_19042025_10_36_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/19/58df30d63dad15f5da2b882782cc67d5.jpg","text":"TemporaryFile(/tmp/multipartBody8034499991781800467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064812777,"filename":"image_19042025_10_36_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/19/f57180adf019e4dd1f0098d1c4d2232c.jpg","text":"TemporaryFile(/tmp/multipartBody3260455441203748558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064812777,"filename":"image_19042025_10_36_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351840207","file1":"1351840152","file0":"1351840099","file4":"1351840349","file5":"1351840404","file3":"1351840289"},"map_files_photo_id_array":[{"photo_id":"1351840404","filename":"file5"},{"photo_id":"1351840207","filename":"file2"},{"photo_id":"1351840349","filename":"file4"},{"photo_id":"1351840152","filename":"file1"},{"photo_id":"1351840099","filename":"file0"},{"photo_id":"1351840289","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351840349":["hashtag1","hashtag2"]},{"1351840099":["hashtag1","hashtag2"]},{"1351840207":["hashtag1","hashtag2"]},{"1351840152":["hashtag1","hashtag2"]},{"1351840404":["hashtag1","hashtag2"]},{"1351840289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351840349, 1351840099, 1351840207, 1351840152, 1351840404, 1351840289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03607511520386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:13:32.413379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/36/image_19042025_10_37_05_10364.jpg', '/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_15_9474.jpg', '/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_25_10391.jpg', '/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_35_9364.jpg', '/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_45_10402.jpg', '/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/36/image_19042025_10_37_05_10364.jpg
/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_15_9474.jpg
/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_25_10391.jpg
/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_35_9364.jpg
/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_45_10402.jpg
/home/pi/Desktop/images/19042025/10/37/image_19042025_10_37_55_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351841254","1351841152","1351841008","1351841203","1351841076","1351841319"],"photo_ids_order":["1351841008","1351841076","1351841152","1351841203","1351841254","1351841319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a0bd5d1a8878e9ad62eea3033c5f27c4.jpg","text":"TemporaryFile(/tmp/multipartBody7383076341296532869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064872938,"filename":"image_19042025_10_37_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a24016b08ba64b64a20daafe97d50c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1159442579677958101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064872938,"filename":"image_19042025_10_37_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/519b5f4a505822404bae9e8a37c10796.jpg","text":"TemporaryFile(/tmp/multipartBody4794452828273752624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064872938,"filename":"image_19042025_10_37_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/19/6274e1444b43acfec98d3b094ef500ad.jpg","text":"TemporaryFile(/tmp/multipartBody5755107595105838021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064872938,"filename":"image_19042025_10_37_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/19/071daf70676bf030770dffea794af9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7261105406810372757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064872938,"filename":"image_19042025_10_37_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/19/8247e32bc7d496d130b8d38f614c5d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2246870969336594828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064872938,"filename":"image_19042025_10_37_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351841152","file1":"1351841076","file0":"1351841008","file4":"1351841254","file5":"1351841319","file3":"1351841203"},"map_files_photo_id_array":[{"photo_id":"1351841319","filename":"file5"},{"photo_id":"1351841152","filename":"file2"},{"photo_id":"1351841254","filename":"file4"},{"photo_id":"1351841076","filename":"file1"},{"photo_id":"1351841008","filename":"file0"},{"photo_id":"1351841203","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351841254":["hashtag1","hashtag2"]},{"1351841152":["hashtag1","hashtag2"]},{"1351841008":["hashtag1","hashtag2"]},{"1351841203":["hashtag1","hashtag2"]},{"1351841076":["hashtag1","hashtag2"]},{"1351841319":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351841254, 1351841152, 1351841008, 1351841203, 1351841076, 1351841319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45600152015686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:14:32.802593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/37/image_19042025_10_38_05_9445.jpg', '/home/pi/Desktop/images/19042025/10/38/image_19042025_10_38_26_10361.jpg', '/home/pi/Desktop/images/19042025/10/38/image_19042025_10_38_35_9349.jpg', '/home/pi/Desktop/images/19042025/10/38/image_19042025_10_38_45_10416.jpg', '/home/pi/Desktop/images/19042025/10/38/image_19042025_10_38_55_9424.jpg', '/home/pi/Desktop/images/19042025/10/38/image_19042025_10_39_05_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/37/image_19042025_10_38_05_9445.jpg
/home/pi/Desktop/images/19042025/10/38/image_19042025_10_38_26_10361.jpg
/home/pi/Desktop/images/19042025/10/38/image_19042025_10_38_35_9349.jpg
/home/pi/Desktop/images/19042025/10/38/image_19042025_10_38_45_10416.jpg
/home/pi/Desktop/images/19042025/10/38/image_19042025_10_38_55_9424.jpg
/home/pi/Desktop/images/19042025/10/38/image_19042025_10_39_05_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351841650","1351841841","1351841679","1351841724","1351841771","1351841893"],"photo_ids_order":["1351841650","1351841679","1351841724","1351841771","1351841841","1351841893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2e62ff9ff1fc1b5045a1a69a2f79409c.jpg","text":"TemporaryFile(/tmp/multipartBody2901775704952770671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064933391,"filename":"image_19042025_10_38_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/19/89ea789d91b8d696e14418ce5df0fb86.jpg","text":"TemporaryFile(/tmp/multipartBody5539635594328834749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064933391,"filename":"image_19042025_10_38_55_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/240b17b9940c1ead478cae9a08670faa.jpg","text":"TemporaryFile(/tmp/multipartBody3589164898517471970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064933391,"filename":"image_19042025_10_38_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/19/ef3128bbae60a3e74ac371e651ffc8ae.jpg","text":"TemporaryFile(/tmp/multipartBody2146787877755910051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064933391,"filename":"image_19042025_10_38_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/19/1f6d8314eef1a3a3098312cb1d42e7b2.jpg","text":"TemporaryFile(/tmp/multipartBody3622932454994767419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064933391,"filename":"image_19042025_10_38_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5c73cb0da2302949bc2eb2e2d1c5366.jpg","text":"TemporaryFile(/tmp/multipartBody4875238743193623167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064933391,"filename":"image_19042025_10_39_05_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351841724","file1":"1351841679","file0":"1351841650","file4":"1351841841","file5":"1351841893","file3":"1351841771"},"map_files_photo_id_array":[{"photo_id":"1351841893","filename":"file5"},{"photo_id":"1351841724","filename":"file2"},{"photo_id":"1351841841","filename":"file4"},{"photo_id":"1351841679","filename":"file1"},{"photo_id":"1351841650","filename":"file0"},{"photo_id":"1351841771","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351841650":["hashtag1","hashtag2"]},{"1351841841":["hashtag1","hashtag2"]},{"1351841679":["hashtag1","hashtag2"]},{"1351841724":["hashtag1","hashtag2"]},{"1351841771":["hashtag1","hashtag2"]},{"1351841893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351841650, 1351841841, 1351841679, 1351841724, 1351841771, 1351841893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.764382123947144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:15:33.121671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_16_10354.jpg', '/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_25_9421.jpg', '/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_36_10434.jpg', '/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_45_9443.jpg', '/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_55_10379.jpg', '/home/pi/Desktop/images/19042025/10/39/image_19042025_10_40_05_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_16_10354.jpg
/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_25_9421.jpg
/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_36_10434.jpg
/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_45_9443.jpg
/home/pi/Desktop/images/19042025/10/39/image_19042025_10_39_55_10379.jpg
/home/pi/Desktop/images/19042025/10/39/image_19042025_10_40_05_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":["1351842291","1351842319","1351842336","1351842303","1351842293","1351842320"],"photo_ids_order":["1351842291","1351842293","1351842303","1351842319","1351842320","1351842336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/536c1ce0c661ad9e9f520b621c4eb062.jpg","text":"TemporaryFile(/tmp/multipartBody9208991504173575331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064993645,"filename":"image_19042025_10_39_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/19/4051452ec27b4976ec61567a245b40d8.jpg","text":"TemporaryFile(/tmp/multipartBody6131009626520113281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064993645,"filename":"image_19042025_10_39_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/19/2805cd5bfea1cb25eb32e7060f0f1068.jpg","text":"TemporaryFile(/tmp/multipartBody893237836591645382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064993645,"filename":"image_19042025_10_40_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7506b59b00d20fa8273a47405daf0d77.jpg","text":"TemporaryFile(/tmp/multipartBody867874582745462102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064993645,"filename":"image_19042025_10_39_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/19/601ede5bc50ba0529749ac3db516a5a4.jpg","text":"TemporaryFile(/tmp/multipartBody4146802584894230287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064993645,"filename":"image_19042025_10_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/19/d526ff94aef377e6e459f37e96181eec.jpg","text":"TemporaryFile(/tmp/multipartBody5726588113845639428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745064993645,"filename":"image_19042025_10_39_55_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351842303","file1":"1351842293","file0":"1351842291","file4":"1351842320","file5":"1351842336","file3":"1351842319"},"map_files_photo_id_array":[{"photo_id":"1351842336","filename":"file5"},{"photo_id":"1351842303","filename":"file2"},{"photo_id":"1351842320","filename":"file4"},{"photo_id":"1351842293","filename":"file1"},{"photo_id":"1351842291","filename":"file0"},{"photo_id":"1351842319","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351842291":["hashtag1","hashtag2"]},{"1351842319":["hashtag1","hashtag2"]},{"1351842336":["hashtag1","hashtag2"]},{"1351842303":["hashtag1","hashtag2"]},{"1351842293":["hashtag1","hashtag2"]},{"1351842320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351842291, 1351842319, 1351842336, 1351842303, 1351842293, 1351842320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.424099445343018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:16:32.216400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_15_10440.jpg', '/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_26_10374.jpg', '/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_35_9433.jpg', '/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_45_10378.jpg', '/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_55_9394.jpg', '/home/pi/Desktop/images/19042025/10/40/image_19042025_10_41_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_15_10440.jpg
/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_26_10374.jpg
/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_35_9433.jpg
/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_45_10378.jpg
/home/pi/Desktop/images/19042025/10/40/image_19042025_10_40_55_9394.jpg
/home/pi/Desktop/images/19042025/10/40/image_19042025_10_41_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351842826","1351842975","1351842798","1351842867","1351842784","1351843048"],"photo_ids_order":["1351842784","1351842798","1351842826","1351842867","1351842975","1351843048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35dacc4fff835c2bc123303d17abb05b.jpg","text":"TemporaryFile(/tmp/multipartBody6527683002409064956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065052737,"filename":"image_19042025_10_40_35_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/561fa2e505f73e45e49ced36f7ebca89.jpg","text":"TemporaryFile(/tmp/multipartBody2244687595437845928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065052737,"filename":"image_19042025_10_40_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/19/513bf96b60e61a921820ea1c897e6eeb.jpg","text":"TemporaryFile(/tmp/multipartBody1410181021795498647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065052737,"filename":"image_19042025_10_40_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/19/5869cc08f09767fe1a10cf099a5f70d8.jpg","text":"TemporaryFile(/tmp/multipartBody3037815519848869479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065052737,"filename":"image_19042025_10_40_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/19/2428ce4501baf18409d2efd8e5bdcb1e.jpg","text":"TemporaryFile(/tmp/multipartBody9046148659147761504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065052737,"filename":"image_19042025_10_40_15_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bd8d0d2cfdf751385536892b09a0109c.jpg","text":"TemporaryFile(/tmp/multipartBody7428601079095662501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065052737,"filename":"image_19042025_10_41_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351842826","file1":"1351842798","file0":"1351842784","file4":"1351842975","file5":"1351843048","file3":"1351842867"},"map_files_photo_id_array":[{"photo_id":"1351843048","filename":"file5"},{"photo_id":"1351842826","filename":"file2"},{"photo_id":"1351842975","filename":"file4"},{"photo_id":"1351842798","filename":"file1"},{"photo_id":"1351842784","filename":"file0"},{"photo_id":"1351842867","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351842826":["hashtag1","hashtag2"]},{"1351842975":["hashtag1","hashtag2"]},{"1351842798":["hashtag1","hashtag2"]},{"1351842867":["hashtag1","hashtag2"]},{"1351842784":["hashtag1","hashtag2"]},{"1351843048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351842826, 1351842975, 1351842798, 1351842867, 1351842784, 1351843048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1910240650177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:17:32.385598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_15_10371.jpg', '/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_25_9448.jpg', '/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_35_10373.jpg', '/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_46_10371.jpg', '/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_55_9449.jpg', '/home/pi/Desktop/images/19042025/10/41/image_19042025_10_42_06_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_15_10371.jpg
/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_25_9448.jpg
/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_35_10373.jpg
/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_46_10371.jpg
/home/pi/Desktop/images/19042025/10/41/image_19042025_10_41_55_9449.jpg
/home/pi/Desktop/images/19042025/10/41/image_19042025_10_42_06_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":["1351843386","1351843428","1351843416","1351843431","1351843352","1351843433"],"photo_ids_order":["1351843352","1351843386","1351843416","1351843428","1351843431","1351843433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e2f2c9515305f0e8daa7b529e21a093.jpg","text":"TemporaryFile(/tmp/multipartBody96635966265100640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065112923,"filename":"image_19042025_10_41_25_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38a41b6dc949ad4fe8cd8fa3da85da09.jpg","text":"TemporaryFile(/tmp/multipartBody7431066630389151483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065112923,"filename":"image_19042025_10_41_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/19/3034b08bb5f2746dabc3a6fc07d5a855.jpg","text":"TemporaryFile(/tmp/multipartBody2636950481477156688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065112923,"filename":"image_19042025_10_41_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/19/bdb83d1b525f31f4cdeaa27b2651986e.jpg","text":"TemporaryFile(/tmp/multipartBody5245247569331022535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065112923,"filename":"image_19042025_10_41_55_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d75e9672c0d895f4b791447762139e27.jpg","text":"TemporaryFile(/tmp/multipartBody8181283687148507886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065112923,"filename":"image_19042025_10_41_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/19/54942f47dca740bfe2386722b04d4921.jpg","text":"TemporaryFile(/tmp/multipartBody4768932762144997455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065112923,"filename":"image_19042025_10_42_06_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351843416","file1":"1351843386","file0":"1351843352","file4":"1351843431","file5":"1351843433","file3":"1351843428"},"map_files_photo_id_array":[{"photo_id":"1351843433","filename":"file5"},{"photo_id":"1351843416","filename":"file2"},{"photo_id":"1351843431","filename":"file4"},{"photo_id":"1351843386","filename":"file1"},{"photo_id":"1351843352","filename":"file0"},{"photo_id":"1351843428","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351843386":["hashtag1","hashtag2"]},{"1351843428":["hashtag1","hashtag2"]},{"1351843416":["hashtag1","hashtag2"]},{"1351843431":["hashtag1","hashtag2"]},{"1351843352":["hashtag1","hashtag2"]},{"1351843433":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351843386, 1351843428, 1351843416, 1351843431, 1351843352, 1351843433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3963508605957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:18:32.640934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_15_9415.jpg', '/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_25_10402.jpg', '/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_35_9345.jpg', '/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_45_10446.jpg', '/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_55_10357.jpg', '/home/pi/Desktop/images/19042025/10/42/image_19042025_10_43_05_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_15_9415.jpg
/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_25_10402.jpg
/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_35_9345.jpg
/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_45_10446.jpg
/home/pi/Desktop/images/19042025/10/42/image_19042025_10_42_55_10357.jpg
/home/pi/Desktop/images/19042025/10/42/image_19042025_10_43_05_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":["1351843620","1351843562","1351843558","1351843618","1351843606","1351843581"],"photo_ids_order":["1351843558","1351843562","1351843581","1351843606","1351843618","1351843620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/561ea0673b8ae7700e99c99fbfeb93a9.jpg","text":"TemporaryFile(/tmp/multipartBody2257875098042175881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065173186,"filename":"image_19042025_10_43_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/19/4b9a02fde522332a31d2860664776dec.jpg","text":"TemporaryFile(/tmp/multipartBody130594950690595332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065173186,"filename":"image_19042025_10_42_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f51d9964332e3e0457224a315d1b778.jpg","text":"TemporaryFile(/tmp/multipartBody8988621409812168082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065173186,"filename":"image_19042025_10_42_15_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12e456b73672f23ec148d133903d11e8.jpg","text":"TemporaryFile(/tmp/multipartBody5905699060987563490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065173186,"filename":"image_19042025_10_42_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/19/bcc9d295d411f8ab8b2f1b7ee1828d2e.jpg","text":"TemporaryFile(/tmp/multipartBody7142505735019811249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065173186,"filename":"image_19042025_10_42_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba7cfabd87cb96d9edd4678dd3e8de95.jpg","text":"TemporaryFile(/tmp/multipartBody7358315593526430016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065173186,"filename":"image_19042025_10_42_35_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351843581","file1":"1351843562","file0":"1351843558","file4":"1351843618","file5":"1351843620","file3":"1351843606"},"map_files_photo_id_array":[{"photo_id":"1351843620","filename":"file5"},{"photo_id":"1351843581","filename":"file2"},{"photo_id":"1351843618","filename":"file4"},{"photo_id":"1351843562","filename":"file1"},{"photo_id":"1351843558","filename":"file0"},{"photo_id":"1351843606","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351843620":["hashtag1","hashtag2"]},{"1351843562":["hashtag1","hashtag2"]},{"1351843558":["hashtag1","hashtag2"]},{"1351843618":["hashtag1","hashtag2"]},{"1351843606":["hashtag1","hashtag2"]},{"1351843581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351843620, 1351843562, 1351843558, 1351843618, 1351843606, 1351843581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52944731712341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:19:32.852797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/43/image_19042025_10_43_15_10343.jpg', '/home/pi/Desktop/images/19042025/10/43/image_19042025_10_43_26_10367.jpg', '/home/pi/Desktop/images/19042025/10/43/image_19042025_10_43_35_9352.jpg', '/home/pi/Desktop/images/19042025/10/43/image_19042025_10_43_55_9464.jpg', '/home/pi/Desktop/images/19042025/10/43/image_19042025_10_44_05_10419.jpg', '/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_16_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/43/image_19042025_10_43_15_10343.jpg
/home/pi/Desktop/images/19042025/10/43/image_19042025_10_43_26_10367.jpg
/home/pi/Desktop/images/19042025/10/43/image_19042025_10_43_35_9352.jpg
/home/pi/Desktop/images/19042025/10/43/image_19042025_10_43_55_9464.jpg
/home/pi/Desktop/images/19042025/10/43/image_19042025_10_44_05_10419.jpg
/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_16_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351843875","1351843725","1351843812","1351843772","1351843697","1351843930"],"photo_ids_order":["1351843697","1351843725","1351843772","1351843812","1351843875","1351843930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/94c3c3679ca5f723114eb6c0a490d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody4449594728465438576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065233385,"filename":"image_19042025_10_44_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a82a0ebca4f163ae0ad6440b51c62c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1374340552814779942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065233385,"filename":"image_19042025_10_43_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/19/a1ef86715f9e2f562f0f1923029258ee.jpg","text":"TemporaryFile(/tmp/multipartBody787239679543374512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065233385,"filename":"image_19042025_10_43_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/19/6a737a1d412d3530f730460f501593c6.jpg","text":"TemporaryFile(/tmp/multipartBody767067921538173651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065233385,"filename":"image_19042025_10_43_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/19/b31b754d903d9e67606ea7325a90640b.jpg","text":"TemporaryFile(/tmp/multipartBody1692398909078674723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065233385,"filename":"image_19042025_10_43_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/19/882d0aaad76fc83f6ddd580991cb2868.jpg","text":"TemporaryFile(/tmp/multipartBody7494832742153363839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065233385,"filename":"image_19042025_10_44_16_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351843772","file1":"1351843725","file0":"1351843697","file4":"1351843875","file5":"1351843930","file3":"1351843812"},"map_files_photo_id_array":[{"photo_id":"1351843930","filename":"file5"},{"photo_id":"1351843772","filename":"file2"},{"photo_id":"1351843875","filename":"file4"},{"photo_id":"1351843725","filename":"file1"},{"photo_id":"1351843697","filename":"file0"},{"photo_id":"1351843812","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351843875":["hashtag1","hashtag2"]},{"1351843725":["hashtag1","hashtag2"]},{"1351843812":["hashtag1","hashtag2"]},{"1351843772":["hashtag1","hashtag2"]},{"1351843697":["hashtag1","hashtag2"]},{"1351843930":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351843875, 1351843725, 1351843812, 1351843772, 1351843697, 1351843930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.787636280059814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:20:33.121991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_25_9448.jpg', '/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_35_10358.jpg', '/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_45_9402.jpg', '/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_55_10432.jpg', '/home/pi/Desktop/images/19042025/10/44/image_19042025_10_45_06_10352.jpg', '/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_15_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_25_9448.jpg
/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_35_10358.jpg
/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_45_9402.jpg
/home/pi/Desktop/images/19042025/10/44/image_19042025_10_44_55_10432.jpg
/home/pi/Desktop/images/19042025/10/44/image_19042025_10_45_06_10352.jpg
/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_15_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":["1351844342","1351844470","1351844287","1351844524","1351844404","1351844442"],"photo_ids_order":["1351844287","1351844342","1351844404","1351844442","1351844470","1351844524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87b031f9be9c39c0eadf4ba8811ec5d1.jpg","text":"TemporaryFile(/tmp/multipartBody6787717525262577769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065293646,"filename":"image_19042025_10_44_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/19/dd6f0a07b1ec44543d3c162a58c221a7.jpg","text":"TemporaryFile(/tmp/multipartBody5571920176680788938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065293646,"filename":"image_19042025_10_45_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/19/5516442baa159082bb7ab2cb266a1c96.jpg","text":"TemporaryFile(/tmp/multipartBody2719607627019834680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065293646,"filename":"image_19042025_10_44_25_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8edd190814b26e0aa4d147171afdcff7.jpg","text":"TemporaryFile(/tmp/multipartBody2548023826429232729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065293646,"filename":"image_19042025_10_45_15_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2edc0afa2c9150714ca5a258ae97e29e.jpg","text":"TemporaryFile(/tmp/multipartBody8889365125660743135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065293646,"filename":"image_19042025_10_44_45_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7efab08ae573a7689fc38f49c945cf1.jpg","text":"TemporaryFile(/tmp/multipartBody5736289887953530517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065293646,"filename":"image_19042025_10_44_55_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351844404","file1":"1351844342","file0":"1351844287","file4":"1351844470","file5":"1351844524","file3":"1351844442"},"map_files_photo_id_array":[{"photo_id":"1351844524","filename":"file5"},{"photo_id":"1351844404","filename":"file2"},{"photo_id":"1351844470","filename":"file4"},{"photo_id":"1351844342","filename":"file1"},{"photo_id":"1351844287","filename":"file0"},{"photo_id":"1351844442","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351844342":["hashtag1","hashtag2"]},{"1351844470":["hashtag1","hashtag2"]},{"1351844287":["hashtag1","hashtag2"]},{"1351844524":["hashtag1","hashtag2"]},{"1351844404":["hashtag1","hashtag2"]},{"1351844442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351844342, 1351844470, 1351844287, 1351844524, 1351844404, 1351844442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.765862226486206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:21:32.406917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_25_10406.jpg', '/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_35_9457.jpg', '/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_45_10397.jpg', '/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_56_10366.jpg', '/home/pi/Desktop/images/19042025/10/45/image_19042025_10_46_05_9433.jpg', '/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_16_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_25_10406.jpg
/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_35_9457.jpg
/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_45_10397.jpg
/home/pi/Desktop/images/19042025/10/45/image_19042025_10_45_56_10366.jpg
/home/pi/Desktop/images/19042025/10/45/image_19042025_10_46_05_9433.jpg
/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_16_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":["1351845065","1351845151","1351845093","1351845013","1351845054","1351844979"],"photo_ids_order":["1351844979","1351845013","1351845054","1351845065","1351845093","1351845151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7fde4fd6a0b378991ac22336d93e1fdc.jpg","text":"TemporaryFile(/tmp/multipartBody5574574865466642037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065352927,"filename":"image_19042025_10_45_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/19/cc123f982cd9eb9a6a3a8545594ecf6b.jpg","text":"TemporaryFile(/tmp/multipartBody2248493853385887866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065352927,"filename":"image_19042025_10_46_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/19/fe60c9cb2fd1e1d470aa7ce7c5fb129a.jpg","text":"TemporaryFile(/tmp/multipartBody4099242967577121343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065352927,"filename":"image_19042025_10_46_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/19/db2828d48cbde6aab30b92dc3d9b84e7.jpg","text":"TemporaryFile(/tmp/multipartBody5238685068723786574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065352927,"filename":"image_19042025_10_45_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6c2b0802e6375ae8dcf46c97054b33d7.jpg","text":"TemporaryFile(/tmp/multipartBody584964971708394976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065352927,"filename":"image_19042025_10_45_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/19/070669d760cd80973744d8bae8e97256.jpg","text":"TemporaryFile(/tmp/multipartBody7836490058293820807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065352927,"filename":"image_19042025_10_45_25_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351845054","file1":"1351845013","file0":"1351844979","file4":"1351845093","file5":"1351845151","file3":"1351845065"},"map_files_photo_id_array":[{"photo_id":"1351845151","filename":"file5"},{"photo_id":"1351845054","filename":"file2"},{"photo_id":"1351845093","filename":"file4"},{"photo_id":"1351845013","filename":"file1"},{"photo_id":"1351844979","filename":"file0"},{"photo_id":"1351845065","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351845065":["hashtag1","hashtag2"]},{"1351845151":["hashtag1","hashtag2"]},{"1351845093":["hashtag1","hashtag2"]},{"1351845013":["hashtag1","hashtag2"]},{"1351845054":["hashtag1","hashtag2"]},{"1351844979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351845065, 1351845151, 1351845093, 1351845013, 1351845054, 1351844979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.852906227111816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:22:32.616669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_25_9363.jpg', '/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_35_10381.jpg', '/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_45_9363.jpg', '/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_15_9486.jpg', '/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_35_9344.jpg', '/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_25_9363.jpg
/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_35_10381.jpg
/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_45_9363.jpg
/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_15_9486.jpg
/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_35_9344.jpg
/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_45_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.4492509365081787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 14:22:42.597265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_25_9363.jpg', '/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_35_10381.jpg', '/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_45_9363.jpg', '/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_15_9486.jpg', '/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_35_9344.jpg', '/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_25_9363.jpg
/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_35_10381.jpg
/home/pi/Desktop/images/19042025/10/46/image_19042025_10_46_45_9363.jpg
/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_15_9486.jpg
/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_35_9344.jpg
/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351845473","1351845512","1351845483","1351845480","1351845477","1351845482"],"photo_ids_order":["1351845473","1351845477","1351845480","1351845482","1351845483","1351845512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84344105cb82f3c056c4bce03ea95c71.jpg","text":"TemporaryFile(/tmp/multipartBody5610583402511205879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065423061,"filename":"image_19042025_10_46_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/19/abe638606c0a095ee35ca9a951196d73.jpg","text":"TemporaryFile(/tmp/multipartBody1700963114523533928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065423061,"filename":"image_19042025_10_47_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/19/b5bde183d87ba7e9a43860dc7c103199.jpg","text":"TemporaryFile(/tmp/multipartBody3307236782445613362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065423061,"filename":"image_19042025_10_47_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/19/6f20512e01c952c394a058a1cfc370f8.jpg","text":"TemporaryFile(/tmp/multipartBody1736500180426338106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065423061,"filename":"image_19042025_10_46_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/19/cc59e4a9c403290530759654f7efded0.jpg","text":"TemporaryFile(/tmp/multipartBody8056278090245114584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065423061,"filename":"image_19042025_10_46_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/069f5330d7d18d5d95c1d882a0e09c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5140043864251784562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065423061,"filename":"image_19042025_10_47_15_9486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351845480","file1":"1351845477","file0":"1351845473","file4":"1351845483","file5":"1351845512","file3":"1351845482"},"map_files_photo_id_array":[{"photo_id":"1351845512","filename":"file5"},{"photo_id":"1351845480","filename":"file2"},{"photo_id":"1351845483","filename":"file4"},{"photo_id":"1351845477","filename":"file1"},{"photo_id":"1351845473","filename":"file0"},{"photo_id":"1351845482","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351845473":["hashtag1","hashtag2"]},{"1351845512":["hashtag1","hashtag2"]},{"1351845483":["hashtag1","hashtag2"]},{"1351845480":["hashtag1","hashtag2"]},{"1351845477":["hashtag1","hashtag2"]},{"1351845482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351845473, 1351845512, 1351845483, 1351845480, 1351845477, 1351845482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22708249092102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:23:32.860814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_55_10376.jpg', '/home/pi/Desktop/images/19042025/10/47/image_19042025_10_48_05_9478.jpg', '/home/pi/Desktop/images/19042025/10/48/image_19042025_10_48_15_10369.jpg', '/home/pi/Desktop/images/19042025/10/48/image_19042025_10_48_26_10381.jpg', '/home/pi/Desktop/images/19042025/10/48/image_19042025_10_48_35_9464.jpg', '/home/pi/Desktop/images/19042025/10/48/image_19042025_10_49_05_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/47/image_19042025_10_47_55_10376.jpg
/home/pi/Desktop/images/19042025/10/47/image_19042025_10_48_05_9478.jpg
/home/pi/Desktop/images/19042025/10/48/image_19042025_10_48_15_10369.jpg
/home/pi/Desktop/images/19042025/10/48/image_19042025_10_48_26_10381.jpg
/home/pi/Desktop/images/19042025/10/48/image_19042025_10_48_35_9464.jpg
/home/pi/Desktop/images/19042025/10/48/image_19042025_10_49_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":["1351845608","1351845602","1351845605","1351845597","1351845570","1351845600"],"photo_ids_order":["1351845570","1351845597","1351845600","1351845602","1351845605","1351845608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f9b9125f8bbba6fcbfd5128fbbf1200c.jpg","text":"TemporaryFile(/tmp/multipartBody6443137615029393046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065473390,"filename":"image_19042025_10_49_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/afcd619171230a6f2cbf14226c9372c6.jpg","text":"TemporaryFile(/tmp/multipartBody423987447232765028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065473390,"filename":"image_19042025_10_48_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/19/2872d03b2975d788ad0b1932319d2dfe.jpg","text":"TemporaryFile(/tmp/multipartBody8821307016053983467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065473390,"filename":"image_19042025_10_48_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/19/ac329da817c1a783eb15ad8af9aa5c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6158755453214472617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065473390,"filename":"image_19042025_10_48_05_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e81dfe0242f48fcb2b1f4d8575649ab5.jpg","text":"TemporaryFile(/tmp/multipartBody7730519227937040550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065473390,"filename":"image_19042025_10_47_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bdc9d318ca6a7eeef902364e60e9608e.jpg","text":"TemporaryFile(/tmp/multipartBody4733481373673155541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065473390,"filename":"image_19042025_10_48_15_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351845600","file1":"1351845597","file0":"1351845570","file4":"1351845605","file5":"1351845608","file3":"1351845602"},"map_files_photo_id_array":[{"photo_id":"1351845608","filename":"file5"},{"photo_id":"1351845600","filename":"file2"},{"photo_id":"1351845605","filename":"file4"},{"photo_id":"1351845597","filename":"file1"},{"photo_id":"1351845570","filename":"file0"},{"photo_id":"1351845602","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351845608":["hashtag1","hashtag2"]},{"1351845602":["hashtag1","hashtag2"]},{"1351845605":["hashtag1","hashtag2"]},{"1351845597":["hashtag1","hashtag2"]},{"1351845570":["hashtag1","hashtag2"]},{"1351845600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351845608, 1351845602, 1351845605, 1351845597, 1351845570, 1351845600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.06185793876648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:24:33.055210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_15_9382.jpg', '/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_25_10446.jpg', '/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_35_10361.jpg', '/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_45_9535.jpg', '/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_55_10380.jpg', '/home/pi/Desktop/images/19042025/10/49/image_19042025_10_50_05_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_15_9382.jpg
/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_25_10446.jpg
/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_35_10361.jpg
/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_45_9535.jpg
/home/pi/Desktop/images/19042025/10/49/image_19042025_10_49_55_10380.jpg
/home/pi/Desktop/images/19042025/10/49/image_19042025_10_50_05_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351845833","1351845889","1351845942","1351845858","1351845915","1351846076"],"photo_ids_order":["1351845833","1351845858","1351845889","1351845915","1351845942","1351846076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/782c69f392e3dd2b5781f4439ab66f66.jpg","text":"TemporaryFile(/tmp/multipartBody8535709965333363533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065533590,"filename":"image_19042025_10_49_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/19/c20d645890b98682de1342782790f214.jpg","text":"TemporaryFile(/tmp/multipartBody1957407520750422761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065533590,"filename":"image_19042025_10_49_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/19/a9f6ad188e0224cf206e5b24825476ac.jpg","text":"TemporaryFile(/tmp/multipartBody4340126466006327615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065533590,"filename":"image_19042025_10_49_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e4e04bb69f4eb0da18a2994c5f7a2513.jpg","text":"TemporaryFile(/tmp/multipartBody7482224738421379938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065533590,"filename":"image_19042025_10_49_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/19/d3865104ce18636dce1fab5b1b7223ba.jpg","text":"TemporaryFile(/tmp/multipartBody8470225851243841266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065533590,"filename":"image_19042025_10_49_45_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/19/7d529b5067abed6afed2ab5e44718c85.jpg","text":"TemporaryFile(/tmp/multipartBody6201580964118558437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065533590,"filename":"image_19042025_10_50_05_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351845889","file1":"1351845858","file0":"1351845833","file4":"1351845942","file5":"1351846076","file3":"1351845915"},"map_files_photo_id_array":[{"photo_id":"1351846076","filename":"file5"},{"photo_id":"1351845889","filename":"file2"},{"photo_id":"1351845942","filename":"file4"},{"photo_id":"1351845858","filename":"file1"},{"photo_id":"1351845833","filename":"file0"},{"photo_id":"1351845915","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351845833":["hashtag1","hashtag2"]},{"1351845889":["hashtag1","hashtag2"]},{"1351845942":["hashtag1","hashtag2"]},{"1351845858":["hashtag1","hashtag2"]},{"1351845915":["hashtag1","hashtag2"]},{"1351846076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351845833, 1351845889, 1351845942, 1351845858, 1351845915, 1351846076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.20810866355896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:25:32.384244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_15_10432.jpg', '/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_25_9439.jpg', '/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_35_10477.jpg', '/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_46_10387.jpg', '/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_55_9483.jpg', '/home/pi/Desktop/images/19042025/10/50/image_19042025_10_51_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_15_10432.jpg
/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_25_9439.jpg
/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_35_10477.jpg
/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_46_10387.jpg
/home/pi/Desktop/images/19042025/10/50/image_19042025_10_50_55_9483.jpg
/home/pi/Desktop/images/19042025/10/50/image_19042025_10_51_05_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351846412","1351846399","1351846420","1351846392","1351846389","1351846391"],"photo_ids_order":["1351846389","1351846391","1351846392","1351846399","1351846412","1351846420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d93a818263eb69f960e1836dab92c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2125610906062108852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065592921,"filename":"image_19042025_10_50_55_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d138a454ae3b22e90850ddc0cbe89921.jpg","text":"TemporaryFile(/tmp/multipartBody7453302940741975443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065592921,"filename":"image_19042025_10_50_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/445d56dac91bf2c2b7fa31de685dda01.jpg","text":"TemporaryFile(/tmp/multipartBody3107683730173824317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065592921,"filename":"image_19042025_10_51_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f17831f046c663b691f4ae6f6707b5bb.jpg","text":"TemporaryFile(/tmp/multipartBody5109093005840258807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065592921,"filename":"image_19042025_10_50_35_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5c44c597b86780e433fb8453c3c7ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2890856230646720134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065592921,"filename":"image_19042025_10_50_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/19/9ed636bba445962497aa7076746d7bf0.jpg","text":"TemporaryFile(/tmp/multipartBody6732389709039794595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065592921,"filename":"image_19042025_10_50_25_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351846392","file1":"1351846391","file0":"1351846389","file4":"1351846412","file5":"1351846420","file3":"1351846399"},"map_files_photo_id_array":[{"photo_id":"1351846420","filename":"file5"},{"photo_id":"1351846392","filename":"file2"},{"photo_id":"1351846412","filename":"file4"},{"photo_id":"1351846391","filename":"file1"},{"photo_id":"1351846389","filename":"file0"},{"photo_id":"1351846399","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351846412":["hashtag1","hashtag2"]},{"1351846399":["hashtag1","hashtag2"]},{"1351846420":["hashtag1","hashtag2"]},{"1351846392":["hashtag1","hashtag2"]},{"1351846389":["hashtag1","hashtag2"]},{"1351846391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351846412, 1351846399, 1351846420, 1351846392, 1351846389, 1351846391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65044188499451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:26:32.534876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_15_9481.jpg', '/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_25_10373.jpg', '/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_36_10351.jpg', '/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_45_9351.jpg', '/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_55_10377.jpg', '/home/pi/Desktop/images/19042025/10/51/image_19042025_10_52_05_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_15_9481.jpg
/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_25_10373.jpg
/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_36_10351.jpg
/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_45_9351.jpg
/home/pi/Desktop/images/19042025/10/51/image_19042025_10_51_55_10377.jpg
/home/pi/Desktop/images/19042025/10/51/image_19042025_10_52_05_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351846646","1351846601","1351846564","1351846720","1351846770","1351846530"],"photo_ids_order":["1351846530","1351846564","1351846601","1351846646","1351846720","1351846770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12ed54a357e9e91f4bb935cdcecd38bb.jpg","text":"TemporaryFile(/tmp/multipartBody8678031407085173576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065653069,"filename":"image_19042025_10_51_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/19/631c4cb56c95e0229b4aed9aeec322d4.jpg","text":"TemporaryFile(/tmp/multipartBody3324870175581882549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065653069,"filename":"image_19042025_10_51_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/19/2a78420a09ee07a1f77fe1f1ac23c582.jpg","text":"TemporaryFile(/tmp/multipartBody888135262045543311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065653069,"filename":"image_19042025_10_51_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/19/097ab6f1dc4ffcea76804607f9b2e90e.jpg","text":"TemporaryFile(/tmp/multipartBody6069904639699063775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065653069,"filename":"image_19042025_10_51_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/19/bb1e5d0e54358c4a6bf5161b5adca8a2.jpg","text":"TemporaryFile(/tmp/multipartBody1386954973689709988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065653069,"filename":"image_19042025_10_52_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/19/5ac7571d93f4072971bca7e0043650aa.jpg","text":"TemporaryFile(/tmp/multipartBody8549687610426640472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065653069,"filename":"image_19042025_10_51_15_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351846601","file1":"1351846564","file0":"1351846530","file4":"1351846720","file5":"1351846770","file3":"1351846646"},"map_files_photo_id_array":[{"photo_id":"1351846770","filename":"file5"},{"photo_id":"1351846601","filename":"file2"},{"photo_id":"1351846720","filename":"file4"},{"photo_id":"1351846564","filename":"file1"},{"photo_id":"1351846530","filename":"file0"},{"photo_id":"1351846646","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351846646":["hashtag1","hashtag2"]},{"1351846601":["hashtag1","hashtag2"]},{"1351846564":["hashtag1","hashtag2"]},{"1351846720":["hashtag1","hashtag2"]},{"1351846770":["hashtag1","hashtag2"]},{"1351846530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351846646, 1351846601, 1351846564, 1351846720, 1351846770, 1351846530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.843183517456055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:27:32.731047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_15_10463.jpg', '/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_26_10367.jpg', '/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_35_9354.jpg', '/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_45_10369.jpg', '/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_56_10375.jpg', '/home/pi/Desktop/images/19042025/10/52/image_19042025_10_53_05_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_15_10463.jpg
/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_26_10367.jpg
/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_35_9354.jpg
/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_45_10369.jpg
/home/pi/Desktop/images/19042025/10/52/image_19042025_10_52_56_10375.jpg
/home/pi/Desktop/images/19042025/10/52/image_19042025_10_53_05_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":["1351847203","1351847107","1351847220","1351847186","1351847159","1351847222"],"photo_ids_order":["1351847107","1351847159","1351847186","1351847203","1351847220","1351847222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/726a938479896b224256d0c06173e364.jpg","text":"TemporaryFile(/tmp/multipartBody4190430414678132168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065713281,"filename":"image_19042025_10_52_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2dc78bafacbd908bfff938e293406ff.jpg","text":"TemporaryFile(/tmp/multipartBody8800944647989562972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065713281,"filename":"image_19042025_10_52_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/19/04098c96dbf73fe6d17fb764055a9061.jpg","text":"TemporaryFile(/tmp/multipartBody9085563959228859543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065713281,"filename":"image_19042025_10_52_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/19/aee1f734fb87aeef4cf156a02686711f.jpg","text":"TemporaryFile(/tmp/multipartBody4137253318902357538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065713281,"filename":"image_19042025_10_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/19/edd29de2dab4aa7116cd1b838ba5c3c0.jpg","text":"TemporaryFile(/tmp/multipartBody1554949191468932182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065713281,"filename":"image_19042025_10_52_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/19/1908dfc872740ca991af4a8948e1d2c0.jpg","text":"TemporaryFile(/tmp/multipartBody5360498124419164512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065713281,"filename":"image_19042025_10_53_05_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351847186","file1":"1351847159","file0":"1351847107","file4":"1351847220","file5":"1351847222","file3":"1351847203"},"map_files_photo_id_array":[{"photo_id":"1351847222","filename":"file5"},{"photo_id":"1351847186","filename":"file2"},{"photo_id":"1351847220","filename":"file4"},{"photo_id":"1351847159","filename":"file1"},{"photo_id":"1351847107","filename":"file0"},{"photo_id":"1351847203","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351847203":["hashtag1","hashtag2"]},{"1351847107":["hashtag1","hashtag2"]},{"1351847220":["hashtag1","hashtag2"]},{"1351847186":["hashtag1","hashtag2"]},{"1351847159":["hashtag1","hashtag2"]},{"1351847222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351847203, 1351847107, 1351847220, 1351847186, 1351847159, 1351847222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6396861076355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:28:32.959059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/53/image_19042025_10_53_15_10396.jpg', '/home/pi/Desktop/images/19042025/10/53/image_19042025_10_53_25_9534.jpg', '/home/pi/Desktop/images/19042025/10/53/image_19042025_10_53_35_10400.jpg', '/home/pi/Desktop/images/19042025/10/53/image_19042025_10_53_45_9497.jpg', '/home/pi/Desktop/images/19042025/10/53/image_19042025_10_54_06_10377.jpg', '/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_15_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/53/image_19042025_10_53_15_10396.jpg
/home/pi/Desktop/images/19042025/10/53/image_19042025_10_53_25_9534.jpg
/home/pi/Desktop/images/19042025/10/53/image_19042025_10_53_35_10400.jpg
/home/pi/Desktop/images/19042025/10/53/image_19042025_10_53_45_9497.jpg
/home/pi/Desktop/images/19042025/10/53/image_19042025_10_54_06_10377.jpg
/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_15_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":["1351847496","1351847466","1351847498","1351847483","1351847453","1351847462"],"photo_ids_order":["1351847453","1351847462","1351847466","1351847483","1351847496","1351847498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34980dab80243be86c0872f8ee7ea4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2951271194843027944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065773484,"filename":"image_19042025_10_54_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/19/97a1bb012d5fa9111483cb718ccb9c59.jpg","text":"TemporaryFile(/tmp/multipartBody3228533776989338825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065773484,"filename":"image_19042025_10_53_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/19/653e4f969b08add8328e06c36060a44c.jpg","text":"TemporaryFile(/tmp/multipartBody6053242675702001127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065773484,"filename":"image_19042025_10_54_15_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/041362a63a9eb4f649a8cf834971bb99.jpg","text":"TemporaryFile(/tmp/multipartBody5953564944634182554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065773484,"filename":"image_19042025_10_53_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/19/2e381952b72c50e73a340ab2db2b1bed.jpg","text":"TemporaryFile(/tmp/multipartBody3188711805832834456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065773484,"filename":"image_19042025_10_53_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/19/5f6dc0b0f9d530de32d7360efe1bd6cc.jpg","text":"TemporaryFile(/tmp/multipartBody7570500042298057995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065773484,"filename":"image_19042025_10_53_25_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351847466","file1":"1351847462","file0":"1351847453","file4":"1351847496","file5":"1351847498","file3":"1351847483"},"map_files_photo_id_array":[{"photo_id":"1351847498","filename":"file5"},{"photo_id":"1351847466","filename":"file2"},{"photo_id":"1351847496","filename":"file4"},{"photo_id":"1351847462","filename":"file1"},{"photo_id":"1351847453","filename":"file0"},{"photo_id":"1351847483","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351847496":["hashtag1","hashtag2"]},{"1351847466":["hashtag1","hashtag2"]},{"1351847498":["hashtag1","hashtag2"]},{"1351847483":["hashtag1","hashtag2"]},{"1351847453":["hashtag1","hashtag2"]},{"1351847462":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351847496, 1351847466, 1351847498, 1351847483, 1351847453, 1351847462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.353477001190186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:29:33.118783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_25_10416.jpg', '/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_35_9443.jpg', '/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_45_10359.jpg', '/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_55_9368.jpg', '/home/pi/Desktop/images/19042025/10/54/image_19042025_10_55_05_10448.jpg', '/home/pi/Desktop/images/19042025/10/55/image_19042025_10_55_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_25_10416.jpg
/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_35_9443.jpg
/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_45_10359.jpg
/home/pi/Desktop/images/19042025/10/54/image_19042025_10_54_55_9368.jpg
/home/pi/Desktop/images/19042025/10/54/image_19042025_10_55_05_10448.jpg
/home/pi/Desktop/images/19042025/10/55/image_19042025_10_55_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":["1351847650","1351847638","1351847629","1351847625","1351847651","1351847627"],"photo_ids_order":["1351847625","1351847627","1351847629","1351847638","1351847650","1351847651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3db8d08d2ade038d7a50795a024d1597.jpg","text":"TemporaryFile(/tmp/multipartBody3654611256744164197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065833652,"filename":"image_19042025_10_55_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aea628eccabeb95a4149f14cc9d2e50f.jpg","text":"TemporaryFile(/tmp/multipartBody488956037555773150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065833652,"filename":"image_19042025_10_54_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/19/af612de6b4cc50767923c91d8cbd338d.jpg","text":"TemporaryFile(/tmp/multipartBody7883705327755427494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065833652,"filename":"image_19042025_10_54_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/19/4ee6e665de86b71470b2129837bddead.jpg","text":"TemporaryFile(/tmp/multipartBody8193428043015278631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065833652,"filename":"image_19042025_10_54_25_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e33ab32b975fb131b6ac1e52cc050e7e.jpg","text":"TemporaryFile(/tmp/multipartBody9046016635637038143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065833652,"filename":"image_19042025_10_55_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/19/56228ab67fc5dafc7e67f5799c57fcbf.jpg","text":"TemporaryFile(/tmp/multipartBody1011325892419683257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065833652,"filename":"image_19042025_10_54_35_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351847629","file1":"1351847627","file0":"1351847625","file4":"1351847650","file5":"1351847651","file3":"1351847638"},"map_files_photo_id_array":[{"photo_id":"1351847651","filename":"file5"},{"photo_id":"1351847629","filename":"file2"},{"photo_id":"1351847650","filename":"file4"},{"photo_id":"1351847627","filename":"file1"},{"photo_id":"1351847625","filename":"file0"},{"photo_id":"1351847638","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351847650":["hashtag1","hashtag2"]},{"1351847638":["hashtag1","hashtag2"]},{"1351847629":["hashtag1","hashtag2"]},{"1351847625":["hashtag1","hashtag2"]},{"1351847651":["hashtag1","hashtag2"]},{"1351847627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351847650, 1351847638, 1351847629, 1351847625, 1351847651, 1351847627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.517577648162842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:30:32.343811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/55/image_19042025_10_55_25_9398.jpg', '/home/pi/Desktop/images/19042025/10/55/image_19042025_10_55_35_10366.jpg', '/home/pi/Desktop/images/19042025/10/55/image_19042025_10_55_46_10364.jpg', '/home/pi/Desktop/images/19042025/10/55/image_19042025_10_56_05_10367.jpg', '/home/pi/Desktop/images/19042025/10/56/image_19042025_10_56_15_9418.jpg', '/home/pi/Desktop/images/19042025/10/56/image_19042025_10_56_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/55/image_19042025_10_55_25_9398.jpg
/home/pi/Desktop/images/19042025/10/55/image_19042025_10_55_35_10366.jpg
/home/pi/Desktop/images/19042025/10/55/image_19042025_10_55_46_10364.jpg
/home/pi/Desktop/images/19042025/10/55/image_19042025_10_56_05_10367.jpg
/home/pi/Desktop/images/19042025/10/56/image_19042025_10_56_15_9418.jpg
/home/pi/Desktop/images/19042025/10/56/image_19042025_10_56_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351847683","1351847677","1351847670","1351847686","1351847695","1351847674"],"photo_ids_order":["1351847670","1351847674","1351847677","1351847683","1351847686","1351847695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97e694101cc518ba58dfc103967b1eee.jpg","text":"TemporaryFile(/tmp/multipartBody6598898976096294509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065892853,"filename":"image_19042025_10_56_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/025d76b6820375fc87d6b29236f6824b.jpg","text":"TemporaryFile(/tmp/multipartBody484157958946288875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065892853,"filename":"image_19042025_10_55_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/19/80abd96da8bf588a0daf1127592b249b.jpg","text":"TemporaryFile(/tmp/multipartBody195203668486399586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065892853,"filename":"image_19042025_10_55_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/19/dd040441bd5d510fdf55b4f575c8433e.jpg","text":"TemporaryFile(/tmp/multipartBody4993284293436455973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065892853,"filename":"image_19042025_10_56_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/19/c954e83616871ac529785478bf4298be.jpg","text":"TemporaryFile(/tmp/multipartBody1356525051241051518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065892853,"filename":"image_19042025_10_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/19/e0c1158a6001291d78d4e20562b56d09.jpg","text":"TemporaryFile(/tmp/multipartBody2464695343183391988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065892853,"filename":"image_19042025_10_55_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351847677","file1":"1351847674","file0":"1351847670","file4":"1351847686","file5":"1351847695","file3":"1351847683"},"map_files_photo_id_array":[{"photo_id":"1351847695","filename":"file5"},{"photo_id":"1351847677","filename":"file2"},{"photo_id":"1351847686","filename":"file4"},{"photo_id":"1351847674","filename":"file1"},{"photo_id":"1351847670","filename":"file0"},{"photo_id":"1351847683","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351847683":["hashtag1","hashtag2"]},{"1351847677":["hashtag1","hashtag2"]},{"1351847670":["hashtag1","hashtag2"]},{"1351847686":["hashtag1","hashtag2"]},{"1351847695":["hashtag1","hashtag2"]},{"1351847674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351847683, 1351847677, 1351847670, 1351847686, 1351847695, 1351847674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.809009313583374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:31:32.771502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/56/image_19042025_10_57_05_9470.jpg', '/home/pi/Desktop/images/19042025/10/57/image_19042025_10_57_15_10596.jpg', '/home/pi/Desktop/images/19042025/10/57/image_19042025_10_57_25_9456.jpg', '/home/pi/Desktop/images/19042025/10/57/image_19042025_10_57_46_10367.jpg', '/home/pi/Desktop/images/19042025/10/57/image_19042025_10_57_55_9456.jpg', '/home/pi/Desktop/images/19042025/10/57/image_19042025_10_58_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/56/image_19042025_10_57_05_9470.jpg
/home/pi/Desktop/images/19042025/10/57/image_19042025_10_57_15_10596.jpg
/home/pi/Desktop/images/19042025/10/57/image_19042025_10_57_25_9456.jpg
/home/pi/Desktop/images/19042025/10/57/image_19042025_10_57_46_10367.jpg
/home/pi/Desktop/images/19042025/10/57/image_19042025_10_57_55_9456.jpg
/home/pi/Desktop/images/19042025/10/57/image_19042025_10_58_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":["1351847731","1351847725","1351847719","1351847728","1351847721","1351847723"],"photo_ids_order":["1351847719","1351847721","1351847723","1351847725","1351847728","1351847731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7fcecc9de4211ddb7dee06d02a3ad34c.jpg","text":"TemporaryFile(/tmp/multipartBody2110074083973006086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065953301,"filename":"image_19042025_10_58_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/19/4a25ac19e62947a803a356ee2023d111.jpg","text":"TemporaryFile(/tmp/multipartBody6528339842519747032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065953301,"filename":"image_19042025_10_57_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3618ab8923efd8f0ceb50041a4dcabeb.jpg","text":"TemporaryFile(/tmp/multipartBody5364803668481465391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065953301,"filename":"image_19042025_10_57_05_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89ee83a45f45c37014d58ab143b41e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7761253536735723971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065953301,"filename":"image_19042025_10_57_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/19/bfc0c0c70e1d04e5e7df4f5fba49d3d4.jpg","text":"TemporaryFile(/tmp/multipartBody6311389648633521383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065953301,"filename":"image_19042025_10_57_15_10596.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/292ceddcd985f442afd650576b31bcf6.jpg","text":"TemporaryFile(/tmp/multipartBody3380262311958577405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745065953301,"filename":"image_19042025_10_57_25_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351847723","file1":"1351847721","file0":"1351847719","file4":"1351847728","file5":"1351847731","file3":"1351847725"},"map_files_photo_id_array":[{"photo_id":"1351847731","filename":"file5"},{"photo_id":"1351847723","filename":"file2"},{"photo_id":"1351847728","filename":"file4"},{"photo_id":"1351847721","filename":"file1"},{"photo_id":"1351847719","filename":"file0"},{"photo_id":"1351847725","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351847731":["hashtag1","hashtag2"]},{"1351847725":["hashtag1","hashtag2"]},{"1351847719":["hashtag1","hashtag2"]},{"1351847728":["hashtag1","hashtag2"]},{"1351847721":["hashtag1","hashtag2"]},{"1351847723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351847731, 1351847725, 1351847719, 1351847728, 1351847721, 1351847723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68277668952942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:32:32.964949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/58/image_19042025_10_58_35_9467.jpg', '/home/pi/Desktop/images/19042025/10/58/image_19042025_10_58_45_10425.jpg', '/home/pi/Desktop/images/19042025/10/58/image_19042025_10_58_55_9436.jpg', '/home/pi/Desktop/images/19042025/10/59/image_19042025_10_59_15_10368.jpg', '/home/pi/Desktop/images/19042025/10/59/image_19042025_10_59_35_10411.jpg', '/home/pi/Desktop/images/19042025/10/59/image_19042025_10_59_45_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/58/image_19042025_10_58_35_9467.jpg
/home/pi/Desktop/images/19042025/10/58/image_19042025_10_58_45_10425.jpg
/home/pi/Desktop/images/19042025/10/58/image_19042025_10_58_55_9436.jpg
/home/pi/Desktop/images/19042025/10/59/image_19042025_10_59_15_10368.jpg
/home/pi/Desktop/images/19042025/10/59/image_19042025_10_59_35_10411.jpg
/home/pi/Desktop/images/19042025/10/59/image_19042025_10_59_45_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351847940","1351847916","1351847919","1351847924","1351847912","1351847921"],"photo_ids_order":["1351847912","1351847916","1351847919","1351847921","1351847924","1351847940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f0a142fa1a270a2df2ab7cf531004fc9.jpg","text":"TemporaryFile(/tmp/multipartBody6378181623193705240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066013487,"filename":"image_19042025_10_59_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2020151931f27c21d0637241a13604e6.jpg","text":"TemporaryFile(/tmp/multipartBody1446311674545449932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066013487,"filename":"image_19042025_10_58_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14cf4dd4890493e414cd99fde744b4f4.jpg","text":"TemporaryFile(/tmp/multipartBody1123612772034566460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066013487,"filename":"image_19042025_10_58_55_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2d058d5b149c645e56f4d218f8d5a0dc.jpg","text":"TemporaryFile(/tmp/multipartBody744355478055721989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066013487,"filename":"image_19042025_10_59_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9c28c7ca84ab7b25e29e2d4d4f19281e.jpg","text":"TemporaryFile(/tmp/multipartBody7095703965617723987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066013487,"filename":"image_19042025_10_58_35_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7475ed0738d12f4b7397c8888fd1db3.jpg","text":"TemporaryFile(/tmp/multipartBody6096491715852381764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066013487,"filename":"image_19042025_10_59_15_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351847919","file1":"1351847916","file0":"1351847912","file4":"1351847924","file5":"1351847940","file3":"1351847921"},"map_files_photo_id_array":[{"photo_id":"1351847940","filename":"file5"},{"photo_id":"1351847919","filename":"file2"},{"photo_id":"1351847924","filename":"file4"},{"photo_id":"1351847916","filename":"file1"},{"photo_id":"1351847912","filename":"file0"},{"photo_id":"1351847921","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351847940":["hashtag1","hashtag2"]},{"1351847916":["hashtag1","hashtag2"]},{"1351847919":["hashtag1","hashtag2"]},{"1351847924":["hashtag1","hashtag2"]},{"1351847912":["hashtag1","hashtag2"]},{"1351847921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351847940, 1351847916, 1351847919, 1351847924, 1351847912, 1351847921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.670392751693726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:33:32.296160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/10/59/image_19042025_10_59_55_10471.jpg', '/home/pi/Desktop/images/19042025/11/00/image_19042025_11_00_27_10396.jpg', '/home/pi/Desktop/images/19042025/11/00/image_19042025_11_00_37_10471.jpg', '/home/pi/Desktop/images/19042025/11/00/image_19042025_11_00_46_9397.jpg', '/home/pi/Desktop/images/19042025/11/00/image_19042025_11_00_57_10431.jpg', '/home/pi/Desktop/images/19042025/11/00/image_19042025_11_01_06_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/10/59/image_19042025_10_59_55_10471.jpg
/home/pi/Desktop/images/19042025/11/00/image_19042025_11_00_27_10396.jpg
/home/pi/Desktop/images/19042025/11/00/image_19042025_11_00_37_10471.jpg
/home/pi/Desktop/images/19042025/11/00/image_19042025_11_00_46_9397.jpg
/home/pi/Desktop/images/19042025/11/00/image_19042025_11_00_57_10431.jpg
/home/pi/Desktop/images/19042025/11/00/image_19042025_11_01_06_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":["1351848115","1351848106","1351848111","1351848116","1351848113","1351848067"],"photo_ids_order":["1351848067","1351848106","1351848111","1351848113","1351848115","1351848116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/30bd51cea42387e1e9bb08a709091358.jpg","text":"TemporaryFile(/tmp/multipartBody1175543997686484642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066072824,"filename":"image_19042025_11_00_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/19/47220db1856dc92db1e6a7669086bce3.jpg","text":"TemporaryFile(/tmp/multipartBody3641242135115690891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066072824,"filename":"image_19042025_11_00_27_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3f045094f5c672c9cf6c78e8b45b4914.jpg","text":"TemporaryFile(/tmp/multipartBody2041073036023445814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066072824,"filename":"image_19042025_11_00_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/19/f00ee368b39d332f87ae2d9e2362ffe9.jpg","text":"TemporaryFile(/tmp/multipartBody2349245913962224731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066072824,"filename":"image_19042025_11_01_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/19/8b3d748b2a0e9efcce357f1d4a4c203c.jpg","text":"TemporaryFile(/tmp/multipartBody8918375774576382905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066072824,"filename":"image_19042025_11_00_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/19/17721f1e83110d047460e3c18a9acdc2.jpg","text":"TemporaryFile(/tmp/multipartBody6048744681098198401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066072824,"filename":"image_19042025_10_59_55_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351848111","file1":"1351848106","file0":"1351848067","file4":"1351848115","file5":"1351848116","file3":"1351848113"},"map_files_photo_id_array":[{"photo_id":"1351848116","filename":"file5"},{"photo_id":"1351848111","filename":"file2"},{"photo_id":"1351848115","filename":"file4"},{"photo_id":"1351848106","filename":"file1"},{"photo_id":"1351848067","filename":"file0"},{"photo_id":"1351848113","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351848115":["hashtag1","hashtag2"]},{"1351848106":["hashtag1","hashtag2"]},{"1351848111":["hashtag1","hashtag2"]},{"1351848116":["hashtag1","hashtag2"]},{"1351848113":["hashtag1","hashtag2"]},{"1351848067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351848115, 1351848106, 1351848111, 1351848116, 1351848113, 1351848067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03631901741028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:34:32.487933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_17_10352.jpg', '/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_27_10436.jpg', '/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_36_9371.jpg', '/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_47_10502.jpg', '/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_56_9380.jpg', '/home/pi/Desktop/images/19042025/11/01/image_19042025_11_02_07_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_17_10352.jpg
/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_27_10436.jpg
/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_36_9371.jpg
/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_47_10502.jpg
/home/pi/Desktop/images/19042025/11/01/image_19042025_11_01_56_9380.jpg
/home/pi/Desktop/images/19042025/11/01/image_19042025_11_02_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":["1351848139","1351848130","1351848141","1351848135","1351848137","1351848133"],"photo_ids_order":["1351848130","1351848133","1351848135","1351848137","1351848139","1351848141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/09016ce8f8595e797acca01d1ba82c55.jpg","text":"TemporaryFile(/tmp/multipartBody6474517167861410830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066133008,"filename":"image_19042025_11_01_56_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/952ca414f33ec39373748650e4bac759.jpg","text":"TemporaryFile(/tmp/multipartBody7853347568360777023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066133008,"filename":"image_19042025_11_01_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/19/82c47f5aba53dc94454b0dd377942c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4307687512519020264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066133008,"filename":"image_19042025_11_02_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/19/0f51e99ec39b16c59c751e5a672d42ae.jpg","text":"TemporaryFile(/tmp/multipartBody1650396817442134753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066133008,"filename":"image_19042025_11_01_36_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/19/c150b7f21f7fb0642557a143c6bb46c1.jpg","text":"TemporaryFile(/tmp/multipartBody1559839125994416828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066133008,"filename":"image_19042025_11_01_47_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/19/556606270e33073c62c81185c67df912.jpg","text":"TemporaryFile(/tmp/multipartBody2893375748604536130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066133008,"filename":"image_19042025_11_01_27_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351848135","file1":"1351848133","file0":"1351848130","file4":"1351848139","file5":"1351848141","file3":"1351848137"},"map_files_photo_id_array":[{"photo_id":"1351848141","filename":"file5"},{"photo_id":"1351848135","filename":"file2"},{"photo_id":"1351848139","filename":"file4"},{"photo_id":"1351848133","filename":"file1"},{"photo_id":"1351848130","filename":"file0"},{"photo_id":"1351848137","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351848139":["hashtag1","hashtag2"]},{"1351848130":["hashtag1","hashtag2"]},{"1351848141":["hashtag1","hashtag2"]},{"1351848135":["hashtag1","hashtag2"]},{"1351848137":["hashtag1","hashtag2"]},{"1351848133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351848139, 1351848130, 1351848141, 1351848135, 1351848137, 1351848133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41209936141968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:35:32.726138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_17_10461.jpg', '/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_26_9370.jpg', '/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_37_10498.jpg', '/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_46_9423.jpg', '/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_57_10432.jpg', '/home/pi/Desktop/images/19042025/11/02/image_19042025_11_03_06_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_17_10461.jpg
/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_26_9370.jpg
/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_37_10498.jpg
/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_46_9423.jpg
/home/pi/Desktop/images/19042025/11/02/image_19042025_11_02_57_10432.jpg
/home/pi/Desktop/images/19042025/11/02/image_19042025_11_03_06_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":["1351848547","1351848498","1351848601","1351848683","1351848716","1351848742"],"photo_ids_order":["1351848498","1351848547","1351848601","1351848683","1351848716","1351848742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9c8bbe2fc4c94b636716dafc404660e.jpg","text":"TemporaryFile(/tmp/multipartBody327410049567197311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066193251,"filename":"image_19042025_11_02_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/19/de0099cb43b8b62892141a39a524b02f.jpg","text":"TemporaryFile(/tmp/multipartBody8890305726152104685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066193251,"filename":"image_19042025_11_02_17_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0479bdf240da31922f6e267f20594ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1265213621074710434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066193251,"filename":"image_19042025_11_02_37_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/19/1b196d20beac1d0ba5b673a8831e6e89.jpg","text":"TemporaryFile(/tmp/multipartBody6021688373604745642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066193251,"filename":"image_19042025_11_02_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/19/b193551bf05c93453c5a1827b297b1f9.jpg","text":"TemporaryFile(/tmp/multipartBody2943969904804456896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066193251,"filename":"image_19042025_11_02_57_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5bf1051de11071c1b8fee2d58437ceb5.jpg","text":"TemporaryFile(/tmp/multipartBody2391669135542197356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066193251,"filename":"image_19042025_11_03_06_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351848601","file1":"1351848547","file0":"1351848498","file4":"1351848716","file5":"1351848742","file3":"1351848683"},"map_files_photo_id_array":[{"photo_id":"1351848742","filename":"file5"},{"photo_id":"1351848601","filename":"file2"},{"photo_id":"1351848716","filename":"file4"},{"photo_id":"1351848547","filename":"file1"},{"photo_id":"1351848498","filename":"file0"},{"photo_id":"1351848683","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351848547":["hashtag1","hashtag2"]},{"1351848498":["hashtag1","hashtag2"]},{"1351848601":["hashtag1","hashtag2"]},{"1351848683":["hashtag1","hashtag2"]},{"1351848716":["hashtag1","hashtag2"]},{"1351848742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351848547, 1351848498, 1351848601, 1351848683, 1351848716, 1351848742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4203736782074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:36:32.978492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_17_10351.jpg', '/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_27_10390.jpg', '/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_36_9351.jpg', '/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_47_10497.jpg', '/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_56_9407.jpg', '/home/pi/Desktop/images/19042025/11/03/image_19042025_11_04_07_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_17_10351.jpg
/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_27_10390.jpg
/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_36_9351.jpg
/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_47_10497.jpg
/home/pi/Desktop/images/19042025/11/03/image_19042025_11_03_56_9407.jpg
/home/pi/Desktop/images/19042025/11/03/image_19042025_11_04_07_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":["1351849293","1351849125","1351849247","1351849189","1351849156","1351849086"],"photo_ids_order":["1351849086","1351849125","1351849156","1351849189","1351849247","1351849293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6fa359ea1ccb4ecf12eeba79ab681776.jpg","text":"TemporaryFile(/tmp/multipartBody4786381795706911984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066253499,"filename":"image_19042025_11_04_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/19/d37bcb80e21cf26f6781e732b535f1fe.jpg","text":"TemporaryFile(/tmp/multipartBody2877235639307144141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066253499,"filename":"image_19042025_11_03_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/19/bdd11c328bf74b6e310701430d87b163.jpg","text":"TemporaryFile(/tmp/multipartBody3634903676911155862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066253499,"filename":"image_19042025_11_03_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/19/5a9583eb19730721634d306e98345034.jpg","text":"TemporaryFile(/tmp/multipartBody4392846980727749527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066253499,"filename":"image_19042025_11_03_47_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f79683b4200d8c799f808ebd8736e31.jpg","text":"TemporaryFile(/tmp/multipartBody6622278356630638172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066253499,"filename":"image_19042025_11_03_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/19/a2b4d9bb4f88d63904be01c0f5797b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3629800355111313968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066253499,"filename":"image_19042025_11_03_17_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351849156","file1":"1351849125","file0":"1351849086","file4":"1351849247","file5":"1351849293","file3":"1351849189"},"map_files_photo_id_array":[{"photo_id":"1351849293","filename":"file5"},{"photo_id":"1351849156","filename":"file2"},{"photo_id":"1351849247","filename":"file4"},{"photo_id":"1351849125","filename":"file1"},{"photo_id":"1351849086","filename":"file0"},{"photo_id":"1351849189","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351849293":["hashtag1","hashtag2"]},{"1351849125":["hashtag1","hashtag2"]},{"1351849247":["hashtag1","hashtag2"]},{"1351849189":["hashtag1","hashtag2"]},{"1351849156":["hashtag1","hashtag2"]},{"1351849086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351849293, 1351849125, 1351849247, 1351849189, 1351849156, 1351849086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75997829437256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:37:33.046475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/04/image_19042025_11_04_26_10381.jpg', '/home/pi/Desktop/images/19042025/11/04/image_19042025_11_04_37_10406.jpg', '/home/pi/Desktop/images/19042025/11/04/image_19042025_11_04_46_9420.jpg', '/home/pi/Desktop/images/19042025/11/04/image_19042025_11_04_57_10357.jpg', '/home/pi/Desktop/images/19042025/11/04/image_19042025_11_05_07_10348.jpg', '/home/pi/Desktop/images/19042025/11/05/image_19042025_11_05_27_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/04/image_19042025_11_04_26_10381.jpg
/home/pi/Desktop/images/19042025/11/04/image_19042025_11_04_37_10406.jpg
/home/pi/Desktop/images/19042025/11/04/image_19042025_11_04_46_9420.jpg
/home/pi/Desktop/images/19042025/11/04/image_19042025_11_04_57_10357.jpg
/home/pi/Desktop/images/19042025/11/04/image_19042025_11_05_07_10348.jpg
/home/pi/Desktop/images/19042025/11/05/image_19042025_11_05_27_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":["1351849731","1351849617","1351849673","1351849841","1351849891","1351849789"],"photo_ids_order":["1351849617","1351849673","1351849731","1351849789","1351849841","1351849891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b9071f6d925588a4cbc457a042d0d9de.jpg","text":"TemporaryFile(/tmp/multipartBody988095134290039884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066313578,"filename":"image_19042025_11_04_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/19/28411a091853f5b498045b9ffe1e36da.jpg","text":"TemporaryFile(/tmp/multipartBody3950599809312680646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066313578,"filename":"image_19042025_11_04_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/19/b3b55281d76a488dd2fba972fddc19e1.jpg","text":"TemporaryFile(/tmp/multipartBody9131422584766104599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066313578,"filename":"image_19042025_11_04_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/19/f88733df6bffc959b54a34e287dbe5a5.jpg","text":"TemporaryFile(/tmp/multipartBody2997285090484760112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066313578,"filename":"image_19042025_11_05_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/19/dcaa43e33630a53575f036e49df4d727.jpg","text":"TemporaryFile(/tmp/multipartBody649269052629589720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066313578,"filename":"image_19042025_11_05_27_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c61c57a7d5c5a90d132f76eeffdc1b11.jpg","text":"TemporaryFile(/tmp/multipartBody2486523615775034727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066313578,"filename":"image_19042025_11_04_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351849731","file1":"1351849673","file0":"1351849617","file4":"1351849841","file5":"1351849891","file3":"1351849789"},"map_files_photo_id_array":[{"photo_id":"1351849891","filename":"file5"},{"photo_id":"1351849731","filename":"file2"},{"photo_id":"1351849841","filename":"file4"},{"photo_id":"1351849673","filename":"file1"},{"photo_id":"1351849617","filename":"file0"},{"photo_id":"1351849789","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351849731":["hashtag1","hashtag2"]},{"1351849617":["hashtag1","hashtag2"]},{"1351849673":["hashtag1","hashtag2"]},{"1351849841":["hashtag1","hashtag2"]},{"1351849891":["hashtag1","hashtag2"]},{"1351849789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351849731, 1351849617, 1351849673, 1351849841, 1351849891, 1351849789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.808368682861328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:38:32.313209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/05/image_19042025_11_05_36_9338.jpg', '/home/pi/Desktop/images/19042025/11/05/image_19042025_11_05_47_10370.jpg', '/home/pi/Desktop/images/19042025/11/05/image_19042025_11_05_57_10373.jpg', '/home/pi/Desktop/images/19042025/11/05/image_19042025_11_06_06_9351.jpg', '/home/pi/Desktop/images/19042025/11/06/image_19042025_11_06_37_10382.jpg', '/home/pi/Desktop/images/19042025/11/06/image_19042025_11_06_47_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/05/image_19042025_11_05_36_9338.jpg
/home/pi/Desktop/images/19042025/11/05/image_19042025_11_05_47_10370.jpg
/home/pi/Desktop/images/19042025/11/05/image_19042025_11_05_57_10373.jpg
/home/pi/Desktop/images/19042025/11/05/image_19042025_11_06_06_9351.jpg
/home/pi/Desktop/images/19042025/11/06/image_19042025_11_06_37_10382.jpg
/home/pi/Desktop/images/19042025/11/06/image_19042025_11_06_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":["1351850326","1351850430","1351850367","1351850261","1351850405","1351850300"],"photo_ids_order":["1351850261","1351850300","1351850326","1351850367","1351850405","1351850430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/442e8ba504c41078ad75f7e5e42b9208.jpg","text":"TemporaryFile(/tmp/multipartBody506974423428187939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066372842,"filename":"image_19042025_11_05_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/19/8517a2d78d6c6af3911d2e03bebd1068.jpg","text":"TemporaryFile(/tmp/multipartBody90734550150428644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066372842,"filename":"image_19042025_11_06_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/19/7a6b556c77174d1f93b930a0ef69a90e.jpg","text":"TemporaryFile(/tmp/multipartBody979314347766393084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066372842,"filename":"image_19042025_11_06_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/19/bba2020a4180edffb67561ed0cee5e1f.jpg","text":"TemporaryFile(/tmp/multipartBody7571338542030350549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066372842,"filename":"image_19042025_11_05_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/19/1cf405a5609c95505b99301cf82a7b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2789961276864202129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066372842,"filename":"image_19042025_11_06_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ce6041a8c172258c0c44fcb1217dc5e.jpg","text":"TemporaryFile(/tmp/multipartBody6017778159984257035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066372842,"filename":"image_19042025_11_05_47_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351850326","file1":"1351850300","file0":"1351850261","file4":"1351850405","file5":"1351850430","file3":"1351850367"},"map_files_photo_id_array":[{"photo_id":"1351850430","filename":"file5"},{"photo_id":"1351850326","filename":"file2"},{"photo_id":"1351850405","filename":"file4"},{"photo_id":"1351850300","filename":"file1"},{"photo_id":"1351850261","filename":"file0"},{"photo_id":"1351850367","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351850326":["hashtag1","hashtag2"]},{"1351850430":["hashtag1","hashtag2"]},{"1351850367":["hashtag1","hashtag2"]},{"1351850261":["hashtag1","hashtag2"]},{"1351850405":["hashtag1","hashtag2"]},{"1351850300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351850326, 1351850430, 1351850367, 1351850261, 1351850405, 1351850300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.03342866897583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:39:32.655803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/06/image_19042025_11_06_56_9351.jpg', '/home/pi/Desktop/images/19042025/11/06/image_19042025_11_07_07_10357.jpg', '/home/pi/Desktop/images/19042025/11/07/image_19042025_11_07_16_9438.jpg', '/home/pi/Desktop/images/19042025/11/07/image_19042025_11_07_26_10376.jpg', '/home/pi/Desktop/images/19042025/11/07/image_19042025_11_07_37_10480.jpg', '/home/pi/Desktop/images/19042025/11/07/image_19042025_11_07_57_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/06/image_19042025_11_06_56_9351.jpg
/home/pi/Desktop/images/19042025/11/06/image_19042025_11_07_07_10357.jpg
/home/pi/Desktop/images/19042025/11/07/image_19042025_11_07_16_9438.jpg
/home/pi/Desktop/images/19042025/11/07/image_19042025_11_07_26_10376.jpg
/home/pi/Desktop/images/19042025/11/07/image_19042025_11_07_37_10480.jpg
/home/pi/Desktop/images/19042025/11/07/image_19042025_11_07_57_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":["1351850700","1351850645","1351850807","1351850729","1351850770","1351850671"],"photo_ids_order":["1351850645","1351850671","1351850700","1351850729","1351850770","1351850807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a12f9876f3e7b80e2713067e9884e23.jpg","text":"TemporaryFile(/tmp/multipartBody2043459984147039769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066433190,"filename":"image_19042025_11_07_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/19/9f338b7d6eec825eb57c3312eed7daf1.jpg","text":"TemporaryFile(/tmp/multipartBody4962981534246814889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066433190,"filename":"image_19042025_11_06_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/19/042b62b50105954ac6aa5d577931c4bc.jpg","text":"TemporaryFile(/tmp/multipartBody491974616960643056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066433190,"filename":"image_19042025_11_07_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba55bea11dbfbb9acd560d4343502962.jpg","text":"TemporaryFile(/tmp/multipartBody9172713083913219426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066433190,"filename":"image_19042025_11_07_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/19/e2ee97364ae5cdf4d8af2eef2c8e99d4.jpg","text":"TemporaryFile(/tmp/multipartBody4212845777755847326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066433190,"filename":"image_19042025_11_07_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/19/25ceb4ff3ba12dcb205abf85171eb32f.jpg","text":"TemporaryFile(/tmp/multipartBody2386771594360882733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066433190,"filename":"image_19042025_11_07_07_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351850700","file1":"1351850671","file0":"1351850645","file4":"1351850770","file5":"1351850807","file3":"1351850729"},"map_files_photo_id_array":[{"photo_id":"1351850807","filename":"file5"},{"photo_id":"1351850700","filename":"file2"},{"photo_id":"1351850770","filename":"file4"},{"photo_id":"1351850671","filename":"file1"},{"photo_id":"1351850645","filename":"file0"},{"photo_id":"1351850729","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351850700":["hashtag1","hashtag2"]},{"1351850645":["hashtag1","hashtag2"]},{"1351850807":["hashtag1","hashtag2"]},{"1351850729":["hashtag1","hashtag2"]},{"1351850770":["hashtag1","hashtag2"]},{"1351850671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351850700, 1351850645, 1351850807, 1351850729, 1351850770, 1351850671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.053551197052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:40:32.735163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/07/image_19042025_11_08_07_10367.jpg', '/home/pi/Desktop/images/19042025/11/08/image_19042025_11_08_16_9439.jpg', '/home/pi/Desktop/images/19042025/11/08/image_19042025_11_08_36_9363.jpg', '/home/pi/Desktop/images/19042025/11/08/image_19042025_11_08_47_10474.jpg', '/home/pi/Desktop/images/19042025/11/08/image_19042025_11_08_56_9427.jpg', '/home/pi/Desktop/images/19042025/11/08/image_19042025_11_09_07_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/07/image_19042025_11_08_07_10367.jpg
/home/pi/Desktop/images/19042025/11/08/image_19042025_11_08_16_9439.jpg
/home/pi/Desktop/images/19042025/11/08/image_19042025_11_08_36_9363.jpg
/home/pi/Desktop/images/19042025/11/08/image_19042025_11_08_47_10474.jpg
/home/pi/Desktop/images/19042025/11/08/image_19042025_11_08_56_9427.jpg
/home/pi/Desktop/images/19042025/11/08/image_19042025_11_09_07_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":["1351852271","1351852067","1351851899","1351851804","1351852356","1351851699"],"photo_ids_order":["1351851699","1351851804","1351851899","1351852067","1351852271","1351852356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f9e236aabe103d64dc327be25b31e6d7.jpg","text":"TemporaryFile(/tmp/multipartBody6633038345880302123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066493264,"filename":"image_19042025_11_08_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/19/ba47a41754974ed765f8eee92cf3a277.jpg","text":"TemporaryFile(/tmp/multipartBody4755874193033621561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066493264,"filename":"image_19042025_11_08_47_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/19/5be2b2cb576ec79601b87694aad9c58f.jpg","text":"TemporaryFile(/tmp/multipartBody1771165757169047740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066493264,"filename":"image_19042025_11_08_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/19/47ac421259b4dee66cac24abdd54ecdd.jpg","text":"TemporaryFile(/tmp/multipartBody3621678432298401795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066493264,"filename":"image_19042025_11_08_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/19/8902116f5a915a186f725e3b68e35328.jpg","text":"TemporaryFile(/tmp/multipartBody7945771910974597552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066493264,"filename":"image_19042025_11_09_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/19/b3a5fe729cbe31c8a359107c30ef85f5.jpg","text":"TemporaryFile(/tmp/multipartBody792747029157136619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066493264,"filename":"image_19042025_11_08_07_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351851899","file1":"1351851804","file0":"1351851699","file4":"1351852271","file5":"1351852356","file3":"1351852067"},"map_files_photo_id_array":[{"photo_id":"1351852356","filename":"file5"},{"photo_id":"1351851899","filename":"file2"},{"photo_id":"1351852271","filename":"file4"},{"photo_id":"1351851804","filename":"file1"},{"photo_id":"1351851699","filename":"file0"},{"photo_id":"1351852067","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351852271":["hashtag1","hashtag2"]},{"1351852067":["hashtag1","hashtag2"]},{"1351851899":["hashtag1","hashtag2"]},{"1351851804":["hashtag1","hashtag2"]},{"1351852356":["hashtag1","hashtag2"]},{"1351851699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351852271, 1351852067, 1351851899, 1351851804, 1351852356, 1351851699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.30609130859375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:41:33.012837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/09/image_19042025_11_09_26_9369.jpg', '/home/pi/Desktop/images/19042025/11/09/image_19042025_11_09_37_10428.jpg', '/home/pi/Desktop/images/19042025/11/09/image_19042025_11_09_46_9361.jpg', '/home/pi/Desktop/images/19042025/11/09/image_19042025_11_09_57_10372.jpg', '/home/pi/Desktop/images/19042025/11/09/image_19042025_11_10_07_10398.jpg', '/home/pi/Desktop/images/19042025/11/10/image_19042025_11_10_27_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/09/image_19042025_11_09_26_9369.jpg
/home/pi/Desktop/images/19042025/11/09/image_19042025_11_09_37_10428.jpg
/home/pi/Desktop/images/19042025/11/09/image_19042025_11_09_46_9361.jpg
/home/pi/Desktop/images/19042025/11/09/image_19042025_11_09_57_10372.jpg
/home/pi/Desktop/images/19042025/11/09/image_19042025_11_10_07_10398.jpg
/home/pi/Desktop/images/19042025/11/10/image_19042025_11_10_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":["1351852622","1351852762","1351852591","1351852816","1351852659","1351852704"],"photo_ids_order":["1351852591","1351852622","1351852659","1351852704","1351852762","1351852816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56498b620131cf23b794470579d7d7a3.jpg","text":"TemporaryFile(/tmp/multipartBody5771393685211186269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066553544,"filename":"image_19042025_11_09_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/19/bf3b483e4115bd9e4599716c0562b2de.jpg","text":"TemporaryFile(/tmp/multipartBody7242164594929121603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066553544,"filename":"image_19042025_11_10_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66e8c4c1d3fb7640130281bab144f26f.jpg","text":"TemporaryFile(/tmp/multipartBody2828393753593855141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066553544,"filename":"image_19042025_11_09_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/19/cc5909f1321639eea9f9b527d1023b42.jpg","text":"TemporaryFile(/tmp/multipartBody6580303273245727255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066553544,"filename":"image_19042025_11_10_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/19/107de53a0182d56fabb55c7480cb860e.jpg","text":"TemporaryFile(/tmp/multipartBody7897512053945874016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066553544,"filename":"image_19042025_11_09_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/19/5eefb26af5794255cb4c32dc90bf828f.jpg","text":"TemporaryFile(/tmp/multipartBody6656555638259778939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066553544,"filename":"image_19042025_11_09_57_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351852659","file1":"1351852622","file0":"1351852591","file4":"1351852762","file5":"1351852816","file3":"1351852704"},"map_files_photo_id_array":[{"photo_id":"1351852816","filename":"file5"},{"photo_id":"1351852659","filename":"file2"},{"photo_id":"1351852762","filename":"file4"},{"photo_id":"1351852622","filename":"file1"},{"photo_id":"1351852591","filename":"file0"},{"photo_id":"1351852704","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351852622":["hashtag1","hashtag2"]},{"1351852762":["hashtag1","hashtag2"]},{"1351852591":["hashtag1","hashtag2"]},{"1351852816":["hashtag1","hashtag2"]},{"1351852659":["hashtag1","hashtag2"]},{"1351852704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351852622, 1351852762, 1351852591, 1351852816, 1351852659, 1351852704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.98546290397644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:42:33.112847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/10/image_19042025_11_10_37_10242.jpg', '/home/pi/Desktop/images/19042025/11/10/image_19042025_11_10_46_9511.jpg', '/home/pi/Desktop/images/19042025/11/10/image_19042025_11_10_57_10484.jpg', '/home/pi/Desktop/images/19042025/11/10/image_19042025_11_11_06_9339.jpg', '/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_17_10456.jpg', '/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_26_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/10/image_19042025_11_10_37_10242.jpg
/home/pi/Desktop/images/19042025/11/10/image_19042025_11_10_46_9511.jpg
/home/pi/Desktop/images/19042025/11/10/image_19042025_11_10_57_10484.jpg
/home/pi/Desktop/images/19042025/11/10/image_19042025_11_11_06_9339.jpg
/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_17_10456.jpg
/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_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":["1351853324","1351853353","1351853385","1351853259","1351853226","1351853285"],"photo_ids_order":["1351853226","1351853259","1351853285","1351853324","1351853353","1351853385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f7a8b666fd6433668afb9e58840e915.jpg","text":"TemporaryFile(/tmp/multipartBody6049018707523955043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066613666,"filename":"image_19042025_11_11_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/061b03073cde054802f9fac19fffec5f.jpg","text":"TemporaryFile(/tmp/multipartBody4837653109319877802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066613666,"filename":"image_19042025_11_11_17_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2888e69a58e776ed5e5ad76a7b726727.jpg","text":"TemporaryFile(/tmp/multipartBody4873721325225269277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066613666,"filename":"image_19042025_11_11_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/19/1e20be23b50bf4a775c537ae06b13e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7255583993576357859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066613666,"filename":"image_19042025_11_10_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/19/151ba22c49aa2bf5175aedaa7ab46c35.jpg","text":"TemporaryFile(/tmp/multipartBody5063630277460828070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066613666,"filename":"image_19042025_11_10_37_10242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1451c253dcf8382d48cfa7461587516a.jpg","text":"TemporaryFile(/tmp/multipartBody2630459445847115534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066613666,"filename":"image_19042025_11_10_57_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351853285","file1":"1351853259","file0":"1351853226","file4":"1351853353","file5":"1351853385","file3":"1351853324"},"map_files_photo_id_array":[{"photo_id":"1351853385","filename":"file5"},{"photo_id":"1351853285","filename":"file2"},{"photo_id":"1351853353","filename":"file4"},{"photo_id":"1351853259","filename":"file1"},{"photo_id":"1351853226","filename":"file0"},{"photo_id":"1351853324","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351853324":["hashtag1","hashtag2"]},{"1351853353":["hashtag1","hashtag2"]},{"1351853385":["hashtag1","hashtag2"]},{"1351853259":["hashtag1","hashtag2"]},{"1351853226":["hashtag1","hashtag2"]},{"1351853285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351853324, 1351853353, 1351853385, 1351853259, 1351853226, 1351853285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32974052429199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:43:32.573149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_36_10364.jpg', '/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_47_10487.jpg', '/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_56_9406.jpg', '/home/pi/Desktop/images/19042025/11/11/image_19042025_11_12_07_10455.jpg', '/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_16_9359.jpg', '/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_27_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_36_10364.jpg
/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_47_10487.jpg
/home/pi/Desktop/images/19042025/11/11/image_19042025_11_11_56_9406.jpg
/home/pi/Desktop/images/19042025/11/11/image_19042025_11_12_07_10455.jpg
/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_16_9359.jpg
/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_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":["1351854401","1351854460","1351854271","1351854432","1351854381","1351854275"],"photo_ids_order":["1351854271","1351854275","1351854381","1351854401","1351854432","1351854460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2e2d005e4c6ef8850be954c8fb6f8597.jpg","text":"TemporaryFile(/tmp/multipartBody7752776725539527584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066673102,"filename":"image_19042025_11_12_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/19/7f442762cd012853f8b7b3036c4a25d5.jpg","text":"TemporaryFile(/tmp/multipartBody933169211437309463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066673102,"filename":"image_19042025_11_12_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/19/182a9bc01b0293cbcbe443f3b78a45e2.jpg","text":"TemporaryFile(/tmp/multipartBody3255430838207071407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066673102,"filename":"image_19042025_11_11_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/19/7740f24912d13e1e974372e3219a8b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4923105300352813701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066673102,"filename":"image_19042025_11_12_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/19/365ab6f1aac204308f234a4ecee9d564.jpg","text":"TemporaryFile(/tmp/multipartBody8657160490228823538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066673102,"filename":"image_19042025_11_11_56_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/19/56780e66fe8d951198d9677f5fcab260.jpg","text":"TemporaryFile(/tmp/multipartBody6239603004542372651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066673102,"filename":"image_19042025_11_11_47_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351854381","file1":"1351854275","file0":"1351854271","file4":"1351854432","file5":"1351854460","file3":"1351854401"},"map_files_photo_id_array":[{"photo_id":"1351854460","filename":"file5"},{"photo_id":"1351854381","filename":"file2"},{"photo_id":"1351854432","filename":"file4"},{"photo_id":"1351854275","filename":"file1"},{"photo_id":"1351854271","filename":"file0"},{"photo_id":"1351854401","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351854401":["hashtag1","hashtag2"]},{"1351854460":["hashtag1","hashtag2"]},{"1351854271":["hashtag1","hashtag2"]},{"1351854432":["hashtag1","hashtag2"]},{"1351854381":["hashtag1","hashtag2"]},{"1351854275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351854401, 1351854460, 1351854271, 1351854432, 1351854381, 1351854275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.819132089614868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:44:32.664052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_37_10386.jpg', '/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_46_9359.jpg', '/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_57_10379.jpg', '/home/pi/Desktop/images/19042025/11/12/image_19042025_11_13_07_10362.jpg', '/home/pi/Desktop/images/19042025/11/13/image_19042025_11_13_27_10489.jpg', '/home/pi/Desktop/images/19042025/11/13/image_19042025_11_13_36_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_37_10386.jpg
/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_46_9359.jpg
/home/pi/Desktop/images/19042025/11/12/image_19042025_11_12_57_10379.jpg
/home/pi/Desktop/images/19042025/11/12/image_19042025_11_13_07_10362.jpg
/home/pi/Desktop/images/19042025/11/13/image_19042025_11_13_27_10489.jpg
/home/pi/Desktop/images/19042025/11/13/image_19042025_11_13_36_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351855182","1351854999","1351855236","1351855131","1351855067","1351854953"],"photo_ids_order":["1351854953","1351854999","1351855067","1351855131","1351855182","1351855236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d1273a8fd2f76b1463914275fc5a0090.jpg","text":"TemporaryFile(/tmp/multipartBody5027811413854296353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066733196,"filename":"image_19042025_11_13_27_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f7d7e3e11e4d6d57860263e3439d944.jpg","text":"TemporaryFile(/tmp/multipartBody7882201191671421150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066733196,"filename":"image_19042025_11_12_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/19/817c73588ae87fbf8d871f9c911c57f1.jpg","text":"TemporaryFile(/tmp/multipartBody5542686309067719104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066733196,"filename":"image_19042025_11_13_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c573c1e277e9681fc74c705c45bf551b.jpg","text":"TemporaryFile(/tmp/multipartBody5863336151908474962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066733196,"filename":"image_19042025_11_13_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/19/2760f73c6656dff94d08de6aa596172e.jpg","text":"TemporaryFile(/tmp/multipartBody4520284443981076772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066733196,"filename":"image_19042025_11_12_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/19/31deda787e693d7b0237be6b24f6f97a.jpg","text":"TemporaryFile(/tmp/multipartBody1651879274681352132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066733196,"filename":"image_19042025_11_12_37_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351855067","file1":"1351854999","file0":"1351854953","file4":"1351855182","file5":"1351855236","file3":"1351855131"},"map_files_photo_id_array":[{"photo_id":"1351855236","filename":"file5"},{"photo_id":"1351855067","filename":"file2"},{"photo_id":"1351855182","filename":"file4"},{"photo_id":"1351854999","filename":"file1"},{"photo_id":"1351854953","filename":"file0"},{"photo_id":"1351855131","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351855182":["hashtag1","hashtag2"]},{"1351854999":["hashtag1","hashtag2"]},{"1351855236":["hashtag1","hashtag2"]},{"1351855131":["hashtag1","hashtag2"]},{"1351855067":["hashtag1","hashtag2"]},{"1351854953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351855182, 1351854999, 1351855236, 1351855131, 1351855067, 1351854953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.778287172317505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:45:32.891593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/13/image_19042025_11_13_47_10368.jpg', '/home/pi/Desktop/images/19042025/11/13/image_19042025_11_13_57_10384.jpg', '/home/pi/Desktop/images/19042025/11/13/image_19042025_11_14_06_9359.jpg', '/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_17_10421.jpg', '/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_26_9364.jpg', '/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_37_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/13/image_19042025_11_13_47_10368.jpg
/home/pi/Desktop/images/19042025/11/13/image_19042025_11_13_57_10384.jpg
/home/pi/Desktop/images/19042025/11/13/image_19042025_11_14_06_9359.jpg
/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_17_10421.jpg
/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_26_9364.jpg
/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_37_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":["1351855971","1351855991","1351855988","1351855997","1351855993","1351855981"],"photo_ids_order":["1351855971","1351855981","1351855988","1351855991","1351855993","1351855997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ee120f10e3e582a6a8ff4227e94fc33.jpg","text":"TemporaryFile(/tmp/multipartBody2905864946905596268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066793437,"filename":"image_19042025_11_13_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/11b7d94630e3eadb8a7431b9f235b09e.jpg","text":"TemporaryFile(/tmp/multipartBody8049250422683823770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066793437,"filename":"image_19042025_11_14_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/19/dac2c962e39f73354b1be200f52ef6f5.jpg","text":"TemporaryFile(/tmp/multipartBody183268615010848824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066793437,"filename":"image_19042025_11_14_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19793ef788dc435a546562265cc626a4.jpg","text":"TemporaryFile(/tmp/multipartBody3608510021343683573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066793437,"filename":"image_19042025_11_14_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/19/7ac6f89fd5abf1def56a7aa4088f3715.jpg","text":"TemporaryFile(/tmp/multipartBody4320443877891551320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066793437,"filename":"image_19042025_11_14_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/19/955525d959839403b7bd01519ded8b14.jpg","text":"TemporaryFile(/tmp/multipartBody3101319251561770168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066793437,"filename":"image_19042025_11_13_57_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351855988","file1":"1351855981","file0":"1351855971","file4":"1351855993","file5":"1351855997","file3":"1351855991"},"map_files_photo_id_array":[{"photo_id":"1351855997","filename":"file5"},{"photo_id":"1351855988","filename":"file2"},{"photo_id":"1351855993","filename":"file4"},{"photo_id":"1351855981","filename":"file1"},{"photo_id":"1351855971","filename":"file0"},{"photo_id":"1351855991","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351855971":["hashtag1","hashtag2"]},{"1351855991":["hashtag1","hashtag2"]},{"1351855988":["hashtag1","hashtag2"]},{"1351855997":["hashtag1","hashtag2"]},{"1351855993":["hashtag1","hashtag2"]},{"1351855981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351855971, 1351855991, 1351855988, 1351855997, 1351855993, 1351855981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.437331914901733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:46:33.043390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_47_10398.jpg', '/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_56_9377.jpg', '/home/pi/Desktop/images/19042025/11/14/image_19042025_11_15_07_10486.jpg', '/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_16_9435.jpg', '/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_27_10415.jpg', '/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_36_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_47_10398.jpg
/home/pi/Desktop/images/19042025/11/14/image_19042025_11_14_56_9377.jpg
/home/pi/Desktop/images/19042025/11/14/image_19042025_11_15_07_10486.jpg
/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_16_9435.jpg
/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_27_10415.jpg
/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_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":["1351856305","1351856280","1351856181","1351856256","1351856223","1351856156"],"photo_ids_order":["1351856156","1351856181","1351856223","1351856256","1351856280","1351856305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fa511c8adefc69408db7d19ed91e2aeb.jpg","text":"TemporaryFile(/tmp/multipartBody9185358946494086762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066853666,"filename":"image_19042025_11_15_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/19/be37bdfcdea093f06fadfcfd161c5851.jpg","text":"TemporaryFile(/tmp/multipartBody5807995919182122541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066853666,"filename":"image_19042025_11_15_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b2402825c22339be395d4c95672e7fd.jpg","text":"TemporaryFile(/tmp/multipartBody4729098872940876128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066853666,"filename":"image_19042025_11_14_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/19/6e2a88b3ab003997aaaa87520852511f.jpg","text":"TemporaryFile(/tmp/multipartBody4865131925575485975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066853666,"filename":"image_19042025_11_15_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/19/b984703cf5560d1924efe87653c7d8b2.jpg","text":"TemporaryFile(/tmp/multipartBody273931876012772773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066853666,"filename":"image_19042025_11_15_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/19/0d66cbf003c09e6e0592d17759717030.jpg","text":"TemporaryFile(/tmp/multipartBody8061901698116163181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066853666,"filename":"image_19042025_11_14_47_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351856223","file1":"1351856181","file0":"1351856156","file4":"1351856280","file5":"1351856305","file3":"1351856256"},"map_files_photo_id_array":[{"photo_id":"1351856305","filename":"file5"},{"photo_id":"1351856223","filename":"file2"},{"photo_id":"1351856280","filename":"file4"},{"photo_id":"1351856181","filename":"file1"},{"photo_id":"1351856156","filename":"file0"},{"photo_id":"1351856256","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351856305":["hashtag1","hashtag2"]},{"1351856280":["hashtag1","hashtag2"]},{"1351856181":["hashtag1","hashtag2"]},{"1351856256":["hashtag1","hashtag2"]},{"1351856223":["hashtag1","hashtag2"]},{"1351856156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351856305, 1351856280, 1351856181, 1351856256, 1351856223, 1351856156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45936155319214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:47:32.587375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_47_10437.jpg', '/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_57_10461.jpg', '/home/pi/Desktop/images/19042025/11/15/image_19042025_11_16_06_9371.jpg', '/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_17_10363.jpg', '/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_26_9446.jpg', '/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_37_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_47_10437.jpg
/home/pi/Desktop/images/19042025/11/15/image_19042025_11_15_57_10461.jpg
/home/pi/Desktop/images/19042025/11/15/image_19042025_11_16_06_9371.jpg
/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_17_10363.jpg
/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_26_9446.jpg
/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_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":["1351856565","1351856495","1351856540","1351856513","1351856491","1351856596"],"photo_ids_order":["1351856491","1351856495","1351856513","1351856540","1351856565","1351856596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c5383388107ac18843250d53c9db385a.jpg","text":"TemporaryFile(/tmp/multipartBody3388421298675607277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066913124,"filename":"image_19042025_11_16_26_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2d8c232ae38fa08d053ccf4ea4bb17d8.jpg","text":"TemporaryFile(/tmp/multipartBody4933034922842701908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066913124,"filename":"image_19042025_11_15_57_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/19/61084574ac1889437f50c5c458dea5f4.jpg","text":"TemporaryFile(/tmp/multipartBody963862091692957760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066913124,"filename":"image_19042025_11_16_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/19/1413543b964b38c89273fc97a15aebbf.jpg","text":"TemporaryFile(/tmp/multipartBody662072211726958070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066913124,"filename":"image_19042025_11_16_06_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cc6c734a9c443fe0d74257effab9bb4.jpg","text":"TemporaryFile(/tmp/multipartBody5118640145004876924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066913124,"filename":"image_19042025_11_15_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/19/d186af30bc8edebd8b9988d087de8536.jpg","text":"TemporaryFile(/tmp/multipartBody2414532757816984655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066913124,"filename":"image_19042025_11_16_37_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351856513","file1":"1351856495","file0":"1351856491","file4":"1351856565","file5":"1351856596","file3":"1351856540"},"map_files_photo_id_array":[{"photo_id":"1351856596","filename":"file5"},{"photo_id":"1351856513","filename":"file2"},{"photo_id":"1351856565","filename":"file4"},{"photo_id":"1351856495","filename":"file1"},{"photo_id":"1351856491","filename":"file0"},{"photo_id":"1351856540","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351856565":["hashtag1","hashtag2"]},{"1351856495":["hashtag1","hashtag2"]},{"1351856540":["hashtag1","hashtag2"]},{"1351856513":["hashtag1","hashtag2"]},{"1351856491":["hashtag1","hashtag2"]},{"1351856596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351856565, 1351856495, 1351856540, 1351856513, 1351856491, 1351856596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.83934187889099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:48:32.947033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_47_10368.jpg', '/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_56_9367.jpg', '/home/pi/Desktop/images/19042025/11/16/image_19042025_11_17_07_10373.jpg', '/home/pi/Desktop/images/19042025/11/17/image_19042025_11_17_17_10387.jpg', '/home/pi/Desktop/images/19042025/11/17/image_19042025_11_17_26_9423.jpg', '/home/pi/Desktop/images/19042025/11/17/image_19042025_11_17_46_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_47_10368.jpg
/home/pi/Desktop/images/19042025/11/16/image_19042025_11_16_56_9367.jpg
/home/pi/Desktop/images/19042025/11/16/image_19042025_11_17_07_10373.jpg
/home/pi/Desktop/images/19042025/11/17/image_19042025_11_17_17_10387.jpg
/home/pi/Desktop/images/19042025/11/17/image_19042025_11_17_26_9423.jpg
/home/pi/Desktop/images/19042025/11/17/image_19042025_11_17_46_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":["1351856856","1351857068","1351857014","1351857028","1351856959","1351857016"],"photo_ids_order":["1351856856","1351856959","1351857014","1351857016","1351857028","1351857068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/617c9344c6be842ad06570c0f79632e1.jpg","text":"TemporaryFile(/tmp/multipartBody1472480468393024530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066973478,"filename":"image_19042025_11_16_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/19/7957b043440cd9a3b5da35b2aa18275e.jpg","text":"TemporaryFile(/tmp/multipartBody4617248735928965793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066973478,"filename":"image_19042025_11_17_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/045e1a31acc6ee62a6c75bccc7da5aef.jpg","text":"TemporaryFile(/tmp/multipartBody8891340360193167003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066973478,"filename":"image_19042025_11_17_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4d1cd160e54e08ab95ddb67ad6aa60a6.jpg","text":"TemporaryFile(/tmp/multipartBody5781719217836460234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066973478,"filename":"image_19042025_11_17_26_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f435665ca7959a426b0aad341fd9648.jpg","text":"TemporaryFile(/tmp/multipartBody8961886952794649432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066973478,"filename":"image_19042025_11_16_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/19/a31e02ae3323eeb0442d8e8afc74eaf2.jpg","text":"TemporaryFile(/tmp/multipartBody6111843552821088208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745066973478,"filename":"image_19042025_11_17_17_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351857014","file1":"1351856959","file0":"1351856856","file4":"1351857028","file5":"1351857068","file3":"1351857016"},"map_files_photo_id_array":[{"photo_id":"1351857068","filename":"file5"},{"photo_id":"1351857014","filename":"file2"},{"photo_id":"1351857028","filename":"file4"},{"photo_id":"1351856959","filename":"file1"},{"photo_id":"1351856856","filename":"file0"},{"photo_id":"1351857016","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351856856":["hashtag1","hashtag2"]},{"1351857068":["hashtag1","hashtag2"]},{"1351857014":["hashtag1","hashtag2"]},{"1351857028":["hashtag1","hashtag2"]},{"1351856959":["hashtag1","hashtag2"]},{"1351857016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351856856, 1351857068, 1351857014, 1351857028, 1351856959, 1351857016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04854154586792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:49:33.024903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/17/image_19042025_11_17_57_10375.jpg', '/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_16_9363.jpg', '/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_27_10480.jpg', '/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_36_9355.jpg', '/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_47_10412.jpg', '/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_57_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/17/image_19042025_11_17_57_10375.jpg
/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_16_9363.jpg
/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_27_10480.jpg
/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_36_9355.jpg
/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_47_10412.jpg
/home/pi/Desktop/images/19042025/11/18/image_19042025_11_18_57_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":["1351857392","1351857530","1351857421","1351857523","1351857445","1351857480"],"photo_ids_order":["1351857392","1351857421","1351857445","1351857480","1351857523","1351857530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a0cba1df8cb4e36cd181aedc9d587dce.jpg","text":"TemporaryFile(/tmp/multipartBody1349310404540373965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067033612,"filename":"image_19042025_11_17_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/19/592bd544b4d5cf219492a1a8cbbf5d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1410356300653027511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067033612,"filename":"image_19042025_11_18_57_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14e293368d6cfefc0d72f80f1ede87b3.jpg","text":"TemporaryFile(/tmp/multipartBody2234216331065084938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067033612,"filename":"image_19042025_11_18_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/19/634e2db91915b77e4e14bbe7b840e5b3.jpg","text":"TemporaryFile(/tmp/multipartBody7425492983166538750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067033612,"filename":"image_19042025_11_18_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/19/f84e593c85baddd9dcff7005c98c2606.jpg","text":"TemporaryFile(/tmp/multipartBody8070040124416443358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067033612,"filename":"image_19042025_11_18_27_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/19/79a236066c0c7d3dd67a4e05a035d88f.jpg","text":"TemporaryFile(/tmp/multipartBody5960121734790833133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067033612,"filename":"image_19042025_11_18_36_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351857445","file1":"1351857421","file0":"1351857392","file4":"1351857523","file5":"1351857530","file3":"1351857480"},"map_files_photo_id_array":[{"photo_id":"1351857530","filename":"file5"},{"photo_id":"1351857445","filename":"file2"},{"photo_id":"1351857523","filename":"file4"},{"photo_id":"1351857421","filename":"file1"},{"photo_id":"1351857392","filename":"file0"},{"photo_id":"1351857480","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351857392":["hashtag1","hashtag2"]},{"1351857530":["hashtag1","hashtag2"]},{"1351857421":["hashtag1","hashtag2"]},{"1351857523":["hashtag1","hashtag2"]},{"1351857445":["hashtag1","hashtag2"]},{"1351857480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351857392, 1351857530, 1351857421, 1351857523, 1351857445, 1351857480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08510899543762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:50:32.220837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/18/image_19042025_11_19_06_9357.jpg', '/home/pi/Desktop/images/19042025/11/19/image_19042025_11_19_17_10440.jpg', '/home/pi/Desktop/images/19042025/11/20/image_19042025_11_20_36_9460.jpg', '/home/pi/Desktop/images/19042025/11/20/image_19042025_11_20_57_10479.jpg', '/home/pi/Desktop/images/19042025/11/20/image_19042025_11_21_06_9429.jpg', '/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_17_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/18/image_19042025_11_19_06_9357.jpg
/home/pi/Desktop/images/19042025/11/19/image_19042025_11_19_17_10440.jpg
/home/pi/Desktop/images/19042025/11/20/image_19042025_11_20_36_9460.jpg
/home/pi/Desktop/images/19042025/11/20/image_19042025_11_20_57_10479.jpg
/home/pi/Desktop/images/19042025/11/20/image_19042025_11_21_06_9429.jpg
/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_17_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":["1351857726","1351857866","1351857749","1351857775","1351857823","1351857724"],"photo_ids_order":["1351857724","1351857726","1351857749","1351857775","1351857823","1351857866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e3b352c2207a07354a77e0fb86c1835.jpg","text":"TemporaryFile(/tmp/multipartBody6907760900466976367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067092752,"filename":"image_19042025_11_19_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ea42116a5ed67b15454aac4ce1789aa.jpg","text":"TemporaryFile(/tmp/multipartBody8848093193566551650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067092752,"filename":"image_19042025_11_21_17_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/357097ef16198f8c8e171d59795bf231.jpg","text":"TemporaryFile(/tmp/multipartBody883837674633031443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067092752,"filename":"image_19042025_11_20_36_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae0ea316966a7b8dddc73b6d844ce578.jpg","text":"TemporaryFile(/tmp/multipartBody7853456888086095081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067092752,"filename":"image_19042025_11_20_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/19/f4378aacd742879a6e7f4665f97d9466.jpg","text":"TemporaryFile(/tmp/multipartBody5923049619231412446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067092752,"filename":"image_19042025_11_21_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/19/cd194e506b9776565b8376d6ac310943.jpg","text":"TemporaryFile(/tmp/multipartBody523359449174533817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067092752,"filename":"image_19042025_11_19_06_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351857749","file1":"1351857726","file0":"1351857724","file4":"1351857823","file5":"1351857866","file3":"1351857775"},"map_files_photo_id_array":[{"photo_id":"1351857866","filename":"file5"},{"photo_id":"1351857749","filename":"file2"},{"photo_id":"1351857823","filename":"file4"},{"photo_id":"1351857726","filename":"file1"},{"photo_id":"1351857724","filename":"file0"},{"photo_id":"1351857775","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351857726":["hashtag1","hashtag2"]},{"1351857866":["hashtag1","hashtag2"]},{"1351857749":["hashtag1","hashtag2"]},{"1351857775":["hashtag1","hashtag2"]},{"1351857823":["hashtag1","hashtag2"]},{"1351857724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351857726, 1351857866, 1351857749, 1351857775, 1351857823, 1351857724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64801001548767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:51:32.481483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_26_9367.jpg', '/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_37_10362.jpg', '/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_47_10366.jpg', '/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_56_9350.jpg', '/home/pi/Desktop/images/19042025/11/21/image_19042025_11_22_07_10350.jpg', '/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_16_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_26_9367.jpg
/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_37_10362.jpg
/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_47_10366.jpg
/home/pi/Desktop/images/19042025/11/21/image_19042025_11_21_56_9350.jpg
/home/pi/Desktop/images/19042025/11/21/image_19042025_11_22_07_10350.jpg
/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_16_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":["1351858391","1351858317","1351858264","1351858423","1351858383","1351858212"],"photo_ids_order":["1351858212","1351858264","1351858317","1351858383","1351858391","1351858423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f871189390480d959c538926ba0542d7.jpg","text":"TemporaryFile(/tmp/multipartBody7466496566785867844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067153006,"filename":"image_19042025_11_22_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/19/f64240553ff22236b0d05f63a67b5aac.jpg","text":"TemporaryFile(/tmp/multipartBody7466176524000963379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067153006,"filename":"image_19042025_11_21_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/19/2a8692ec96f4244c5d95a9ba9cd78607.jpg","text":"TemporaryFile(/tmp/multipartBody3373665880095311458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067153006,"filename":"image_19042025_11_21_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/19/d352a8d742e3c4971d0618fb2a4d5a24.jpg","text":"TemporaryFile(/tmp/multipartBody6091807605765551357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067153006,"filename":"image_19042025_11_22_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/19/44255c0a307847fff7938d40a09ec7fa.jpg","text":"TemporaryFile(/tmp/multipartBody9102407598357363786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067153006,"filename":"image_19042025_11_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/19/400bc0e6b14b4a45934ff5ba58685112.jpg","text":"TemporaryFile(/tmp/multipartBody3583529521749631485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067153006,"filename":"image_19042025_11_21_26_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351858317","file1":"1351858264","file0":"1351858212","file4":"1351858391","file5":"1351858423","file3":"1351858383"},"map_files_photo_id_array":[{"photo_id":"1351858423","filename":"file5"},{"photo_id":"1351858317","filename":"file2"},{"photo_id":"1351858391","filename":"file4"},{"photo_id":"1351858264","filename":"file1"},{"photo_id":"1351858212","filename":"file0"},{"photo_id":"1351858383","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351858391":["hashtag1","hashtag2"]},{"1351858317":["hashtag1","hashtag2"]},{"1351858264":["hashtag1","hashtag2"]},{"1351858423":["hashtag1","hashtag2"]},{"1351858383":["hashtag1","hashtag2"]},{"1351858212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351858391, 1351858317, 1351858264, 1351858423, 1351858383, 1351858212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.959184408187866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:52:32.611290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_26_10377.jpg', '/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_37_10451.jpg', '/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_46_9356.jpg', '/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_57_10400.jpg', '/home/pi/Desktop/images/19042025/11/22/image_19042025_11_23_06_9455.jpg', '/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_17_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_26_10377.jpg
/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_37_10451.jpg
/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_46_9356.jpg
/home/pi/Desktop/images/19042025/11/22/image_19042025_11_22_57_10400.jpg
/home/pi/Desktop/images/19042025/11/22/image_19042025_11_23_06_9455.jpg
/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_17_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":["1351858713","1351858625","1351858526","1351858573","1351858501","1351858674"],"photo_ids_order":["1351858501","1351858526","1351858573","1351858625","1351858674","1351858713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da0b27711e53e6ef43e9aa5d646b93d8.jpg","text":"TemporaryFile(/tmp/multipartBody8706242765532417461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067213136,"filename":"image_19042025_11_23_17_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/19/ea15d5bee5413e737056dfe93fdc5524.jpg","text":"TemporaryFile(/tmp/multipartBody9185813097920579009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067213136,"filename":"image_19042025_11_22_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/19/08cc565efb47a2733f965c09463e8edd.jpg","text":"TemporaryFile(/tmp/multipartBody2934380475697632941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067213136,"filename":"image_19042025_11_22_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/19/35683033e96776d0c732013fcaddba2a.jpg","text":"TemporaryFile(/tmp/multipartBody2393309868592857055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067213136,"filename":"image_19042025_11_22_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/19/edc530d8aa822e298a0994ea2ec4a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody5066797062557628040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067213136,"filename":"image_19042025_11_22_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/156c34043f64d3339afec1b745eafc18.jpg","text":"TemporaryFile(/tmp/multipartBody3393850136568745633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067213136,"filename":"image_19042025_11_23_06_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351858573","file1":"1351858526","file0":"1351858501","file4":"1351858674","file5":"1351858713","file3":"1351858625"},"map_files_photo_id_array":[{"photo_id":"1351858713","filename":"file5"},{"photo_id":"1351858573","filename":"file2"},{"photo_id":"1351858674","filename":"file4"},{"photo_id":"1351858526","filename":"file1"},{"photo_id":"1351858501","filename":"file0"},{"photo_id":"1351858625","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351858713":["hashtag1","hashtag2"]},{"1351858625":["hashtag1","hashtag2"]},{"1351858526":["hashtag1","hashtag2"]},{"1351858573":["hashtag1","hashtag2"]},{"1351858501":["hashtag1","hashtag2"]},{"1351858674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351858713, 1351858625, 1351858526, 1351858573, 1351858501, 1351858674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.823787689208984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:53:32.886385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_27_10383.jpg', '/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_36_9358.jpg', '/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_47_10377.jpg', '/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_56_9460.jpg', '/home/pi/Desktop/images/19042025/11/23/image_19042025_11_24_07_10372.jpg', '/home/pi/Desktop/images/19042025/11/24/image_19042025_11_24_17_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_27_10383.jpg
/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_36_9358.jpg
/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_47_10377.jpg
/home/pi/Desktop/images/19042025/11/23/image_19042025_11_23_56_9460.jpg
/home/pi/Desktop/images/19042025/11/23/image_19042025_11_24_07_10372.jpg
/home/pi/Desktop/images/19042025/11/24/image_19042025_11_24_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":["1351860128","1351860236","1351860250","1351859943","1351860252","1351859780"],"photo_ids_order":["1351859780","1351859943","1351860128","1351860236","1351860250","1351860252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c55f8b0e81d3bcaf6feec44652288ca.jpg","text":"TemporaryFile(/tmp/multipartBody8726457444010458792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067273477,"filename":"image_19042025_11_23_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/19/5b5b5c45c845a3e0c7945c9306cde9fd.jpg","text":"TemporaryFile(/tmp/multipartBody4437375146147754068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067273477,"filename":"image_19042025_11_23_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/19/13cf7623c2e66795bc5ca94f0858d679.jpg","text":"TemporaryFile(/tmp/multipartBody5028878034731028417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067273477,"filename":"image_19042025_11_24_07_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4cb405cc5771a07c901fecc460a23e3.jpg","text":"TemporaryFile(/tmp/multipartBody6059852265398569039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067273477,"filename":"image_19042025_11_23_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/19/d8f63354e4af2421c2d1a195eb5e8686.jpg","text":"TemporaryFile(/tmp/multipartBody7605275114701530778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067273477,"filename":"image_19042025_11_24_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a7070e5c7af441144f222533d1a9790.jpg","text":"TemporaryFile(/tmp/multipartBody4438702083930673076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067273477,"filename":"image_19042025_11_23_27_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351860128","file1":"1351859943","file0":"1351859780","file4":"1351860250","file5":"1351860252","file3":"1351860236"},"map_files_photo_id_array":[{"photo_id":"1351860252","filename":"file5"},{"photo_id":"1351860128","filename":"file2"},{"photo_id":"1351860250","filename":"file4"},{"photo_id":"1351859943","filename":"file1"},{"photo_id":"1351859780","filename":"file0"},{"photo_id":"1351860236","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351860128":["hashtag1","hashtag2"]},{"1351860236":["hashtag1","hashtag2"]},{"1351860250":["hashtag1","hashtag2"]},{"1351859943":["hashtag1","hashtag2"]},{"1351860252":["hashtag1","hashtag2"]},{"1351859780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351860128, 1351860236, 1351860250, 1351859943, 1351860252, 1351859780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65914440155029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:54:33.160049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/25/image_19042025_11_25_16_9367.jpg', '/home/pi/Desktop/images/19042025/11/25/image_19042025_11_25_36_9415.jpg', '/home/pi/Desktop/images/19042025/11/25/image_19042025_11_26_06_9335.jpg', '/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_17_10370.jpg', '/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_26_9473.jpg', '/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_37_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/25/image_19042025_11_25_16_9367.jpg
/home/pi/Desktop/images/19042025/11/25/image_19042025_11_25_36_9415.jpg
/home/pi/Desktop/images/19042025/11/25/image_19042025_11_26_06_9335.jpg
/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_17_10370.jpg
/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_26_9473.jpg
/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_37_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":["1351860312","1351860306","1351860309","1351860317","1351860304","1351860315"],"photo_ids_order":["1351860304","1351860306","1351860309","1351860312","1351860315","1351860317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7663dadb1b91239e967180af3ef70936.jpg","text":"TemporaryFile(/tmp/multipartBody7306962805083319260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067333680,"filename":"image_19042025_11_26_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/19/4c28ed16abd2dde3cc8a888b21668d9c.jpg","text":"TemporaryFile(/tmp/multipartBody2587715716198177010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067333680,"filename":"image_19042025_11_25_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/19/930b8f63e66809258f6db6f314df471b.jpg","text":"TemporaryFile(/tmp/multipartBody8114559723037551075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067333680,"filename":"image_19042025_11_26_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/19/4fc9747b0aabccf19dd4800aa805cc56.jpg","text":"TemporaryFile(/tmp/multipartBody6017852890260134759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067333680,"filename":"image_19042025_11_26_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/19/62cf976b87281c3277e57e956068f3c3.jpg","text":"TemporaryFile(/tmp/multipartBody7438558372668532481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067333680,"filename":"image_19042025_11_25_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/19/ab78d7c1fb5bed86ba5a445bc18aba17.jpg","text":"TemporaryFile(/tmp/multipartBody3189656650531395213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067333680,"filename":"image_19042025_11_26_26_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351860309","file1":"1351860306","file0":"1351860304","file4":"1351860315","file5":"1351860317","file3":"1351860312"},"map_files_photo_id_array":[{"photo_id":"1351860317","filename":"file5"},{"photo_id":"1351860309","filename":"file2"},{"photo_id":"1351860315","filename":"file4"},{"photo_id":"1351860306","filename":"file1"},{"photo_id":"1351860304","filename":"file0"},{"photo_id":"1351860312","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351860312":["hashtag1","hashtag2"]},{"1351860306":["hashtag1","hashtag2"]},{"1351860309":["hashtag1","hashtag2"]},{"1351860317":["hashtag1","hashtag2"]},{"1351860304":["hashtag1","hashtag2"]},{"1351860315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351860312, 1351860306, 1351860309, 1351860317, 1351860304, 1351860315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.531250476837158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:55:32.508712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_47_10373.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_26_9386.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_37_10494.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_46_9468.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_57_10444.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_28_06_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_47_10373.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_26_9386.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_37_10494.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_46_9468.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_57_10444.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_28_06_9348.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44301724433898926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 14:55:42.435375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_47_10373.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_26_9386.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_37_10494.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_46_9468.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_57_10444.jpg', '/home/pi/Desktop/images/19042025/11/27/image_19042025_11_28_06_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/26/image_19042025_11_26_47_10373.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_26_9386.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_37_10494.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_46_9468.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_27_57_10444.jpg
/home/pi/Desktop/images/19042025/11/27/image_19042025_11_28_06_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351860344","1351860347","1351860341","1351860349","1351860351","1351860339"],"photo_ids_order":["1351860339","1351860341","1351860344","1351860347","1351860349","1351860351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a4cc7051b44f3233699807496965710.jpg","text":"TemporaryFile(/tmp/multipartBody6045065523993711009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067402925,"filename":"image_19042025_11_27_37_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/19/7dae2568795bf3d04756f76b0d0063e1.jpg","text":"TemporaryFile(/tmp/multipartBody3742809990333206906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067402925,"filename":"image_19042025_11_27_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/19/f25002d4e3df7e6e28b3083a39511bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8488514613233779482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067402925,"filename":"image_19042025_11_27_26_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2af1cbf6c6d40f2fcc70d6b6da377ce3.jpg","text":"TemporaryFile(/tmp/multipartBody8400249387732350501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067402925,"filename":"image_19042025_11_27_57_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/242104ca73d052faba5aed503f1fc1f8.jpg","text":"TemporaryFile(/tmp/multipartBody854293452242447707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067402925,"filename":"image_19042025_11_28_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f412e3701ae1022ab26bdaa4146b27c.jpg","text":"TemporaryFile(/tmp/multipartBody1362959421796977474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067402925,"filename":"image_19042025_11_26_47_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351860344","file1":"1351860341","file0":"1351860339","file4":"1351860349","file5":"1351860351","file3":"1351860347"},"map_files_photo_id_array":[{"photo_id":"1351860351","filename":"file5"},{"photo_id":"1351860344","filename":"file2"},{"photo_id":"1351860349","filename":"file4"},{"photo_id":"1351860341","filename":"file1"},{"photo_id":"1351860339","filename":"file0"},{"photo_id":"1351860347","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351860344":["hashtag1","hashtag2"]},{"1351860347":["hashtag1","hashtag2"]},{"1351860341":["hashtag1","hashtag2"]},{"1351860349":["hashtag1","hashtag2"]},{"1351860351":["hashtag1","hashtag2"]},{"1351860339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351860344, 1351860347, 1351860341, 1351860349, 1351860351, 1351860339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.844211101531982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:56:32.592399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_17_10374.jpg', '/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_27_10454.jpg', '/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_36_9386.jpg', '/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_47_10439.jpg', '/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_56_9423.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_16_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_17_10374.jpg
/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_27_10454.jpg
/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_36_9386.jpg
/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_47_10439.jpg
/home/pi/Desktop/images/19042025/11/28/image_19042025_11_28_56_9423.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_16_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":["1351860584","1351860367","1351860370","1351860817","1351860372","1351860381"],"photo_ids_order":["1351860367","1351860370","1351860372","1351860381","1351860584","1351860817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/591297763515417113f6450662a3ec05.jpg","text":"TemporaryFile(/tmp/multipartBody5189607964904639025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067453122,"filename":"image_19042025_11_28_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/19/0eacc7b241caebf73192851426793d4b.jpg","text":"TemporaryFile(/tmp/multipartBody9073382626718635849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067453122,"filename":"image_19042025_11_28_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/19/ef551983c6de8c67309c2230d22a6c62.jpg","text":"TemporaryFile(/tmp/multipartBody5347164140852138406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067453122,"filename":"image_19042025_11_28_27_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fecb15155dd2d16bf9ca3455cdc440a4.jpg","text":"TemporaryFile(/tmp/multipartBody4939282812523701820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067453122,"filename":"image_19042025_11_29_16_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/19/d2d4fe21a9625adbd41472767d2b5db4.jpg","text":"TemporaryFile(/tmp/multipartBody390364116088454755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067453122,"filename":"image_19042025_11_28_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d606ff27a2a5c523d71e8a11a4be541.jpg","text":"TemporaryFile(/tmp/multipartBody6492639398806962744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067453122,"filename":"image_19042025_11_28_47_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351860372","file1":"1351860370","file0":"1351860367","file4":"1351860584","file5":"1351860817","file3":"1351860381"},"map_files_photo_id_array":[{"photo_id":"1351860817","filename":"file5"},{"photo_id":"1351860372","filename":"file2"},{"photo_id":"1351860584","filename":"file4"},{"photo_id":"1351860370","filename":"file1"},{"photo_id":"1351860367","filename":"file0"},{"photo_id":"1351860381","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351860584":["hashtag1","hashtag2"]},{"1351860367":["hashtag1","hashtag2"]},{"1351860370":["hashtag1","hashtag2"]},{"1351860817":["hashtag1","hashtag2"]},{"1351860372":["hashtag1","hashtag2"]},{"1351860381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351860584, 1351860367, 1351860370, 1351860817, 1351860372, 1351860381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.706618070602417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 14:57:32.980427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_26_10395.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_37_10486.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_46_9393.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_57_10437.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_30_06_9360.jpg', '/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_17_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_26_10395.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_37_10486.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_46_9393.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_57_10437.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_30_06_9360.jpg
/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_17_10579.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-19 14:59:03.622685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_26_10395.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_37_10486.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_46_9393.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_57_10437.jpg', '/home/pi/Desktop/images/19042025/11/29/image_19042025_11_30_06_9360.jpg', '/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_17_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_26_10395.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_37_10486.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_46_9393.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_29_57_10437.jpg
/home/pi/Desktop/images/19042025/11/29/image_19042025_11_30_06_9360.jpg
/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_17_10579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351861364","1351861567","1351861222","1351861284","1351861251","1351861806"],"photo_ids_order":["1351861222","1351861251","1351861284","1351861364","1351861567","1351861806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cdc67d53b0548509544b0f0a9851ac4b.jpg","text":"TemporaryFile(/tmp/multipartBody4793100072696435919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067604255,"filename":"image_19042025_11_29_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/19/9b4350a24ab99d1b0fecd20ead5e8f37.jpg","text":"TemporaryFile(/tmp/multipartBody537030967555885337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067604255,"filename":"image_19042025_11_30_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/19/a6d5da710aeda2e9c733762c3efdbd5a.jpg","text":"TemporaryFile(/tmp/multipartBody6735747662472063567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067604255,"filename":"image_19042025_11_29_26_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bb2b269706e2ff00b71115ef5f57f194.jpg","text":"TemporaryFile(/tmp/multipartBody3997508413904261045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067604255,"filename":"image_19042025_11_29_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/19/8853f40ff402b25141c6230c15f4af4c.jpg","text":"TemporaryFile(/tmp/multipartBody6850952790816715409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067604255,"filename":"image_19042025_11_29_37_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/19/e00a8487e4964629d703ba5cc2e5390c.jpg","text":"TemporaryFile(/tmp/multipartBody5555125650287006061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067604255,"filename":"image_19042025_11_30_17_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351861284","file1":"1351861251","file0":"1351861222","file4":"1351861567","file5":"1351861806","file3":"1351861364"},"map_files_photo_id_array":[{"photo_id":"1351861806","filename":"file5"},{"photo_id":"1351861284","filename":"file2"},{"photo_id":"1351861567","filename":"file4"},{"photo_id":"1351861251","filename":"file1"},{"photo_id":"1351861222","filename":"file0"},{"photo_id":"1351861364","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351861364":["hashtag1","hashtag2"]},{"1351861567":["hashtag1","hashtag2"]},{"1351861222":["hashtag1","hashtag2"]},{"1351861284":["hashtag1","hashtag2"]},{"1351861251":["hashtag1","hashtag2"]},{"1351861806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351861364, 1351861567, 1351861222, 1351861284, 1351861251, 1351861806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.118560791015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 14:59:42.343503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_27_10251.jpg', '/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_36_9441.jpg', '/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_47_10494.jpg', '/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_56_9364.jpg', '/home/pi/Desktop/images/19042025/11/30/image_19042025_11_31_07_10354.jpg', '/home/pi/Desktop/images/19042025/11/31/image_19042025_11_31_16_9481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_27_10251.jpg
/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_36_9441.jpg
/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_47_10494.jpg
/home/pi/Desktop/images/19042025/11/30/image_19042025_11_30_56_9364.jpg
/home/pi/Desktop/images/19042025/11/30/image_19042025_11_31_07_10354.jpg
/home/pi/Desktop/images/19042025/11/31/image_19042025_11_31_16_9481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351862114","1351862158","1351862041","1351862250","1351862217","1351862084"],"photo_ids_order":["1351862041","1351862084","1351862114","1351862158","1351862217","1351862250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7264d19b8c271112b40213c4fad89a6.jpg","text":"TemporaryFile(/tmp/multipartBody190325016232638835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067642869,"filename":"image_19042025_11_30_47_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/19/f96e2179029c6f5b6b1de9961dc411f0.jpg","text":"TemporaryFile(/tmp/multipartBody8096913206341762528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067642869,"filename":"image_19042025_11_30_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/19/dccb23e06d6bf715bad07a229e5272a3.jpg","text":"TemporaryFile(/tmp/multipartBody4549745370368183142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067642869,"filename":"image_19042025_11_30_27_10251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1dbf4d4fd8eb95eb72cb1a832d5d95b4.jpg","text":"TemporaryFile(/tmp/multipartBody800735133919644856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067642869,"filename":"image_19042025_11_31_16_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc4a84a2cb1920ff343681b543210b19.jpg","text":"TemporaryFile(/tmp/multipartBody1939327955544792192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067642869,"filename":"image_19042025_11_31_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/19/5520912b5284831289603c8859efef68.jpg","text":"TemporaryFile(/tmp/multipartBody731408102286049630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067642869,"filename":"image_19042025_11_30_36_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351862114","file1":"1351862084","file0":"1351862041","file4":"1351862217","file5":"1351862250","file3":"1351862158"},"map_files_photo_id_array":[{"photo_id":"1351862250","filename":"file5"},{"photo_id":"1351862114","filename":"file2"},{"photo_id":"1351862217","filename":"file4"},{"photo_id":"1351862084","filename":"file1"},{"photo_id":"1351862041","filename":"file0"},{"photo_id":"1351862158","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351862114":["hashtag1","hashtag2"]},{"1351862158":["hashtag1","hashtag2"]},{"1351862041":["hashtag1","hashtag2"]},{"1351862250":["hashtag1","hashtag2"]},{"1351862217":["hashtag1","hashtag2"]},{"1351862084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351862114, 1351862158, 1351862041, 1351862250, 1351862217, 1351862084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57924127578735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:00:32.495103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/31/image_19042025_11_31_27_10388.jpg', '/home/pi/Desktop/images/19042025/11/31/image_19042025_11_31_46_9430.jpg', '/home/pi/Desktop/images/19042025/11/31/image_19042025_11_31_57_10371.jpg', '/home/pi/Desktop/images/19042025/11/32/image_19042025_11_32_36_9361.jpg', '/home/pi/Desktop/images/19042025/11/32/image_19042025_11_32_47_10382.jpg', '/home/pi/Desktop/images/19042025/11/32/image_19042025_11_32_56_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/31/image_19042025_11_31_27_10388.jpg
/home/pi/Desktop/images/19042025/11/31/image_19042025_11_31_46_9430.jpg
/home/pi/Desktop/images/19042025/11/31/image_19042025_11_31_57_10371.jpg
/home/pi/Desktop/images/19042025/11/32/image_19042025_11_32_36_9361.jpg
/home/pi/Desktop/images/19042025/11/32/image_19042025_11_32_47_10382.jpg
/home/pi/Desktop/images/19042025/11/32/image_19042025_11_32_56_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":["1351862701","1351862586","1351862634","1351862660","1351862546","1351862753"],"photo_ids_order":["1351862546","1351862586","1351862634","1351862660","1351862701","1351862753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b31c8b934cc019ad80a71b54ea4462ab.jpg","text":"TemporaryFile(/tmp/multipartBody6340677806988258774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067693011,"filename":"image_19042025_11_32_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/19/636315c9ecc9d98aa4bd6a0d54de8cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8205689575425860029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067693011,"filename":"image_19042025_11_31_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/19/2ce1d72de2c3c58bd1007b98d4c2c029.jpg","text":"TemporaryFile(/tmp/multipartBody7801020842117380109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067693011,"filename":"image_19042025_11_31_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/19/4ae7f204d4457f8d447fe9eb0cc4b4d3.jpg","text":"TemporaryFile(/tmp/multipartBody8159914051372459793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067693011,"filename":"image_19042025_11_32_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/19/7df59cc826f4abcfd7cb0056fea1d6b6.jpg","text":"TemporaryFile(/tmp/multipartBody7117129388545613512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067693011,"filename":"image_19042025_11_31_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/19/a093077e1189bea79a13b7cd52a538a8.jpg","text":"TemporaryFile(/tmp/multipartBody31032100440142144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067693011,"filename":"image_19042025_11_32_56_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351862634","file1":"1351862586","file0":"1351862546","file4":"1351862701","file5":"1351862753","file3":"1351862660"},"map_files_photo_id_array":[{"photo_id":"1351862753","filename":"file5"},{"photo_id":"1351862634","filename":"file2"},{"photo_id":"1351862701","filename":"file4"},{"photo_id":"1351862586","filename":"file1"},{"photo_id":"1351862546","filename":"file0"},{"photo_id":"1351862660","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351862701":["hashtag1","hashtag2"]},{"1351862586":["hashtag1","hashtag2"]},{"1351862634":["hashtag1","hashtag2"]},{"1351862660":["hashtag1","hashtag2"]},{"1351862546":["hashtag1","hashtag2"]},{"1351862753":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351862701, 1351862586, 1351862634, 1351862660, 1351862546, 1351862753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91345167160034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:01:32.718575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/32/image_19042025_11_33_07_10358.jpg', '/home/pi/Desktop/images/19042025/11/33/image_19042025_11_33_17_10390.jpg', '/home/pi/Desktop/images/19042025/11/33/image_19042025_11_33_26_9348.jpg', '/home/pi/Desktop/images/19042025/11/33/image_19042025_11_33_37_10369.jpg', '/home/pi/Desktop/images/19042025/11/33/image_19042025_11_33_47_10438.jpg', '/home/pi/Desktop/images/19042025/11/33/image_19042025_11_34_07_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/32/image_19042025_11_33_07_10358.jpg
/home/pi/Desktop/images/19042025/11/33/image_19042025_11_33_17_10390.jpg
/home/pi/Desktop/images/19042025/11/33/image_19042025_11_33_26_9348.jpg
/home/pi/Desktop/images/19042025/11/33/image_19042025_11_33_37_10369.jpg
/home/pi/Desktop/images/19042025/11/33/image_19042025_11_33_47_10438.jpg
/home/pi/Desktop/images/19042025/11/33/image_19042025_11_34_07_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":["1351862900","1351862967","1351862931","1351862897","1351863020","1351863070"],"photo_ids_order":["1351862897","1351862900","1351862931","1351862967","1351863020","1351863070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f011a6f26b772b18755655af06cdb303.jpg","text":"TemporaryFile(/tmp/multipartBody8969281471578536218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067753263,"filename":"image_19042025_11_33_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/19/ab1a134da9adb1af13bc393ee70bfaf2.jpg","text":"TemporaryFile(/tmp/multipartBody5217050084027279095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067753263,"filename":"image_19042025_11_33_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/19/f988bc8056585ca99458bd523f3d55c7.jpg","text":"TemporaryFile(/tmp/multipartBody1207603682975131016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067753263,"filename":"image_19042025_11_33_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/19/d334652534303c2e2bd28c9e235f176f.jpg","text":"TemporaryFile(/tmp/multipartBody4797813648878117840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067753263,"filename":"image_19042025_11_33_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/19/7496f00b7988250572ece5f68f5874cf.jpg","text":"TemporaryFile(/tmp/multipartBody7720967202289355178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067753263,"filename":"image_19042025_11_33_47_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/19/e78629c86c797cdd5719b3565fbfbc75.jpg","text":"TemporaryFile(/tmp/multipartBody2819156697326375796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067753263,"filename":"image_19042025_11_34_07_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351862931","file1":"1351862900","file0":"1351862897","file4":"1351863020","file5":"1351863070","file3":"1351862967"},"map_files_photo_id_array":[{"photo_id":"1351863070","filename":"file5"},{"photo_id":"1351862931","filename":"file2"},{"photo_id":"1351863020","filename":"file4"},{"photo_id":"1351862900","filename":"file1"},{"photo_id":"1351862897","filename":"file0"},{"photo_id":"1351862967","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351862900":["hashtag1","hashtag2"]},{"1351862967":["hashtag1","hashtag2"]},{"1351862931":["hashtag1","hashtag2"]},{"1351862897":["hashtag1","hashtag2"]},{"1351863020":["hashtag1","hashtag2"]},{"1351863070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351862900, 1351862967, 1351862931, 1351862897, 1351863020, 1351863070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.902045488357544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:02:32.986200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_16_9360.jpg', '/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_27_10574.jpg', '/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_36_9291.jpg', '/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_47_10356.jpg', '/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_57_10435.jpg', '/home/pi/Desktop/images/19042025/11/34/image_19042025_11_35_06_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_16_9360.jpg
/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_27_10574.jpg
/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_36_9291.jpg
/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_47_10356.jpg
/home/pi/Desktop/images/19042025/11/34/image_19042025_11_34_57_10435.jpg
/home/pi/Desktop/images/19042025/11/34/image_19042025_11_35_06_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351864143","1351863945","1351863893","1351864285","1351864004","1351863758"],"photo_ids_order":["1351863758","1351863893","1351863945","1351864004","1351864143","1351864285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d388aeaadbff3796010dd6ee11199afc.jpg","text":"TemporaryFile(/tmp/multipartBody1062674515765247237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067813541,"filename":"image_19042025_11_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/19/b22b2c6087245e1211ca5332b73f4d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4352635283210443741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067813541,"filename":"image_19042025_11_34_36_9291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3f7284e500f7f6b5070f0b05e7ab83ad.jpg","text":"TemporaryFile(/tmp/multipartBody6626435889168344587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067813541,"filename":"image_19042025_11_34_27_10574.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e745b77af934d118d7008a8624f630f.jpg","text":"TemporaryFile(/tmp/multipartBody1661027684531809442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067813541,"filename":"image_19042025_11_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/19/5eca19cc82eb12fba9fe41bd0e722b57.jpg","text":"TemporaryFile(/tmp/multipartBody5683564549498133772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067813541,"filename":"image_19042025_11_34_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/19/d9db451f6c9a0368720ea4477e9203e1.jpg","text":"TemporaryFile(/tmp/multipartBody2356316679983274069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067813541,"filename":"image_19042025_11_34_16_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351863945","file1":"1351863893","file0":"1351863758","file4":"1351864143","file5":"1351864285","file3":"1351864004"},"map_files_photo_id_array":[{"photo_id":"1351864285","filename":"file5"},{"photo_id":"1351863945","filename":"file2"},{"photo_id":"1351864143","filename":"file4"},{"photo_id":"1351863893","filename":"file1"},{"photo_id":"1351863758","filename":"file0"},{"photo_id":"1351864004","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351864143":["hashtag1","hashtag2"]},{"1351863945":["hashtag1","hashtag2"]},{"1351863893":["hashtag1","hashtag2"]},{"1351864285":["hashtag1","hashtag2"]},{"1351864004":["hashtag1","hashtag2"]},{"1351863758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351864143, 1351863945, 1351863893, 1351864285, 1351864004, 1351863758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.96310782432556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:03:32.212239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_17_10336.jpg', '/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_27_10371.jpg', '/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_36_9445.jpg', '/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_47_10503.jpg', '/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_56_9406.jpg', '/home/pi/Desktop/images/19042025/11/35/image_19042025_11_36_07_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_17_10336.jpg
/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_27_10371.jpg
/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_36_9445.jpg
/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_47_10503.jpg
/home/pi/Desktop/images/19042025/11/35/image_19042025_11_35_56_9406.jpg
/home/pi/Desktop/images/19042025/11/35/image_19042025_11_36_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":["1351864617","1351864595","1351864583","1351864493","1351864646","1351864471"],"photo_ids_order":["1351864471","1351864493","1351864583","1351864595","1351864617","1351864646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a85320d8360ec70db8bcc88da31c792b.jpg","text":"TemporaryFile(/tmp/multipartBody2419271546832944593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067872755,"filename":"image_19042025_11_35_56_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/19/2d90944d3d2dece7a5037ea3335f09a8.jpg","text":"TemporaryFile(/tmp/multipartBody4712819155097732929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067872755,"filename":"image_19042025_11_35_47_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/19/e439eb0046701b8baf54d80ad86a9667.jpg","text":"TemporaryFile(/tmp/multipartBody5772410503536702286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067872755,"filename":"image_19042025_11_35_36_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/58dc77658193a12cb85220b84eb0bbb0.jpg","text":"TemporaryFile(/tmp/multipartBody1648092264036187842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067872755,"filename":"image_19042025_11_35_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/19/56ffc55a02c8a49253902894f83468c3.jpg","text":"TemporaryFile(/tmp/multipartBody7880946348737711079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067872755,"filename":"image_19042025_11_36_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2dc55bc5598c2d0f58a9997e5dafcf61.jpg","text":"TemporaryFile(/tmp/multipartBody1270578568984101108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067872755,"filename":"image_19042025_11_35_17_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351864583","file1":"1351864493","file0":"1351864471","file4":"1351864617","file5":"1351864646","file3":"1351864595"},"map_files_photo_id_array":[{"photo_id":"1351864646","filename":"file5"},{"photo_id":"1351864583","filename":"file2"},{"photo_id":"1351864617","filename":"file4"},{"photo_id":"1351864493","filename":"file1"},{"photo_id":"1351864471","filename":"file0"},{"photo_id":"1351864595","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351864617":["hashtag1","hashtag2"]},{"1351864595":["hashtag1","hashtag2"]},{"1351864583":["hashtag1","hashtag2"]},{"1351864493":["hashtag1","hashtag2"]},{"1351864646":["hashtag1","hashtag2"]},{"1351864471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351864617, 1351864595, 1351864583, 1351864493, 1351864646, 1351864471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.9244122505188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:04:32.529385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_16_9430.jpg', '/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_27_10383.jpg', '/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_37_10382.jpg', '/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_46_9441.jpg', '/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_57_10363.jpg', '/home/pi/Desktop/images/19042025/11/36/image_19042025_11_37_06_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_16_9430.jpg
/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_27_10383.jpg
/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_37_10382.jpg
/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_46_9441.jpg
/home/pi/Desktop/images/19042025/11/36/image_19042025_11_36_57_10363.jpg
/home/pi/Desktop/images/19042025/11/36/image_19042025_11_37_06_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351865049","1351865229","1351865105","1351865191","1351865140","1351865076"],"photo_ids_order":["1351865049","1351865076","1351865105","1351865140","1351865191","1351865229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a74c23a965638bd02aefd0b95d50a51a.jpg","text":"TemporaryFile(/tmp/multipartBody7417385965299448763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067933057,"filename":"image_19042025_11_36_16_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef9854621779f6d3822d067241792c1b.jpg","text":"TemporaryFile(/tmp/multipartBody1669960930990820265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067933057,"filename":"image_19042025_11_37_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/19/c86952085ecfe662f626a43364862330.jpg","text":"TemporaryFile(/tmp/multipartBody977302678202171535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067933057,"filename":"image_19042025_11_36_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/423219abb07bbf7451fc4b09cd3f7c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7680689404423674095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067933057,"filename":"image_19042025_11_36_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/19/75956dadf2ecd7171a73d1b7bdcc36c9.jpg","text":"TemporaryFile(/tmp/multipartBody5090233108202666299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067933057,"filename":"image_19042025_11_36_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/19/d055dfd4721e4163684e830d6638439e.jpg","text":"TemporaryFile(/tmp/multipartBody822661662790915469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067933057,"filename":"image_19042025_11_36_27_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351865105","file1":"1351865076","file0":"1351865049","file4":"1351865191","file5":"1351865229","file3":"1351865140"},"map_files_photo_id_array":[{"photo_id":"1351865229","filename":"file5"},{"photo_id":"1351865105","filename":"file2"},{"photo_id":"1351865191","filename":"file4"},{"photo_id":"1351865076","filename":"file1"},{"photo_id":"1351865049","filename":"file0"},{"photo_id":"1351865140","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351865049":["hashtag1","hashtag2"]},{"1351865229":["hashtag1","hashtag2"]},{"1351865105":["hashtag1","hashtag2"]},{"1351865191":["hashtag1","hashtag2"]},{"1351865140":["hashtag1","hashtag2"]},{"1351865076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351865049, 1351865229, 1351865105, 1351865191, 1351865140, 1351865076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.741619110107422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:05:32.709807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/37/image_19042025_11_37_36_9350.jpg', '/home/pi/Desktop/images/19042025/11/37/image_19042025_11_37_47_10358.jpg', '/home/pi/Desktop/images/19042025/11/37/image_19042025_11_37_56_9409.jpg', '/home/pi/Desktop/images/19042025/11/37/image_19042025_11_38_06_10358.jpg', '/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_17_10442.jpg', '/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_26_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/37/image_19042025_11_37_36_9350.jpg
/home/pi/Desktop/images/19042025/11/37/image_19042025_11_37_47_10358.jpg
/home/pi/Desktop/images/19042025/11/37/image_19042025_11_37_56_9409.jpg
/home/pi/Desktop/images/19042025/11/37/image_19042025_11_38_06_10358.jpg
/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_17_10442.jpg
/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_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":["1351865798","1351865696","1351865567","1351865747","1351865593","1351865641"],"photo_ids_order":["1351865567","1351865593","1351865641","1351865696","1351865747","1351865798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/30365aac54e5e227b7ced746168c00a7.jpg","text":"TemporaryFile(/tmp/multipartBody3696495380748286285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067993247,"filename":"image_19042025_11_38_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/19/354b638f16bbdaca51b2976b2030787e.jpg","text":"TemporaryFile(/tmp/multipartBody6136746249865785501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067993247,"filename":"image_19042025_11_38_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/19/3af0819e001ad398fe4004bda5e51200.jpg","text":"TemporaryFile(/tmp/multipartBody1928877599892073451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067993247,"filename":"image_19042025_11_37_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/19/9fd112ccdccf77ffcdbcfcd99a8831bc.jpg","text":"TemporaryFile(/tmp/multipartBody6459484068101925609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067993247,"filename":"image_19042025_11_38_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/19/311920efd90d2838081522d5228011ca.jpg","text":"TemporaryFile(/tmp/multipartBody3880164591471250952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067993247,"filename":"image_19042025_11_37_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/19/3d1e4d95a12f7dc8848ffd8db2855dab.jpg","text":"TemporaryFile(/tmp/multipartBody2419858066428039705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745067993247,"filename":"image_19042025_11_37_56_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351865641","file1":"1351865593","file0":"1351865567","file4":"1351865747","file5":"1351865798","file3":"1351865696"},"map_files_photo_id_array":[{"photo_id":"1351865798","filename":"file5"},{"photo_id":"1351865641","filename":"file2"},{"photo_id":"1351865747","filename":"file4"},{"photo_id":"1351865593","filename":"file1"},{"photo_id":"1351865567","filename":"file0"},{"photo_id":"1351865696","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351865798":["hashtag1","hashtag2"]},{"1351865696":["hashtag1","hashtag2"]},{"1351865567":["hashtag1","hashtag2"]},{"1351865747":["hashtag1","hashtag2"]},{"1351865593":["hashtag1","hashtag2"]},{"1351865641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351865798, 1351865696, 1351865567, 1351865747, 1351865593, 1351865641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95235204696655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:06:32.884712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_37_10385.jpg', '/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_47_10369.jpg', '/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_56_9369.jpg', '/home/pi/Desktop/images/19042025/11/38/image_19042025_11_39_07_10362.jpg', '/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_16_9463.jpg', '/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_27_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_37_10385.jpg
/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_47_10369.jpg
/home/pi/Desktop/images/19042025/11/38/image_19042025_11_38_56_9369.jpg
/home/pi/Desktop/images/19042025/11/38/image_19042025_11_39_07_10362.jpg
/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_16_9463.jpg
/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_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":["1351866329","1351866289","1351866523","1351866390","1351866261","1351866441"],"photo_ids_order":["1351866261","1351866289","1351866329","1351866390","1351866441","1351866523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b84f0d0d5c328f1f709e046f2e9b4bf3.jpg","text":"TemporaryFile(/tmp/multipartBody9061596232846109398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068053416,"filename":"image_19042025_11_38_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/19/7c4c8b470020fcd7db3801e41d6648cb.jpg","text":"TemporaryFile(/tmp/multipartBody6147854680772986908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068053416,"filename":"image_19042025_11_38_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/19/9d4c401b1a4d1c470f250be60b36e00a.jpg","text":"TemporaryFile(/tmp/multipartBody4284605646072651403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068053416,"filename":"image_19042025_11_39_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/19/dc358e53aa7f05dc7b3f2ddee0fc4fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6404236108980239004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068053416,"filename":"image_19042025_11_39_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/19/84580bd801cd9db0d6aa5f4ab4c6d9ab.jpg","text":"TemporaryFile(/tmp/multipartBody8837437896239869068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068053416,"filename":"image_19042025_11_38_37_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a9ab6288783c69a798b623664fc3d00.jpg","text":"TemporaryFile(/tmp/multipartBody6822738319004976910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068053416,"filename":"image_19042025_11_39_16_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351866329","file1":"1351866289","file0":"1351866261","file4":"1351866441","file5":"1351866523","file3":"1351866390"},"map_files_photo_id_array":[{"photo_id":"1351866523","filename":"file5"},{"photo_id":"1351866329","filename":"file2"},{"photo_id":"1351866441","filename":"file4"},{"photo_id":"1351866289","filename":"file1"},{"photo_id":"1351866261","filename":"file0"},{"photo_id":"1351866390","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351866329":["hashtag1","hashtag2"]},{"1351866289":["hashtag1","hashtag2"]},{"1351866523":["hashtag1","hashtag2"]},{"1351866390":["hashtag1","hashtag2"]},{"1351866261":["hashtag1","hashtag2"]},{"1351866441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351866329, 1351866289, 1351866523, 1351866390, 1351866261, 1351866441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.748628854751587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:07:33.104572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_37_10353.jpg', '/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_46_9381.jpg', '/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_57_10516.jpg', '/home/pi/Desktop/images/19042025/11/39/image_19042025_11_40_06_9364.jpg', '/home/pi/Desktop/images/19042025/11/40/image_19042025_11_40_17_10349.jpg', '/home/pi/Desktop/images/19042025/11/40/image_19042025_11_40_47_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_37_10353.jpg
/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_46_9381.jpg
/home/pi/Desktop/images/19042025/11/39/image_19042025_11_39_57_10516.jpg
/home/pi/Desktop/images/19042025/11/39/image_19042025_11_40_06_9364.jpg
/home/pi/Desktop/images/19042025/11/40/image_19042025_11_40_17_10349.jpg
/home/pi/Desktop/images/19042025/11/40/image_19042025_11_40_47_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":["1351867372","1351867429","1351867386","1351867303","1351867405","1351867274"],"photo_ids_order":["1351867274","1351867303","1351867372","1351867386","1351867405","1351867429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cac5c34b45577a5359fde063f316a05.jpg","text":"TemporaryFile(/tmp/multipartBody1597349391680485930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068113629,"filename":"image_19042025_11_39_57_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/19/4a41567529bb7a2f0816820e9a1c8862.jpg","text":"TemporaryFile(/tmp/multipartBody3449314673499954282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068113629,"filename":"image_19042025_11_40_47_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b39c3fa88cdc90d05d9f479d667ff9e.jpg","text":"TemporaryFile(/tmp/multipartBody1212529304433519545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068113629,"filename":"image_19042025_11_40_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/19/f029841ba5d699bcfdbc6ba13fa1aaee.jpg","text":"TemporaryFile(/tmp/multipartBody1560332857427096694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068113629,"filename":"image_19042025_11_39_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/19/1a48dfadcb4968034c1299c3a7fa5376.jpg","text":"TemporaryFile(/tmp/multipartBody3710562059669272454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068113629,"filename":"image_19042025_11_40_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9192065b742855613dc926fdccb92c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1929375545393333616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068113629,"filename":"image_19042025_11_39_37_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351867372","file1":"1351867303","file0":"1351867274","file4":"1351867405","file5":"1351867429","file3":"1351867386"},"map_files_photo_id_array":[{"photo_id":"1351867429","filename":"file5"},{"photo_id":"1351867372","filename":"file2"},{"photo_id":"1351867405","filename":"file4"},{"photo_id":"1351867303","filename":"file1"},{"photo_id":"1351867274","filename":"file0"},{"photo_id":"1351867386","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351867372":["hashtag1","hashtag2"]},{"1351867429":["hashtag1","hashtag2"]},{"1351867386":["hashtag1","hashtag2"]},{"1351867303":["hashtag1","hashtag2"]},{"1351867405":["hashtag1","hashtag2"]},{"1351867274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351867372, 1351867429, 1351867386, 1351867303, 1351867405, 1351867274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33807158470154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:08:32.426669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/40/image_19042025_11_40_56_9392.jpg', '/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_17_10470.jpg', '/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_26_9357.jpg', '/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_37_10441.jpg', '/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_46_9372.jpg', '/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_57_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/40/image_19042025_11_40_56_9392.jpg
/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_17_10470.jpg
/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_26_9357.jpg
/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_37_10441.jpg
/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_46_9372.jpg
/home/pi/Desktop/images/19042025/11/41/image_19042025_11_41_57_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":["1351867561","1351867564","1351867621","1351867641","1351867557","1351867580"],"photo_ids_order":["1351867557","1351867561","1351867564","1351867580","1351867621","1351867641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7114dad87913d0bb25f7947343ed1e01.jpg","text":"TemporaryFile(/tmp/multipartBody924564518546791881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068172938,"filename":"image_19042025_11_41_17_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/19/e5c85df5902bbb04d7c48b25664ee3da.jpg","text":"TemporaryFile(/tmp/multipartBody7023022003155414746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068172938,"filename":"image_19042025_11_41_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/19/8024d93eebae8a609bccc5557c869b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2941239098355942842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068172938,"filename":"image_19042025_11_41_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/19/02385836bd793a30661203c389709132.jpg","text":"TemporaryFile(/tmp/multipartBody3981910352484570594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068172938,"filename":"image_19042025_11_41_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f3baa98b6174806c43fcbab3fd13a96b.jpg","text":"TemporaryFile(/tmp/multipartBody8860881367683865947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068172938,"filename":"image_19042025_11_40_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/19/400e07eb099af5b4ee92b334dbed91f6.jpg","text":"TemporaryFile(/tmp/multipartBody2528903271387326608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068172938,"filename":"image_19042025_11_41_37_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351867564","file1":"1351867561","file0":"1351867557","file4":"1351867621","file5":"1351867641","file3":"1351867580"},"map_files_photo_id_array":[{"photo_id":"1351867641","filename":"file5"},{"photo_id":"1351867564","filename":"file2"},{"photo_id":"1351867621","filename":"file4"},{"photo_id":"1351867561","filename":"file1"},{"photo_id":"1351867557","filename":"file0"},{"photo_id":"1351867580","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351867561":["hashtag1","hashtag2"]},{"1351867564":["hashtag1","hashtag2"]},{"1351867621":["hashtag1","hashtag2"]},{"1351867641":["hashtag1","hashtag2"]},{"1351867557":["hashtag1","hashtag2"]},{"1351867580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351867561, 1351867564, 1351867621, 1351867641, 1351867557, 1351867580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.159287214279175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:09:32.704338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/41/image_19042025_11_42_07_10396.jpg', '/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_16_9349.jpg', '/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_47_10373.jpg', '/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_57_10434.jpg', '/home/pi/Desktop/images/19042025/11/42/image_19042025_11_43_06_9410.jpg', '/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_17_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/41/image_19042025_11_42_07_10396.jpg
/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_16_9349.jpg
/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_47_10373.jpg
/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_57_10434.jpg
/home/pi/Desktop/images/19042025/11/42/image_19042025_11_43_06_9410.jpg
/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_17_10479.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45873022079467773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 15:09:42.644967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/41/image_19042025_11_42_07_10396.jpg', '/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_16_9349.jpg', '/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_47_10373.jpg', '/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_57_10434.jpg', '/home/pi/Desktop/images/19042025/11/42/image_19042025_11_43_06_9410.jpg', '/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_17_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/41/image_19042025_11_42_07_10396.jpg
/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_16_9349.jpg
/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_47_10373.jpg
/home/pi/Desktop/images/19042025/11/42/image_19042025_11_42_57_10434.jpg
/home/pi/Desktop/images/19042025/11/42/image_19042025_11_43_06_9410.jpg
/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_17_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351867756","1351867807","1351867863","1351867767","1351867734","1351867716"],"photo_ids_order":["1351867716","1351867734","1351867756","1351867767","1351867807","1351867863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac5c65b677e90b367f2a87da7a4d947c.jpg","text":"TemporaryFile(/tmp/multipartBody5099655808953620430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068243119,"filename":"image_19042025_11_42_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/19/cbee7e9703fa6eea6d3e0204a5d32f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3918383377283453054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068243119,"filename":"image_19042025_11_43_06_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/19/0388c07b4803e7ae1b99738c9a1ee327.jpg","text":"TemporaryFile(/tmp/multipartBody5816635479821653375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068243119,"filename":"image_19042025_11_43_17_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/19/a05bd852203b488d70b375307db6f91c.jpg","text":"TemporaryFile(/tmp/multipartBody6433690406411769105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068243119,"filename":"image_19042025_11_42_57_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ecca5b68c6eaad0ff6122d1ae6765153.jpg","text":"TemporaryFile(/tmp/multipartBody6712662782702643453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068243119,"filename":"image_19042025_11_42_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/19/e5524ba129b522d4e3d7e4489596ba5a.jpg","text":"TemporaryFile(/tmp/multipartBody1827452520670001098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068243119,"filename":"image_19042025_11_42_07_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351867756","file1":"1351867734","file0":"1351867716","file4":"1351867807","file5":"1351867863","file3":"1351867767"},"map_files_photo_id_array":[{"photo_id":"1351867863","filename":"file5"},{"photo_id":"1351867756","filename":"file2"},{"photo_id":"1351867807","filename":"file4"},{"photo_id":"1351867734","filename":"file1"},{"photo_id":"1351867716","filename":"file0"},{"photo_id":"1351867767","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351867756":["hashtag1","hashtag2"]},{"1351867807":["hashtag1","hashtag2"]},{"1351867863":["hashtag1","hashtag2"]},{"1351867767":["hashtag1","hashtag2"]},{"1351867734":["hashtag1","hashtag2"]},{"1351867716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351867756, 1351867807, 1351867863, 1351867767, 1351867734, 1351867716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.967463970184326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:10:32.819559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_26_9389.jpg', '/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_37_10354.jpg', '/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_46_9416.jpg', '/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_57_10387.jpg', '/home/pi/Desktop/images/19042025/11/43/image_19042025_11_44_07_10413.jpg', '/home/pi/Desktop/images/19042025/11/44/image_19042025_11_44_16_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_26_9389.jpg
/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_37_10354.jpg
/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_46_9416.jpg
/home/pi/Desktop/images/19042025/11/43/image_19042025_11_43_57_10387.jpg
/home/pi/Desktop/images/19042025/11/43/image_19042025_11_44_07_10413.jpg
/home/pi/Desktop/images/19042025/11/44/image_19042025_11_44_16_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":["1351868239","1351868382","1351868283","1351868490","1351868334","1351868436"],"photo_ids_order":["1351868239","1351868283","1351868334","1351868382","1351868436","1351868490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a6abd57d267c2dfca8912f1fe6f4833.jpg","text":"TemporaryFile(/tmp/multipartBody1658356575934058410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068293346,"filename":"image_19042025_11_43_26_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e8c8e3f00bee373e4dcc5bf4ca80832b.jpg","text":"TemporaryFile(/tmp/multipartBody9222093880815348560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068293346,"filename":"image_19042025_11_43_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/19/76e1f22582bafb5f3038c1733494d56d.jpg","text":"TemporaryFile(/tmp/multipartBody692503101015867883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068293346,"filename":"image_19042025_11_43_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/19/30c5a27916bad4c01aceecf178aa7b36.jpg","text":"TemporaryFile(/tmp/multipartBody1131956275229175440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068293346,"filename":"image_19042025_11_44_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/19/71a044bce54b5446d290daa4a9f05da9.jpg","text":"TemporaryFile(/tmp/multipartBody6073998634362691047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068293346,"filename":"image_19042025_11_43_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/19/56e2e7f26b3dbe7c0508931309f1069b.jpg","text":"TemporaryFile(/tmp/multipartBody5426690932951837720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068293346,"filename":"image_19042025_11_44_07_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351868334","file1":"1351868283","file0":"1351868239","file4":"1351868436","file5":"1351868490","file3":"1351868382"},"map_files_photo_id_array":[{"photo_id":"1351868490","filename":"file5"},{"photo_id":"1351868334","filename":"file2"},{"photo_id":"1351868436","filename":"file4"},{"photo_id":"1351868283","filename":"file1"},{"photo_id":"1351868239","filename":"file0"},{"photo_id":"1351868382","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351868239":["hashtag1","hashtag2"]},{"1351868382":["hashtag1","hashtag2"]},{"1351868283":["hashtag1","hashtag2"]},{"1351868490":["hashtag1","hashtag2"]},{"1351868334":["hashtag1","hashtag2"]},{"1351868436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351868239, 1351868382, 1351868283, 1351868490, 1351868334, 1351868436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.823110103607178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:11:33.137271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/44/image_19042025_11_44_27_10369.jpg', '/home/pi/Desktop/images/19042025/11/44/image_19042025_11_44_37_10359.jpg', '/home/pi/Desktop/images/19042025/11/44/image_19042025_11_44_57_10367.jpg', '/home/pi/Desktop/images/19042025/11/44/image_19042025_11_45_06_9408.jpg', '/home/pi/Desktop/images/19042025/11/45/image_19042025_11_45_16_10353.jpg', '/home/pi/Desktop/images/19042025/11/45/image_19042025_11_45_27_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/44/image_19042025_11_44_27_10369.jpg
/home/pi/Desktop/images/19042025/11/44/image_19042025_11_44_37_10359.jpg
/home/pi/Desktop/images/19042025/11/44/image_19042025_11_44_57_10367.jpg
/home/pi/Desktop/images/19042025/11/44/image_19042025_11_45_06_9408.jpg
/home/pi/Desktop/images/19042025/11/45/image_19042025_11_45_16_10353.jpg
/home/pi/Desktop/images/19042025/11/45/image_19042025_11_45_27_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":["1351868851","1351868911","1351868923","1351868874","1351868916","1351868936"],"photo_ids_order":["1351868851","1351868874","1351868911","1351868916","1351868923","1351868936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e3f608a74c4e24ecb1953c3390d7921.jpg","text":"TemporaryFile(/tmp/multipartBody5570071185236209822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068353679,"filename":"image_19042025_11_44_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/19/02cf7726562ac583456057475b3764df.jpg","text":"TemporaryFile(/tmp/multipartBody8565901621683668953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068353679,"filename":"image_19042025_11_44_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/19/2db1f6586e6c2eb07d0c526cc3268e35.jpg","text":"TemporaryFile(/tmp/multipartBody6999126575866030801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068353679,"filename":"image_19042025_11_45_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/19/65caae214a9f071e182ff6724b325921.jpg","text":"TemporaryFile(/tmp/multipartBody7670480315529036218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068353679,"filename":"image_19042025_11_44_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/19/34dd5110ff530a50b227af16f3d415e6.jpg","text":"TemporaryFile(/tmp/multipartBody2830957996771129628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068353679,"filename":"image_19042025_11_45_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/19/fd2a89277337d878e46ba1e2b09172a0.jpg","text":"TemporaryFile(/tmp/multipartBody4372465498785131127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068353679,"filename":"image_19042025_11_45_27_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351868911","file1":"1351868874","file0":"1351868851","file4":"1351868923","file5":"1351868936","file3":"1351868916"},"map_files_photo_id_array":[{"photo_id":"1351868936","filename":"file5"},{"photo_id":"1351868911","filename":"file2"},{"photo_id":"1351868923","filename":"file4"},{"photo_id":"1351868874","filename":"file1"},{"photo_id":"1351868851","filename":"file0"},{"photo_id":"1351868916","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351868851":["hashtag1","hashtag2"]},{"1351868911":["hashtag1","hashtag2"]},{"1351868923":["hashtag1","hashtag2"]},{"1351868874":["hashtag1","hashtag2"]},{"1351868916":["hashtag1","hashtag2"]},{"1351868936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351868851, 1351868911, 1351868923, 1351868874, 1351868916, 1351868936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.702146768569946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:12:32.383148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/45/image_19042025_11_45_36_9372.jpg', '/home/pi/Desktop/images/19042025/11/45/image_19042025_11_45_47_10374.jpg', '/home/pi/Desktop/images/19042025/11/45/image_19042025_11_46_06_10358.jpg', '/home/pi/Desktop/images/19042025/11/46/image_19042025_11_46_26_9365.jpg', '/home/pi/Desktop/images/19042025/11/46/image_19042025_11_46_37_10355.jpg', '/home/pi/Desktop/images/19042025/11/46/image_19042025_11_46_47_10490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/45/image_19042025_11_45_36_9372.jpg
/home/pi/Desktop/images/19042025/11/45/image_19042025_11_45_47_10374.jpg
/home/pi/Desktop/images/19042025/11/45/image_19042025_11_46_06_10358.jpg
/home/pi/Desktop/images/19042025/11/46/image_19042025_11_46_26_9365.jpg
/home/pi/Desktop/images/19042025/11/46/image_19042025_11_46_37_10355.jpg
/home/pi/Desktop/images/19042025/11/46/image_19042025_11_46_47_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351869276","1351869192","1351869150","1351869332","1351869308","1351869229"],"photo_ids_order":["1351869150","1351869192","1351869229","1351869276","1351869308","1351869332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5712c5fee2e73713769d550900066de0.jpg","text":"TemporaryFile(/tmp/multipartBody4221986293466404602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068412898,"filename":"image_19042025_11_46_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/19/c6a7a70a8422d39dfc58cc342fecb419.jpg","text":"TemporaryFile(/tmp/multipartBody273403639861430271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068412898,"filename":"image_19042025_11_45_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/19/ff804f622c36eaaaeff13d08e90478ca.jpg","text":"TemporaryFile(/tmp/multipartBody2099699244282698144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068412898,"filename":"image_19042025_11_45_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/19/ba94bee7c425a8520ec44cadbb5e7f69.jpg","text":"TemporaryFile(/tmp/multipartBody729046512198117347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068412898,"filename":"image_19042025_11_46_47_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9d7f72fcbf08190059698861e59973d2.jpg","text":"TemporaryFile(/tmp/multipartBody4547079265570192747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068412898,"filename":"image_19042025_11_46_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/19/05a9ab1fb74999664abbdd458a4dc209.jpg","text":"TemporaryFile(/tmp/multipartBody1717298636732666061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068412898,"filename":"image_19042025_11_46_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351869229","file1":"1351869192","file0":"1351869150","file4":"1351869308","file5":"1351869332","file3":"1351869276"},"map_files_photo_id_array":[{"photo_id":"1351869332","filename":"file5"},{"photo_id":"1351869229","filename":"file2"},{"photo_id":"1351869308","filename":"file4"},{"photo_id":"1351869192","filename":"file1"},{"photo_id":"1351869150","filename":"file0"},{"photo_id":"1351869276","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351869276":["hashtag1","hashtag2"]},{"1351869192":["hashtag1","hashtag2"]},{"1351869150":["hashtag1","hashtag2"]},{"1351869332":["hashtag1","hashtag2"]},{"1351869308":["hashtag1","hashtag2"]},{"1351869229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351869276, 1351869192, 1351869150, 1351869332, 1351869308, 1351869229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.858506679534912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:13:32.722911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/46/image_19042025_11_47_07_10502.jpg', '/home/pi/Desktop/images/19042025/11/47/image_19042025_11_47_16_9354.jpg', '/home/pi/Desktop/images/19042025/11/47/image_19042025_11_47_27_10367.jpg', '/home/pi/Desktop/images/19042025/11/47/image_19042025_11_47_36_9472.jpg', '/home/pi/Desktop/images/19042025/11/47/image_19042025_11_47_47_10484.jpg', '/home/pi/Desktop/images/19042025/11/48/image_19042025_11_48_17_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/46/image_19042025_11_47_07_10502.jpg
/home/pi/Desktop/images/19042025/11/47/image_19042025_11_47_16_9354.jpg
/home/pi/Desktop/images/19042025/11/47/image_19042025_11_47_27_10367.jpg
/home/pi/Desktop/images/19042025/11/47/image_19042025_11_47_36_9472.jpg
/home/pi/Desktop/images/19042025/11/47/image_19042025_11_47_47_10484.jpg
/home/pi/Desktop/images/19042025/11/48/image_19042025_11_48_17_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351869535","1351869693","1351869782","1351869599","1351869641","1351869743"],"photo_ids_order":["1351869535","1351869599","1351869641","1351869693","1351869743","1351869782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5b161a3a2aafcce5ca2b4840f5aa71d1.jpg","text":"TemporaryFile(/tmp/multipartBody46021534002756067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068473253,"filename":"image_19042025_11_47_07_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/19/3ca22607f2ed6955aaa9f428c45f879d.jpg","text":"TemporaryFile(/tmp/multipartBody2785584359488485246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068473253,"filename":"image_19042025_11_47_36_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e80c79215c9245bcbed3973fb8dc007.jpg","text":"TemporaryFile(/tmp/multipartBody3309995907548053967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068473253,"filename":"image_19042025_11_48_17_10536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/876fde8ab71c9e2f7cbaf89e823b51f4.jpg","text":"TemporaryFile(/tmp/multipartBody3746300625128705766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068473253,"filename":"image_19042025_11_47_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/19/86dc5fa6f7824d31e4c288b3b2dd3b64.jpg","text":"TemporaryFile(/tmp/multipartBody3429669755262978398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068473253,"filename":"image_19042025_11_47_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/19/1fab6eb4a5fc13bbaf91d9a97b4651e3.jpg","text":"TemporaryFile(/tmp/multipartBody3075895887380470901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068473253,"filename":"image_19042025_11_47_47_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351869641","file1":"1351869599","file0":"1351869535","file4":"1351869743","file5":"1351869782","file3":"1351869693"},"map_files_photo_id_array":[{"photo_id":"1351869782","filename":"file5"},{"photo_id":"1351869641","filename":"file2"},{"photo_id":"1351869743","filename":"file4"},{"photo_id":"1351869599","filename":"file1"},{"photo_id":"1351869535","filename":"file0"},{"photo_id":"1351869693","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351869535":["hashtag1","hashtag2"]},{"1351869693":["hashtag1","hashtag2"]},{"1351869782":["hashtag1","hashtag2"]},{"1351869599":["hashtag1","hashtag2"]},{"1351869641":["hashtag1","hashtag2"]},{"1351869743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351869535, 1351869693, 1351869782, 1351869599, 1351869641, 1351869743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.811532735824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:14:32.796045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/48/image_19042025_11_48_26_9364.jpg', '/home/pi/Desktop/images/19042025/11/48/image_19042025_11_48_46_9369.jpg', '/home/pi/Desktop/images/19042025/11/49/image_19042025_11_49_27_10395.jpg', '/home/pi/Desktop/images/19042025/11/49/image_19042025_11_49_37_10367.jpg', '/home/pi/Desktop/images/19042025/11/49/image_19042025_11_49_46_9377.jpg', '/home/pi/Desktop/images/19042025/11/49/image_19042025_11_49_57_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/48/image_19042025_11_48_26_9364.jpg
/home/pi/Desktop/images/19042025/11/48/image_19042025_11_48_46_9369.jpg
/home/pi/Desktop/images/19042025/11/49/image_19042025_11_49_27_10395.jpg
/home/pi/Desktop/images/19042025/11/49/image_19042025_11_49_37_10367.jpg
/home/pi/Desktop/images/19042025/11/49/image_19042025_11_49_46_9377.jpg
/home/pi/Desktop/images/19042025/11/49/image_19042025_11_49_57_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":["1351869826","1351869829","1351869837","1351869831","1351869896","1351869865"],"photo_ids_order":["1351869826","1351869829","1351869831","1351869837","1351869865","1351869896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6c34b8dbb4455a46ee700a1a4e651cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4423272141143674188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068533314,"filename":"image_19042025_11_48_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/19/d385fc999576921cdcaa5296ce1c7927.jpg","text":"TemporaryFile(/tmp/multipartBody7985689472976186836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068533314,"filename":"image_19042025_11_48_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/19/711e77fbdab68b982c92b464e0036b8b.jpg","text":"TemporaryFile(/tmp/multipartBody3178980633531160293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068533314,"filename":"image_19042025_11_49_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/19/db8e4eea526fca7d79bf02c597dcd86a.jpg","text":"TemporaryFile(/tmp/multipartBody8344298514334685009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068533314,"filename":"image_19042025_11_49_27_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/19/1e77c031a4c7e6e99e3e57a5a6a44578.jpg","text":"TemporaryFile(/tmp/multipartBody3106068728590003447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068533314,"filename":"image_19042025_11_49_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/19/8ed7f4bba23ee2cc2b9a8171793c3620.jpg","text":"TemporaryFile(/tmp/multipartBody3294659648285468758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068533314,"filename":"image_19042025_11_49_46_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351869831","file1":"1351869829","file0":"1351869826","file4":"1351869865","file5":"1351869896","file3":"1351869837"},"map_files_photo_id_array":[{"photo_id":"1351869896","filename":"file5"},{"photo_id":"1351869831","filename":"file2"},{"photo_id":"1351869865","filename":"file4"},{"photo_id":"1351869829","filename":"file1"},{"photo_id":"1351869826","filename":"file0"},{"photo_id":"1351869837","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351869826":["hashtag1","hashtag2"]},{"1351869829":["hashtag1","hashtag2"]},{"1351869837":["hashtag1","hashtag2"]},{"1351869831":["hashtag1","hashtag2"]},{"1351869896":["hashtag1","hashtag2"]},{"1351869865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351869826, 1351869829, 1351869837, 1351869831, 1351869896, 1351869865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11512804031372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:15:33.124723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/49/image_19042025_11_50_06_9367.jpg', '/home/pi/Desktop/images/19042025/11/50/image_19042025_11_50_27_10434.jpg', '/home/pi/Desktop/images/19042025/11/50/image_19042025_11_50_36_9348.jpg', '/home/pi/Desktop/images/19042025/11/50/image_19042025_11_50_47_10380.jpg', '/home/pi/Desktop/images/19042025/11/50/image_19042025_11_50_56_9471.jpg', '/home/pi/Desktop/images/19042025/11/50/image_19042025_11_51_07_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/49/image_19042025_11_50_06_9367.jpg
/home/pi/Desktop/images/19042025/11/50/image_19042025_11_50_27_10434.jpg
/home/pi/Desktop/images/19042025/11/50/image_19042025_11_50_36_9348.jpg
/home/pi/Desktop/images/19042025/11/50/image_19042025_11_50_47_10380.jpg
/home/pi/Desktop/images/19042025/11/50/image_19042025_11_50_56_9471.jpg
/home/pi/Desktop/images/19042025/11/50/image_19042025_11_51_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":["1351870036","1351869987","1351870044","1351870035","1351870037","1351870040"],"photo_ids_order":["1351869987","1351870035","1351870036","1351870037","1351870040","1351870044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e33e33bb1a082d9492b1466961dfb1ec.jpg","text":"TemporaryFile(/tmp/multipartBody6047481681980577544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068593650,"filename":"image_19042025_11_50_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/19/cc946dca73890609b63ea8f99ae69d8c.jpg","text":"TemporaryFile(/tmp/multipartBody8142918993056093515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068593650,"filename":"image_19042025_11_50_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/19/c75d0026d56e77ca8e8f9cf74292b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody829231659038851457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068593650,"filename":"image_19042025_11_51_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fdb2a8a847d1073882a4e02af27cec50.jpg","text":"TemporaryFile(/tmp/multipartBody2079150892467089531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068593650,"filename":"image_19042025_11_50_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/19/486cc0348ffde3fa28584210d991630a.jpg","text":"TemporaryFile(/tmp/multipartBody644917331004668841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068593650,"filename":"image_19042025_11_50_47_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c18e80d53f7d365a3ca843ecc618d164.jpg","text":"TemporaryFile(/tmp/multipartBody6460063490297073510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068593650,"filename":"image_19042025_11_50_56_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870036","file1":"1351870035","file0":"1351869987","file4":"1351870040","file5":"1351870044","file3":"1351870037"},"map_files_photo_id_array":[{"photo_id":"1351870044","filename":"file5"},{"photo_id":"1351870036","filename":"file2"},{"photo_id":"1351870040","filename":"file4"},{"photo_id":"1351870035","filename":"file1"},{"photo_id":"1351869987","filename":"file0"},{"photo_id":"1351870037","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870036":["hashtag1","hashtag2"]},{"1351869987":["hashtag1","hashtag2"]},{"1351870044":["hashtag1","hashtag2"]},{"1351870035":["hashtag1","hashtag2"]},{"1351870037":["hashtag1","hashtag2"]},{"1351870040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870036, 1351869987, 1351870044, 1351870035, 1351870037, 1351870040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.79915189743042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:16:32.269372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/51/image_19042025_11_51_17_10370.jpg', '/home/pi/Desktop/images/19042025/11/51/image_19042025_11_51_26_9395.jpg', '/home/pi/Desktop/images/19042025/11/51/image_19042025_11_51_46_9435.jpg', '/home/pi/Desktop/images/19042025/11/51/image_19042025_11_51_57_10390.jpg', '/home/pi/Desktop/images/19042025/11/51/image_19042025_11_52_07_10470.jpg', '/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_16_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/51/image_19042025_11_51_17_10370.jpg
/home/pi/Desktop/images/19042025/11/51/image_19042025_11_51_26_9395.jpg
/home/pi/Desktop/images/19042025/11/51/image_19042025_11_51_46_9435.jpg
/home/pi/Desktop/images/19042025/11/51/image_19042025_11_51_57_10390.jpg
/home/pi/Desktop/images/19042025/11/51/image_19042025_11_52_07_10470.jpg
/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_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":["1351870066","1351870075","1351870063","1351870068","1351870073","1351870070"],"photo_ids_order":["1351870063","1351870066","1351870068","1351870070","1351870073","1351870075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b0b938042319c895d0eb12b83747e74.jpg","text":"TemporaryFile(/tmp/multipartBody3416206990845669583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068652801,"filename":"image_19042025_11_51_26_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf4859f091b4cb09979154dd00d16e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2762373936691631511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068652801,"filename":"image_19042025_11_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/19/ca770e591f98542f3d2908b023741704.jpg","text":"TemporaryFile(/tmp/multipartBody1163949103590737347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068652801,"filename":"image_19042025_11_51_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/19/902d1db0e831cc6f121059bc89108d94.jpg","text":"TemporaryFile(/tmp/multipartBody130642857875594934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068652801,"filename":"image_19042025_11_51_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/19/a3d4eb69678866c9fa5f255925d25fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6713614640495507787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068652801,"filename":"image_19042025_11_52_07_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/19/aeda943b07cefbc2a46e3d8ae98f8bef.jpg","text":"TemporaryFile(/tmp/multipartBody4270926296969691248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068652801,"filename":"image_19042025_11_51_57_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870068","file1":"1351870066","file0":"1351870063","file4":"1351870073","file5":"1351870075","file3":"1351870070"},"map_files_photo_id_array":[{"photo_id":"1351870075","filename":"file5"},{"photo_id":"1351870068","filename":"file2"},{"photo_id":"1351870073","filename":"file4"},{"photo_id":"1351870066","filename":"file1"},{"photo_id":"1351870063","filename":"file0"},{"photo_id":"1351870070","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870066":["hashtag1","hashtag2"]},{"1351870075":["hashtag1","hashtag2"]},{"1351870063":["hashtag1","hashtag2"]},{"1351870068":["hashtag1","hashtag2"]},{"1351870073":["hashtag1","hashtag2"]},{"1351870070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870066, 1351870075, 1351870063, 1351870068, 1351870073, 1351870070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.800931930541992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:17:32.468688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_27_10360.jpg', '/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_37_10366.jpg', '/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_46_9367.jpg', '/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_57_10496.jpg', '/home/pi/Desktop/images/19042025/11/52/image_19042025_11_53_06_9357.jpg', '/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_17_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_27_10360.jpg
/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_37_10366.jpg
/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_46_9367.jpg
/home/pi/Desktop/images/19042025/11/52/image_19042025_11_52_57_10496.jpg
/home/pi/Desktop/images/19042025/11/52/image_19042025_11_53_06_9357.jpg
/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_17_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":["1351870192","1351870168","1351870182","1351870190","1351870187","1351870184"],"photo_ids_order":["1351870168","1351870182","1351870184","1351870187","1351870190","1351870192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ff813c753b1fde6dcc219cb8550d454.jpg","text":"TemporaryFile(/tmp/multipartBody1314568169886387360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068712991,"filename":"image_19042025_11_53_17_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/19/1c7fe1e10ab74b45d57be90115e80538.jpg","text":"TemporaryFile(/tmp/multipartBody4220282179026175264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068712991,"filename":"image_19042025_11_52_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/19/4634d90fda7906d27d6c49f06580b7e9.jpg","text":"TemporaryFile(/tmp/multipartBody4188262513059906343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068712991,"filename":"image_19042025_11_52_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/19/1d7b4cdcb6c1748881b8aa1f0ef0e6fd.jpg","text":"TemporaryFile(/tmp/multipartBody7318957110282079159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068712991,"filename":"image_19042025_11_53_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/19/cf0c4b354e8b60abad8cdecfde32a7f2.jpg","text":"TemporaryFile(/tmp/multipartBody2304331716185628561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068712991,"filename":"image_19042025_11_52_57_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/19/e3c63232c5310b25cc74d1cb29361aa0.jpg","text":"TemporaryFile(/tmp/multipartBody9013889506501937972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068712991,"filename":"image_19042025_11_52_46_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870184","file1":"1351870182","file0":"1351870168","file4":"1351870190","file5":"1351870192","file3":"1351870187"},"map_files_photo_id_array":[{"photo_id":"1351870192","filename":"file5"},{"photo_id":"1351870184","filename":"file2"},{"photo_id":"1351870190","filename":"file4"},{"photo_id":"1351870182","filename":"file1"},{"photo_id":"1351870168","filename":"file0"},{"photo_id":"1351870187","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870192":["hashtag1","hashtag2"]},{"1351870168":["hashtag1","hashtag2"]},{"1351870182":["hashtag1","hashtag2"]},{"1351870190":["hashtag1","hashtag2"]},{"1351870187":["hashtag1","hashtag2"]},{"1351870184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870192, 1351870168, 1351870182, 1351870190, 1351870187, 1351870184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.592515468597412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:18:32.805551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_26_9497.jpg', '/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_37_10612.jpg', '/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_46_9519.jpg', '/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_57_10437.jpg', '/home/pi/Desktop/images/19042025/11/53/image_19042025_11_54_06_9352.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_17_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_26_9497.jpg
/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_37_10612.jpg
/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_46_9519.jpg
/home/pi/Desktop/images/19042025/11/53/image_19042025_11_53_57_10437.jpg
/home/pi/Desktop/images/19042025/11/53/image_19042025_11_54_06_9352.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_17_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":["1351870222","1351870219","1351870210","1351870213","1351870224","1351870215"],"photo_ids_order":["1351870210","1351870213","1351870215","1351870219","1351870222","1351870224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fa410f9b8b47e1e8d4476c0ac7662c0e.jpg","text":"TemporaryFile(/tmp/multipartBody3640218885279547367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068773330,"filename":"image_19042025_11_54_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/19/faaee3e660db35d633f294ae42a48427.jpg","text":"TemporaryFile(/tmp/multipartBody295521049053703383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068773330,"filename":"image_19042025_11_53_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/19/ca738d805ea1ec74b37b035ff26a9637.jpg","text":"TemporaryFile(/tmp/multipartBody731332978196307350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068773330,"filename":"image_19042025_11_53_26_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/19/d889bdf5cab10de5d9beb865605f669a.jpg","text":"TemporaryFile(/tmp/multipartBody7462318703523390764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068773330,"filename":"image_19042025_11_53_37_10612.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15aa2f127b8273e1fc020c9d01360c26.jpg","text":"TemporaryFile(/tmp/multipartBody4076643459850070176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068773330,"filename":"image_19042025_11_54_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/19/3e14a84f6abefb35d49e54f943def77a.jpg","text":"TemporaryFile(/tmp/multipartBody3934190576423808308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068773330,"filename":"image_19042025_11_53_46_9519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870215","file1":"1351870213","file0":"1351870210","file4":"1351870222","file5":"1351870224","file3":"1351870219"},"map_files_photo_id_array":[{"photo_id":"1351870224","filename":"file5"},{"photo_id":"1351870215","filename":"file2"},{"photo_id":"1351870222","filename":"file4"},{"photo_id":"1351870213","filename":"file1"},{"photo_id":"1351870210","filename":"file0"},{"photo_id":"1351870219","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870222":["hashtag1","hashtag2"]},{"1351870219":["hashtag1","hashtag2"]},{"1351870210":["hashtag1","hashtag2"]},{"1351870213":["hashtag1","hashtag2"]},{"1351870224":["hashtag1","hashtag2"]},{"1351870215":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870222, 1351870219, 1351870210, 1351870213, 1351870224, 1351870215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.06338882446289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:19:33.016657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_27_10428.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_36_9463.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_47_10485.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_56_9436.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_55_07_10365.jpg', '/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_17_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_27_10428.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_36_9463.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_47_10485.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_56_9436.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_55_07_10365.jpg
/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_17_9855.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4493749141693115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 15:19:43.139536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_27_10428.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_36_9463.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_47_10485.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_56_9436.jpg', '/home/pi/Desktop/images/19042025/11/54/image_19042025_11_55_07_10365.jpg', '/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_17_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_27_10428.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_36_9463.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_47_10485.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_54_56_9436.jpg
/home/pi/Desktop/images/19042025/11/54/image_19042025_11_55_07_10365.jpg
/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_17_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351870252","1351870255","1351870249","1351870257","1351870266","1351870244"],"photo_ids_order":["1351870244","1351870249","1351870252","1351870255","1351870257","1351870266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7242a2e44595eb91218e7ee67b74855.jpg","text":"TemporaryFile(/tmp/multipartBody9104774949667491644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068843611,"filename":"image_19042025_11_54_47_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d54cabb08b1f8964648dcd6f6cdbdcfd.jpg","text":"TemporaryFile(/tmp/multipartBody8014317936140912815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068843611,"filename":"image_19042025_11_54_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/19/ec5b399ac2f838ccd8b0991a72ac3189.jpg","text":"TemporaryFile(/tmp/multipartBody441741674610265167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068843611,"filename":"image_19042025_11_54_36_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b84bffbf67196330e24766c9bf36d3f4.jpg","text":"TemporaryFile(/tmp/multipartBody7229218914017719728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068843611,"filename":"image_19042025_11_55_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/19/179c5154f9a2800bb9cbc42d5bd22807.jpg","text":"TemporaryFile(/tmp/multipartBody2909931495450368201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068843611,"filename":"image_19042025_11_55_17_9855.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eba22ba2d5b0912805b9dbd920be5872.jpg","text":"TemporaryFile(/tmp/multipartBody2945741982170483474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068843611,"filename":"image_19042025_11_54_27_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870252","file1":"1351870249","file0":"1351870244","file4":"1351870257","file5":"1351870266","file3":"1351870255"},"map_files_photo_id_array":[{"photo_id":"1351870266","filename":"file5"},{"photo_id":"1351870252","filename":"file2"},{"photo_id":"1351870257","filename":"file4"},{"photo_id":"1351870249","filename":"file1"},{"photo_id":"1351870244","filename":"file0"},{"photo_id":"1351870255","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870252":["hashtag1","hashtag2"]},{"1351870255":["hashtag1","hashtag2"]},{"1351870249":["hashtag1","hashtag2"]},{"1351870257":["hashtag1","hashtag2"]},{"1351870266":["hashtag1","hashtag2"]},{"1351870244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870252, 1351870255, 1351870249, 1351870257, 1351870266, 1351870244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.365415811538696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:20:32.402794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_26_9657.jpg', '/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_37_10423.jpg', '/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_57_10361.jpg', '/home/pi/Desktop/images/19042025/11/55/image_19042025_11_56_07_10438.jpg', '/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_16_9352.jpg', '/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_27_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_26_9657.jpg
/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_37_10423.jpg
/home/pi/Desktop/images/19042025/11/55/image_19042025_11_55_57_10361.jpg
/home/pi/Desktop/images/19042025/11/55/image_19042025_11_56_07_10438.jpg
/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_16_9352.jpg
/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_27_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":["1351870414","1351870405","1351870371","1351870413","1351870379","1351870376"],"photo_ids_order":["1351870371","1351870376","1351870379","1351870405","1351870413","1351870414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ba5b430cd8b91dbbdf9e8792f7ba49e.jpg","text":"TemporaryFile(/tmp/multipartBody1101039547861214312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068892943,"filename":"image_19042025_11_56_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/19/d493c0f6ae3f503c915358783af2d524.jpg","text":"TemporaryFile(/tmp/multipartBody6253349138052420064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068892943,"filename":"image_19042025_11_56_07_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2e5ef2ac7033bc538e28c7b8b125efb9.jpg","text":"TemporaryFile(/tmp/multipartBody7279428651269320037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068892943,"filename":"image_19042025_11_55_26_9657.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cbeb7e6aabb760bd57f50522c42087c.jpg","text":"TemporaryFile(/tmp/multipartBody5250280370980756834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068892943,"filename":"image_19042025_11_56_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/19/a6dc85e2f56cc5ddee2df8a0bf44a33d.jpg","text":"TemporaryFile(/tmp/multipartBody2014119492340396756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068892943,"filename":"image_19042025_11_55_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/19/3b19f00f3b8ea6b08f3299502d14c60c.jpg","text":"TemporaryFile(/tmp/multipartBody36675967780304332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068892943,"filename":"image_19042025_11_55_37_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870379","file1":"1351870376","file0":"1351870371","file4":"1351870413","file5":"1351870414","file3":"1351870405"},"map_files_photo_id_array":[{"photo_id":"1351870414","filename":"file5"},{"photo_id":"1351870379","filename":"file2"},{"photo_id":"1351870413","filename":"file4"},{"photo_id":"1351870376","filename":"file1"},{"photo_id":"1351870371","filename":"file0"},{"photo_id":"1351870405","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870414":["hashtag1","hashtag2"]},{"1351870405":["hashtag1","hashtag2"]},{"1351870371":["hashtag1","hashtag2"]},{"1351870413":["hashtag1","hashtag2"]},{"1351870379":["hashtag1","hashtag2"]},{"1351870376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870414, 1351870405, 1351870371, 1351870413, 1351870379, 1351870376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.868417739868164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:21:32.598953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_36_9419.jpg', '/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_46_10380.jpg', '/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_57_10455.jpg', '/home/pi/Desktop/images/19042025/11/56/image_19042025_11_57_06_9357.jpg', '/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_17_10374.jpg', '/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_27_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_36_9419.jpg
/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_46_10380.jpg
/home/pi/Desktop/images/19042025/11/56/image_19042025_11_56_57_10455.jpg
/home/pi/Desktop/images/19042025/11/56/image_19042025_11_57_06_9357.jpg
/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_17_10374.jpg
/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_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":["1351870507","1351870503","1351870431","1351870496","1351870502","1351870505"],"photo_ids_order":["1351870431","1351870496","1351870502","1351870503","1351870505","1351870507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a081b4297588bfb77bda55ded203bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1918561580900057331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068953128,"filename":"image_19042025_11_57_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/19/3f53bc2cdfe04affabba75fea463b126.jpg","text":"TemporaryFile(/tmp/multipartBody6931318249820782875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068953128,"filename":"image_19042025_11_57_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/19/b86613347eb79bf04ddb3f7512f49e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5926520239756354792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068953128,"filename":"image_19042025_11_56_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/19/510925f8afb169c22372e1cd7448c5ac.jpg","text":"TemporaryFile(/tmp/multipartBody6740273861832029785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068953128,"filename":"image_19042025_11_56_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/19/fa71364eb40b6d96fa81fe5872878d79.jpg","text":"TemporaryFile(/tmp/multipartBody3586614781459512856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068953128,"filename":"image_19042025_11_56_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/19/f4777917d014158fc6cfd4d6bc94eb40.jpg","text":"TemporaryFile(/tmp/multipartBody7586286272104365993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745068953128,"filename":"image_19042025_11_57_17_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870502","file1":"1351870496","file0":"1351870431","file4":"1351870505","file5":"1351870507","file3":"1351870503"},"map_files_photo_id_array":[{"photo_id":"1351870507","filename":"file5"},{"photo_id":"1351870502","filename":"file2"},{"photo_id":"1351870505","filename":"file4"},{"photo_id":"1351870496","filename":"file1"},{"photo_id":"1351870431","filename":"file0"},{"photo_id":"1351870503","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870507":["hashtag1","hashtag2"]},{"1351870503":["hashtag1","hashtag2"]},{"1351870431":["hashtag1","hashtag2"]},{"1351870496":["hashtag1","hashtag2"]},{"1351870502":["hashtag1","hashtag2"]},{"1351870505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870507, 1351870503, 1351870431, 1351870496, 1351870502, 1351870505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.846432209014893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:22:32.783903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_36_9386.jpg', '/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_47_10437.jpg', '/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_56_9359.jpg', '/home/pi/Desktop/images/19042025/11/57/image_19042025_11_58_07_10436.jpg', '/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_17_10387.jpg', '/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_26_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_36_9386.jpg
/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_47_10437.jpg
/home/pi/Desktop/images/19042025/11/57/image_19042025_11_57_56_9359.jpg
/home/pi/Desktop/images/19042025/11/57/image_19042025_11_58_07_10436.jpg
/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_17_10387.jpg
/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_26_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351870528","1351870522","1351870530","1351870524","1351870527","1351870532"],"photo_ids_order":["1351870522","1351870524","1351870527","1351870528","1351870530","1351870532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6682a4ff8b54d4f10d0e1d4eff86431.jpg","text":"TemporaryFile(/tmp/multipartBody5805227983096139148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069013346,"filename":"image_19042025_11_58_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/19/406e7937b9f14b6177b07171d7e796b0.jpg","text":"TemporaryFile(/tmp/multipartBody8022197757999995199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069013346,"filename":"image_19042025_11_57_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8dcc58b8ac27663383fb38ddea4e82af.jpg","text":"TemporaryFile(/tmp/multipartBody8781228510762950099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069013346,"filename":"image_19042025_11_58_17_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/19/7e0309ac01989f2d49bb0e451d735154.jpg","text":"TemporaryFile(/tmp/multipartBody3474891799821205905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069013346,"filename":"image_19042025_11_57_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/19/aea89a4896ef9fe12025e65c6b4b9495.jpg","text":"TemporaryFile(/tmp/multipartBody7379327698037705596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069013346,"filename":"image_19042025_11_57_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/19/a8bb1deea3575578520519fdc6bfc2ae.jpg","text":"TemporaryFile(/tmp/multipartBody1273147815314043601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069013346,"filename":"image_19042025_11_58_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870527","file1":"1351870524","file0":"1351870522","file4":"1351870530","file5":"1351870532","file3":"1351870528"},"map_files_photo_id_array":[{"photo_id":"1351870532","filename":"file5"},{"photo_id":"1351870527","filename":"file2"},{"photo_id":"1351870530","filename":"file4"},{"photo_id":"1351870524","filename":"file1"},{"photo_id":"1351870522","filename":"file0"},{"photo_id":"1351870528","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870528":["hashtag1","hashtag2"]},{"1351870522":["hashtag1","hashtag2"]},{"1351870530":["hashtag1","hashtag2"]},{"1351870524":["hashtag1","hashtag2"]},{"1351870527":["hashtag1","hashtag2"]},{"1351870532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870528, 1351870522, 1351870530, 1351870524, 1351870527, 1351870532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57644319534302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:23:32.993337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_37_10523.jpg', '/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_46_9348.jpg', '/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_57_10367.jpg', '/home/pi/Desktop/images/19042025/11/58/image_19042025_11_59_06_9455.jpg', '/home/pi/Desktop/images/19042025/11/59/image_19042025_11_59_16_10344.jpg', '/home/pi/Desktop/images/19042025/11/59/image_19042025_11_59_36_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_37_10523.jpg
/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_46_9348.jpg
/home/pi/Desktop/images/19042025/11/58/image_19042025_11_58_57_10367.jpg
/home/pi/Desktop/images/19042025/11/58/image_19042025_11_59_06_9455.jpg
/home/pi/Desktop/images/19042025/11/59/image_19042025_11_59_16_10344.jpg
/home/pi/Desktop/images/19042025/11/59/image_19042025_11_59_36_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":["1351870549","1351870581","1351870551","1351870553","1351870556","1351870616"],"photo_ids_order":["1351870549","1351870551","1351870553","1351870556","1351870581","1351870616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3efb9d7f554de95d6656877ac1235d19.jpg","text":"TemporaryFile(/tmp/multipartBody2673532013708524529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069073527,"filename":"image_19042025_11_58_37_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/19/419336c23b947092a0d394b2dd4a992e.jpg","text":"TemporaryFile(/tmp/multipartBody1815436501962621416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069073527,"filename":"image_19042025_11_59_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/19/f9c67a8e2d13019c6d72a2e0052b34b2.jpg","text":"TemporaryFile(/tmp/multipartBody3995945304827163162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069073527,"filename":"image_19042025_11_58_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e564889685a8242a0280b84d93c6906.jpg","text":"TemporaryFile(/tmp/multipartBody4826610060002667896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069073527,"filename":"image_19042025_11_58_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/19/6489e253af1fe3435e971df6a448b814.jpg","text":"TemporaryFile(/tmp/multipartBody7440590237788662027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069073527,"filename":"image_19042025_11_59_06_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/30382d672300d9179c48c6acd97f0d7c.jpg","text":"TemporaryFile(/tmp/multipartBody102484163491643512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069073527,"filename":"image_19042025_11_59_36_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870553","file1":"1351870551","file0":"1351870549","file4":"1351870581","file5":"1351870616","file3":"1351870556"},"map_files_photo_id_array":[{"photo_id":"1351870616","filename":"file5"},{"photo_id":"1351870553","filename":"file2"},{"photo_id":"1351870581","filename":"file4"},{"photo_id":"1351870551","filename":"file1"},{"photo_id":"1351870549","filename":"file0"},{"photo_id":"1351870556","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870549":["hashtag1","hashtag2"]},{"1351870581":["hashtag1","hashtag2"]},{"1351870551":["hashtag1","hashtag2"]},{"1351870553":["hashtag1","hashtag2"]},{"1351870556":["hashtag1","hashtag2"]},{"1351870616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870549, 1351870581, 1351870551, 1351870553, 1351870556, 1351870616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.84893822669983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:24:32.214532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/11/59/image_19042025_11_59_47_10465.jpg', '/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_14_10081.jpg', '/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_25_10363.jpg', '/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_35_10352.jpg', '/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_44_9371.jpg', '/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_55_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/11/59/image_19042025_11_59_47_10465.jpg
/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_14_10081.jpg
/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_25_10363.jpg
/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_35_10352.jpg
/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_44_9371.jpg
/home/pi/Desktop/images/19042025/12/01/image_19042025_12_01_55_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351870936","1351871052","1351870998","1351870971","1351871081","1351871026"],"photo_ids_order":["1351870936","1351870971","1351870998","1351871026","1351871052","1351871081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c5cad24b631aed8858f00ecffd98d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6388651553346938633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069132738,"filename":"image_19042025_11_59_47_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ac128e2fd3f583c8f7fb83eb3202e32.jpg","text":"TemporaryFile(/tmp/multipartBody856167434383949364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069132738,"filename":"image_19042025_12_01_44_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b8b48c68d5668af2fa9f6660eb58eff3.jpg","text":"TemporaryFile(/tmp/multipartBody1677126828964724219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069132738,"filename":"image_19042025_12_01_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/19/087db6eb5a260b2d474dde3e4510741b.jpg","text":"TemporaryFile(/tmp/multipartBody3287935251012975439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069132738,"filename":"image_19042025_12_01_14_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d56bb9451bef77e501f471103b7f3a44.jpg","text":"TemporaryFile(/tmp/multipartBody8963091517602265383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069132738,"filename":"image_19042025_12_01_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7349d160201a31014184294c0a01074.jpg","text":"TemporaryFile(/tmp/multipartBody1006937161842927302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069132738,"filename":"image_19042025_12_01_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870998","file1":"1351870971","file0":"1351870936","file4":"1351871052","file5":"1351871081","file3":"1351871026"},"map_files_photo_id_array":[{"photo_id":"1351871081","filename":"file5"},{"photo_id":"1351870998","filename":"file2"},{"photo_id":"1351871052","filename":"file4"},{"photo_id":"1351870971","filename":"file1"},{"photo_id":"1351870936","filename":"file0"},{"photo_id":"1351871026","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351870936":["hashtag1","hashtag2"]},{"1351871052":["hashtag1","hashtag2"]},{"1351870998":["hashtag1","hashtag2"]},{"1351870971":["hashtag1","hashtag2"]},{"1351871081":["hashtag1","hashtag2"]},{"1351871026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351870936, 1351871052, 1351870998, 1351870971, 1351871081, 1351871026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.801541566848755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:25:32.511674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/01/image_19042025_12_02_05_10397.jpg', '/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_15_9347.jpg', '/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_25_10490.jpg', '/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_34_9344.jpg', '/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_45_10347.jpg', '/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_55_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/01/image_19042025_12_02_05_10397.jpg
/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_15_9347.jpg
/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_25_10490.jpg
/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_34_9344.jpg
/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_45_10347.jpg
/home/pi/Desktop/images/19042025/12/02/image_19042025_12_02_55_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351871289","1351871313","1351871363","1351871387","1351871338","1351871251"],"photo_ids_order":["1351871251","1351871289","1351871313","1351871338","1351871363","1351871387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b009b536d4cb61b1e7508f17671f3357.jpg","text":"TemporaryFile(/tmp/multipartBody1963579114382227726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069193043,"filename":"image_19042025_12_02_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9cd796453a622a7c27de79b4035fcfad.jpg","text":"TemporaryFile(/tmp/multipartBody5836296753533584147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069193043,"filename":"image_19042025_12_02_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/19/4127cd77fd40aab78215f0e94217fee0.jpg","text":"TemporaryFile(/tmp/multipartBody7191423323641341106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069193043,"filename":"image_19042025_12_02_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a7a3abddcd1b22879e8e0c130c9013a.jpg","text":"TemporaryFile(/tmp/multipartBody82958554834562630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069193043,"filename":"image_19042025_12_02_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5f681fd83aabb9ed4d475f8abd9f4d6.jpg","text":"TemporaryFile(/tmp/multipartBody7872974504764294553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069193043,"filename":"image_19042025_12_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/19/9cbe65d80c84c298b777cb1165f62c14.jpg","text":"TemporaryFile(/tmp/multipartBody2805130968048919278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069193043,"filename":"image_19042025_12_02_05_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351871313","file1":"1351871289","file0":"1351871251","file4":"1351871363","file5":"1351871387","file3":"1351871338"},"map_files_photo_id_array":[{"photo_id":"1351871387","filename":"file5"},{"photo_id":"1351871313","filename":"file2"},{"photo_id":"1351871363","filename":"file4"},{"photo_id":"1351871289","filename":"file1"},{"photo_id":"1351871251","filename":"file0"},{"photo_id":"1351871338","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351871289":["hashtag1","hashtag2"]},{"1351871313":["hashtag1","hashtag2"]},{"1351871363":["hashtag1","hashtag2"]},{"1351871387":["hashtag1","hashtag2"]},{"1351871338":["hashtag1","hashtag2"]},{"1351871251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351871289, 1351871313, 1351871363, 1351871387, 1351871338, 1351871251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.547475337982178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:26:32.689412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/02/image_19042025_12_03_04_9346.jpg', '/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_15_10514.jpg', '/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_24_9365.jpg', '/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_35_10366.jpg', '/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_45_10479.jpg', '/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_55_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/02/image_19042025_12_03_04_9346.jpg
/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_15_10514.jpg
/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_24_9365.jpg
/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_35_10366.jpg
/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_45_10479.jpg
/home/pi/Desktop/images/19042025/12/03/image_19042025_12_03_55_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351871694","1351871669","1351871726","1351871633","1351871779","1351871752"],"photo_ids_order":["1351871633","1351871669","1351871694","1351871726","1351871752","1351871779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce09b742e3ae19cf0868b6194c1ce94f.jpg","text":"TemporaryFile(/tmp/multipartBody3750047209925296546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069253229,"filename":"image_19042025_12_03_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/19/0b18380a158f33093dcf7f2b405131f0.jpg","text":"TemporaryFile(/tmp/multipartBody622058450633047296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069253229,"filename":"image_19042025_12_03_15_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/19/9142206eb249ad165c855a4e64b891b5.jpg","text":"TemporaryFile(/tmp/multipartBody3913067230014417188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069253229,"filename":"image_19042025_12_03_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/19/6e81dd4edbec962cd0cbca184d0b4273.jpg","text":"TemporaryFile(/tmp/multipartBody2743439477842177435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069253229,"filename":"image_19042025_12_03_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/19/72190ebdf4a5a1b66a490710452fdc0e.jpg","text":"TemporaryFile(/tmp/multipartBody6407098928933794466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069253229,"filename":"image_19042025_12_03_55_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5e8d1650a39e0ad4d0c263d8b8c59029.jpg","text":"TemporaryFile(/tmp/multipartBody362361698143928908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069253229,"filename":"image_19042025_12_03_45_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351871694","file1":"1351871669","file0":"1351871633","file4":"1351871752","file5":"1351871779","file3":"1351871726"},"map_files_photo_id_array":[{"photo_id":"1351871779","filename":"file5"},{"photo_id":"1351871694","filename":"file2"},{"photo_id":"1351871752","filename":"file4"},{"photo_id":"1351871669","filename":"file1"},{"photo_id":"1351871633","filename":"file0"},{"photo_id":"1351871726","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351871694":["hashtag1","hashtag2"]},{"1351871669":["hashtag1","hashtag2"]},{"1351871726":["hashtag1","hashtag2"]},{"1351871633":["hashtag1","hashtag2"]},{"1351871779":["hashtag1","hashtag2"]},{"1351871752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351871694, 1351871669, 1351871726, 1351871633, 1351871779, 1351871752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51039743423462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:27:33.016347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/03/image_19042025_12_04_05_10360.jpg', '/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_14_9351.jpg', '/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_25_10431.jpg', '/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_35_10382.jpg', '/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_45_9349.jpg', '/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_55_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/03/image_19042025_12_04_05_10360.jpg
/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_14_9351.jpg
/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_25_10431.jpg
/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_35_10382.jpg
/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_45_9349.jpg
/home/pi/Desktop/images/19042025/12/04/image_19042025_12_04_55_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":["1351872015","1351872020","1351872014","1351872019","1351872022","1351872016"],"photo_ids_order":["1351872014","1351872015","1351872016","1351872019","1351872020","1351872022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c9d3873861766b7db365dce548c5a8b.jpg","text":"TemporaryFile(/tmp/multipartBody2403460187203912067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069313538,"filename":"image_19042025_12_04_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86f8df579e34eef9aa62390b4e7ebbf8.jpg","text":"TemporaryFile(/tmp/multipartBody8589923365712747541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069313538,"filename":"image_19042025_12_04_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d99d8c184b57a145e1fb5e54fbc6a879.jpg","text":"TemporaryFile(/tmp/multipartBody3064242141205353621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069313538,"filename":"image_19042025_12_04_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f29ccd53f434a458a1defadfe503dc38.jpg","text":"TemporaryFile(/tmp/multipartBody1141084441143777709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069313538,"filename":"image_19042025_12_04_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/19/efb425a6534c0f8b37e6b83fcd88f69e.jpg","text":"TemporaryFile(/tmp/multipartBody8882939336841849009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069313538,"filename":"image_19042025_12_04_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d5a04795e6314ef4bc10a61f1965b43b.jpg","text":"TemporaryFile(/tmp/multipartBody1036777388946370825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069313538,"filename":"image_19042025_12_04_25_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351872016","file1":"1351872015","file0":"1351872014","file4":"1351872020","file5":"1351872022","file3":"1351872019"},"map_files_photo_id_array":[{"photo_id":"1351872022","filename":"file5"},{"photo_id":"1351872016","filename":"file2"},{"photo_id":"1351872020","filename":"file4"},{"photo_id":"1351872015","filename":"file1"},{"photo_id":"1351872014","filename":"file0"},{"photo_id":"1351872019","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351872015":["hashtag1","hashtag2"]},{"1351872020":["hashtag1","hashtag2"]},{"1351872014":["hashtag1","hashtag2"]},{"1351872019":["hashtag1","hashtag2"]},{"1351872022":["hashtag1","hashtag2"]},{"1351872016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351872015, 1351872020, 1351872014, 1351872019, 1351872022, 1351872016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.178089380264282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:28:32.219741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/04/image_19042025_12_05_04_9346.jpg', '/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_15_10373.jpg', '/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_25_10359.jpg', '/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_34_9360.jpg', '/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_45_10434.jpg', '/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_54_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/04/image_19042025_12_05_04_9346.jpg
/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_15_10373.jpg
/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_25_10359.jpg
/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_34_9360.jpg
/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_45_10434.jpg
/home/pi/Desktop/images/19042025/12/05/image_19042025_12_05_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":["1351872042","1351872036","1351872045","1351872039","1351872050","1351872047"],"photo_ids_order":["1351872036","1351872039","1351872042","1351872045","1351872047","1351872050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61f3abd99728879d83c0fc9d3c32db4f.jpg","text":"TemporaryFile(/tmp/multipartBody7283672095811645240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069372757,"filename":"image_19042025_12_05_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/19/7a5592b5fdbb82f75ba8506d33f2bb58.jpg","text":"TemporaryFile(/tmp/multipartBody6814305577692109968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069372757,"filename":"image_19042025_12_05_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/19/beca7cad9001a71b83a9856c7fb26ba3.jpg","text":"TemporaryFile(/tmp/multipartBody212830515616445149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069372757,"filename":"image_19042025_12_05_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/19/b03d5274add5b65696d48a650bc1d101.jpg","text":"TemporaryFile(/tmp/multipartBody2529923007867663008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069372757,"filename":"image_19042025_12_05_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/19/b580d52dcce88ed1c40c1b78b4e9fdc2.jpg","text":"TemporaryFile(/tmp/multipartBody2509476475695087296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069372757,"filename":"image_19042025_12_05_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/19/c50a48d31ef003090b7f12fb80612b6d.jpg","text":"TemporaryFile(/tmp/multipartBody1710208122855619348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069372757,"filename":"image_19042025_12_05_45_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351872042","file1":"1351872039","file0":"1351872036","file4":"1351872047","file5":"1351872050","file3":"1351872045"},"map_files_photo_id_array":[{"photo_id":"1351872050","filename":"file5"},{"photo_id":"1351872042","filename":"file2"},{"photo_id":"1351872047","filename":"file4"},{"photo_id":"1351872039","filename":"file1"},{"photo_id":"1351872036","filename":"file0"},{"photo_id":"1351872045","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351872042":["hashtag1","hashtag2"]},{"1351872036":["hashtag1","hashtag2"]},{"1351872045":["hashtag1","hashtag2"]},{"1351872039":["hashtag1","hashtag2"]},{"1351872050":["hashtag1","hashtag2"]},{"1351872047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351872042, 1351872036, 1351872045, 1351872039, 1351872050, 1351872047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53784775733948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:29:32.407392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/05/image_19042025_12_06_05_10388.jpg', '/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_15_10450.jpg', '/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_24_9356.jpg', '/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_35_10433.jpg', '/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_44_9381.jpg', '/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_55_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/05/image_19042025_12_06_05_10388.jpg
/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_15_10450.jpg
/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_24_9356.jpg
/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_35_10433.jpg
/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_44_9381.jpg
/home/pi/Desktop/images/19042025/12/06/image_19042025_12_06_55_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351872077","1351872086","1351872088","1351872067","1351872070","1351872064"],"photo_ids_order":["1351872064","1351872067","1351872070","1351872077","1351872086","1351872088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19ecdd445aa81c8b5e0f61559721a403.jpg","text":"TemporaryFile(/tmp/multipartBody8134202637246463583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069432949,"filename":"image_19042025_12_06_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a0bf38e3e64b987a30e203a3ce5c18d6.jpg","text":"TemporaryFile(/tmp/multipartBody9198114268395634347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069432949,"filename":"image_19042025_12_06_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b74e1fb83783f78e41a53eeaae5044e.jpg","text":"TemporaryFile(/tmp/multipartBody8271709071320529596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069432949,"filename":"image_19042025_12_06_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/350317d73000ffce840f7c053820e126.jpg","text":"TemporaryFile(/tmp/multipartBody4108716063328161604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069432949,"filename":"image_19042025_12_06_15_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f4f6f798f013c26e374bb1016a34c93e.jpg","text":"TemporaryFile(/tmp/multipartBody589540478275175682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069432949,"filename":"image_19042025_12_06_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/19/85e9a212e63379d749c7a475a5ffe9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1921643717357938767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069432949,"filename":"image_19042025_12_06_05_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351872070","file1":"1351872067","file0":"1351872064","file4":"1351872086","file5":"1351872088","file3":"1351872077"},"map_files_photo_id_array":[{"photo_id":"1351872088","filename":"file5"},{"photo_id":"1351872070","filename":"file2"},{"photo_id":"1351872086","filename":"file4"},{"photo_id":"1351872067","filename":"file1"},{"photo_id":"1351872064","filename":"file0"},{"photo_id":"1351872077","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351872077":["hashtag1","hashtag2"]},{"1351872086":["hashtag1","hashtag2"]},{"1351872088":["hashtag1","hashtag2"]},{"1351872067":["hashtag1","hashtag2"]},{"1351872070":["hashtag1","hashtag2"]},{"1351872064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351872077, 1351872086, 1351872088, 1351872067, 1351872070, 1351872064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6056694984436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:30:32.647885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/06/image_19042025_12_07_05_10478.jpg', '/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_14_9341.jpg', '/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_25_10430.jpg', '/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_34_9416.jpg', '/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_45_10367.jpg', '/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_55_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/06/image_19042025_12_07_05_10478.jpg
/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_14_9341.jpg
/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_25_10430.jpg
/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_34_9416.jpg
/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_45_10367.jpg
/home/pi/Desktop/images/19042025/12/07/image_19042025_12_07_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":["1351872173","1351872107","1351872119","1351872145","1351872112","1351872109"],"photo_ids_order":["1351872107","1351872109","1351872112","1351872119","1351872145","1351872173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cadb1225b30177f835a0a24ade53d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8626427477837763746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069493175,"filename":"image_19042025_12_07_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad2af072cd9de5d6fdfa6d0c588d629e.jpg","text":"TemporaryFile(/tmp/multipartBody4613370565003732860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069493175,"filename":"image_19042025_12_07_05_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/19/bac36bf429122426a4966d80fb94466e.jpg","text":"TemporaryFile(/tmp/multipartBody3693830086456694786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069493175,"filename":"image_19042025_12_07_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/19/2bb2e3a4c46efb57a43741698e4f7ea6.jpg","text":"TemporaryFile(/tmp/multipartBody6462825715868477545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069493175,"filename":"image_19042025_12_07_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/19/ef10dd4fd8fca5f1a7b9a74ff676a920.jpg","text":"TemporaryFile(/tmp/multipartBody1323327283544415933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069493175,"filename":"image_19042025_12_07_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ccec859909afa7f1b83c8fdfa4b08fdf.jpg","text":"TemporaryFile(/tmp/multipartBody141180202600074676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069493175,"filename":"image_19042025_12_07_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351872112","file1":"1351872109","file0":"1351872107","file4":"1351872145","file5":"1351872173","file3":"1351872119"},"map_files_photo_id_array":[{"photo_id":"1351872173","filename":"file5"},{"photo_id":"1351872112","filename":"file2"},{"photo_id":"1351872145","filename":"file4"},{"photo_id":"1351872109","filename":"file1"},{"photo_id":"1351872107","filename":"file0"},{"photo_id":"1351872119","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351872173":["hashtag1","hashtag2"]},{"1351872107":["hashtag1","hashtag2"]},{"1351872119":["hashtag1","hashtag2"]},{"1351872145":["hashtag1","hashtag2"]},{"1351872112":["hashtag1","hashtag2"]},{"1351872109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351872173, 1351872107, 1351872119, 1351872145, 1351872112, 1351872109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.964273691177368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:31:32.832155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/07/image_19042025_12_08_04_9351.jpg', '/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_15_10482.jpg', '/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_24_9368.jpg', '/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_35_10367.jpg', '/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_45_10466.jpg', '/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_55_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/07/image_19042025_12_08_04_9351.jpg
/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_15_10482.jpg
/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_24_9368.jpg
/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_35_10367.jpg
/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_45_10466.jpg
/home/pi/Desktop/images/19042025/12/08/image_19042025_12_08_55_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":["1351872531","1351872557","1351872503","1351872583","1351872475","1351872448"],"photo_ids_order":["1351872448","1351872475","1351872503","1351872531","1351872557","1351872583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4f5f8607aafe5d7f1d2a5a99dffc4b68.jpg","text":"TemporaryFile(/tmp/multipartBody5904883915920523191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069553354,"filename":"image_19042025_12_08_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/19/9316a091c844af2a23631227096db794.jpg","text":"TemporaryFile(/tmp/multipartBody2269940868454171906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069553354,"filename":"image_19042025_12_08_45_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8af472958d3b9b329933d6d66e1ef700.jpg","text":"TemporaryFile(/tmp/multipartBody5421973947786116186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069553354,"filename":"image_19042025_12_08_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/19/f58db6197329fa96d1fe6e4173d4d5cf.jpg","text":"TemporaryFile(/tmp/multipartBody1263712474547547916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069553354,"filename":"image_19042025_12_08_55_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e0a95f23fedb434ef080f133f85f529.jpg","text":"TemporaryFile(/tmp/multipartBody1499126259396615086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069553354,"filename":"image_19042025_12_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/19/19b1ffbd985d69204f02ed0a137107d0.jpg","text":"TemporaryFile(/tmp/multipartBody7094677244143103399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069553354,"filename":"image_19042025_12_08_04_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351872503","file1":"1351872475","file0":"1351872448","file4":"1351872557","file5":"1351872583","file3":"1351872531"},"map_files_photo_id_array":[{"photo_id":"1351872583","filename":"file5"},{"photo_id":"1351872503","filename":"file2"},{"photo_id":"1351872557","filename":"file4"},{"photo_id":"1351872475","filename":"file1"},{"photo_id":"1351872448","filename":"file0"},{"photo_id":"1351872531","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351872531":["hashtag1","hashtag2"]},{"1351872557":["hashtag1","hashtag2"]},{"1351872503":["hashtag1","hashtag2"]},{"1351872583":["hashtag1","hashtag2"]},{"1351872475":["hashtag1","hashtag2"]},{"1351872448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351872531, 1351872557, 1351872503, 1351872583, 1351872475, 1351872448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.169848442077637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:32:33.125015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/08/image_19042025_12_09_05_10366.jpg', '/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_14_9355.jpg', '/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_25_10365.jpg', '/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_35_10445.jpg', '/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_44_9361.jpg', '/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_55_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/08/image_19042025_12_09_05_10366.jpg
/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_14_9355.jpg
/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_25_10365.jpg
/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_35_10445.jpg
/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_44_9361.jpg
/home/pi/Desktop/images/19042025/12/09/image_19042025_12_09_55_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351872828","1351872822","1351872788","1351872848","1351872815","1351872835"],"photo_ids_order":["1351872788","1351872815","1351872822","1351872828","1351872835","1351872848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4f511d6a57bce53a3a7e7568421c752f.jpg","text":"TemporaryFile(/tmp/multipartBody3657473837787622567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069613663,"filename":"image_19042025_12_09_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d85816671a2e9699ad33d4a2f91178d4.jpg","text":"TemporaryFile(/tmp/multipartBody5575751114279872742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069613663,"filename":"image_19042025_12_09_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/19/3f05eb81c761c5202293fb37589cb9fb.jpg","text":"TemporaryFile(/tmp/multipartBody2121643341404189367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069613663,"filename":"image_19042025_12_09_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/19/fc328f59b04192be8846957daa14af2c.jpg","text":"TemporaryFile(/tmp/multipartBody5585644697288934032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069613663,"filename":"image_19042025_12_09_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc7864e54555013c95749a69d3842ba3.jpg","text":"TemporaryFile(/tmp/multipartBody1434378938263992726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069613663,"filename":"image_19042025_12_09_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/19/46697c0be9d2d904f24f2f02f4a1c43e.jpg","text":"TemporaryFile(/tmp/multipartBody1553976541428530937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069613663,"filename":"image_19042025_12_09_44_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351872822","file1":"1351872815","file0":"1351872788","file4":"1351872835","file5":"1351872848","file3":"1351872828"},"map_files_photo_id_array":[{"photo_id":"1351872848","filename":"file5"},{"photo_id":"1351872822","filename":"file2"},{"photo_id":"1351872835","filename":"file4"},{"photo_id":"1351872815","filename":"file1"},{"photo_id":"1351872788","filename":"file0"},{"photo_id":"1351872828","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351872828":["hashtag1","hashtag2"]},{"1351872822":["hashtag1","hashtag2"]},{"1351872788":["hashtag1","hashtag2"]},{"1351872848":["hashtag1","hashtag2"]},{"1351872815":["hashtag1","hashtag2"]},{"1351872835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351872828, 1351872822, 1351872788, 1351872848, 1351872815, 1351872835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63032293319702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:33:32.378742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/09/image_19042025_12_10_04_9356.jpg', '/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_15_10373.jpg', '/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_25_10373.jpg', '/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_34_9360.jpg', '/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_45_10385.jpg', '/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_55_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/09/image_19042025_12_10_04_9356.jpg
/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_15_10373.jpg
/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_25_10373.jpg
/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_34_9360.jpg
/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_45_10385.jpg
/home/pi/Desktop/images/19042025/12/10/image_19042025_12_10_55_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":["1351873014","1351873017","1351872992","1351873019","1351873012","1351873009"],"photo_ids_order":["1351872992","1351873009","1351873012","1351873014","1351873017","1351873019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/21d0dd83a255be3e31bd70869bcd156f.jpg","text":"TemporaryFile(/tmp/multipartBody8867719802407637301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069672906,"filename":"image_19042025_12_10_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/19/883487f0815aeb64f9d7c4683259d137.jpg","text":"TemporaryFile(/tmp/multipartBody6021252478442075187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069672906,"filename":"image_19042025_12_10_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/19/120d5e1d70fe93b3c957d84d91d4f82d.jpg","text":"TemporaryFile(/tmp/multipartBody6779190888298814263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069672906,"filename":"image_19042025_12_10_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/19/1cc17bb2c32175d02273d3ba6eb119be.jpg","text":"TemporaryFile(/tmp/multipartBody7334753971069389316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069672906,"filename":"image_19042025_12_10_55_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4fb0e4fd22007e9abb86221f0e44081a.jpg","text":"TemporaryFile(/tmp/multipartBody7990875948013304312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069672906,"filename":"image_19042025_12_10_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0929361ef7495ba4bc26d0e7ed582f62.jpg","text":"TemporaryFile(/tmp/multipartBody4268220115636123485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069672906,"filename":"image_19042025_12_10_15_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873012","file1":"1351873009","file0":"1351872992","file4":"1351873017","file5":"1351873019","file3":"1351873014"},"map_files_photo_id_array":[{"photo_id":"1351873019","filename":"file5"},{"photo_id":"1351873012","filename":"file2"},{"photo_id":"1351873017","filename":"file4"},{"photo_id":"1351873009","filename":"file1"},{"photo_id":"1351872992","filename":"file0"},{"photo_id":"1351873014","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873014":["hashtag1","hashtag2"]},{"1351873017":["hashtag1","hashtag2"]},{"1351872992":["hashtag1","hashtag2"]},{"1351873019":["hashtag1","hashtag2"]},{"1351873012":["hashtag1","hashtag2"]},{"1351873009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873014, 1351873017, 1351872992, 1351873019, 1351873012, 1351873009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.003559112548828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:34:32.607242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/10/image_19042025_12_11_05_9357.jpg', '/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_15_10417.jpg', '/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_24_9357.jpg', '/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_35_10382.jpg', '/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_45_10419.jpg', '/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_54_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/10/image_19042025_12_11_05_9357.jpg
/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_15_10417.jpg
/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_24_9357.jpg
/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_35_10382.jpg
/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_45_10419.jpg
/home/pi/Desktop/images/19042025/12/11/image_19042025_12_11_54_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351873038","1351873043","1351873037","1351873040","1351873042","1351873045"],"photo_ids_order":["1351873037","1351873038","1351873040","1351873042","1351873043","1351873045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7bff2f9bc901eb81d66834edab96cd06.jpg","text":"TemporaryFile(/tmp/multipartBody6751395874350356285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069733139,"filename":"image_19042025_12_11_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2a2d8bad2d31a0eb6480e47dbdd4d3ae.jpg","text":"TemporaryFile(/tmp/multipartBody3445976552491629445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069733139,"filename":"image_19042025_12_11_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/19/304a8589c598966cd7e88d4734c81cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3583012332361228431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069733139,"filename":"image_19042025_12_11_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/19/1007ad3357f87a1bbd46690e61711202.jpg","text":"TemporaryFile(/tmp/multipartBody8838015494874595399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069733139,"filename":"image_19042025_12_11_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f8117dcbd4d5102e63a55b1d0d9a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody7027520967148900147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069733139,"filename":"image_19042025_12_11_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/19/2fb8464df555727d74988a18bd871b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7804343251015169552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069733139,"filename":"image_19042025_12_11_54_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873040","file1":"1351873038","file0":"1351873037","file4":"1351873043","file5":"1351873045","file3":"1351873042"},"map_files_photo_id_array":[{"photo_id":"1351873045","filename":"file5"},{"photo_id":"1351873040","filename":"file2"},{"photo_id":"1351873043","filename":"file4"},{"photo_id":"1351873038","filename":"file1"},{"photo_id":"1351873037","filename":"file0"},{"photo_id":"1351873042","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873038":["hashtag1","hashtag2"]},{"1351873043":["hashtag1","hashtag2"]},{"1351873037":["hashtag1","hashtag2"]},{"1351873040":["hashtag1","hashtag2"]},{"1351873042":["hashtag1","hashtag2"]},{"1351873045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873038, 1351873043, 1351873037, 1351873040, 1351873042, 1351873045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.59429669380188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:35:32.944458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/11/image_19042025_12_12_05_10446.jpg', '/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_14_9419.jpg', '/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_25_10381.jpg', '/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_35_10471.jpg', '/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_45_9373.jpg', '/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_55_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/11/image_19042025_12_12_05_10446.jpg
/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_14_9419.jpg
/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_25_10381.jpg
/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_35_10471.jpg
/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_45_9373.jpg
/home/pi/Desktop/images/19042025/12/12/image_19042025_12_12_55_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351873347","1351873221","1351873271","1351873321","1351873296","1351873245"],"photo_ids_order":["1351873221","1351873245","1351873271","1351873296","1351873321","1351873347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/62ea74fac4d2f557cc5430fbf1431d14.jpg","text":"TemporaryFile(/tmp/multipartBody5061343209729252451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069793523,"filename":"image_19042025_12_12_55_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00f649dde933d9e66f05ef080a630027.jpg","text":"TemporaryFile(/tmp/multipartBody2987513193710302571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069793523,"filename":"image_19042025_12_12_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ed7cc239805d139ac15f83b3fe21a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3246644046391566303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069793523,"filename":"image_19042025_12_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/19/c2aaf4bd9f750955a683481e15cc22d0.jpg","text":"TemporaryFile(/tmp/multipartBody1443332033447173167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069793523,"filename":"image_19042025_12_12_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/19/be0dc6e989dbb8e908bb36f024d01852.jpg","text":"TemporaryFile(/tmp/multipartBody726505797504001434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069793523,"filename":"image_19042025_12_12_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/19/19fdea086306b942d8250c550d2cd1a2.jpg","text":"TemporaryFile(/tmp/multipartBody7971051931994807457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069793523,"filename":"image_19042025_12_12_14_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873271","file1":"1351873245","file0":"1351873221","file4":"1351873321","file5":"1351873347","file3":"1351873296"},"map_files_photo_id_array":[{"photo_id":"1351873347","filename":"file5"},{"photo_id":"1351873271","filename":"file2"},{"photo_id":"1351873321","filename":"file4"},{"photo_id":"1351873245","filename":"file1"},{"photo_id":"1351873221","filename":"file0"},{"photo_id":"1351873296","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873347":["hashtag1","hashtag2"]},{"1351873221":["hashtag1","hashtag2"]},{"1351873271":["hashtag1","hashtag2"]},{"1351873321":["hashtag1","hashtag2"]},{"1351873296":["hashtag1","hashtag2"]},{"1351873245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873347, 1351873221, 1351873271, 1351873321, 1351873296, 1351873245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25186538696289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:36:33.157542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/12/image_19042025_12_13_04_9390.jpg', '/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_15_10502.jpg', '/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_25_9708.jpg', '/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_35_10463.jpg', '/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_44_9366.jpg', '/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_55_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/12/image_19042025_12_13_04_9390.jpg
/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_15_10502.jpg
/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_25_9708.jpg
/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_35_10463.jpg
/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_44_9366.jpg
/home/pi/Desktop/images/19042025/12/13/image_19042025_12_13_55_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351873478","1351873466","1351873460","1351873480","1351873474","1351873470"],"photo_ids_order":["1351873460","1351873466","1351873470","1351873474","1351873478","1351873480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/17e125f46a990343b8b78bad75e2adaa.jpg","text":"TemporaryFile(/tmp/multipartBody6101222499210249813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069853692,"filename":"image_19042025_12_13_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/19/79ee6ce228f345c932da517b3bcc29df.jpg","text":"TemporaryFile(/tmp/multipartBody4968043138680869265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069853692,"filename":"image_19042025_12_13_15_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f547b1f1349523a8df22ceb419ed267d.jpg","text":"TemporaryFile(/tmp/multipartBody500354155155064078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069853692,"filename":"image_19042025_12_13_04_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/19/77f1c8c7383190b3813459ee1f5e1f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3724549987490922656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069853692,"filename":"image_19042025_12_13_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/19/be9824981e2b5a452d9484984843c4f0.jpg","text":"TemporaryFile(/tmp/multipartBody1800898930056536468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069853692,"filename":"image_19042025_12_13_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/19/10e3907f91090b6437849b87c69cd93a.jpg","text":"TemporaryFile(/tmp/multipartBody7870997453275566711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069853692,"filename":"image_19042025_12_13_25_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873470","file1":"1351873466","file0":"1351873460","file4":"1351873478","file5":"1351873480","file3":"1351873474"},"map_files_photo_id_array":[{"photo_id":"1351873480","filename":"file5"},{"photo_id":"1351873470","filename":"file2"},{"photo_id":"1351873478","filename":"file4"},{"photo_id":"1351873466","filename":"file1"},{"photo_id":"1351873460","filename":"file0"},{"photo_id":"1351873474","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873478":["hashtag1","hashtag2"]},{"1351873466":["hashtag1","hashtag2"]},{"1351873460":["hashtag1","hashtag2"]},{"1351873480":["hashtag1","hashtag2"]},{"1351873474":["hashtag1","hashtag2"]},{"1351873470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873478, 1351873466, 1351873460, 1351873480, 1351873474, 1351873470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90638566017151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:37:32.320073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/13/image_19042025_12_14_04_9356.jpg', '/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_15_10347.jpg', '/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_25_10428.jpg', '/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_34_9455.jpg', '/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_45_10411.jpg', '/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_54_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/13/image_19042025_12_14_04_9356.jpg
/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_15_10347.jpg
/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_25_10428.jpg
/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_34_9455.jpg
/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_45_10411.jpg
/home/pi/Desktop/images/19042025/12/14/image_19042025_12_14_54_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":["1351873544","1351873538","1351873547","1351873532","1351873535","1351873542"],"photo_ids_order":["1351873532","1351873535","1351873538","1351873542","1351873544","1351873547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8a2e1070e88f5b2649e29e3c9cc115ff.jpg","text":"TemporaryFile(/tmp/multipartBody4135178575356157825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069912852,"filename":"image_19042025_12_14_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89b9be6c3b342ff487386e3743aaf320.jpg","text":"TemporaryFile(/tmp/multipartBody4138689372251613535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069912852,"filename":"image_19042025_12_14_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/19/6cac01622334dc2ffc190806987e73f3.jpg","text":"TemporaryFile(/tmp/multipartBody3099419220027768401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069912852,"filename":"image_19042025_12_14_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/19/cfd39efc3104d98731badabb60ed743f.jpg","text":"TemporaryFile(/tmp/multipartBody1264599113127116356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069912852,"filename":"image_19042025_12_14_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/19/de6ab546da6a471769a816f7c40f82d1.jpg","text":"TemporaryFile(/tmp/multipartBody7959885049146399774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069912852,"filename":"image_19042025_12_14_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37c0642555332bc88f12f27beb8ab2f6.jpg","text":"TemporaryFile(/tmp/multipartBody3666090904612252407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069912852,"filename":"image_19042025_12_14_34_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873538","file1":"1351873535","file0":"1351873532","file4":"1351873544","file5":"1351873547","file3":"1351873542"},"map_files_photo_id_array":[{"photo_id":"1351873547","filename":"file5"},{"photo_id":"1351873538","filename":"file2"},{"photo_id":"1351873544","filename":"file4"},{"photo_id":"1351873535","filename":"file1"},{"photo_id":"1351873532","filename":"file0"},{"photo_id":"1351873542","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873544":["hashtag1","hashtag2"]},{"1351873538":["hashtag1","hashtag2"]},{"1351873547":["hashtag1","hashtag2"]},{"1351873532":["hashtag1","hashtag2"]},{"1351873535":["hashtag1","hashtag2"]},{"1351873542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873544, 1351873538, 1351873547, 1351873532, 1351873535, 1351873542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.159634590148926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:38:32.506409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/14/image_19042025_12_15_05_10377.jpg', '/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_15_10391.jpg', '/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_24_9355.jpg', '/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_35_10414.jpg', '/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_44_9402.jpg', '/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/14/image_19042025_12_15_05_10377.jpg
/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_15_10391.jpg
/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_24_9355.jpg
/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_35_10414.jpg
/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_44_9402.jpg
/home/pi/Desktop/images/19042025/12/15/image_19042025_12_15_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":["1351873562","1351873567","1351873564","1351873572","1351873569","1351873560"],"photo_ids_order":["1351873560","1351873562","1351873564","1351873567","1351873569","1351873572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a9d9d7ea4566737510120063dacfd11.jpg","text":"TemporaryFile(/tmp/multipartBody581683122733253074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069973032,"filename":"image_19042025_12_15_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/19/30bc35a19af0986fc1781756409d0476.jpg","text":"TemporaryFile(/tmp/multipartBody6169168481759855099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069973032,"filename":"image_19042025_12_15_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/19/20205737cd41a90a9a635b34b4084f5c.jpg","text":"TemporaryFile(/tmp/multipartBody7513549253673278570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069973032,"filename":"image_19042025_12_15_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/19/328038e66758437b44ddbf951aaef914.jpg","text":"TemporaryFile(/tmp/multipartBody6652928881674428700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069973032,"filename":"image_19042025_12_15_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/19/f6afa9c495ed5b7e00b46a81ddb4cb5b.jpg","text":"TemporaryFile(/tmp/multipartBody4233659594470866668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069973032,"filename":"image_19042025_12_15_44_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34b9185e627cf284a5af5546531875d3.jpg","text":"TemporaryFile(/tmp/multipartBody4821234893284055824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745069973032,"filename":"image_19042025_12_15_05_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873564","file1":"1351873562","file0":"1351873560","file4":"1351873569","file5":"1351873572","file3":"1351873567"},"map_files_photo_id_array":[{"photo_id":"1351873572","filename":"file5"},{"photo_id":"1351873564","filename":"file2"},{"photo_id":"1351873569","filename":"file4"},{"photo_id":"1351873562","filename":"file1"},{"photo_id":"1351873560","filename":"file0"},{"photo_id":"1351873567","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873562":["hashtag1","hashtag2"]},{"1351873567":["hashtag1","hashtag2"]},{"1351873564":["hashtag1","hashtag2"]},{"1351873572":["hashtag1","hashtag2"]},{"1351873569":["hashtag1","hashtag2"]},{"1351873560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873562, 1351873567, 1351873564, 1351873572, 1351873569, 1351873560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.535675764083862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:39:32.886418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/15/image_19042025_12_16_05_10478.jpg', '/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_14_9363.jpg', '/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_25_10426.jpg', '/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_34_9348.jpg', '/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_45_10454.jpg', '/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/15/image_19042025_12_16_05_10478.jpg
/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_14_9363.jpg
/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_25_10426.jpg
/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_34_9348.jpg
/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_45_10454.jpg
/home/pi/Desktop/images/19042025/12/16/image_19042025_12_16_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":["1351873602","1351873598","1351873586","1351873591","1351873604","1351873588"],"photo_ids_order":["1351873586","1351873588","1351873591","1351873598","1351873602","1351873604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dd8b3fe67af450ecb6a4f6ea4309b11d.jpg","text":"TemporaryFile(/tmp/multipartBody3463167108363134883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070033363,"filename":"image_19042025_12_16_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/19/fe51999c2ec67675f11dda64bd2ac0fe.jpg","text":"TemporaryFile(/tmp/multipartBody1540325011269780728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070033363,"filename":"image_19042025_12_16_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/19/6432e9af6f11b8295bf565c6a774a565.jpg","text":"TemporaryFile(/tmp/multipartBody1432477935721895432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070033363,"filename":"image_19042025_12_16_05_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/19/2b1db65499efd23a59fa64cc24100cc7.jpg","text":"TemporaryFile(/tmp/multipartBody9137167866476649386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070033363,"filename":"image_19042025_12_16_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4d24b73a343b3658351a4c1061237e5.jpg","text":"TemporaryFile(/tmp/multipartBody4268140950909492572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070033363,"filename":"image_19042025_12_16_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/63987763b417764988313d880c00a531.jpg","text":"TemporaryFile(/tmp/multipartBody825732385247837939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070033363,"filename":"image_19042025_12_16_14_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873591","file1":"1351873588","file0":"1351873586","file4":"1351873602","file5":"1351873604","file3":"1351873598"},"map_files_photo_id_array":[{"photo_id":"1351873604","filename":"file5"},{"photo_id":"1351873591","filename":"file2"},{"photo_id":"1351873602","filename":"file4"},{"photo_id":"1351873588","filename":"file1"},{"photo_id":"1351873586","filename":"file0"},{"photo_id":"1351873598","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873602":["hashtag1","hashtag2"]},{"1351873598":["hashtag1","hashtag2"]},{"1351873586":["hashtag1","hashtag2"]},{"1351873591":["hashtag1","hashtag2"]},{"1351873604":["hashtag1","hashtag2"]},{"1351873588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873602, 1351873598, 1351873586, 1351873591, 1351873604, 1351873588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.119752407073975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:40:33.109610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/16/image_19042025_12_17_04_9370.jpg', '/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_15_10500.jpg', '/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_24_9353.jpg', '/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_35_10372.jpg', '/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_45_10362.jpg', '/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_54_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/16/image_19042025_12_17_04_9370.jpg
/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_15_10500.jpg
/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_24_9353.jpg
/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_35_10372.jpg
/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_45_10362.jpg
/home/pi/Desktop/images/19042025/12/17/image_19042025_12_17_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":["1351873682","1351873708","1351873671","1351873665","1351873674","1351873662"],"photo_ids_order":["1351873662","1351873665","1351873671","1351873674","1351873682","1351873708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/07db568f5728e8844558b1492b0f94c5.jpg","text":"TemporaryFile(/tmp/multipartBody2365365131072090745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070093582,"filename":"image_19042025_12_17_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/19/7ebacd893b8638ca21366d42e36433d7.jpg","text":"TemporaryFile(/tmp/multipartBody3298251803822258010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070093582,"filename":"image_19042025_12_17_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/19/36a1be881b717f2940696d103b235883.jpg","text":"TemporaryFile(/tmp/multipartBody4377076505462348606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070093582,"filename":"image_19042025_12_17_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d8254da13f0e1928fab290a734bae67.jpg","text":"TemporaryFile(/tmp/multipartBody3431565308447282069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070093582,"filename":"image_19042025_12_17_15_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c0affb281df32db92e38db1cc8a7813c.jpg","text":"TemporaryFile(/tmp/multipartBody7913838945361342120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070093582,"filename":"image_19042025_12_17_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/19/9bad04c769cd1e671a5dcd0b8a0566e0.jpg","text":"TemporaryFile(/tmp/multipartBody7248364141486557900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070093582,"filename":"image_19042025_12_17_04_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873671","file1":"1351873665","file0":"1351873662","file4":"1351873682","file5":"1351873708","file3":"1351873674"},"map_files_photo_id_array":[{"photo_id":"1351873708","filename":"file5"},{"photo_id":"1351873671","filename":"file2"},{"photo_id":"1351873682","filename":"file4"},{"photo_id":"1351873665","filename":"file1"},{"photo_id":"1351873662","filename":"file0"},{"photo_id":"1351873674","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873682":["hashtag1","hashtag2"]},{"1351873708":["hashtag1","hashtag2"]},{"1351873671":["hashtag1","hashtag2"]},{"1351873665":["hashtag1","hashtag2"]},{"1351873674":["hashtag1","hashtag2"]},{"1351873662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873682, 1351873708, 1351873671, 1351873665, 1351873674, 1351873662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32244682312012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:41:32.358986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/17/image_19042025_12_18_05_10426.jpg', '/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_15_10374.jpg', '/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_25_9367.jpg', '/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_35_10361.jpg', '/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_44_9359.jpg', '/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_55_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/17/image_19042025_12_18_05_10426.jpg
/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_15_10374.jpg
/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_25_9367.jpg
/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_35_10361.jpg
/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_44_9359.jpg
/home/pi/Desktop/images/19042025/12/18/image_19042025_12_18_55_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351873892","1351873880","1351873882","1351873888","1351873884","1351873863"],"photo_ids_order":["1351873863","1351873880","1351873882","1351873884","1351873888","1351873892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc8d92e4f4a734e9a92621913f2a9cee.jpg","text":"TemporaryFile(/tmp/multipartBody2543624784888112124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070152827,"filename":"image_19042025_12_18_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/19/4526993ce1cf0350b9d056fd035798bc.jpg","text":"TemporaryFile(/tmp/multipartBody3467668373622291625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070152827,"filename":"image_19042025_12_18_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/19/92f1fef01098b57670cdddfcee92eea7.jpg","text":"TemporaryFile(/tmp/multipartBody6923790020188903614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070152827,"filename":"image_19042025_12_18_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/19/cdc86d31dbef54d3bc5b2917f5ed5a04.jpg","text":"TemporaryFile(/tmp/multipartBody5030680656567819378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070152827,"filename":"image_19042025_12_18_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/19/2bd71c8ced8788e30951a840f7ce5617.jpg","text":"TemporaryFile(/tmp/multipartBody8199741343300657156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070152827,"filename":"image_19042025_12_18_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/19/e6bcb68406e483a1b1562d4c4253d1fd.jpg","text":"TemporaryFile(/tmp/multipartBody641215871087024259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070152827,"filename":"image_19042025_12_18_05_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873882","file1":"1351873880","file0":"1351873863","file4":"1351873888","file5":"1351873892","file3":"1351873884"},"map_files_photo_id_array":[{"photo_id":"1351873892","filename":"file5"},{"photo_id":"1351873882","filename":"file2"},{"photo_id":"1351873888","filename":"file4"},{"photo_id":"1351873880","filename":"file1"},{"photo_id":"1351873863","filename":"file0"},{"photo_id":"1351873884","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873892":["hashtag1","hashtag2"]},{"1351873880":["hashtag1","hashtag2"]},{"1351873882":["hashtag1","hashtag2"]},{"1351873888":["hashtag1","hashtag2"]},{"1351873884":["hashtag1","hashtag2"]},{"1351873863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873892, 1351873880, 1351873882, 1351873888, 1351873884, 1351873863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.917705297470093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:42:32.704596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/18/image_19042025_12_19_05_10365.jpg', '/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_14_9337.jpg', '/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_25_10358.jpg', '/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_35_10469.jpg', '/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_45_9429.jpg', '/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_55_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/18/image_19042025_12_19_05_10365.jpg
/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_14_9337.jpg
/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_25_10358.jpg
/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_35_10469.jpg
/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_45_9429.jpg
/home/pi/Desktop/images/19042025/12/19/image_19042025_12_19_55_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351873908","1351873910","1351873915","1351873918","1351873903","1351873906"],"photo_ids_order":["1351873903","1351873906","1351873908","1351873910","1351873915","1351873918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d3d0404f82cd113549d17ec722c12ef.jpg","text":"TemporaryFile(/tmp/multipartBody3092351891316117806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070213186,"filename":"image_19042025_12_19_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/19/e8af3d438389bb0a57f7e45993ef3306.jpg","text":"TemporaryFile(/tmp/multipartBody1640520913740313513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070213186,"filename":"image_19042025_12_19_35_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d04bed3b06f03ca6a4d5592726158add.jpg","text":"TemporaryFile(/tmp/multipartBody1402523375819722092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070213186,"filename":"image_19042025_12_19_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/19/202d4d364ddfde41efe7eb92542bf70f.jpg","text":"TemporaryFile(/tmp/multipartBody5616972328560172531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070213186,"filename":"image_19042025_12_19_55_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/346e9854a6bc71e2e2053f2d0adb29db.jpg","text":"TemporaryFile(/tmp/multipartBody5730919729175925114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070213186,"filename":"image_19042025_12_19_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/19/2d0b43f56ff0fc6dc91aa7a907a663a3.jpg","text":"TemporaryFile(/tmp/multipartBody4667452312352874507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070213186,"filename":"image_19042025_12_19_14_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873908","file1":"1351873906","file0":"1351873903","file4":"1351873915","file5":"1351873918","file3":"1351873910"},"map_files_photo_id_array":[{"photo_id":"1351873918","filename":"file5"},{"photo_id":"1351873908","filename":"file2"},{"photo_id":"1351873915","filename":"file4"},{"photo_id":"1351873906","filename":"file1"},{"photo_id":"1351873903","filename":"file0"},{"photo_id":"1351873910","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873908":["hashtag1","hashtag2"]},{"1351873910":["hashtag1","hashtag2"]},{"1351873915":["hashtag1","hashtag2"]},{"1351873918":["hashtag1","hashtag2"]},{"1351873903":["hashtag1","hashtag2"]},{"1351873906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873908, 1351873910, 1351873915, 1351873918, 1351873903, 1351873906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.787206411361694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:43:32.967159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/19/image_19042025_12_20_04_9362.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_15_10374.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_25_10396.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_34_9358.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_45_10450.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_54_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/19/image_19042025_12_20_04_9362.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_15_10374.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_25_10396.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_34_9358.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_45_10450.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_54_9369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37835168838500977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 15:43:42.828135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/19/image_19042025_12_20_04_9362.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_15_10374.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_25_10396.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_34_9358.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_45_10450.jpg', '/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_54_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/19/image_19042025_12_20_04_9362.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_15_10374.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_25_10396.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_34_9358.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_45_10450.jpg
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_20_54_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351873949","1351873946","1351873951","1351873939","1351873942","1351873944"],"photo_ids_order":["1351873939","1351873942","1351873944","1351873946","1351873949","1351873951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c034e5d87cff818023ddec7c8a00fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3906093767137643762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070283297,"filename":"image_19042025_12_20_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/19/3458e1823ad526fc29cda9721c1149ae.jpg","text":"TemporaryFile(/tmp/multipartBody7093839735303125165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070283297,"filename":"image_19042025_12_20_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/19/bea6087a66d26cf81751a52d26a7b875.jpg","text":"TemporaryFile(/tmp/multipartBody5151131442300399213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070283297,"filename":"image_19042025_12_20_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/19/c5504618d8f90d212fb8cc22d17b49d8.jpg","text":"TemporaryFile(/tmp/multipartBody1480281625317148953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070283297,"filename":"image_19042025_12_20_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6ef10bfdb47ea7cb528b0760387309c.jpg","text":"TemporaryFile(/tmp/multipartBody4518593272051322941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070283297,"filename":"image_19042025_12_20_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/19/aa64a950442d8e50081a7a5e7d867ef3.jpg","text":"TemporaryFile(/tmp/multipartBody4720723884462317395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070283297,"filename":"image_19042025_12_20_25_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873944","file1":"1351873942","file0":"1351873939","file4":"1351873949","file5":"1351873951","file3":"1351873946"},"map_files_photo_id_array":[{"photo_id":"1351873951","filename":"file5"},{"photo_id":"1351873944","filename":"file2"},{"photo_id":"1351873949","filename":"file4"},{"photo_id":"1351873942","filename":"file1"},{"photo_id":"1351873939","filename":"file0"},{"photo_id":"1351873946","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873949":["hashtag1","hashtag2"]},{"1351873946":["hashtag1","hashtag2"]},{"1351873951":["hashtag1","hashtag2"]},{"1351873939":["hashtag1","hashtag2"]},{"1351873942":["hashtag1","hashtag2"]},{"1351873944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873949, 1351873946, 1351873951, 1351873939, 1351873942, 1351873944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.700350522994995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:44:32.967464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/20/image_19042025_12_21_05_10396.jpg', '/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_15_10353.jpg', '/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_24_9368.jpg', '/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_35_10426.jpg', '/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_44_9369.jpg', '/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/20/image_19042025_12_21_05_10396.jpg
/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_15_10353.jpg
/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_24_9368.jpg
/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_35_10426.jpg
/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_44_9369.jpg
/home/pi/Desktop/images/19042025/12/21/image_19042025_12_21_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351873988","1351873990","1351873963","1351873966","1351873969","1351873986"],"photo_ids_order":["1351873963","1351873966","1351873969","1351873986","1351873988","1351873990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/16ffb73ea253366d955b639d10242be9.jpg","text":"TemporaryFile(/tmp/multipartBody7668927624882319139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070333436,"filename":"image_19042025_12_21_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/19/5b7c11544dcd5959b2ee9bfa838fb404.jpg","text":"TemporaryFile(/tmp/multipartBody1106888000287208195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070333436,"filename":"image_19042025_12_21_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/19/8cae8c9e643852beac1912cb95bc33b0.jpg","text":"TemporaryFile(/tmp/multipartBody4092093125961183069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070333436,"filename":"image_19042025_12_21_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/19/a16c79b7bbf5bf3988bcf1036536657e.jpg","text":"TemporaryFile(/tmp/multipartBody1135649295921643888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070333436,"filename":"image_19042025_12_21_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/19/f343e00cfa93e618e78ad8e82608c9c9.jpg","text":"TemporaryFile(/tmp/multipartBody6333441560938442744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070333436,"filename":"image_19042025_12_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/19/121815b473c344e93e627d3ccf9337dd.jpg","text":"TemporaryFile(/tmp/multipartBody3985498712748883197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070333436,"filename":"image_19042025_12_21_35_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873969","file1":"1351873966","file0":"1351873963","file4":"1351873988","file5":"1351873990","file3":"1351873986"},"map_files_photo_id_array":[{"photo_id":"1351873990","filename":"file5"},{"photo_id":"1351873969","filename":"file2"},{"photo_id":"1351873988","filename":"file4"},{"photo_id":"1351873966","filename":"file1"},{"photo_id":"1351873963","filename":"file0"},{"photo_id":"1351873986","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351873988":["hashtag1","hashtag2"]},{"1351873990":["hashtag1","hashtag2"]},{"1351873963":["hashtag1","hashtag2"]},{"1351873966":["hashtag1","hashtag2"]},{"1351873969":["hashtag1","hashtag2"]},{"1351873986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351873988, 1351873990, 1351873963, 1351873966, 1351873969, 1351873986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.692516565322876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:45:33.546770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/21/image_19042025_12_22_05_10463.jpg', '/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_15_9442.jpg', '/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_25_10411.jpg', '/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_34_9347.jpg', '/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_45_10523.jpg', '/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/21/image_19042025_12_22_05_10463.jpg
/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_15_9442.jpg
/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_25_10411.jpg
/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_34_9347.jpg
/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_45_10523.jpg
/home/pi/Desktop/images/19042025/12/22/image_19042025_12_22_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":["1351874003","1351874000","1351874002","1351874005","1351874004","1351873998"],"photo_ids_order":["1351873998","1351874000","1351874002","1351874003","1351874004","1351874005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/047a7e874d93d00ae4082f4a2340fa93.jpg","text":"TemporaryFile(/tmp/multipartBody9117208637191819345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070394010,"filename":"image_19042025_12_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/19/7238175b9ed086575ceee1096ab2e6cb.jpg","text":"TemporaryFile(/tmp/multipartBody8670869277958884231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070394010,"filename":"image_19042025_12_22_15_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/edd13cf98ffa1cbe4327a5810c81f65c.jpg","text":"TemporaryFile(/tmp/multipartBody5065533526961124988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070394010,"filename":"image_19042025_12_22_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/19/27a33623fd636e9c8faedf9a3017315b.jpg","text":"TemporaryFile(/tmp/multipartBody7986476913122825137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070394010,"filename":"image_19042025_12_22_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/19/7f5f40173be4a4b451f9b2d34666c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody1403057075918274106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070394010,"filename":"image_19042025_12_22_45_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99cb268ba9e9b0fe1f341e3059bf73ed.jpg","text":"TemporaryFile(/tmp/multipartBody2366713148928597566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070394010,"filename":"image_19042025_12_22_05_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874002","file1":"1351874000","file0":"1351873998","file4":"1351874004","file5":"1351874005","file3":"1351874003"},"map_files_photo_id_array":[{"photo_id":"1351874005","filename":"file5"},{"photo_id":"1351874002","filename":"file2"},{"photo_id":"1351874004","filename":"file4"},{"photo_id":"1351874000","filename":"file1"},{"photo_id":"1351873998","filename":"file0"},{"photo_id":"1351874003","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874003":["hashtag1","hashtag2"]},{"1351874000":["hashtag1","hashtag2"]},{"1351874002":["hashtag1","hashtag2"]},{"1351874005":["hashtag1","hashtag2"]},{"1351874004":["hashtag1","hashtag2"]},{"1351873998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874003, 1351874000, 1351874002, 1351874005, 1351874004, 1351873998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.952595233917236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:46:32.423403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/22/image_19042025_12_23_05_9334.jpg', '/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_15_10378.jpg', '/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_24_9361.jpg', '/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_35_10382.jpg', '/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_45_10379.jpg', '/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_54_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/22/image_19042025_12_23_05_9334.jpg
/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_15_10378.jpg
/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_24_9361.jpg
/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_35_10382.jpg
/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_45_10379.jpg
/home/pi/Desktop/images/19042025/12/23/image_19042025_12_23_54_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":["1351874030","1351874024","1351874022","1351874019","1351874028","1351874016"],"photo_ids_order":["1351874016","1351874019","1351874022","1351874024","1351874028","1351874030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fe6a245948fa7a5ff86a5667b331bbab.jpg","text":"TemporaryFile(/tmp/multipartBody2140937183861374703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070453031,"filename":"image_19042025_12_23_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/19/6dd256defbce0a07127f2af3580d346e.jpg","text":"TemporaryFile(/tmp/multipartBody7679551172616004950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070453031,"filename":"image_19042025_12_23_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/19/9f1311e1d8e2b3af3db2bbc51f4ffc09.jpg","text":"TemporaryFile(/tmp/multipartBody5258164659412823116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070453031,"filename":"image_19042025_12_23_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/19/bed5851f7aa2e0959f2a7485977d6f1b.jpg","text":"TemporaryFile(/tmp/multipartBody132858953426918315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070453031,"filename":"image_19042025_12_23_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/19/581671381d06a65e2ef78f7f21c8446c.jpg","text":"TemporaryFile(/tmp/multipartBody8580538348829898020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070453031,"filename":"image_19042025_12_23_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/19/b25b0f924611f3998e01194bfac619e6.jpg","text":"TemporaryFile(/tmp/multipartBody8618384385281338341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070453031,"filename":"image_19042025_12_23_05_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874022","file1":"1351874019","file0":"1351874016","file4":"1351874028","file5":"1351874030","file3":"1351874024"},"map_files_photo_id_array":[{"photo_id":"1351874030","filename":"file5"},{"photo_id":"1351874022","filename":"file2"},{"photo_id":"1351874028","filename":"file4"},{"photo_id":"1351874019","filename":"file1"},{"photo_id":"1351874016","filename":"file0"},{"photo_id":"1351874024","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874030":["hashtag1","hashtag2"]},{"1351874024":["hashtag1","hashtag2"]},{"1351874022":["hashtag1","hashtag2"]},{"1351874019":["hashtag1","hashtag2"]},{"1351874028":["hashtag1","hashtag2"]},{"1351874016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874030, 1351874024, 1351874022, 1351874019, 1351874028, 1351874016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68722677230835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:47:32.671217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/23/image_19042025_12_24_05_10546.jpg', '/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_14_9439.jpg', '/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_25_10499.jpg', '/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_34_9342.jpg', '/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_45_10369.jpg', '/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_55_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/23/image_19042025_12_24_05_10546.jpg
/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_14_9439.jpg
/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_25_10499.jpg
/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_34_9342.jpg
/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_45_10369.jpg
/home/pi/Desktop/images/19042025/12/24/image_19042025_12_24_55_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":["1351874159","1351874089","1351874161","1351874137","1351874163","1351874157"],"photo_ids_order":["1351874089","1351874137","1351874157","1351874159","1351874161","1351874163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/398aafb8d1fdde1f884b77b433c470d5.jpg","text":"TemporaryFile(/tmp/multipartBody545844314174779960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070513143,"filename":"image_19042025_12_24_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9517df3330221aa14a336dd8529a77c8.jpg","text":"TemporaryFile(/tmp/multipartBody1262963174122185023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070513143,"filename":"image_19042025_12_24_05_10546.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/354bc7262e517b46fb6eef5206f48de5.jpg","text":"TemporaryFile(/tmp/multipartBody3294999630980155982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070513143,"filename":"image_19042025_12_24_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/60996b1d7999c048c00617e9edcdd75f.jpg","text":"TemporaryFile(/tmp/multipartBody7359931866056073470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070513143,"filename":"image_19042025_12_24_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/19/77bcc1aa1698354fa16ad48bf1206823.jpg","text":"TemporaryFile(/tmp/multipartBody2032320007976554075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070513143,"filename":"image_19042025_12_24_55_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/31b7aa6ff1057b39229c93f2107e051c.jpg","text":"TemporaryFile(/tmp/multipartBody4723772367150850577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070513143,"filename":"image_19042025_12_24_25_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874157","file1":"1351874137","file0":"1351874089","file4":"1351874161","file5":"1351874163","file3":"1351874159"},"map_files_photo_id_array":[{"photo_id":"1351874163","filename":"file5"},{"photo_id":"1351874157","filename":"file2"},{"photo_id":"1351874161","filename":"file4"},{"photo_id":"1351874137","filename":"file1"},{"photo_id":"1351874089","filename":"file0"},{"photo_id":"1351874159","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874159":["hashtag1","hashtag2"]},{"1351874089":["hashtag1","hashtag2"]},{"1351874161":["hashtag1","hashtag2"]},{"1351874137":["hashtag1","hashtag2"]},{"1351874163":["hashtag1","hashtag2"]},{"1351874157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874159, 1351874089, 1351874161, 1351874137, 1351874163, 1351874157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94345045089722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:48:32.713967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/24/image_19042025_12_25_04_9362.jpg', '/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_15_10412.jpg', '/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_24_9380.jpg', '/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_35_10386.jpg', '/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_45_10362.jpg', '/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_54_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/24/image_19042025_12_25_04_9362.jpg
/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_15_10412.jpg
/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_24_9380.jpg
/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_35_10386.jpg
/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_45_10362.jpg
/home/pi/Desktop/images/19042025/12/25/image_19042025_12_25_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":["1351874312","1351874336","1351874338","1351874334","1351874301","1351874331"],"photo_ids_order":["1351874301","1351874312","1351874331","1351874334","1351874336","1351874338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f809957db1debb01abb4c66cd38bb94.jpg","text":"TemporaryFile(/tmp/multipartBody7226761483493160009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070573187,"filename":"image_19042025_12_25_15_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba69e3b9a67f1577666221b823168c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7190900575349763406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070573187,"filename":"image_19042025_12_25_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ff5963e83285a1da6fb271a11210631.jpg","text":"TemporaryFile(/tmp/multipartBody910123865031613277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070573187,"filename":"image_19042025_12_25_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/19/0d6dd7a5b1c7e87fa9a66df8f7cfc1f5.jpg","text":"TemporaryFile(/tmp/multipartBody623634752434127794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070573187,"filename":"image_19042025_12_25_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/19/bad09554efa4baa4db943bf177e740bf.jpg","text":"TemporaryFile(/tmp/multipartBody9081122815002406978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070573187,"filename":"image_19042025_12_25_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/19/5a951d389435063fae79533b6b941759.jpg","text":"TemporaryFile(/tmp/multipartBody5797923383160178773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070573187,"filename":"image_19042025_12_25_24_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874331","file1":"1351874312","file0":"1351874301","file4":"1351874336","file5":"1351874338","file3":"1351874334"},"map_files_photo_id_array":[{"photo_id":"1351874338","filename":"file5"},{"photo_id":"1351874331","filename":"file2"},{"photo_id":"1351874336","filename":"file4"},{"photo_id":"1351874312","filename":"file1"},{"photo_id":"1351874301","filename":"file0"},{"photo_id":"1351874334","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874312":["hashtag1","hashtag2"]},{"1351874336":["hashtag1","hashtag2"]},{"1351874338":["hashtag1","hashtag2"]},{"1351874334":["hashtag1","hashtag2"]},{"1351874301":["hashtag1","hashtag2"]},{"1351874331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874312, 1351874336, 1351874338, 1351874334, 1351874301, 1351874331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36609506607056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:49:32.977586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/25/image_19042025_12_26_05_10361.jpg', '/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_15_10384.jpg', '/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_24_9366.jpg', '/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_35_10498.jpg', '/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_44_9361.jpg', '/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/25/image_19042025_12_26_05_10361.jpg
/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_15_10384.jpg
/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_24_9366.jpg
/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_35_10498.jpg
/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_44_9361.jpg
/home/pi/Desktop/images/19042025/12/26/image_19042025_12_26_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351874426","1351874416","1351874425","1351874410","1351874428","1351874421"],"photo_ids_order":["1351874410","1351874416","1351874421","1351874425","1351874426","1351874428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f623e106dd8b1fd7ab68121c519e0ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2533750303530399592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070633438,"filename":"image_19042025_12_26_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/19/c677818a0666bee17e03e5ed6bc71380.jpg","text":"TemporaryFile(/tmp/multipartBody4300637209949039158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070633438,"filename":"image_19042025_12_26_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/19/c7327d728580f550527ff2cbe16faae5.jpg","text":"TemporaryFile(/tmp/multipartBody827463771054281229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070633438,"filename":"image_19042025_12_26_35_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f50738d2df2f677d55408a35ac830a4.jpg","text":"TemporaryFile(/tmp/multipartBody6425121766675846928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070633438,"filename":"image_19042025_12_26_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/19/b71a8e8a5a3fa6f1a4587a675a79ddcd.jpg","text":"TemporaryFile(/tmp/multipartBody7139329861700419713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070633438,"filename":"image_19042025_12_26_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0541698cb6f6672a146c104834a929a8.jpg","text":"TemporaryFile(/tmp/multipartBody5578370752780860017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070633438,"filename":"image_19042025_12_26_24_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874421","file1":"1351874416","file0":"1351874410","file4":"1351874426","file5":"1351874428","file3":"1351874425"},"map_files_photo_id_array":[{"photo_id":"1351874428","filename":"file5"},{"photo_id":"1351874421","filename":"file2"},{"photo_id":"1351874426","filename":"file4"},{"photo_id":"1351874416","filename":"file1"},{"photo_id":"1351874410","filename":"file0"},{"photo_id":"1351874425","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874426":["hashtag1","hashtag2"]},{"1351874416":["hashtag1","hashtag2"]},{"1351874425":["hashtag1","hashtag2"]},{"1351874410":["hashtag1","hashtag2"]},{"1351874428":["hashtag1","hashtag2"]},{"1351874421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874426, 1351874416, 1351874425, 1351874410, 1351874428, 1351874421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32263660430908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:50:32.147967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/26/image_19042025_12_27_05_10348.jpg', '/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_14_9440.jpg', '/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_25_10403.jpg', '/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_34_9340.jpg', '/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_45_10366.jpg', '/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_55_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/26/image_19042025_12_27_05_10348.jpg
/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_14_9440.jpg
/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_25_10403.jpg
/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_34_9340.jpg
/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_45_10366.jpg
/home/pi/Desktop/images/19042025/12/27/image_19042025_12_27_55_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":["1351874606","1351874609","1351874611","1351874577","1351874547","1351874604"],"photo_ids_order":["1351874547","1351874577","1351874604","1351874606","1351874609","1351874611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ea0cd7db7329cdada96785d99623ccb.jpg","text":"TemporaryFile(/tmp/multipartBody5487996945102620084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070692624,"filename":"image_19042025_12_27_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/974a2357692e10dd1fba3f20035f6639.jpg","text":"TemporaryFile(/tmp/multipartBody8759953143829132939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070692624,"filename":"image_19042025_12_27_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d0e947f442f4586b96455aaaa832838.jpg","text":"TemporaryFile(/tmp/multipartBody4291240316504229256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070692624,"filename":"image_19042025_12_27_55_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15ec72378790964ffa60c1506548bcd4.jpg","text":"TemporaryFile(/tmp/multipartBody4770417063038794645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070692624,"filename":"image_19042025_12_27_14_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5863e56b0d427180be3edba58d00f604.jpg","text":"TemporaryFile(/tmp/multipartBody2170224446018516758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070692624,"filename":"image_19042025_12_27_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/19/43e92d03219093c8f5373d65cbb2a03b.jpg","text":"TemporaryFile(/tmp/multipartBody8639535340967930994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070692624,"filename":"image_19042025_12_27_25_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874604","file1":"1351874577","file0":"1351874547","file4":"1351874609","file5":"1351874611","file3":"1351874606"},"map_files_photo_id_array":[{"photo_id":"1351874611","filename":"file5"},{"photo_id":"1351874604","filename":"file2"},{"photo_id":"1351874609","filename":"file4"},{"photo_id":"1351874577","filename":"file1"},{"photo_id":"1351874547","filename":"file0"},{"photo_id":"1351874606","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874606":["hashtag1","hashtag2"]},{"1351874609":["hashtag1","hashtag2"]},{"1351874611":["hashtag1","hashtag2"]},{"1351874577":["hashtag1","hashtag2"]},{"1351874547":["hashtag1","hashtag2"]},{"1351874604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874606, 1351874609, 1351874611, 1351874577, 1351874547, 1351874604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.969075202941895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:51:32.404238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/27/image_19042025_12_28_04_9344.jpg', '/home/pi/Desktop/images/19042025/12/28/image_19042025_12_28_15_10444.jpg', '/home/pi/Desktop/images/19042025/12/28/image_19042025_12_28_24_9365.jpg', '/home/pi/Desktop/images/19042025/12/28/image_19042025_12_28_35_10368.jpg', '/home/pi/Desktop/images/19042025/12/28/image_19042025_12_28_45_10357.jpg', '/home/pi/Desktop/images/19042025/12/28/image_19042025_12_29_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/27/image_19042025_12_28_04_9344.jpg
/home/pi/Desktop/images/19042025/12/28/image_19042025_12_28_15_10444.jpg
/home/pi/Desktop/images/19042025/12/28/image_19042025_12_28_24_9365.jpg
/home/pi/Desktop/images/19042025/12/28/image_19042025_12_28_35_10368.jpg
/home/pi/Desktop/images/19042025/12/28/image_19042025_12_28_45_10357.jpg
/home/pi/Desktop/images/19042025/12/28/image_19042025_12_29_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":["1351874750","1351874683","1351874668","1351874763","1351874766","1351874652"],"photo_ids_order":["1351874652","1351874668","1351874683","1351874750","1351874763","1351874766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf5b47483bf4b45680b2dfebea56bb9a.jpg","text":"TemporaryFile(/tmp/multipartBody3880904424498481041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070752869,"filename":"image_19042025_12_28_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/72c28c08b9c3425cf8dce878dab0f7e5.jpg","text":"TemporaryFile(/tmp/multipartBody6106056015388232831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070752869,"filename":"image_19042025_12_28_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/19/a1a84f9cd491510a1142a624c9156d59.jpg","text":"TemporaryFile(/tmp/multipartBody3873621594639504411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070752869,"filename":"image_19042025_12_28_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98752c8b93a698ed8f83680a0ce308e7.jpg","text":"TemporaryFile(/tmp/multipartBody3988049784618554927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070752869,"filename":"image_19042025_12_28_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/19/23c1df810301a42930bb0a04b871a077.jpg","text":"TemporaryFile(/tmp/multipartBody2935205325583794713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070752869,"filename":"image_19042025_12_29_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/19/6a550bcd5fbbd7568b3eabbee52741ff.jpg","text":"TemporaryFile(/tmp/multipartBody6904184164404912320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070752869,"filename":"image_19042025_12_28_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874683","file1":"1351874668","file0":"1351874652","file4":"1351874763","file5":"1351874766","file3":"1351874750"},"map_files_photo_id_array":[{"photo_id":"1351874766","filename":"file5"},{"photo_id":"1351874683","filename":"file2"},{"photo_id":"1351874763","filename":"file4"},{"photo_id":"1351874668","filename":"file1"},{"photo_id":"1351874652","filename":"file0"},{"photo_id":"1351874750","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874750":["hashtag1","hashtag2"]},{"1351874683":["hashtag1","hashtag2"]},{"1351874668":["hashtag1","hashtag2"]},{"1351874763":["hashtag1","hashtag2"]},{"1351874766":["hashtag1","hashtag2"]},{"1351874652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874750, 1351874683, 1351874668, 1351874763, 1351874766, 1351874652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67581224441528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:52:32.604726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_15_10360.jpg', '/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_24_9354.jpg', '/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_35_10432.jpg', '/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_44_9457.jpg', '/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_55_10402.jpg', '/home/pi/Desktop/images/19042025/12/30/image_19042025_12_30_15_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_15_10360.jpg
/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_24_9354.jpg
/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_35_10432.jpg
/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_44_9457.jpg
/home/pi/Desktop/images/19042025/12/29/image_19042025_12_29_55_10402.jpg
/home/pi/Desktop/images/19042025/12/30/image_19042025_12_30_15_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351874846","1351874840","1351874842","1351874836","1351874844","1351874838"],"photo_ids_order":["1351874836","1351874838","1351874840","1351874842","1351874844","1351874846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc7b8f256f9fa11755530fa07b1b011f.jpg","text":"TemporaryFile(/tmp/multipartBody3252242395266661958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070813062,"filename":"image_19042025_12_30_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8a707963e14d4b465800c9ecd50a9529.jpg","text":"TemporaryFile(/tmp/multipartBody2825526470950729311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070813062,"filename":"image_19042025_12_29_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/923e18a46ba9848e2cbbcbc1584d1e5d.jpg","text":"TemporaryFile(/tmp/multipartBody7970662414525563665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070813062,"filename":"image_19042025_12_29_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/19/1a14ba2f99877bbeb146e0e220fe7fc5.jpg","text":"TemporaryFile(/tmp/multipartBody5740195944356759595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070813062,"filename":"image_19042025_12_29_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/19/946e6581b1e5cecb4a77d3f62591e3e8.jpg","text":"TemporaryFile(/tmp/multipartBody4170447319883963728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070813062,"filename":"image_19042025_12_29_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/83e46f3f898b281ed4cfea7990385a50.jpg","text":"TemporaryFile(/tmp/multipartBody275516868221028819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070813062,"filename":"image_19042025_12_29_24_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874840","file1":"1351874838","file0":"1351874836","file4":"1351874844","file5":"1351874846","file3":"1351874842"},"map_files_photo_id_array":[{"photo_id":"1351874846","filename":"file5"},{"photo_id":"1351874840","filename":"file2"},{"photo_id":"1351874844","filename":"file4"},{"photo_id":"1351874838","filename":"file1"},{"photo_id":"1351874836","filename":"file0"},{"photo_id":"1351874842","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874846":["hashtag1","hashtag2"]},{"1351874840":["hashtag1","hashtag2"]},{"1351874842":["hashtag1","hashtag2"]},{"1351874836":["hashtag1","hashtag2"]},{"1351874844":["hashtag1","hashtag2"]},{"1351874838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874846, 1351874840, 1351874842, 1351874836, 1351874844, 1351874838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.285267114639282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:53:32.997270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/30/image_19042025_12_30_25_10400.jpg', '/home/pi/Desktop/images/19042025/12/30/image_19042025_12_30_34_9349.jpg', '/home/pi/Desktop/images/19042025/12/30/image_19042025_12_30_55_10448.jpg', '/home/pi/Desktop/images/19042025/12/30/image_19042025_12_31_04_9345.jpg', '/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_15_10390.jpg', '/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_24_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/30/image_19042025_12_30_25_10400.jpg
/home/pi/Desktop/images/19042025/12/30/image_19042025_12_30_34_9349.jpg
/home/pi/Desktop/images/19042025/12/30/image_19042025_12_30_55_10448.jpg
/home/pi/Desktop/images/19042025/12/30/image_19042025_12_31_04_9345.jpg
/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_15_10390.jpg
/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_24_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":["1351874861","1351874855","1351874863","1351874857","1351874866","1351874859"],"photo_ids_order":["1351874855","1351874857","1351874859","1351874861","1351874863","1351874866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2b95dff63b162bff51d036ada693e2cb.jpg","text":"TemporaryFile(/tmp/multipartBody5056225968202753602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070873471,"filename":"image_19042025_12_31_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/19/944884d92fc4a321661919b814657148.jpg","text":"TemporaryFile(/tmp/multipartBody4711887842861688118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070873471,"filename":"image_19042025_12_30_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/19/d06b319d7846b3ee68e5e2d18c7d710d.jpg","text":"TemporaryFile(/tmp/multipartBody855624576360949524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070873471,"filename":"image_19042025_12_31_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55f59f91a88d1f5a6dac1b89af43a1c2.jpg","text":"TemporaryFile(/tmp/multipartBody7698420773741768787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070873471,"filename":"image_19042025_12_30_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/19/ffe8629e68c079b1e4c004d9ffbf0d83.jpg","text":"TemporaryFile(/tmp/multipartBody7351896337912683540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070873471,"filename":"image_19042025_12_31_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/19/0b6e594cd847c3df8a1cf91615200ca7.jpg","text":"TemporaryFile(/tmp/multipartBody4617340416546114366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070873471,"filename":"image_19042025_12_30_55_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874859","file1":"1351874857","file0":"1351874855","file4":"1351874863","file5":"1351874866","file3":"1351874861"},"map_files_photo_id_array":[{"photo_id":"1351874866","filename":"file5"},{"photo_id":"1351874859","filename":"file2"},{"photo_id":"1351874863","filename":"file4"},{"photo_id":"1351874857","filename":"file1"},{"photo_id":"1351874855","filename":"file0"},{"photo_id":"1351874861","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874861":["hashtag1","hashtag2"]},{"1351874855":["hashtag1","hashtag2"]},{"1351874863":["hashtag1","hashtag2"]},{"1351874857":["hashtag1","hashtag2"]},{"1351874866":["hashtag1","hashtag2"]},{"1351874859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874861, 1351874855, 1351874863, 1351874857, 1351874866, 1351874859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.89491295814514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:54:32.150939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_35_10351.jpg', '/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_45_10374.jpg', '/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_54_9378.jpg', '/home/pi/Desktop/images/19042025/12/31/image_19042025_12_32_05_10358.jpg', '/home/pi/Desktop/images/19042025/12/32/image_19042025_12_32_15_10350.jpg', '/home/pi/Desktop/images/19042025/12/32/image_19042025_12_32_24_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_35_10351.jpg
/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_45_10374.jpg
/home/pi/Desktop/images/19042025/12/31/image_19042025_12_31_54_9378.jpg
/home/pi/Desktop/images/19042025/12/31/image_19042025_12_32_05_10358.jpg
/home/pi/Desktop/images/19042025/12/32/image_19042025_12_32_15_10350.jpg
/home/pi/Desktop/images/19042025/12/32/image_19042025_12_32_24_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":["1351874948","1351874896","1351874950","1351874944","1351874898","1351874946"],"photo_ids_order":["1351874896","1351874898","1351874944","1351874946","1351874948","1351874950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c721fbd3bf2a1430aa5233c1d60215e7.jpg","text":"TemporaryFile(/tmp/multipartBody4040865203215524568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070932609,"filename":"image_19042025_12_32_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28e26bd8fc47d9464085d678d8a1eb87.jpg","text":"TemporaryFile(/tmp/multipartBody3928915321986422757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070932609,"filename":"image_19042025_12_31_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e37e2e6b02e24c66047fddb5aef10b75.jpg","text":"TemporaryFile(/tmp/multipartBody2319189768163685572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070932609,"filename":"image_19042025_12_32_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d0ebb13f1b8fb25d0d945ea671e6464.jpg","text":"TemporaryFile(/tmp/multipartBody8521578654973540405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070932609,"filename":"image_19042025_12_31_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/19/aa9d8a63ca1718ab74e37fcaa7819c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1175698572432645031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070932609,"filename":"image_19042025_12_31_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/19/a303014e4abed6581fee09a8b04507f1.jpg","text":"TemporaryFile(/tmp/multipartBody8564152503263323722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070932609,"filename":"image_19042025_12_32_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874944","file1":"1351874898","file0":"1351874896","file4":"1351874948","file5":"1351874950","file3":"1351874946"},"map_files_photo_id_array":[{"photo_id":"1351874950","filename":"file5"},{"photo_id":"1351874944","filename":"file2"},{"photo_id":"1351874948","filename":"file4"},{"photo_id":"1351874898","filename":"file1"},{"photo_id":"1351874896","filename":"file0"},{"photo_id":"1351874946","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874948":["hashtag1","hashtag2"]},{"1351874896":["hashtag1","hashtag2"]},{"1351874950":["hashtag1","hashtag2"]},{"1351874944":["hashtag1","hashtag2"]},{"1351874898":["hashtag1","hashtag2"]},{"1351874946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874948, 1351874896, 1351874950, 1351874944, 1351874898, 1351874946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.368746280670166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:55:32.373213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/32/image_19042025_12_32_35_10146.jpg', '/home/pi/Desktop/images/19042025/12/32/image_19042025_12_32_45_10354.jpg', '/home/pi/Desktop/images/19042025/12/32/image_19042025_12_33_05_10479.jpg', '/home/pi/Desktop/images/19042025/12/33/image_19042025_12_33_14_9372.jpg', '/home/pi/Desktop/images/19042025/12/33/image_19042025_12_33_25_10380.jpg', '/home/pi/Desktop/images/19042025/12/33/image_19042025_12_33_35_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/32/image_19042025_12_32_35_10146.jpg
/home/pi/Desktop/images/19042025/12/32/image_19042025_12_32_45_10354.jpg
/home/pi/Desktop/images/19042025/12/32/image_19042025_12_33_05_10479.jpg
/home/pi/Desktop/images/19042025/12/33/image_19042025_12_33_14_9372.jpg
/home/pi/Desktop/images/19042025/12/33/image_19042025_12_33_25_10380.jpg
/home/pi/Desktop/images/19042025/12/33/image_19042025_12_33_35_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351874966","1351874962","1351874971","1351874965","1351874964","1351874963"],"photo_ids_order":["1351874962","1351874963","1351874964","1351874965","1351874966","1351874971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0337cdebd5d73302a2914255662e9796.jpg","text":"TemporaryFile(/tmp/multipartBody1019535040107913974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070992833,"filename":"image_19042025_12_33_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/19/f5b42df0dc20da3887763c94d2c9761f.jpg","text":"TemporaryFile(/tmp/multipartBody7758752490244085442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070992833,"filename":"image_19042025_12_32_35_10146.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee0f95497d0f288a201596b109a684eb.jpg","text":"TemporaryFile(/tmp/multipartBody3528737670042266063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070992833,"filename":"image_19042025_12_33_35_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39fd56b097713279140b2607c304b05f.jpg","text":"TemporaryFile(/tmp/multipartBody5164014555683588622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070992833,"filename":"image_19042025_12_33_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/19/fa71c4b462c39bcef0d40e026d7d1856.jpg","text":"TemporaryFile(/tmp/multipartBody2108330135187745250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070992833,"filename":"image_19042025_12_33_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/19/325a2865b8cead95898d3619080ed6f3.jpg","text":"TemporaryFile(/tmp/multipartBody2896261874772565266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745070992833,"filename":"image_19042025_12_32_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874964","file1":"1351874963","file0":"1351874962","file4":"1351874966","file5":"1351874971","file3":"1351874965"},"map_files_photo_id_array":[{"photo_id":"1351874971","filename":"file5"},{"photo_id":"1351874964","filename":"file2"},{"photo_id":"1351874966","filename":"file4"},{"photo_id":"1351874963","filename":"file1"},{"photo_id":"1351874962","filename":"file0"},{"photo_id":"1351874965","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351874966":["hashtag1","hashtag2"]},{"1351874962":["hashtag1","hashtag2"]},{"1351874971":["hashtag1","hashtag2"]},{"1351874965":["hashtag1","hashtag2"]},{"1351874964":["hashtag1","hashtag2"]},{"1351874963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351874966, 1351874962, 1351874971, 1351874965, 1351874964, 1351874963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.18480634689331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:56:32.587597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/33/image_19042025_12_33_44_9375.jpg', '/home/pi/Desktop/images/19042025/12/33/image_19042025_12_34_04_9345.jpg', '/home/pi/Desktop/images/19042025/12/34/image_19042025_12_34_15_10347.jpg', '/home/pi/Desktop/images/19042025/12/34/image_19042025_12_34_45_10370.jpg', '/home/pi/Desktop/images/19042025/12/34/image_19042025_12_34_54_9359.jpg', '/home/pi/Desktop/images/19042025/12/34/image_19042025_12_35_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/33/image_19042025_12_33_44_9375.jpg
/home/pi/Desktop/images/19042025/12/33/image_19042025_12_34_04_9345.jpg
/home/pi/Desktop/images/19042025/12/34/image_19042025_12_34_15_10347.jpg
/home/pi/Desktop/images/19042025/12/34/image_19042025_12_34_45_10370.jpg
/home/pi/Desktop/images/19042025/12/34/image_19042025_12_34_54_9359.jpg
/home/pi/Desktop/images/19042025/12/34/image_19042025_12_35_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":["1351875008","1351874986","1351875022","1351875028","1351874982","1351875026"],"photo_ids_order":["1351874982","1351874986","1351875008","1351875022","1351875026","1351875028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c5175350330ced3966565d5ef619223.jpg","text":"TemporaryFile(/tmp/multipartBody7586521986088885697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071053049,"filename":"image_19042025_12_34_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/26d1c32fe46c2631bfb55526611c3754.jpg","text":"TemporaryFile(/tmp/multipartBody4899476236923507724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071053049,"filename":"image_19042025_12_34_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/19/3ae0f35f5b2a144167029148ebbb63a0.jpg","text":"TemporaryFile(/tmp/multipartBody7496073692971725391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071053049,"filename":"image_19042025_12_34_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/19/022e18796159d00fb3f1ea22a285e568.jpg","text":"TemporaryFile(/tmp/multipartBody4207933804055620714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071053049,"filename":"image_19042025_12_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/19/6d3d8db32f4bf441f6b0023f29d024df.jpg","text":"TemporaryFile(/tmp/multipartBody3363908551346587412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071053049,"filename":"image_19042025_12_33_44_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bef1a0767e5b11ed62f5706239750850.jpg","text":"TemporaryFile(/tmp/multipartBody5974404044102381500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071053049,"filename":"image_19042025_12_34_54_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351875008","file1":"1351874986","file0":"1351874982","file4":"1351875026","file5":"1351875028","file3":"1351875022"},"map_files_photo_id_array":[{"photo_id":"1351875028","filename":"file5"},{"photo_id":"1351875008","filename":"file2"},{"photo_id":"1351875026","filename":"file4"},{"photo_id":"1351874986","filename":"file1"},{"photo_id":"1351874982","filename":"file0"},{"photo_id":"1351875022","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351875008":["hashtag1","hashtag2"]},{"1351874986":["hashtag1","hashtag2"]},{"1351875022":["hashtag1","hashtag2"]},{"1351875028":["hashtag1","hashtag2"]},{"1351874982":["hashtag1","hashtag2"]},{"1351875026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351875008, 1351874986, 1351875022, 1351875028, 1351874982, 1351875026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36341977119446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 15:57:33.009620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_15_10411.jpg', '/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_44_9447.jpg', '/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_55_10366.jpg', '/home/pi/Desktop/images/19042025/12/35/image_19042025_12_36_05_10360.jpg', '/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_14_9381.jpg', '/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_25_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_15_10411.jpg
/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_44_9447.jpg
/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_55_10366.jpg
/home/pi/Desktop/images/19042025/12/35/image_19042025_12_36_05_10360.jpg
/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_14_9381.jpg
/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_25_10492.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-19 15:59:04.248229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_15_10411.jpg', '/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_44_9447.jpg', '/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_55_10366.jpg', '/home/pi/Desktop/images/19042025/12/35/image_19042025_12_36_05_10360.jpg', '/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_14_9381.jpg', '/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_25_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_15_10411.jpg
/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_44_9447.jpg
/home/pi/Desktop/images/19042025/12/35/image_19042025_12_35_55_10366.jpg
/home/pi/Desktop/images/19042025/12/35/image_19042025_12_36_05_10360.jpg
/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_14_9381.jpg
/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_25_10492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351876609","1351876743","1351876932","1351876670","1351876550","1351876891"],"photo_ids_order":["1351876550","1351876609","1351876670","1351876743","1351876891","1351876932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1845cffd439020ef5195bc81ac219788.jpg","text":"TemporaryFile(/tmp/multipartBody7385736322216893968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071204921,"filename":"image_19042025_12_35_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/19/7e086fa04c98cc7ab6f876e1703e9ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5444798978587498636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071204921,"filename":"image_19042025_12_36_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de64842dd1807fb8a6e32db5fc927dc0.jpg","text":"TemporaryFile(/tmp/multipartBody6734198264178603419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071204921,"filename":"image_19042025_12_36_25_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2dc214b132783d8deb32086875cb9418.jpg","text":"TemporaryFile(/tmp/multipartBody7819275840722359161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071204921,"filename":"image_19042025_12_35_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ddc730fb646f569ab045c0b90ac234d3.jpg","text":"TemporaryFile(/tmp/multipartBody1602107065795726545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071204921,"filename":"image_19042025_12_35_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/19/34195f49b7b925567d2a5d0d1a7c442c.jpg","text":"TemporaryFile(/tmp/multipartBody1183909554200615559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071204921,"filename":"image_19042025_12_36_14_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351876670","file1":"1351876609","file0":"1351876550","file4":"1351876891","file5":"1351876932","file3":"1351876743"},"map_files_photo_id_array":[{"photo_id":"1351876932","filename":"file5"},{"photo_id":"1351876670","filename":"file2"},{"photo_id":"1351876891","filename":"file4"},{"photo_id":"1351876609","filename":"file1"},{"photo_id":"1351876550","filename":"file0"},{"photo_id":"1351876743","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351876609":["hashtag1","hashtag2"]},{"1351876743":["hashtag1","hashtag2"]},{"1351876932":["hashtag1","hashtag2"]},{"1351876670":["hashtag1","hashtag2"]},{"1351876550":["hashtag1","hashtag2"]},{"1351876891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351876609, 1351876743, 1351876932, 1351876670, 1351876550, 1351876891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37783670425415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 15:59:42.569110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_34_9386.jpg', '/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_45_10407.jpg', '/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_55_10368.jpg', '/home/pi/Desktop/images/19042025/12/36/image_19042025_12_37_04_9382.jpg', '/home/pi/Desktop/images/19042025/12/37/image_19042025_12_37_24_9356.jpg', '/home/pi/Desktop/images/19042025/12/37/image_19042025_12_37_35_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_34_9386.jpg
/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_45_10407.jpg
/home/pi/Desktop/images/19042025/12/36/image_19042025_12_36_55_10368.jpg
/home/pi/Desktop/images/19042025/12/36/image_19042025_12_37_04_9382.jpg
/home/pi/Desktop/images/19042025/12/37/image_19042025_12_37_24_9356.jpg
/home/pi/Desktop/images/19042025/12/37/image_19042025_12_37_35_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351877041","1351877014","1351877094","1351877022","1351877123","1351877068"],"photo_ids_order":["1351877014","1351877022","1351877041","1351877068","1351877094","1351877123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bed4106629f940d7d62ffb6b7651b005.jpg","text":"TemporaryFile(/tmp/multipartBody4615807600999386227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071243041,"filename":"image_19042025_12_36_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/19/c4734e93e794461f0c8150851b6777c7.jpg","text":"TemporaryFile(/tmp/multipartBody6780397461288307626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071243041,"filename":"image_19042025_12_36_34_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/19/bd41ee0cbf2277b9178cb7f32b4964a0.jpg","text":"TemporaryFile(/tmp/multipartBody7456611591044763153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071243041,"filename":"image_19042025_12_37_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/19/a7a14d9659ebad0ed18e3a9fdb1bd97a.jpg","text":"TemporaryFile(/tmp/multipartBody5943618522367392893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071243041,"filename":"image_19042025_12_36_45_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a7eaecac765a128d9d36c6a6bb7415b5.jpg","text":"TemporaryFile(/tmp/multipartBody4267102725798942244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071243041,"filename":"image_19042025_12_37_35_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/19/53fb009fd215f8bb8f30c00b2fbe9ee8.jpg","text":"TemporaryFile(/tmp/multipartBody540385323975889349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071243041,"filename":"image_19042025_12_37_04_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351877041","file1":"1351877022","file0":"1351877014","file4":"1351877094","file5":"1351877123","file3":"1351877068"},"map_files_photo_id_array":[{"photo_id":"1351877123","filename":"file5"},{"photo_id":"1351877041","filename":"file2"},{"photo_id":"1351877094","filename":"file4"},{"photo_id":"1351877022","filename":"file1"},{"photo_id":"1351877014","filename":"file0"},{"photo_id":"1351877068","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351877041":["hashtag1","hashtag2"]},{"1351877014":["hashtag1","hashtag2"]},{"1351877094":["hashtag1","hashtag2"]},{"1351877022":["hashtag1","hashtag2"]},{"1351877123":["hashtag1","hashtag2"]},{"1351877068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351877041, 1351877014, 1351877094, 1351877022, 1351877123, 1351877068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.088167667388916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:00:32.878049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/37/image_19042025_12_37_44_9362.jpg', '/home/pi/Desktop/images/19042025/12/37/image_19042025_12_37_55_10452.jpg', '/home/pi/Desktop/images/19042025/12/37/image_19042025_12_38_05_10449.jpg', '/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_15_9353.jpg', '/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_25_10392.jpg', '/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_34_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/37/image_19042025_12_37_44_9362.jpg
/home/pi/Desktop/images/19042025/12/37/image_19042025_12_37_55_10452.jpg
/home/pi/Desktop/images/19042025/12/37/image_19042025_12_38_05_10449.jpg
/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_15_9353.jpg
/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_25_10392.jpg
/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_34_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":["1351877493","1351877661","1351877550","1351877631","1351877520","1351877594"],"photo_ids_order":["1351877493","1351877520","1351877550","1351877594","1351877631","1351877661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/526fc72ba6034927fd1bef83962dc87d.jpg","text":"TemporaryFile(/tmp/multipartBody485100837932146032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071293332,"filename":"image_19042025_12_37_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/19/a5d309782c8e0bcd16522d73598e9b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7156851870920223149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071293332,"filename":"image_19042025_12_38_34_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a72f5995925fb32465731ee6b15938cc.jpg","text":"TemporaryFile(/tmp/multipartBody7240556520810658009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071293332,"filename":"image_19042025_12_38_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/19/6f26d378128df736e6475bb1b9f4ee83.jpg","text":"TemporaryFile(/tmp/multipartBody3545828048994263299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071293332,"filename":"image_19042025_12_38_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/19/e78238c977956ca242d654a7b4b8d1db.jpg","text":"TemporaryFile(/tmp/multipartBody1801841408531003442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071293332,"filename":"image_19042025_12_37_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/19/5855572d096f45c843466041421af466.jpg","text":"TemporaryFile(/tmp/multipartBody8494274340446942788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071293332,"filename":"image_19042025_12_38_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351877550","file1":"1351877520","file0":"1351877493","file4":"1351877631","file5":"1351877661","file3":"1351877594"},"map_files_photo_id_array":[{"photo_id":"1351877661","filename":"file5"},{"photo_id":"1351877550","filename":"file2"},{"photo_id":"1351877631","filename":"file4"},{"photo_id":"1351877520","filename":"file1"},{"photo_id":"1351877493","filename":"file0"},{"photo_id":"1351877594","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351877493":["hashtag1","hashtag2"]},{"1351877661":["hashtag1","hashtag2"]},{"1351877550":["hashtag1","hashtag2"]},{"1351877631":["hashtag1","hashtag2"]},{"1351877520":["hashtag1","hashtag2"]},{"1351877594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351877493, 1351877661, 1351877550, 1351877631, 1351877520, 1351877594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47273802757263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:01:32.210928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_45_10377.jpg', '/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_55_10366.jpg', '/home/pi/Desktop/images/19042025/12/38/image_19042025_12_39_04_9341.jpg', '/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_15_10360.jpg', '/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_25_10445.jpg', '/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_35_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_45_10377.jpg
/home/pi/Desktop/images/19042025/12/38/image_19042025_12_38_55_10366.jpg
/home/pi/Desktop/images/19042025/12/38/image_19042025_12_39_04_9341.jpg
/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_15_10360.jpg
/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_25_10445.jpg
/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_35_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351877979","1351878021","1351878123","1351878110","1351878034","1351878063"],"photo_ids_order":["1351877979","1351878021","1351878034","1351878063","1351878110","1351878123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e481e8f8a407fb8b42284f132386237.jpg","text":"TemporaryFile(/tmp/multipartBody2234891001374363199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071352668,"filename":"image_19042025_12_38_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/19/48f7a6a4d275c87e0a95cbd869a101f2.jpg","text":"TemporaryFile(/tmp/multipartBody2166335433755914070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071352668,"filename":"image_19042025_12_38_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/19/2a151ea0458dcd8a9bd4164da8ef1594.jpg","text":"TemporaryFile(/tmp/multipartBody2959255150370462340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071352668,"filename":"image_19042025_12_39_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/db54a61dd1e4d2d567451417ae843d24.jpg","text":"TemporaryFile(/tmp/multipartBody2931012266333645757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071352668,"filename":"image_19042025_12_39_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b2648423b7b804a9f554b8f8331d2b8.jpg","text":"TemporaryFile(/tmp/multipartBody5470373733601996401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071352668,"filename":"image_19042025_12_39_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/19/0537f9fb7501fe288d841ce4bcf5a905.jpg","text":"TemporaryFile(/tmp/multipartBody8597249356788927389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071352668,"filename":"image_19042025_12_39_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878034","file1":"1351878021","file0":"1351877979","file4":"1351878110","file5":"1351878123","file3":"1351878063"},"map_files_photo_id_array":[{"photo_id":"1351878123","filename":"file5"},{"photo_id":"1351878034","filename":"file2"},{"photo_id":"1351878110","filename":"file4"},{"photo_id":"1351878021","filename":"file1"},{"photo_id":"1351877979","filename":"file0"},{"photo_id":"1351878063","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351877979":["hashtag1","hashtag2"]},{"1351878021":["hashtag1","hashtag2"]},{"1351878123":["hashtag1","hashtag2"]},{"1351878110":["hashtag1","hashtag2"]},{"1351878034":["hashtag1","hashtag2"]},{"1351878063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351877979, 1351878021, 1351878123, 1351878110, 1351878034, 1351878063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19042634963989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:02:32.379844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_45_10496.jpg', '/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_54_9354.jpg', '/home/pi/Desktop/images/19042025/12/39/image_19042025_12_40_05_10485.jpg', '/home/pi/Desktop/images/19042025/12/40/image_19042025_12_40_15_10336.jpg', '/home/pi/Desktop/images/19042025/12/40/image_19042025_12_40_25_9367.jpg', '/home/pi/Desktop/images/19042025/12/40/image_19042025_12_40_35_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_45_10496.jpg
/home/pi/Desktop/images/19042025/12/39/image_19042025_12_39_54_9354.jpg
/home/pi/Desktop/images/19042025/12/39/image_19042025_12_40_05_10485.jpg
/home/pi/Desktop/images/19042025/12/40/image_19042025_12_40_15_10336.jpg
/home/pi/Desktop/images/19042025/12/40/image_19042025_12_40_25_9367.jpg
/home/pi/Desktop/images/19042025/12/40/image_19042025_12_40_35_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":["1351878207","1351878203","1351878209","1351878200","1351878205","1351878198"],"photo_ids_order":["1351878198","1351878200","1351878203","1351878205","1351878207","1351878209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f6cc19c512583a5ba40446277db638a.jpg","text":"TemporaryFile(/tmp/multipartBody7600542287082067954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071412846,"filename":"image_19042025_12_40_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/19/5faff0c9a3cb92fd77d13303c216cfda.jpg","text":"TemporaryFile(/tmp/multipartBody1342664273084089311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071412846,"filename":"image_19042025_12_40_05_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/581b831929dfde568062f8a2c81c62db.jpg","text":"TemporaryFile(/tmp/multipartBody5241818994162701382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071412846,"filename":"image_19042025_12_40_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/19/d65fed4abae175e105e8ff76a5e2abef.jpg","text":"TemporaryFile(/tmp/multipartBody8914338364307072885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071412846,"filename":"image_19042025_12_39_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/19/8d3d497907043948382c5cdcfabcc222.jpg","text":"TemporaryFile(/tmp/multipartBody7093089477051628132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071412846,"filename":"image_19042025_12_40_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24013327b284796499b3965f77a7e92f.jpg","text":"TemporaryFile(/tmp/multipartBody8049552358665758014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071412846,"filename":"image_19042025_12_39_45_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878203","file1":"1351878200","file0":"1351878198","file4":"1351878207","file5":"1351878209","file3":"1351878205"},"map_files_photo_id_array":[{"photo_id":"1351878209","filename":"file5"},{"photo_id":"1351878203","filename":"file2"},{"photo_id":"1351878207","filename":"file4"},{"photo_id":"1351878200","filename":"file1"},{"photo_id":"1351878198","filename":"file0"},{"photo_id":"1351878205","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351878207":["hashtag1","hashtag2"]},{"1351878203":["hashtag1","hashtag2"]},{"1351878209":["hashtag1","hashtag2"]},{"1351878200":["hashtag1","hashtag2"]},{"1351878205":["hashtag1","hashtag2"]},{"1351878198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351878207, 1351878203, 1351878209, 1351878200, 1351878205, 1351878198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.252243995666504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:03:32.737466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/40/image_19042025_12_40_55_10485.jpg', '/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_15_10404.jpg', '/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_25_10483.jpg', '/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_34_9342.jpg', '/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_45_10412.jpg', '/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_54_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/40/image_19042025_12_40_55_10485.jpg
/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_15_10404.jpg
/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_25_10483.jpg
/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_34_9342.jpg
/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_45_10412.jpg
/home/pi/Desktop/images/19042025/12/41/image_19042025_12_41_54_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351878231","1351878225","1351878221","1351878227","1351878229","1351878223"],"photo_ids_order":["1351878221","1351878223","1351878225","1351878227","1351878229","1351878231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/383aade591b86ba92289efedda2f0962.jpg","text":"TemporaryFile(/tmp/multipartBody2174765233675921983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071473215,"filename":"image_19042025_12_41_54_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2010f875e1961257b1f635a1b5e4d413.jpg","text":"TemporaryFile(/tmp/multipartBody5240051293158450667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071473215,"filename":"image_19042025_12_41_25_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/19/dfc1131fd5ce60f0abd8d5c1277b8ea2.jpg","text":"TemporaryFile(/tmp/multipartBody2426813878513626109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071473215,"filename":"image_19042025_12_40_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/19/fce0600633f67b52562201a8892fed83.jpg","text":"TemporaryFile(/tmp/multipartBody4453184634998124284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071473215,"filename":"image_19042025_12_41_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20ead0d743b9b6912500fad743f5ee7a.jpg","text":"TemporaryFile(/tmp/multipartBody1294404671330175512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071473215,"filename":"image_19042025_12_41_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/19/88a0b5b674d2589adbdeef03ef9ae1fb.jpg","text":"TemporaryFile(/tmp/multipartBody6652011021580576528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071473215,"filename":"image_19042025_12_41_15_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878225","file1":"1351878223","file0":"1351878221","file4":"1351878229","file5":"1351878231","file3":"1351878227"},"map_files_photo_id_array":[{"photo_id":"1351878231","filename":"file5"},{"photo_id":"1351878225","filename":"file2"},{"photo_id":"1351878229","filename":"file4"},{"photo_id":"1351878223","filename":"file1"},{"photo_id":"1351878221","filename":"file0"},{"photo_id":"1351878227","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351878231":["hashtag1","hashtag2"]},{"1351878225":["hashtag1","hashtag2"]},{"1351878221":["hashtag1","hashtag2"]},{"1351878227":["hashtag1","hashtag2"]},{"1351878229":["hashtag1","hashtag2"]},{"1351878223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351878231, 1351878225, 1351878221, 1351878227, 1351878229, 1351878223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.753905057907104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:04:32.836351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/41/image_19042025_12_42_05_10357.jpg', '/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_15_10444.jpg', '/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_24_9393.jpg', '/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_35_10462.jpg', '/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_44_9357.jpg', '/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_55_10511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/41/image_19042025_12_42_05_10357.jpg
/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_15_10444.jpg
/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_24_9393.jpg
/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_35_10462.jpg
/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_44_9357.jpg
/home/pi/Desktop/images/19042025/12/42/image_19042025_12_42_55_10511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351878252","1351878246","1351878248","1351878242","1351878250","1351878244"],"photo_ids_order":["1351878242","1351878244","1351878246","1351878248","1351878250","1351878252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c92903042058d11d56bf71ccb702a398.jpg","text":"TemporaryFile(/tmp/multipartBody3529666412199094656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071533291,"filename":"image_19042025_12_42_55_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/399ab65e5bce44d28643a567c1a8a1be.jpg","text":"TemporaryFile(/tmp/multipartBody6151323558332916603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071533291,"filename":"image_19042025_12_42_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/19/5b886f714fbffa733ec64f5326846e93.jpg","text":"TemporaryFile(/tmp/multipartBody7760490584273596562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071533291,"filename":"image_19042025_12_42_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/19/5905763a65c407bb850df4b40e12eb1b.jpg","text":"TemporaryFile(/tmp/multipartBody5528549131699394536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071533291,"filename":"image_19042025_12_42_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/18524a099014c469e0c921c706f55306.jpg","text":"TemporaryFile(/tmp/multipartBody2513724663309556105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071533291,"filename":"image_19042025_12_42_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/19/bb2da40ce9ab533ed99b88097ab8873a.jpg","text":"TemporaryFile(/tmp/multipartBody8631553771435258466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071533291,"filename":"image_19042025_12_42_15_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878246","file1":"1351878244","file0":"1351878242","file4":"1351878250","file5":"1351878252","file3":"1351878248"},"map_files_photo_id_array":[{"photo_id":"1351878252","filename":"file5"},{"photo_id":"1351878246","filename":"file2"},{"photo_id":"1351878250","filename":"file4"},{"photo_id":"1351878244","filename":"file1"},{"photo_id":"1351878242","filename":"file0"},{"photo_id":"1351878248","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351878252":["hashtag1","hashtag2"]},{"1351878246":["hashtag1","hashtag2"]},{"1351878248":["hashtag1","hashtag2"]},{"1351878242":["hashtag1","hashtag2"]},{"1351878250":["hashtag1","hashtag2"]},{"1351878244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351878252, 1351878246, 1351878248, 1351878242, 1351878250, 1351878244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60036373138428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:05:33.156657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/42/image_19042025_12_43_05_10378.jpg', '/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_15_9355.jpg', '/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_25_10369.jpg', '/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_34_9362.jpg', '/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_45_10370.jpg', '/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_55_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/42/image_19042025_12_43_05_10378.jpg
/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_15_9355.jpg
/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_25_10369.jpg
/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_34_9362.jpg
/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_45_10370.jpg
/home/pi/Desktop/images/19042025/12/43/image_19042025_12_43_55_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":["1351878270","1351878272","1351878266","1351878263","1351878274","1351878268"],"photo_ids_order":["1351878263","1351878266","1351878268","1351878270","1351878272","1351878274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28ad66ba33f6da5da55642bc4c4f8807.jpg","text":"TemporaryFile(/tmp/multipartBody133528108754583099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071593611,"filename":"image_19042025_12_43_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/19/6dd87775291078812eec9c89c6040c4b.jpg","text":"TemporaryFile(/tmp/multipartBody5813820505907730989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071593611,"filename":"image_19042025_12_43_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/19/590274b632aab626a17b487ed2fc60c6.jpg","text":"TemporaryFile(/tmp/multipartBody5392277394732050119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071593611,"filename":"image_19042025_12_43_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/19/bf555014026d26f39912a79d2c194b14.jpg","text":"TemporaryFile(/tmp/multipartBody5265438103336705097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071593611,"filename":"image_19042025_12_43_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/19/fbabab5c2d582b1a7e42ef0f39f4efc9.jpg","text":"TemporaryFile(/tmp/multipartBody1340566986482103787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071593611,"filename":"image_19042025_12_43_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/19/31a73899371619eb47c8caceebdd2fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5170961145966786622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071593611,"filename":"image_19042025_12_43_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878268","file1":"1351878266","file0":"1351878263","file4":"1351878272","file5":"1351878274","file3":"1351878270"},"map_files_photo_id_array":[{"photo_id":"1351878274","filename":"file5"},{"photo_id":"1351878268","filename":"file2"},{"photo_id":"1351878272","filename":"file4"},{"photo_id":"1351878266","filename":"file1"},{"photo_id":"1351878263","filename":"file0"},{"photo_id":"1351878270","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351878270":["hashtag1","hashtag2"]},{"1351878272":["hashtag1","hashtag2"]},{"1351878266":["hashtag1","hashtag2"]},{"1351878263":["hashtag1","hashtag2"]},{"1351878274":["hashtag1","hashtag2"]},{"1351878268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351878270, 1351878272, 1351878266, 1351878263, 1351878274, 1351878268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.423605918884277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:06:32.302518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/43/image_19042025_12_44_04_9350.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_15_10415.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_25_10379.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_35_9343.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_45_10415.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_45_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/43/image_19042025_12_44_04_9350.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_15_10415.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_25_10379.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_35_9343.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_45_10415.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_45_05_10352.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37767601013183594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 16:06:42.255831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/43/image_19042025_12_44_04_9350.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_15_10415.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_25_10379.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_35_9343.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_45_10415.jpg', '/home/pi/Desktop/images/19042025/12/44/image_19042025_12_45_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/43/image_19042025_12_44_04_9350.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_15_10415.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_25_10379.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_35_9343.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_44_45_10415.jpg
/home/pi/Desktop/images/19042025/12/44/image_19042025_12_45_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351878303","1351878305","1351878295","1351878298","1351878301","1351878304"],"photo_ids_order":["1351878295","1351878298","1351878301","1351878303","1351878304","1351878305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da1454975db63e90615f5ba04f3c7613.jpg","text":"TemporaryFile(/tmp/multipartBody4804274769972148428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071662713,"filename":"image_19042025_12_44_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a2cc714881db5dfa7cd5c9b435ba1a64.jpg","text":"TemporaryFile(/tmp/multipartBody4931494548032473104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071662713,"filename":"image_19042025_12_45_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/19/73e70992b4e511f1e0363d6290de93d8.jpg","text":"TemporaryFile(/tmp/multipartBody6845907297496654218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071662713,"filename":"image_19042025_12_44_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/19/e2ea2acd373f081a08af469e96796bd9.jpg","text":"TemporaryFile(/tmp/multipartBody1965736524169000461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071662713,"filename":"image_19042025_12_44_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f57ffd54f26049471c5a5afd471ff8c.jpg","text":"TemporaryFile(/tmp/multipartBody7122410337709056928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071662713,"filename":"image_19042025_12_44_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/19/f949378138ef4ffe4b6545023e8e8a68.jpg","text":"TemporaryFile(/tmp/multipartBody7433724342464460270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071662713,"filename":"image_19042025_12_44_45_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878301","file1":"1351878298","file0":"1351878295","file4":"1351878304","file5":"1351878305","file3":"1351878303"},"map_files_photo_id_array":[{"photo_id":"1351878305","filename":"file5"},{"photo_id":"1351878301","filename":"file2"},{"photo_id":"1351878304","filename":"file4"},{"photo_id":"1351878298","filename":"file1"},{"photo_id":"1351878295","filename":"file0"},{"photo_id":"1351878303","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351878303":["hashtag1","hashtag2"]},{"1351878305":["hashtag1","hashtag2"]},{"1351878295":["hashtag1","hashtag2"]},{"1351878298":["hashtag1","hashtag2"]},{"1351878301":["hashtag1","hashtag2"]},{"1351878304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351878303, 1351878305, 1351878295, 1351878298, 1351878301, 1351878304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.864174842834473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:07:32.558288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_15_10376.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_24_9447.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_35_10507.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_44_9359.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_55_10365.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_46_05_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_15_10376.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_24_9447.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_35_10507.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_44_9359.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_55_10365.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_46_05_10439.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.37715959548950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 16:07:42.618908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_15_10376.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_24_9447.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_35_10507.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_44_9359.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_55_10365.jpg', '/home/pi/Desktop/images/19042025/12/45/image_19042025_12_46_05_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_15_10376.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_24_9447.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_35_10507.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_44_9359.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_45_55_10365.jpg
/home/pi/Desktop/images/19042025/12/45/image_19042025_12_46_05_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351878342","1351878423","1351878371","1351878397","1351878322","1351878319"],"photo_ids_order":["1351878319","1351878322","1351878342","1351878371","1351878397","1351878423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d47841813fdb183794594fffae115fb.jpg","text":"TemporaryFile(/tmp/multipartBody3259316532048379342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071723078,"filename":"image_19042025_12_45_35_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/19/888289cb3dcadbb9219a90e616df777e.jpg","text":"TemporaryFile(/tmp/multipartBody8280487032280293661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071723078,"filename":"image_19042025_12_46_05_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c0052889884c921db6be5946f8be8994.jpg","text":"TemporaryFile(/tmp/multipartBody3639428128847109721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071723078,"filename":"image_19042025_12_45_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/19/30ee8f83307ad7ed14dbf2e8dd775751.jpg","text":"TemporaryFile(/tmp/multipartBody1190144016148368452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071723078,"filename":"image_19042025_12_45_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/19/e127029578189e635af3d8b8cfcd1c57.jpg","text":"TemporaryFile(/tmp/multipartBody7457963653690288397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071723078,"filename":"image_19042025_12_45_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/19/cf145a6de31d536f0c99b16d7f2a7a61.jpg","text":"TemporaryFile(/tmp/multipartBody3207351236070408263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071723078,"filename":"image_19042025_12_45_15_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878342","file1":"1351878322","file0":"1351878319","file4":"1351878397","file5":"1351878423","file3":"1351878371"},"map_files_photo_id_array":[{"photo_id":"1351878423","filename":"file5"},{"photo_id":"1351878342","filename":"file2"},{"photo_id":"1351878397","filename":"file4"},{"photo_id":"1351878322","filename":"file1"},{"photo_id":"1351878319","filename":"file0"},{"photo_id":"1351878371","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351878342":["hashtag1","hashtag2"]},{"1351878423":["hashtag1","hashtag2"]},{"1351878371":["hashtag1","hashtag2"]},{"1351878397":["hashtag1","hashtag2"]},{"1351878322":["hashtag1","hashtag2"]},{"1351878319":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351878342, 1351878423, 1351878371, 1351878397, 1351878322, 1351878319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.101131677627563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:08:32.837543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_15_9373.jpg', '/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_25_10441.jpg', '/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_34_9356.jpg', '/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_55_10362.jpg', '/home/pi/Desktop/images/19042025/12/46/image_19042025_12_47_04_9414.jpg', '/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_15_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_15_9373.jpg
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_25_10441.jpg
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_34_9356.jpg
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_55_10362.jpg
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_47_04_9414.jpg
/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_15_10452.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39847612380981445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 16:08:42.842416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_15_9373.jpg', '/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_25_10441.jpg', '/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_34_9356.jpg', '/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_55_10362.jpg', '/home/pi/Desktop/images/19042025/12/46/image_19042025_12_47_04_9414.jpg', '/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_15_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_15_9373.jpg
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_25_10441.jpg
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_34_9356.jpg
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_46_55_10362.jpg
/home/pi/Desktop/images/19042025/12/46/image_19042025_12_47_04_9414.jpg
/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_15_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351878756","1351878717","1351878764","1351878749","1351878742","1351878786"],"photo_ids_order":["1351878717","1351878742","1351878749","1351878756","1351878764","1351878786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95bca1dc40e4b54ab7ca0e71b10485d4.jpg","text":"TemporaryFile(/tmp/multipartBody2899110284672967245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071783300,"filename":"image_19042025_12_46_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/19/6afea78601998e3798bd2c4a4c7b8801.jpg","text":"TemporaryFile(/tmp/multipartBody827469664117128639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071783300,"filename":"image_19042025_12_46_15_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/952d4a778b3eb00c2ac3b5cb82728500.jpg","text":"TemporaryFile(/tmp/multipartBody6937177385553895120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071783300,"filename":"image_19042025_12_47_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a176c271f668ad5bca49480de9790133.jpg","text":"TemporaryFile(/tmp/multipartBody6168431718011696463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071783300,"filename":"image_19042025_12_46_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/19/f8cc0441a1c43c91d0b73731984b980e.jpg","text":"TemporaryFile(/tmp/multipartBody656711409990586658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071783300,"filename":"image_19042025_12_46_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/faaf6ab2e8d443d8fc859f2241205e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5368460193486180123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071783300,"filename":"image_19042025_12_47_15_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878749","file1":"1351878742","file0":"1351878717","file4":"1351878764","file5":"1351878786","file3":"1351878756"},"map_files_photo_id_array":[{"photo_id":"1351878786","filename":"file5"},{"photo_id":"1351878749","filename":"file2"},{"photo_id":"1351878764","filename":"file4"},{"photo_id":"1351878742","filename":"file1"},{"photo_id":"1351878717","filename":"file0"},{"photo_id":"1351878756","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351878756":["hashtag1","hashtag2"]},{"1351878717":["hashtag1","hashtag2"]},{"1351878764":["hashtag1","hashtag2"]},{"1351878749":["hashtag1","hashtag2"]},{"1351878742":["hashtag1","hashtag2"]},{"1351878786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351878756, 1351878717, 1351878764, 1351878749, 1351878742, 1351878786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.423017740249634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:09:33.085524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_24_9369.jpg', '/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_35_10364.jpg', '/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_45_10459.jpg', '/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_55_9472.jpg', '/home/pi/Desktop/images/19042025/12/47/image_19042025_12_48_05_10465.jpg', '/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_14_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_24_9369.jpg
/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_35_10364.jpg
/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_45_10459.jpg
/home/pi/Desktop/images/19042025/12/47/image_19042025_12_47_55_9472.jpg
/home/pi/Desktop/images/19042025/12/47/image_19042025_12_48_05_10465.jpg
/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_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":["1351878852","1351878855","1351878921","1351878857","1351878895","1351878868"],"photo_ids_order":["1351878852","1351878855","1351878857","1351878868","1351878895","1351878921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a2f727dc9d80b793f07a845229d911d.jpg","text":"TemporaryFile(/tmp/multipartBody8256675843553156641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071833553,"filename":"image_19042025_12_47_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/19/0325bda28b3cf526cff024dba1bd2d42.jpg","text":"TemporaryFile(/tmp/multipartBody1878710322748913722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071833553,"filename":"image_19042025_12_47_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/19/c4b32d0aa2c29eff16a0fd7fdbb217b6.jpg","text":"TemporaryFile(/tmp/multipartBody7920430239575471125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071833553,"filename":"image_19042025_12_48_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/19/087dc87e8b71337781502dc879e32160.jpg","text":"TemporaryFile(/tmp/multipartBody6458275304415110428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071833553,"filename":"image_19042025_12_47_45_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/62af02f6cf273346d356757102a00b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5645417139196680109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071833553,"filename":"image_19042025_12_48_05_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20750dd563a57bebc498efdc0de2f832.jpg","text":"TemporaryFile(/tmp/multipartBody7462886112430658973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071833553,"filename":"image_19042025_12_47_55_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878857","file1":"1351878855","file0":"1351878852","file4":"1351878895","file5":"1351878921","file3":"1351878868"},"map_files_photo_id_array":[{"photo_id":"1351878921","filename":"file5"},{"photo_id":"1351878857","filename":"file2"},{"photo_id":"1351878895","filename":"file4"},{"photo_id":"1351878855","filename":"file1"},{"photo_id":"1351878852","filename":"file0"},{"photo_id":"1351878868","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351878852":["hashtag1","hashtag2"]},{"1351878855":["hashtag1","hashtag2"]},{"1351878921":["hashtag1","hashtag2"]},{"1351878857":["hashtag1","hashtag2"]},{"1351878895":["hashtag1","hashtag2"]},{"1351878868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351878852, 1351878855, 1351878921, 1351878857, 1351878895, 1351878868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.594582080841064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:10:32.254728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_25_10493.jpg', '/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_34_9341.jpg', '/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_45_10435.jpg', '/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_55_10485.jpg', '/home/pi/Desktop/images/19042025/12/48/image_19042025_12_49_05_9342.jpg', '/home/pi/Desktop/images/19042025/12/49/image_19042025_12_49_15_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_25_10493.jpg
/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_34_9341.jpg
/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_45_10435.jpg
/home/pi/Desktop/images/19042025/12/48/image_19042025_12_48_55_10485.jpg
/home/pi/Desktop/images/19042025/12/48/image_19042025_12_49_05_9342.jpg
/home/pi/Desktop/images/19042025/12/49/image_19042025_12_49_15_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":["1351879151","1351879160","1351879153","1351879135","1351879155","1351879158"],"photo_ids_order":["1351879135","1351879151","1351879153","1351879155","1351879158","1351879160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/54bf922d4f73500c25097c2c019d3a9e.jpg","text":"TemporaryFile(/tmp/multipartBody6698142001029838442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071892730,"filename":"image_19042025_12_48_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/19/0046518f6d2443a7a4f8cc1ba74d02b1.jpg","text":"TemporaryFile(/tmp/multipartBody2695551268292678615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071892730,"filename":"image_19042025_12_49_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/19/27540e20244be283851ddfc6b6c35bdc.jpg","text":"TemporaryFile(/tmp/multipartBody1228629491945048051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071892730,"filename":"image_19042025_12_48_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa8ac8346209904acca1a126fb16999e.jpg","text":"TemporaryFile(/tmp/multipartBody817363635175050218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071892730,"filename":"image_19042025_12_48_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/19/1fe12adf603220399dd9e5d407df0de3.jpg","text":"TemporaryFile(/tmp/multipartBody5237437976359071041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071892730,"filename":"image_19042025_12_48_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/19/e93a53934305b01bac5b9fd9a61d1291.jpg","text":"TemporaryFile(/tmp/multipartBody8196803973997187431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071892730,"filename":"image_19042025_12_49_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879153","file1":"1351879151","file0":"1351879135","file4":"1351879158","file5":"1351879160","file3":"1351879155"},"map_files_photo_id_array":[{"photo_id":"1351879160","filename":"file5"},{"photo_id":"1351879153","filename":"file2"},{"photo_id":"1351879158","filename":"file4"},{"photo_id":"1351879151","filename":"file1"},{"photo_id":"1351879135","filename":"file0"},{"photo_id":"1351879155","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879151":["hashtag1","hashtag2"]},{"1351879160":["hashtag1","hashtag2"]},{"1351879153":["hashtag1","hashtag2"]},{"1351879135":["hashtag1","hashtag2"]},{"1351879155":["hashtag1","hashtag2"]},{"1351879158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879151, 1351879160, 1351879153, 1351879135, 1351879155, 1351879158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.780622720718384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:11:32.465662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/49/image_19042025_12_49_35_10364.jpg', '/home/pi/Desktop/images/19042025/12/49/image_19042025_12_49_45_10368.jpg', '/home/pi/Desktop/images/19042025/12/49/image_19042025_12_49_54_9356.jpg', '/home/pi/Desktop/images/19042025/12/49/image_19042025_12_50_05_10599.jpg', '/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_14_9370.jpg', '/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_25_10486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/49/image_19042025_12_49_35_10364.jpg
/home/pi/Desktop/images/19042025/12/49/image_19042025_12_49_45_10368.jpg
/home/pi/Desktop/images/19042025/12/49/image_19042025_12_49_54_9356.jpg
/home/pi/Desktop/images/19042025/12/49/image_19042025_12_50_05_10599.jpg
/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_14_9370.jpg
/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_25_10486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879301","1351879294","1351879312","1351879315","1351879296","1351879317"],"photo_ids_order":["1351879294","1351879296","1351879301","1351879312","1351879315","1351879317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/06fcce4c32bdc0d2cf28ead77806db38.jpg","text":"TemporaryFile(/tmp/multipartBody8907522731002114950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071952947,"filename":"image_19042025_12_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/19/143392ca412ac2eb7ce973e07d0bb3e2.jpg","text":"TemporaryFile(/tmp/multipartBody4851936045709458673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071952947,"filename":"image_19042025_12_49_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/19/7ea678c84f176288fb292e796381cb94.jpg","text":"TemporaryFile(/tmp/multipartBody6182309689739392700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071952947,"filename":"image_19042025_12_50_05_10599.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/44eb4e81d57a66cfeb35d2beef54c936.jpg","text":"TemporaryFile(/tmp/multipartBody3576694030690015871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071952947,"filename":"image_19042025_12_50_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/19/2647fc663696d0de23dd6d39afb3f6e8.jpg","text":"TemporaryFile(/tmp/multipartBody1607316908876182418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071952947,"filename":"image_19042025_12_49_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/19/88109885fe79995380ca4996e36067ae.jpg","text":"TemporaryFile(/tmp/multipartBody2982145980489553302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745071952947,"filename":"image_19042025_12_50_25_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879301","file1":"1351879296","file0":"1351879294","file4":"1351879315","file5":"1351879317","file3":"1351879312"},"map_files_photo_id_array":[{"photo_id":"1351879317","filename":"file5"},{"photo_id":"1351879301","filename":"file2"},{"photo_id":"1351879315","filename":"file4"},{"photo_id":"1351879296","filename":"file1"},{"photo_id":"1351879294","filename":"file0"},{"photo_id":"1351879312","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879301":["hashtag1","hashtag2"]},{"1351879294":["hashtag1","hashtag2"]},{"1351879312":["hashtag1","hashtag2"]},{"1351879315":["hashtag1","hashtag2"]},{"1351879296":["hashtag1","hashtag2"]},{"1351879317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879301, 1351879294, 1351879312, 1351879315, 1351879296, 1351879317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.90516495704651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:12:32.669013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_34_9371.jpg', '/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_45_10376.jpg', '/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_55_10456.jpg', '/home/pi/Desktop/images/19042025/12/50/image_19042025_12_51_05_9453.jpg', '/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_15_10361.jpg', '/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_24_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_34_9371.jpg
/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_45_10376.jpg
/home/pi/Desktop/images/19042025/12/50/image_19042025_12_50_55_10456.jpg
/home/pi/Desktop/images/19042025/12/50/image_19042025_12_51_05_9453.jpg
/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_15_10361.jpg
/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_24_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879361","1351879352","1351879355","1351879349","1351879357","1351879344"],"photo_ids_order":["1351879344","1351879349","1351879352","1351879355","1351879357","1351879361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66e73866a4fa7c3f5eeb4441dbe0bcb9.jpg","text":"TemporaryFile(/tmp/multipartBody8116607448754505443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072013151,"filename":"image_19042025_12_51_24_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/edf609de1dc2440b811cb5e3c4659b93.jpg","text":"TemporaryFile(/tmp/multipartBody8749657388419971883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072013151,"filename":"image_19042025_12_50_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a3d9a4ff734313ccb791258d8b768bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2707527080149210781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072013151,"filename":"image_19042025_12_51_05_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91580c82744e1deb55086b972089663c.jpg","text":"TemporaryFile(/tmp/multipartBody2847336112833584850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072013151,"filename":"image_19042025_12_50_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/19/983924326f80951a664cdd77fef6ff77.jpg","text":"TemporaryFile(/tmp/multipartBody3323029655950322507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072013151,"filename":"image_19042025_12_51_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/19/62a547f1a250ccd4fdef5eebec3622ea.jpg","text":"TemporaryFile(/tmp/multipartBody5777512119259516261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072013151,"filename":"image_19042025_12_50_34_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879352","file1":"1351879349","file0":"1351879344","file4":"1351879357","file5":"1351879361","file3":"1351879355"},"map_files_photo_id_array":[{"photo_id":"1351879361","filename":"file5"},{"photo_id":"1351879352","filename":"file2"},{"photo_id":"1351879357","filename":"file4"},{"photo_id":"1351879349","filename":"file1"},{"photo_id":"1351879344","filename":"file0"},{"photo_id":"1351879355","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879361":["hashtag1","hashtag2"]},{"1351879352":["hashtag1","hashtag2"]},{"1351879355":["hashtag1","hashtag2"]},{"1351879349":["hashtag1","hashtag2"]},{"1351879357":["hashtag1","hashtag2"]},{"1351879344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879361, 1351879352, 1351879355, 1351879349, 1351879357, 1351879344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.556042194366455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:13:32.843344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_35_10377.jpg', '/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_45_10360.jpg', '/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_54_9357.jpg', '/home/pi/Desktop/images/19042025/12/51/image_19042025_12_52_05_10401.jpg', '/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_14_9355.jpg', '/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_25_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_35_10377.jpg
/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_45_10360.jpg
/home/pi/Desktop/images/19042025/12/51/image_19042025_12_51_54_9357.jpg
/home/pi/Desktop/images/19042025/12/51/image_19042025_12_52_05_10401.jpg
/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_14_9355.jpg
/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_25_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879379","1351879370","1351879383","1351879386","1351879389","1351879374"],"photo_ids_order":["1351879370","1351879374","1351879379","1351879383","1351879386","1351879389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/73057b29cd002ee5a701ded28d2d9d83.jpg","text":"TemporaryFile(/tmp/multipartBody6148185008198942495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072073307,"filename":"image_19042025_12_51_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4229cae9410e85aa18a365a3f381fc12.jpg","text":"TemporaryFile(/tmp/multipartBody2975107671579830387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072073307,"filename":"image_19042025_12_51_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/19/06e1ad8ea9dab1a59b1346b24cfb73fc.jpg","text":"TemporaryFile(/tmp/multipartBody4962159606136283921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072073307,"filename":"image_19042025_12_52_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/19/c6c4a1d5bb28aabd2ce7926a568b49ec.jpg","text":"TemporaryFile(/tmp/multipartBody417406216502098326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072073307,"filename":"image_19042025_12_52_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/19/9907893f26e37054afb82ad5c1ee4ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2525984520081636545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072073307,"filename":"image_19042025_12_52_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/19/c93257331e087643d21eaf4072ab9b0c.jpg","text":"TemporaryFile(/tmp/multipartBody1821572063236421355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072073307,"filename":"image_19042025_12_51_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879379","file1":"1351879374","file0":"1351879370","file4":"1351879386","file5":"1351879389","file3":"1351879383"},"map_files_photo_id_array":[{"photo_id":"1351879389","filename":"file5"},{"photo_id":"1351879379","filename":"file2"},{"photo_id":"1351879386","filename":"file4"},{"photo_id":"1351879374","filename":"file1"},{"photo_id":"1351879370","filename":"file0"},{"photo_id":"1351879383","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879379":["hashtag1","hashtag2"]},{"1351879370":["hashtag1","hashtag2"]},{"1351879383":["hashtag1","hashtag2"]},{"1351879386":["hashtag1","hashtag2"]},{"1351879389":["hashtag1","hashtag2"]},{"1351879374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879379, 1351879370, 1351879383, 1351879386, 1351879389, 1351879374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24834489822388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:14:32.114697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_35_10372.jpg', '/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_44_9357.jpg', '/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_55_10368.jpg', '/home/pi/Desktop/images/19042025/12/52/image_19042025_12_53_05_10448.jpg', '/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_15_9367.jpg', '/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_25_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_35_10372.jpg
/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_44_9357.jpg
/home/pi/Desktop/images/19042025/12/52/image_19042025_12_52_55_10368.jpg
/home/pi/Desktop/images/19042025/12/52/image_19042025_12_53_05_10448.jpg
/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_15_9367.jpg
/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_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":["1351879410","1351879404","1351879413","1351879407","1351879397","1351879401"],"photo_ids_order":["1351879397","1351879401","1351879404","1351879407","1351879410","1351879413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6f368275ee20f7ff4d82e2ca30b26219.jpg","text":"TemporaryFile(/tmp/multipartBody7655261127342196167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072132580,"filename":"image_19042025_12_53_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/19/1ce51cb1ef2043b47d3e0108ca1aaf17.jpg","text":"TemporaryFile(/tmp/multipartBody8370662868386991839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072132580,"filename":"image_19042025_12_52_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/19/771c46cc7b38a33fcb6656830bd8f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody4051972614756501065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072132580,"filename":"image_19042025_12_53_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/19/74376add4c429b0bf2e5c6784d046a36.jpg","text":"TemporaryFile(/tmp/multipartBody2073969399911218118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072132580,"filename":"image_19042025_12_53_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f95b442d0f8f641bf9611813a9b8745.jpg","text":"TemporaryFile(/tmp/multipartBody7633715948111648311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072132580,"filename":"image_19042025_12_52_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2422511100f2487b34231f2680ff7f6d.jpg","text":"TemporaryFile(/tmp/multipartBody6996582202632489561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072132580,"filename":"image_19042025_12_52_44_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879404","file1":"1351879401","file0":"1351879397","file4":"1351879410","file5":"1351879413","file3":"1351879407"},"map_files_photo_id_array":[{"photo_id":"1351879413","filename":"file5"},{"photo_id":"1351879404","filename":"file2"},{"photo_id":"1351879410","filename":"file4"},{"photo_id":"1351879401","filename":"file1"},{"photo_id":"1351879397","filename":"file0"},{"photo_id":"1351879407","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879410":["hashtag1","hashtag2"]},{"1351879404":["hashtag1","hashtag2"]},{"1351879413":["hashtag1","hashtag2"]},{"1351879407":["hashtag1","hashtag2"]},{"1351879397":["hashtag1","hashtag2"]},{"1351879401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879410, 1351879404, 1351879413, 1351879407, 1351879397, 1351879401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79301953315735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:15:32.348377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_34_9389.jpg', '/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_45_10358.jpg', '/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_55_10436.jpg', '/home/pi/Desktop/images/19042025/12/53/image_19042025_12_54_04_9400.jpg', '/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_15_10428.jpg', '/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_24_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_34_9389.jpg
/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_45_10358.jpg
/home/pi/Desktop/images/19042025/12/53/image_19042025_12_53_55_10436.jpg
/home/pi/Desktop/images/19042025/12/53/image_19042025_12_54_04_9400.jpg
/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_15_10428.jpg
/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_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":["1351879430","1351879424","1351879433","1351879427","1351879436","1351879420"],"photo_ids_order":["1351879420","1351879424","1351879427","1351879430","1351879433","1351879436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b137476220f7735305c62c4ba36a7e36.jpg","text":"TemporaryFile(/tmp/multipartBody250278893518671210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072192809,"filename":"image_19042025_12_54_04_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0eed8852d57ac564da3d9f539b4d022c.jpg","text":"TemporaryFile(/tmp/multipartBody5435979646343882808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072192809,"filename":"image_19042025_12_53_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a9a960c8c518c476e7dd04845b0c698.jpg","text":"TemporaryFile(/tmp/multipartBody391613491654192273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072192809,"filename":"image_19042025_12_54_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/19/20d3399a28c919989d423e806e02808a.jpg","text":"TemporaryFile(/tmp/multipartBody3890852286721478437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072192809,"filename":"image_19042025_12_53_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/19/0b53a33ba7dc12205bb648333f5ed1e0.jpg","text":"TemporaryFile(/tmp/multipartBody2587559943316855752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072192809,"filename":"image_19042025_12_54_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/19/06c2f25ac9151c1f00555d33eb1ab30c.jpg","text":"TemporaryFile(/tmp/multipartBody5708859857860574404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072192809,"filename":"image_19042025_12_53_34_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879427","file1":"1351879424","file0":"1351879420","file4":"1351879433","file5":"1351879436","file3":"1351879430"},"map_files_photo_id_array":[{"photo_id":"1351879436","filename":"file5"},{"photo_id":"1351879427","filename":"file2"},{"photo_id":"1351879433","filename":"file4"},{"photo_id":"1351879424","filename":"file1"},{"photo_id":"1351879420","filename":"file0"},{"photo_id":"1351879430","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879430":["hashtag1","hashtag2"]},{"1351879424":["hashtag1","hashtag2"]},{"1351879433":["hashtag1","hashtag2"]},{"1351879427":["hashtag1","hashtag2"]},{"1351879436":["hashtag1","hashtag2"]},{"1351879420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879430, 1351879424, 1351879433, 1351879427, 1351879436, 1351879420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44918155670166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:16:32.605844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_35_10350.jpg', '/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_45_10461.jpg', '/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_54_9350.jpg', '/home/pi/Desktop/images/19042025/12/54/image_19042025_12_55_05_10453.jpg', '/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_14_9356.jpg', '/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_25_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_35_10350.jpg
/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_45_10461.jpg
/home/pi/Desktop/images/19042025/12/54/image_19042025_12_54_54_9350.jpg
/home/pi/Desktop/images/19042025/12/54/image_19042025_12_55_05_10453.jpg
/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_14_9356.jpg
/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_25_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879454","1351879468","1351879450","1351879446","1351879461","1351879443"],"photo_ids_order":["1351879443","1351879446","1351879450","1351879454","1351879461","1351879468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/23639fdc84cc0b4e5839924123c48919.jpg","text":"TemporaryFile(/tmp/multipartBody8594429626211985925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072253084,"filename":"image_19042025_12_55_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a291f549e1991648aaec2bc4bac4477c.jpg","text":"TemporaryFile(/tmp/multipartBody343316697915115936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072253084,"filename":"image_19042025_12_55_25_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35b2b03dee0753d94181c065c65663dc.jpg","text":"TemporaryFile(/tmp/multipartBody6052893446311240134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072253084,"filename":"image_19042025_12_54_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/19/d5cdb32b8a141aee47192a2921027647.jpg","text":"TemporaryFile(/tmp/multipartBody7903122444626042654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072253084,"filename":"image_19042025_12_54_45_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29d87de5a97a668b2863d107b114357b.jpg","text":"TemporaryFile(/tmp/multipartBody6882811810199711633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072253084,"filename":"image_19042025_12_55_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/19/ba40069be1b446e59d571932a40eba9c.jpg","text":"TemporaryFile(/tmp/multipartBody8902777437070249732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072253084,"filename":"image_19042025_12_54_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879450","file1":"1351879446","file0":"1351879443","file4":"1351879461","file5":"1351879468","file3":"1351879454"},"map_files_photo_id_array":[{"photo_id":"1351879468","filename":"file5"},{"photo_id":"1351879450","filename":"file2"},{"photo_id":"1351879461","filename":"file4"},{"photo_id":"1351879446","filename":"file1"},{"photo_id":"1351879443","filename":"file0"},{"photo_id":"1351879454","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879454":["hashtag1","hashtag2"]},{"1351879468":["hashtag1","hashtag2"]},{"1351879450":["hashtag1","hashtag2"]},{"1351879446":["hashtag1","hashtag2"]},{"1351879461":["hashtag1","hashtag2"]},{"1351879443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879454, 1351879468, 1351879450, 1351879446, 1351879461, 1351879443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.699298858642578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:17:32.808447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_35_10358.jpg', '/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_44_9361.jpg', '/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_55_10498.jpg', '/home/pi/Desktop/images/19042025/12/55/image_19042025_12_56_04_9361.jpg', '/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_15_10374.jpg', '/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_35_10358.jpg
/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_44_9361.jpg
/home/pi/Desktop/images/19042025/12/55/image_19042025_12_55_55_10498.jpg
/home/pi/Desktop/images/19042025/12/55/image_19042025_12_56_04_9361.jpg
/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_15_10374.jpg
/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_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":["1351879490","1351879508","1351879504","1351879494","1351879497","1351879501"],"photo_ids_order":["1351879490","1351879494","1351879497","1351879501","1351879504","1351879508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56c1bf8b9989a463ff4fc18122223965.jpg","text":"TemporaryFile(/tmp/multipartBody5161507694247194300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072313275,"filename":"image_19042025_12_55_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/19/c6634bb987288d240ed72c82440373e8.jpg","text":"TemporaryFile(/tmp/multipartBody4977629994647065912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072313275,"filename":"image_19042025_12_56_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/19/3b9526477b46e56a34cc8bbe794f728d.jpg","text":"TemporaryFile(/tmp/multipartBody2531645877233199749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072313275,"filename":"image_19042025_12_56_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e614f426099c79757858fd103f78552.jpg","text":"TemporaryFile(/tmp/multipartBody8155639309152066142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072313275,"filename":"image_19042025_12_55_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/19/aac5c54dedab0060fcf0baf7223a3624.jpg","text":"TemporaryFile(/tmp/multipartBody7735001997336761124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072313275,"filename":"image_19042025_12_55_55_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d77b975855d93b2f7a71afed63a46778.jpg","text":"TemporaryFile(/tmp/multipartBody3545576561373503208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072313275,"filename":"image_19042025_12_56_04_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879497","file1":"1351879494","file0":"1351879490","file4":"1351879504","file5":"1351879508","file3":"1351879501"},"map_files_photo_id_array":[{"photo_id":"1351879508","filename":"file5"},{"photo_id":"1351879497","filename":"file2"},{"photo_id":"1351879504","filename":"file4"},{"photo_id":"1351879494","filename":"file1"},{"photo_id":"1351879490","filename":"file0"},{"photo_id":"1351879501","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879490":["hashtag1","hashtag2"]},{"1351879508":["hashtag1","hashtag2"]},{"1351879504":["hashtag1","hashtag2"]},{"1351879494":["hashtag1","hashtag2"]},{"1351879497":["hashtag1","hashtag2"]},{"1351879501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879490, 1351879508, 1351879504, 1351879494, 1351879497, 1351879501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24051642417908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:18:33.016391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_34_9427.jpg', '/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_45_10500.jpg', '/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_54_9363.jpg', '/home/pi/Desktop/images/19042025/12/56/image_19042025_12_57_05_10488.jpg', '/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_15_10358.jpg', '/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_25_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_34_9427.jpg
/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_45_10500.jpg
/home/pi/Desktop/images/19042025/12/56/image_19042025_12_56_54_9363.jpg
/home/pi/Desktop/images/19042025/12/56/image_19042025_12_57_05_10488.jpg
/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_15_10358.jpg
/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_25_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879512","1351879547","1351879549","1351879540","1351879534","1351879515"],"photo_ids_order":["1351879512","1351879515","1351879534","1351879540","1351879547","1351879549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37715005090516529fe0559113561e57.jpg","text":"TemporaryFile(/tmp/multipartBody3576151545189496305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072373495,"filename":"image_19042025_12_56_34_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15ca1cf4db84c7e7b4b6119b5f8d5ec4.jpg","text":"TemporaryFile(/tmp/multipartBody4831390195763466871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072373495,"filename":"image_19042025_12_57_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/19/c1b19bbf52a79a5296b188c60a988243.jpg","text":"TemporaryFile(/tmp/multipartBody664477347177763355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072373495,"filename":"image_19042025_12_57_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/19/2ed74d1c4321b598ecd5f1af38d12d4a.jpg","text":"TemporaryFile(/tmp/multipartBody1516019717586959572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072373495,"filename":"image_19042025_12_57_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/19/0f128dcd259128b349e658bfc95082b3.jpg","text":"TemporaryFile(/tmp/multipartBody304878587506702208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072373495,"filename":"image_19042025_12_56_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/19/8ccdbc978449d4c36c3364c60f6c78f0.jpg","text":"TemporaryFile(/tmp/multipartBody9193872015007800101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072373495,"filename":"image_19042025_12_56_45_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879534","file1":"1351879515","file0":"1351879512","file4":"1351879547","file5":"1351879549","file3":"1351879540"},"map_files_photo_id_array":[{"photo_id":"1351879549","filename":"file5"},{"photo_id":"1351879534","filename":"file2"},{"photo_id":"1351879547","filename":"file4"},{"photo_id":"1351879515","filename":"file1"},{"photo_id":"1351879512","filename":"file0"},{"photo_id":"1351879540","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879512":["hashtag1","hashtag2"]},{"1351879547":["hashtag1","hashtag2"]},{"1351879549":["hashtag1","hashtag2"]},{"1351879540":["hashtag1","hashtag2"]},{"1351879534":["hashtag1","hashtag2"]},{"1351879515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879512, 1351879547, 1351879549, 1351879540, 1351879534, 1351879515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81788110733032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:19:32.291429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_35_10365.jpg', '/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_44_9362.jpg', '/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_55_10437.jpg', '/home/pi/Desktop/images/19042025/12/57/image_19042025_12_58_05_10435.jpg', '/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_15_9335.jpg', '/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_25_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_35_10365.jpg
/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_44_9362.jpg
/home/pi/Desktop/images/19042025/12/57/image_19042025_12_57_55_10437.jpg
/home/pi/Desktop/images/19042025/12/57/image_19042025_12_58_05_10435.jpg
/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_15_9335.jpg
/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_25_10560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879592","1351879595","1351879577","1351879581","1351879590","1351879587"],"photo_ids_order":["1351879577","1351879581","1351879587","1351879590","1351879592","1351879595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/10cd073566911802d21d909a1b040406.jpg","text":"TemporaryFile(/tmp/multipartBody3325304148923764996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072432754,"filename":"image_19042025_12_58_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/19/34ad7265cb60f645fd16459bbbe42b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2697233338711468108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072432754,"filename":"image_19042025_12_58_25_10560.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a72bc9cf3f3884674aa83e0983b64c95.jpg","text":"TemporaryFile(/tmp/multipartBody2488138026105790965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072432754,"filename":"image_19042025_12_57_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/19/02966669e28c0ae5bee8261d78dc2fce.jpg","text":"TemporaryFile(/tmp/multipartBody8990772168399761622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072432754,"filename":"image_19042025_12_57_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/19/31eea5307ac11d66d309d3cfa61e8067.jpg","text":"TemporaryFile(/tmp/multipartBody3664408209895648464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072432754,"filename":"image_19042025_12_58_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55175a6527d38d5671c1db1cdbbc6d80.jpg","text":"TemporaryFile(/tmp/multipartBody5423844600424210558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072432754,"filename":"image_19042025_12_57_55_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879587","file1":"1351879581","file0":"1351879577","file4":"1351879592","file5":"1351879595","file3":"1351879590"},"map_files_photo_id_array":[{"photo_id":"1351879595","filename":"file5"},{"photo_id":"1351879587","filename":"file2"},{"photo_id":"1351879592","filename":"file4"},{"photo_id":"1351879581","filename":"file1"},{"photo_id":"1351879577","filename":"file0"},{"photo_id":"1351879590","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879592":["hashtag1","hashtag2"]},{"1351879595":["hashtag1","hashtag2"]},{"1351879577":["hashtag1","hashtag2"]},{"1351879581":["hashtag1","hashtag2"]},{"1351879590":["hashtag1","hashtag2"]},{"1351879587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879592, 1351879595, 1351879577, 1351879581, 1351879590, 1351879587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.295886516571045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:20:32.404081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_34_9362.jpg', '/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_45_10425.jpg', '/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_54_9355.jpg', '/home/pi/Desktop/images/19042025/12/58/image_19042025_12_59_05_10358.jpg', '/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_15_10426.jpg', '/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_24_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_34_9362.jpg
/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_45_10425.jpg
/home/pi/Desktop/images/19042025/12/58/image_19042025_12_58_54_9355.jpg
/home/pi/Desktop/images/19042025/12/58/image_19042025_12_59_05_10358.jpg
/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_15_10426.jpg
/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_24_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":["1351879623","1351879616","1351879626","1351879629","1351879620","1351879614"],"photo_ids_order":["1351879614","1351879616","1351879620","1351879623","1351879626","1351879629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/09eeed79a5b3e46518e09d9f9009f094.jpg","text":"TemporaryFile(/tmp/multipartBody5700248646895345643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072492863,"filename":"image_19042025_12_59_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/19/be10a64beb86ef0345f2635bf7183a8d.jpg","text":"TemporaryFile(/tmp/multipartBody510220154980360145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072492863,"filename":"image_19042025_12_58_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c196f1cbeadb6b8d9a168fb1e9eaee93.jpg","text":"TemporaryFile(/tmp/multipartBody8376481556624297153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072492863,"filename":"image_19042025_12_59_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/19/4317e76a8b5c60339c226bcc4ac69b70.jpg","text":"TemporaryFile(/tmp/multipartBody3102644248901994200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072492863,"filename":"image_19042025_12_59_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/19/2e6d8030c5327a08a9ebbaa77e83aaac.jpg","text":"TemporaryFile(/tmp/multipartBody1602784695681388545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072492863,"filename":"image_19042025_12_58_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/19/ec357710a9ff03215cedc5960c42b62c.jpg","text":"TemporaryFile(/tmp/multipartBody1595340081549689167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072492863,"filename":"image_19042025_12_58_34_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879620","file1":"1351879616","file0":"1351879614","file4":"1351879626","file5":"1351879629","file3":"1351879623"},"map_files_photo_id_array":[{"photo_id":"1351879629","filename":"file5"},{"photo_id":"1351879620","filename":"file2"},{"photo_id":"1351879626","filename":"file4"},{"photo_id":"1351879616","filename":"file1"},{"photo_id":"1351879614","filename":"file0"},{"photo_id":"1351879623","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879623":["hashtag1","hashtag2"]},{"1351879616":["hashtag1","hashtag2"]},{"1351879626":["hashtag1","hashtag2"]},{"1351879629":["hashtag1","hashtag2"]},{"1351879620":["hashtag1","hashtag2"]},{"1351879614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879623, 1351879616, 1351879626, 1351879629, 1351879620, 1351879614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.56858992576599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:21:32.628499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_35_10476.jpg', '/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_44_9360.jpg', '/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_55_10403.jpg', '/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_16_10082.jpg', '/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_26_10379.jpg', '/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_36_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_35_10476.jpg
/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_44_9360.jpg
/home/pi/Desktop/images/19042025/12/59/image_19042025_12_59_55_10403.jpg
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_16_10082.jpg
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_26_10379.jpg
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_36_10413.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":["1351879704","1351879751","1351879730","1351879684","1351879726","1351879711"],"photo_ids_order":["1351879684","1351879704","1351879711","1351879726","1351879730","1351879751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/375140acf24bbf6349724d85946bd3d2.jpg","text":"TemporaryFile(/tmp/multipartBody2481184316254309187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072553119,"filename":"image_19042025_12_59_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/19/77b20d5b9f3cfeec5328bf0ffdd34d39.jpg","text":"TemporaryFile(/tmp/multipartBody2294432591495479568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072553119,"filename":"image_19042025_13_00_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/19/f4e5f2060bb5dcabbe2fba69c13d6fad.jpg","text":"TemporaryFile(/tmp/multipartBody5696188902977034162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072553119,"filename":"image_19042025_13_00_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/19/5ad20856b7077abebc349fea4e29c96c.jpg","text":"TemporaryFile(/tmp/multipartBody3375759759985540553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072553119,"filename":"image_19042025_12_59_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/19/9aaddf2edf20ce99b4b2c3c30e786171.jpg","text":"TemporaryFile(/tmp/multipartBody7367118712750227663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072553119,"filename":"image_19042025_13_00_16_10082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6065effcb9ba82ef1d656d9dc59e1cf9.jpg","text":"TemporaryFile(/tmp/multipartBody4870297496886360196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072553119,"filename":"image_19042025_12_59_55_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879711","file1":"1351879704","file0":"1351879684","file4":"1351879730","file5":"1351879751","file3":"1351879726"},"map_files_photo_id_array":[{"photo_id":"1351879751","filename":"file5"},{"photo_id":"1351879711","filename":"file2"},{"photo_id":"1351879730","filename":"file4"},{"photo_id":"1351879704","filename":"file1"},{"photo_id":"1351879684","filename":"file0"},{"photo_id":"1351879726","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879704":["hashtag1","hashtag2"]},{"1351879751":["hashtag1","hashtag2"]},{"1351879730":["hashtag1","hashtag2"]},{"1351879684":["hashtag1","hashtag2"]},{"1351879726":["hashtag1","hashtag2"]},{"1351879711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879704, 1351879751, 1351879730, 1351879684, 1351879726, 1351879711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.994407653808594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 16:22:42.939934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_46_9410.jpg', '/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_56_10354.jpg', '/home/pi/Desktop/images/19042025/13/00/image_19042025_13_01_06_9410.jpg', '/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_16_10417.jpg', '/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_26_10357.jpg', '/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_36_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_46_9410.jpg
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_56_10354.jpg
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_01_06_9410.jpg
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_16_10417.jpg
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_26_10357.jpg
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_36_9354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37986302375793457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:22:52.987842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_46_9410.jpg', '/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_56_10354.jpg', '/home/pi/Desktop/images/19042025/13/00/image_19042025_13_01_06_9410.jpg', '/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_16_10417.jpg', '/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_26_10357.jpg', '/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_36_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_46_9410.jpg
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_00_56_10354.jpg
/home/pi/Desktop/images/19042025/13/00/image_19042025_13_01_06_9410.jpg
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_16_10417.jpg
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_26_10357.jpg
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_36_9354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879820","1351879823","1351879817","1351879826","1351879831","1351879828"],"photo_ids_order":["1351879817","1351879820","1351879823","1351879826","1351879828","1351879831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8bb8cac1a64c3ef521ed74baf85434a0.jpg","text":"TemporaryFile(/tmp/multipartBody6528734502467037294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072633448,"filename":"image_19042025_13_00_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/19/0bcbdd499fbe65f68b1ced86dc31df48.jpg","text":"TemporaryFile(/tmp/multipartBody34612556369925035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072633448,"filename":"image_19042025_13_01_06_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/19/4fe86d81a36c10c535cbd7305019bf5c.jpg","text":"TemporaryFile(/tmp/multipartBody2301464518671067364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072633448,"filename":"image_19042025_13_00_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/19/bffd4bbc7619bf599dd7a349880ed537.jpg","text":"TemporaryFile(/tmp/multipartBody3575839756719849787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072633448,"filename":"image_19042025_13_01_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae1124e8d2284de8fa44da07f6597af0.jpg","text":"TemporaryFile(/tmp/multipartBody5096959268165165323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072633448,"filename":"image_19042025_13_01_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/19/59fdb033a51483ceb34305d5cbd17b27.jpg","text":"TemporaryFile(/tmp/multipartBody6854179009652761844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072633448,"filename":"image_19042025_13_01_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879823","file1":"1351879820","file0":"1351879817","file4":"1351879828","file5":"1351879831","file3":"1351879826"},"map_files_photo_id_array":[{"photo_id":"1351879831","filename":"file5"},{"photo_id":"1351879823","filename":"file2"},{"photo_id":"1351879828","filename":"file4"},{"photo_id":"1351879820","filename":"file1"},{"photo_id":"1351879817","filename":"file0"},{"photo_id":"1351879826","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879820":["hashtag1","hashtag2"]},{"1351879823":["hashtag1","hashtag2"]},{"1351879817":["hashtag1","hashtag2"]},{"1351879826":["hashtag1","hashtag2"]},{"1351879831":["hashtag1","hashtag2"]},{"1351879828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879820, 1351879823, 1351879817, 1351879826, 1351879831, 1351879828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.9040424823761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:23:32.168630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_46_10427.jpg', '/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_57_10387.jpg', '/home/pi/Desktop/images/19042025/13/01/image_19042025_13_02_06_9390.jpg', '/home/pi/Desktop/images/19042025/13/02/image_19042025_13_02_36_10386.jpg', '/home/pi/Desktop/images/19042025/13/02/image_19042025_13_02_46_10369.jpg', '/home/pi/Desktop/images/19042025/13/02/image_19042025_13_02_56_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_46_10427.jpg
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_01_57_10387.jpg
/home/pi/Desktop/images/19042025/13/01/image_19042025_13_02_06_9390.jpg
/home/pi/Desktop/images/19042025/13/02/image_19042025_13_02_36_10386.jpg
/home/pi/Desktop/images/19042025/13/02/image_19042025_13_02_46_10369.jpg
/home/pi/Desktop/images/19042025/13/02/image_19042025_13_02_56_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":["1351879901","1351879907","1351879899","1351879903","1351879860","1351879905"],"photo_ids_order":["1351879860","1351879899","1351879901","1351879903","1351879905","1351879907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c8cea0a23749eeec77777bca4710ddb.jpg","text":"TemporaryFile(/tmp/multipartBody5267267420649582031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072672632,"filename":"image_19042025_13_02_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/19/1944da1205b9cd8c9510071c528e1dc9.jpg","text":"TemporaryFile(/tmp/multipartBody4766957581095943561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072672632,"filename":"image_19042025_13_02_56_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2223c46ae61ba10ba116f649fc5cf9e4.jpg","text":"TemporaryFile(/tmp/multipartBody5551224591417122830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072672632,"filename":"image_19042025_13_01_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/19/e0d6a6db245b8ab51818e076e7ba56c2.jpg","text":"TemporaryFile(/tmp/multipartBody3919402449547459779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072672632,"filename":"image_19042025_13_02_36_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3120878801cfccb69ccf12c1c8322165.jpg","text":"TemporaryFile(/tmp/multipartBody6270890902828228834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072672632,"filename":"image_19042025_13_01_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/19/1f34e771c0e486c3670547bd4cd36e59.jpg","text":"TemporaryFile(/tmp/multipartBody1345914135106482810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072672632,"filename":"image_19042025_13_02_46_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879901","file1":"1351879899","file0":"1351879860","file4":"1351879905","file5":"1351879907","file3":"1351879903"},"map_files_photo_id_array":[{"photo_id":"1351879907","filename":"file5"},{"photo_id":"1351879901","filename":"file2"},{"photo_id":"1351879905","filename":"file4"},{"photo_id":"1351879899","filename":"file1"},{"photo_id":"1351879860","filename":"file0"},{"photo_id":"1351879903","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879901":["hashtag1","hashtag2"]},{"1351879907":["hashtag1","hashtag2"]},{"1351879899":["hashtag1","hashtag2"]},{"1351879903":["hashtag1","hashtag2"]},{"1351879860":["hashtag1","hashtag2"]},{"1351879905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879901, 1351879907, 1351879899, 1351879903, 1351879860, 1351879905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48576521873474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:24:32.537279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/02/image_19042025_13_03_06_10367.jpg', '/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_16_9350.jpg', '/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_26_10381.jpg', '/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_36_10364.jpg', '/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_46_9376.jpg', '/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_56_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/02/image_19042025_13_03_06_10367.jpg
/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_16_9350.jpg
/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_26_10381.jpg
/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_36_10364.jpg
/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_46_9376.jpg
/home/pi/Desktop/images/19042025/13/03/image_19042025_13_03_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":["1351879928","1351879922","1351879919","1351879930","1351879924","1351879935"],"photo_ids_order":["1351879919","1351879922","1351879924","1351879928","1351879930","1351879935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cd38c0a1bdff44f81b3481d64a94e8f1.jpg","text":"TemporaryFile(/tmp/multipartBody8438413898740060758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072733087,"filename":"image_19042025_13_03_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/19/90a882d0011a3276ca0342fce0a8f40f.jpg","text":"TemporaryFile(/tmp/multipartBody7482689243876286137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072733087,"filename":"image_19042025_13_03_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/19/2472d13ec5349d340f0ca58f6d313b82.jpg","text":"TemporaryFile(/tmp/multipartBody7860195413473192368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072733087,"filename":"image_19042025_13_03_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b0583c8c4df1b79f0a1409a3e26f065.jpg","text":"TemporaryFile(/tmp/multipartBody556491331215840637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072733087,"filename":"image_19042025_13_03_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/19/3a8d8902173ec4d81d07983d67b12e1e.jpg","text":"TemporaryFile(/tmp/multipartBody7123252377060515491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072733087,"filename":"image_19042025_13_03_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/19/8e4aa2831a141d6cfed4940c8ea5c7d9.jpg","text":"TemporaryFile(/tmp/multipartBody8877318131966299203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072733087,"filename":"image_19042025_13_03_56_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879924","file1":"1351879922","file0":"1351879919","file4":"1351879930","file5":"1351879935","file3":"1351879928"},"map_files_photo_id_array":[{"photo_id":"1351879935","filename":"file5"},{"photo_id":"1351879924","filename":"file2"},{"photo_id":"1351879930","filename":"file4"},{"photo_id":"1351879922","filename":"file1"},{"photo_id":"1351879919","filename":"file0"},{"photo_id":"1351879928","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879928":["hashtag1","hashtag2"]},{"1351879922":["hashtag1","hashtag2"]},{"1351879919":["hashtag1","hashtag2"]},{"1351879930":["hashtag1","hashtag2"]},{"1351879924":["hashtag1","hashtag2"]},{"1351879935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879928, 1351879922, 1351879919, 1351879930, 1351879924, 1351879935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5013325214386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:25:32.741131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/03/image_19042025_13_04_06_10366.jpg', '/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_16_9412.jpg', '/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_26_10376.jpg', '/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_36_9365.jpg', '/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_46_10428.jpg', '/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_56_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/03/image_19042025_13_04_06_10366.jpg
/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_16_9412.jpg
/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_26_10376.jpg
/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_36_9365.jpg
/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_46_10428.jpg
/home/pi/Desktop/images/19042025/13/04/image_19042025_13_04_56_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879982","1351879979","1351879993","1351879987","1351879990","1351879974"],"photo_ids_order":["1351879974","1351879979","1351879982","1351879987","1351879990","1351879993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90519cd13de5946fd484b49040e87130.jpg","text":"TemporaryFile(/tmp/multipartBody1699094788484879920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072793207,"filename":"image_19042025_13_04_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/19/324569328a1682b8108236d1db2a4cde.jpg","text":"TemporaryFile(/tmp/multipartBody4569451840217964522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072793207,"filename":"image_19042025_13_04_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/19/03ee644c5078adee3ed20ac4cac32e82.jpg","text":"TemporaryFile(/tmp/multipartBody3266173804427974099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072793207,"filename":"image_19042025_13_04_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/19/1e9b81430a0ab132db6f6be997661691.jpg","text":"TemporaryFile(/tmp/multipartBody6772464094823018200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072793207,"filename":"image_19042025_13_04_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70b954ca73e9d1fed62e3a9d7bc819b1.jpg","text":"TemporaryFile(/tmp/multipartBody4003321676805036262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072793207,"filename":"image_19042025_13_04_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/19/f717c9fd8946ef2dd8c19112aa4e9ec0.jpg","text":"TemporaryFile(/tmp/multipartBody4768964203980163547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072793207,"filename":"image_19042025_13_04_06_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879982","file1":"1351879979","file0":"1351879974","file4":"1351879990","file5":"1351879993","file3":"1351879987"},"map_files_photo_id_array":[{"photo_id":"1351879993","filename":"file5"},{"photo_id":"1351879982","filename":"file2"},{"photo_id":"1351879990","filename":"file4"},{"photo_id":"1351879979","filename":"file1"},{"photo_id":"1351879974","filename":"file0"},{"photo_id":"1351879987","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351879982":["hashtag1","hashtag2"]},{"1351879979":["hashtag1","hashtag2"]},{"1351879993":["hashtag1","hashtag2"]},{"1351879987":["hashtag1","hashtag2"]},{"1351879990":["hashtag1","hashtag2"]},{"1351879974":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351879982, 1351879979, 1351879993, 1351879987, 1351879990, 1351879974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07072186470032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:26:33.046180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/04/image_19042025_13_05_06_9458.jpg', '/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_16_10367.jpg', '/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_26_9359.jpg', '/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_36_10216.jpg', '/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_46_10379.jpg', '/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_56_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/04/image_19042025_13_05_06_9458.jpg
/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_16_10367.jpg
/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_26_9359.jpg
/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_36_10216.jpg
/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_46_10379.jpg
/home/pi/Desktop/images/19042025/13/05/image_19042025_13_05_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":["1351880001","1351879999","1351880011","1351880014","1351880008","1351880005"],"photo_ids_order":["1351879999","1351880001","1351880005","1351880008","1351880011","1351880014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e164336498d1e344d5b02e38d0e16f3.jpg","text":"TemporaryFile(/tmp/multipartBody7038449605806123003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072853523,"filename":"image_19042025_13_05_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/19/0fd648c0071db4b510e59aed6f7ef9a8.jpg","text":"TemporaryFile(/tmp/multipartBody965001765450091711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072853523,"filename":"image_19042025_13_05_06_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/903cc5c3ed1d204fe5468be974376962.jpg","text":"TemporaryFile(/tmp/multipartBody7427146934036961619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072853523,"filename":"image_19042025_13_05_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25de6f46e5c0f10464630b8c5898a241.jpg","text":"TemporaryFile(/tmp/multipartBody380369457129217539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072853523,"filename":"image_19042025_13_05_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6612e278eabce46fe7b046f510121a71.jpg","text":"TemporaryFile(/tmp/multipartBody3390487596789511169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072853523,"filename":"image_19042025_13_05_36_10216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86f52ada3c25f56520e2c71eb9cd42b2.jpg","text":"TemporaryFile(/tmp/multipartBody5996216433040474439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072853523,"filename":"image_19042025_13_05_26_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880005","file1":"1351880001","file0":"1351879999","file4":"1351880011","file5":"1351880014","file3":"1351880008"},"map_files_photo_id_array":[{"photo_id":"1351880014","filename":"file5"},{"photo_id":"1351880005","filename":"file2"},{"photo_id":"1351880011","filename":"file4"},{"photo_id":"1351880001","filename":"file1"},{"photo_id":"1351879999","filename":"file0"},{"photo_id":"1351880008","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880001":["hashtag1","hashtag2"]},{"1351879999":["hashtag1","hashtag2"]},{"1351880011":["hashtag1","hashtag2"]},{"1351880014":["hashtag1","hashtag2"]},{"1351880008":["hashtag1","hashtag2"]},{"1351880005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880001, 1351879999, 1351880011, 1351880014, 1351880008, 1351880005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53860783576965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:27:32.337261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/05/image_19042025_13_06_06_10455.jpg', '/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_16_10352.jpg', '/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_26_9434.jpg', '/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_36_10390.jpg', '/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_46_9367.jpg', '/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_56_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/05/image_19042025_13_06_06_10455.jpg
/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_16_10352.jpg
/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_26_9434.jpg
/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_36_10390.jpg
/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_46_9367.jpg
/home/pi/Desktop/images/19042025/13/06/image_19042025_13_06_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":["1351880019","1351880033","1351880027","1351880036","1351880030","1351880023"],"photo_ids_order":["1351880019","1351880023","1351880027","1351880030","1351880033","1351880036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de75743d37a23ce2ef2b5ce682befda2.jpg","text":"TemporaryFile(/tmp/multipartBody8551920159224197637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072912798,"filename":"image_19042025_13_06_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/19/a3131b908c9b71a5b76d1f278f19596a.jpg","text":"TemporaryFile(/tmp/multipartBody2675308901019051038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072912798,"filename":"image_19042025_13_06_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/19/2b698e918a4110d044ea9a94773d96dc.jpg","text":"TemporaryFile(/tmp/multipartBody8791721808740197577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072912798,"filename":"image_19042025_13_06_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98944e12e8db87e849bffee20df12509.jpg","text":"TemporaryFile(/tmp/multipartBody911019558011926143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072912798,"filename":"image_19042025_13_06_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/19/6913e5c9817ff85ba223d580202f9a84.jpg","text":"TemporaryFile(/tmp/multipartBody3581063264479216031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072912798,"filename":"image_19042025_13_06_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/19/f96256e93084de17ee4e85f87932b7fb.jpg","text":"TemporaryFile(/tmp/multipartBody5607696970752701508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072912798,"filename":"image_19042025_13_06_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880027","file1":"1351880023","file0":"1351880019","file4":"1351880033","file5":"1351880036","file3":"1351880030"},"map_files_photo_id_array":[{"photo_id":"1351880036","filename":"file5"},{"photo_id":"1351880027","filename":"file2"},{"photo_id":"1351880033","filename":"file4"},{"photo_id":"1351880023","filename":"file1"},{"photo_id":"1351880019","filename":"file0"},{"photo_id":"1351880030","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880019":["hashtag1","hashtag2"]},{"1351880033":["hashtag1","hashtag2"]},{"1351880027":["hashtag1","hashtag2"]},{"1351880036":["hashtag1","hashtag2"]},{"1351880030":["hashtag1","hashtag2"]},{"1351880023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880019, 1351880033, 1351880027, 1351880036, 1351880030, 1351880023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.992809772491455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:28:32.565640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/06/image_19042025_13_07_06_10339.jpg', '/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_16_9361.jpg', '/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_26_10363.jpg', '/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_36_10363.jpg', '/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_46_9354.jpg', '/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_56_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/06/image_19042025_13_07_06_10339.jpg
/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_16_9361.jpg
/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_26_10363.jpg
/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_36_10363.jpg
/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_46_9354.jpg
/home/pi/Desktop/images/19042025/13/07/image_19042025_13_07_56_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":["1351880049","1351880052","1351880045","1351880054","1351880048","1351880042"],"photo_ids_order":["1351880042","1351880045","1351880048","1351880049","1351880052","1351880054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4d8f43299c170357acdfc1363516422d.jpg","text":"TemporaryFile(/tmp/multipartBody3013500498423512099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072973021,"filename":"image_19042025_13_07_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/19/b6d32461ccff29bae8e76bb65e4ca53c.jpg","text":"TemporaryFile(/tmp/multipartBody8902724165745598529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072973021,"filename":"image_19042025_13_07_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/19/51ab3ce76db722137f2d413cf9f9ac05.jpg","text":"TemporaryFile(/tmp/multipartBody8139988413398511817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072973021,"filename":"image_19042025_13_07_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/19/71812eeda8cd90d141410668bdf04145.jpg","text":"TemporaryFile(/tmp/multipartBody542780090352160124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072973021,"filename":"image_19042025_13_07_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/57617a74b2f866d17ace424d6e879c05.jpg","text":"TemporaryFile(/tmp/multipartBody3154626703852801044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072973021,"filename":"image_19042025_13_07_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cddbc9e823a9d661911b231ac5bae2f.jpg","text":"TemporaryFile(/tmp/multipartBody204727213887134629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745072973021,"filename":"image_19042025_13_07_06_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880048","file1":"1351880045","file0":"1351880042","file4":"1351880052","file5":"1351880054","file3":"1351880049"},"map_files_photo_id_array":[{"photo_id":"1351880054","filename":"file5"},{"photo_id":"1351880048","filename":"file2"},{"photo_id":"1351880052","filename":"file4"},{"photo_id":"1351880045","filename":"file1"},{"photo_id":"1351880042","filename":"file0"},{"photo_id":"1351880049","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880049":["hashtag1","hashtag2"]},{"1351880052":["hashtag1","hashtag2"]},{"1351880045":["hashtag1","hashtag2"]},{"1351880054":["hashtag1","hashtag2"]},{"1351880048":["hashtag1","hashtag2"]},{"1351880042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880049, 1351880052, 1351880045, 1351880054, 1351880048, 1351880042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.840690851211548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:29:32.865913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/07/image_19042025_13_08_06_10383.jpg', '/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_16_9477.jpg', '/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_26_10460.jpg', '/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_36_9425.jpg', '/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_46_10381.jpg', '/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_56_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/07/image_19042025_13_08_06_10383.jpg
/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_16_9477.jpg
/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_26_10460.jpg
/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_36_9425.jpg
/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_46_10381.jpg
/home/pi/Desktop/images/19042025/13/08/image_19042025_13_08_56_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351880076","1351880078","1351880069","1351880074","1351880071","1351880073"],"photo_ids_order":["1351880069","1351880071","1351880073","1351880074","1351880076","1351880078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d60d8e3bb7d881c7cb43c4d70b11398.jpg","text":"TemporaryFile(/tmp/multipartBody5210781910766999594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073033319,"filename":"image_19042025_13_08_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/19/415959ae61e9ac93bbc44f3f0670ae17.jpg","text":"TemporaryFile(/tmp/multipartBody1570657034293099765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073033319,"filename":"image_19042025_13_08_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/19/8a92e08f77595b8de5dbd96e971c0bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2108333127569261926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073033319,"filename":"image_19042025_13_08_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/19/7e47d7bfb653ab4f31605fb57142f641.jpg","text":"TemporaryFile(/tmp/multipartBody6750487852649778027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073033319,"filename":"image_19042025_13_08_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2856c8354db41a54f1685189c10fc459.jpg","text":"TemporaryFile(/tmp/multipartBody3353408202953843542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073033319,"filename":"image_19042025_13_08_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/19/c0dfe7df6896beea8fe995c68511016d.jpg","text":"TemporaryFile(/tmp/multipartBody6541248513280027408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073033319,"filename":"image_19042025_13_08_26_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880073","file1":"1351880071","file0":"1351880069","file4":"1351880076","file5":"1351880078","file3":"1351880074"},"map_files_photo_id_array":[{"photo_id":"1351880078","filename":"file5"},{"photo_id":"1351880073","filename":"file2"},{"photo_id":"1351880076","filename":"file4"},{"photo_id":"1351880071","filename":"file1"},{"photo_id":"1351880069","filename":"file0"},{"photo_id":"1351880074","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880076":["hashtag1","hashtag2"]},{"1351880078":["hashtag1","hashtag2"]},{"1351880069":["hashtag1","hashtag2"]},{"1351880074":["hashtag1","hashtag2"]},{"1351880071":["hashtag1","hashtag2"]},{"1351880073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880076, 1351880078, 1351880069, 1351880074, 1351880071, 1351880073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71448040008545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:30:33.187004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/08/image_19042025_13_09_06_10455.jpg', '/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_16_10350.jpg', '/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_26_9412.jpg', '/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_36_10356.jpg', '/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_46_9472.jpg', '/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_56_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/08/image_19042025_13_09_06_10455.jpg
/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_16_10350.jpg
/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_26_9412.jpg
/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_36_10356.jpg
/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_46_9472.jpg
/home/pi/Desktop/images/19042025/13/09/image_19042025_13_09_56_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":["1351880115","1351880106","1351880120","1351880110","1351880113","1351880101"],"photo_ids_order":["1351880101","1351880106","1351880110","1351880113","1351880115","1351880120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/927cf2642ac0685615bc684fae1e1edc.jpg","text":"TemporaryFile(/tmp/multipartBody1030798836219491529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073093678,"filename":"image_19042025_13_09_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/19/04935ff3acd2f402045644954961ef05.jpg","text":"TemporaryFile(/tmp/multipartBody8549441757020623743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073093678,"filename":"image_19042025_13_09_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/19/d7446f424d57e5d2a593ea0fb9cc6128.jpg","text":"TemporaryFile(/tmp/multipartBody6197095636607531403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073093678,"filename":"image_19042025_13_09_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/19/7dab367f448a5398eb3ca189793addaa.jpg","text":"TemporaryFile(/tmp/multipartBody3845501812758116361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073093678,"filename":"image_19042025_13_09_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/19/65325d6c70c3b507f2b86ca3b4aac3ba.jpg","text":"TemporaryFile(/tmp/multipartBody5496799249635969337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073093678,"filename":"image_19042025_13_09_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/19/987e2bdd90df5d440b6be73e3ccf9965.jpg","text":"TemporaryFile(/tmp/multipartBody8268715909444031182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073093678,"filename":"image_19042025_13_09_06_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880110","file1":"1351880106","file0":"1351880101","file4":"1351880115","file5":"1351880120","file3":"1351880113"},"map_files_photo_id_array":[{"photo_id":"1351880120","filename":"file5"},{"photo_id":"1351880110","filename":"file2"},{"photo_id":"1351880115","filename":"file4"},{"photo_id":"1351880106","filename":"file1"},{"photo_id":"1351880101","filename":"file0"},{"photo_id":"1351880113","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880115":["hashtag1","hashtag2"]},{"1351880106":["hashtag1","hashtag2"]},{"1351880120":["hashtag1","hashtag2"]},{"1351880110":["hashtag1","hashtag2"]},{"1351880113":["hashtag1","hashtag2"]},{"1351880101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880115, 1351880106, 1351880120, 1351880110, 1351880113, 1351880101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.378541469573975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:31:32.409275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/09/image_19042025_13_10_06_10348.jpg', '/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_16_9457.jpg', '/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_26_10365.jpg', '/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_36_9346.jpg', '/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_46_10477.jpg', '/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_56_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/09/image_19042025_13_10_06_10348.jpg
/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_16_9457.jpg
/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_26_10365.jpg
/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_36_9346.jpg
/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_46_10477.jpg
/home/pi/Desktop/images/19042025/13/10/image_19042025_13_10_56_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351880133","1351880126","1351880141","1351880135","1351880138","1351880128"],"photo_ids_order":["1351880126","1351880128","1351880133","1351880135","1351880138","1351880141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f63d34c6b7062bebdc20b5a905ec9f54.jpg","text":"TemporaryFile(/tmp/multipartBody100324185938655352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073152871,"filename":"image_19042025_13_10_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4004e5d9399f812f913b2963f5d04d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5420279921841841526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073152871,"filename":"image_19042025_13_10_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/19/87fe50804d26cfe9be95ef062a4b5c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5856630417622502585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073152871,"filename":"image_19042025_13_10_56_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d3a7778ce087ef2a8201a6ec09e3f73d.jpg","text":"TemporaryFile(/tmp/multipartBody3097834681316833485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073152871,"filename":"image_19042025_13_10_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c3b14d3267bde2c0dab447e0f904443.jpg","text":"TemporaryFile(/tmp/multipartBody3609750504576263579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073152871,"filename":"image_19042025_13_10_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/19/8b59856465f15bcb990601b4fe90c9fa.jpg","text":"TemporaryFile(/tmp/multipartBody3461821587832506155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073152871,"filename":"image_19042025_13_10_16_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880133","file1":"1351880128","file0":"1351880126","file4":"1351880138","file5":"1351880141","file3":"1351880135"},"map_files_photo_id_array":[{"photo_id":"1351880141","filename":"file5"},{"photo_id":"1351880133","filename":"file2"},{"photo_id":"1351880138","filename":"file4"},{"photo_id":"1351880128","filename":"file1"},{"photo_id":"1351880126","filename":"file0"},{"photo_id":"1351880135","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880133":["hashtag1","hashtag2"]},{"1351880126":["hashtag1","hashtag2"]},{"1351880141":["hashtag1","hashtag2"]},{"1351880135":["hashtag1","hashtag2"]},{"1351880138":["hashtag1","hashtag2"]},{"1351880128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880133, 1351880126, 1351880141, 1351880135, 1351880138, 1351880128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.399680376052856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:32:32.557134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_16_10370.jpg', '/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_26_9376.jpg', '/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_36_10362.jpg', '/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_46_10370.jpg', '/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_56_9412.jpg', '/home/pi/Desktop/images/19042025/13/11/image_19042025_13_12_06_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_16_10370.jpg
/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_26_9376.jpg
/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_36_10362.jpg
/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_46_10370.jpg
/home/pi/Desktop/images/19042025/13/11/image_19042025_13_11_56_9412.jpg
/home/pi/Desktop/images/19042025/13/11/image_19042025_13_12_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":["1351880157","1351880150","1351880168","1351880153","1351880161","1351880164"],"photo_ids_order":["1351880150","1351880153","1351880157","1351880161","1351880164","1351880168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/386593ead8960b8306c9366986aeb16c.jpg","text":"TemporaryFile(/tmp/multipartBody2596700774806925109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073213010,"filename":"image_19042025_13_11_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/19/1ee81e5cac7b71a579da0657651c7c11.jpg","text":"TemporaryFile(/tmp/multipartBody7430772611506759178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073213010,"filename":"image_19042025_13_11_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/19/040ec4e6a7cb43ba372b87523c391af3.jpg","text":"TemporaryFile(/tmp/multipartBody3895872692952424452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073213010,"filename":"image_19042025_13_12_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dcf272eaee7a7f121cf2e386435372fc.jpg","text":"TemporaryFile(/tmp/multipartBody3847576872611347317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073213010,"filename":"image_19042025_13_11_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/19/39dbc1a709abd05ed106bc2e61e02a7f.jpg","text":"TemporaryFile(/tmp/multipartBody274857453376805936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073213010,"filename":"image_19042025_13_11_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b07f060d86ed88bf65a21f435ff97874.jpg","text":"TemporaryFile(/tmp/multipartBody181093401911108017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073213010,"filename":"image_19042025_13_11_56_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880157","file1":"1351880153","file0":"1351880150","file4":"1351880164","file5":"1351880168","file3":"1351880161"},"map_files_photo_id_array":[{"photo_id":"1351880168","filename":"file5"},{"photo_id":"1351880157","filename":"file2"},{"photo_id":"1351880164","filename":"file4"},{"photo_id":"1351880153","filename":"file1"},{"photo_id":"1351880150","filename":"file0"},{"photo_id":"1351880161","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880157":["hashtag1","hashtag2"]},{"1351880150":["hashtag1","hashtag2"]},{"1351880168":["hashtag1","hashtag2"]},{"1351880153":["hashtag1","hashtag2"]},{"1351880161":["hashtag1","hashtag2"]},{"1351880164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880157, 1351880150, 1351880168, 1351880153, 1351880161, 1351880164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04205799102783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:33:32.911454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_16_9335.jpg', '/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_26_10349.jpg', '/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_36_10357.jpg', '/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_46_9436.jpg', '/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_56_10384.jpg', '/home/pi/Desktop/images/19042025/13/12/image_19042025_13_13_06_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_16_9335.jpg
/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_26_10349.jpg
/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_36_10357.jpg
/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_46_9436.jpg
/home/pi/Desktop/images/19042025/13/12/image_19042025_13_12_56_10384.jpg
/home/pi/Desktop/images/19042025/13/12/image_19042025_13_13_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":["1351880220","1351880217","1351880212","1351880206","1351880215","1351880209"],"photo_ids_order":["1351880206","1351880209","1351880212","1351880215","1351880217","1351880220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a02dfaa43d2ce937691d8fb587c8c96c.jpg","text":"TemporaryFile(/tmp/multipartBody5077069303184522314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073273376,"filename":"image_19042025_13_13_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/19/3225197119fbe141f2b5a434498f2c83.jpg","text":"TemporaryFile(/tmp/multipartBody1730793567034429723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073273376,"filename":"image_19042025_13_12_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7d146600e9b78afd10bec76714251df9.jpg","text":"TemporaryFile(/tmp/multipartBody111871747518317849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073273376,"filename":"image_19042025_13_12_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/74d2ab5147b61dcc3b00d2fe4a05d1de.jpg","text":"TemporaryFile(/tmp/multipartBody504581810457968242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073273376,"filename":"image_19042025_13_12_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/19/5eeb18924cb826d182d3cea87808028b.jpg","text":"TemporaryFile(/tmp/multipartBody6544622383798583318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073273376,"filename":"image_19042025_13_12_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/19/744624f62ec52f3ad208fcdac582dd02.jpg","text":"TemporaryFile(/tmp/multipartBody8088517460054674207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073273376,"filename":"image_19042025_13_12_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880212","file1":"1351880209","file0":"1351880206","file4":"1351880217","file5":"1351880220","file3":"1351880215"},"map_files_photo_id_array":[{"photo_id":"1351880220","filename":"file5"},{"photo_id":"1351880212","filename":"file2"},{"photo_id":"1351880217","filename":"file4"},{"photo_id":"1351880209","filename":"file1"},{"photo_id":"1351880206","filename":"file0"},{"photo_id":"1351880215","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880220":["hashtag1","hashtag2"]},{"1351880217":["hashtag1","hashtag2"]},{"1351880212":["hashtag1","hashtag2"]},{"1351880206":["hashtag1","hashtag2"]},{"1351880215":["hashtag1","hashtag2"]},{"1351880209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880220, 1351880217, 1351880212, 1351880206, 1351880215, 1351880209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.179041624069214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:34:33.081304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_16_9400.jpg', '/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_26_10349.jpg', '/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_36_9392.jpg', '/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_46_10375.jpg', '/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_56_10376.jpg', '/home/pi/Desktop/images/19042025/13/13/image_19042025_13_14_06_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_16_9400.jpg
/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_26_10349.jpg
/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_36_9392.jpg
/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_46_10375.jpg
/home/pi/Desktop/images/19042025/13/13/image_19042025_13_13_56_10376.jpg
/home/pi/Desktop/images/19042025/13/13/image_19042025_13_14_06_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351880232","1351880229","1351880238","1351880242","1351880236","1351880245"],"photo_ids_order":["1351880229","1351880232","1351880236","1351880238","1351880242","1351880245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56453a297d729e97f7758a9e4997486c.jpg","text":"TemporaryFile(/tmp/multipartBody5229009261658763652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073333535,"filename":"image_19042025_13_13_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fbb56e444bb32517399e67417a008c2c.jpg","text":"TemporaryFile(/tmp/multipartBody4067171590004855376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073333535,"filename":"image_19042025_13_13_16_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bd1a6ffde638887c8bc6f3b1ed3aec26.jpg","text":"TemporaryFile(/tmp/multipartBody1885118235347577065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073333535,"filename":"image_19042025_13_13_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/19/04708e16c945b40ed25811097f7495eb.jpg","text":"TemporaryFile(/tmp/multipartBody1087198436564179079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073333535,"filename":"image_19042025_13_13_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/afeb447c4b16aac17cf1fce857dce49d.jpg","text":"TemporaryFile(/tmp/multipartBody6961214618389693404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073333535,"filename":"image_19042025_13_13_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/19/57a4a38bcf970b21610f5f6917453128.jpg","text":"TemporaryFile(/tmp/multipartBody4930547940137702448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073333535,"filename":"image_19042025_13_14_06_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880236","file1":"1351880232","file0":"1351880229","file4":"1351880242","file5":"1351880245","file3":"1351880238"},"map_files_photo_id_array":[{"photo_id":"1351880245","filename":"file5"},{"photo_id":"1351880236","filename":"file2"},{"photo_id":"1351880242","filename":"file4"},{"photo_id":"1351880232","filename":"file1"},{"photo_id":"1351880229","filename":"file0"},{"photo_id":"1351880238","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880232":["hashtag1","hashtag2"]},{"1351880229":["hashtag1","hashtag2"]},{"1351880238":["hashtag1","hashtag2"]},{"1351880242":["hashtag1","hashtag2"]},{"1351880236":["hashtag1","hashtag2"]},{"1351880245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880232, 1351880229, 1351880238, 1351880242, 1351880236, 1351880245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.626891136169434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:35:32.254438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_16_10360.jpg', '/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_26_10393.jpg', '/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_36_9495.jpg', '/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_46_10445.jpg', '/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_56_9344.jpg', '/home/pi/Desktop/images/19042025/13/14/image_19042025_13_15_06_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_16_10360.jpg
/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_26_10393.jpg
/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_36_9495.jpg
/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_46_10445.jpg
/home/pi/Desktop/images/19042025/13/14/image_19042025_13_14_56_9344.jpg
/home/pi/Desktop/images/19042025/13/14/image_19042025_13_15_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":["1351880849","1351880804","1351880599","1351880353","1351880848","1351880809"],"photo_ids_order":["1351880353","1351880599","1351880804","1351880809","1351880848","1351880849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2344fbb3fab22698ee076fc84e3d1eac.jpg","text":"TemporaryFile(/tmp/multipartBody7790461868860421684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073392726,"filename":"image_19042025_13_15_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/19/4bf494a9522bcfa782f7cbe123560f52.jpg","text":"TemporaryFile(/tmp/multipartBody2174953633841874767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073392726,"filename":"image_19042025_13_14_36_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/19/fd40dd4a4a75f8fd79893a4234851ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2187707159047781361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073392726,"filename":"image_19042025_13_14_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/19/d82944567cb33258ea33f58c7e9b854c.jpg","text":"TemporaryFile(/tmp/multipartBody7646473367196178911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073392726,"filename":"image_19042025_13_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/19/3b37ac70b1b0f34224bcd97c16ed11db.jpg","text":"TemporaryFile(/tmp/multipartBody1379328287713020812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073392726,"filename":"image_19042025_13_14_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/19/fc24df43ee1705fb5fe823c29e9a1697.jpg","text":"TemporaryFile(/tmp/multipartBody1463321290094745009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073392726,"filename":"image_19042025_13_14_46_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880804","file1":"1351880599","file0":"1351880353","file4":"1351880848","file5":"1351880849","file3":"1351880809"},"map_files_photo_id_array":[{"photo_id":"1351880849","filename":"file5"},{"photo_id":"1351880804","filename":"file2"},{"photo_id":"1351880848","filename":"file4"},{"photo_id":"1351880599","filename":"file1"},{"photo_id":"1351880353","filename":"file0"},{"photo_id":"1351880809","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351880849":["hashtag1","hashtag2"]},{"1351880804":["hashtag1","hashtag2"]},{"1351880599":["hashtag1","hashtag2"]},{"1351880353":["hashtag1","hashtag2"]},{"1351880848":["hashtag1","hashtag2"]},{"1351880809":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351880849, 1351880804, 1351880599, 1351880353, 1351880848, 1351880809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20503330230713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:36:32.475838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_16_10358.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_26_9410.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_36_10359.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_46_9362.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_56_10375.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_16_06_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_16_10358.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_26_9410.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_36_10359.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_46_9362.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_56_10375.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_16_06_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.3802497386932373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 16:36:42.466345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_16_10358.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_26_9410.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_36_10359.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_46_9362.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_56_10375.jpg', '/home/pi/Desktop/images/19042025/13/15/image_19042025_13_16_06_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_16_10358.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_26_9410.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_36_10359.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_46_9362.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_15_56_10375.jpg
/home/pi/Desktop/images/19042025/13/15/image_19042025_13_16_06_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":["1351881201","1351881204","1351881197","1351881278","1351881280","1351881192"],"photo_ids_order":["1351881192","1351881197","1351881201","1351881204","1351881278","1351881280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2925276a10a9b3a51b43250a17196e93.jpg","text":"TemporaryFile(/tmp/multipartBody8558178676632930293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073462931,"filename":"image_19042025_13_15_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/19/e062c3d243d7b0a0fa3a2ad353c55106.jpg","text":"TemporaryFile(/tmp/multipartBody686072904103832247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073462931,"filename":"image_19042025_13_15_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/19/522f80b04c01f5ea8d441d5273e0b68f.jpg","text":"TemporaryFile(/tmp/multipartBody4035024318712511116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073462931,"filename":"image_19042025_13_15_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a793f40ba6395dda1a44981b18e76f26.jpg","text":"TemporaryFile(/tmp/multipartBody3587267015551144023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073462931,"filename":"image_19042025_13_15_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/19/43381aa479ea7ee13fbbd3c0e8cbd388.jpg","text":"TemporaryFile(/tmp/multipartBody4163238312036454662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073462931,"filename":"image_19042025_13_16_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/19/38549b8fac07eead562bf3e73016f825.jpg","text":"TemporaryFile(/tmp/multipartBody3571777028102680125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073462931,"filename":"image_19042025_13_15_16_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351881201","file1":"1351881197","file0":"1351881192","file4":"1351881278","file5":"1351881280","file3":"1351881204"},"map_files_photo_id_array":[{"photo_id":"1351881280","filename":"file5"},{"photo_id":"1351881201","filename":"file2"},{"photo_id":"1351881278","filename":"file4"},{"photo_id":"1351881197","filename":"file1"},{"photo_id":"1351881192","filename":"file0"},{"photo_id":"1351881204","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351881201":["hashtag1","hashtag2"]},{"1351881204":["hashtag1","hashtag2"]},{"1351881197":["hashtag1","hashtag2"]},{"1351881278":["hashtag1","hashtag2"]},{"1351881280":["hashtag1","hashtag2"]},{"1351881192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351881201, 1351881204, 1351881197, 1351881278, 1351881280, 1351881192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.121216773986816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:37:32.644986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_16_9355.jpg', '/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_26_10384.jpg', '/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_36_10361.jpg', '/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_46_9427.jpg', '/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_56_10373.jpg', '/home/pi/Desktop/images/19042025/13/16/image_19042025_13_17_06_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_16_9355.jpg
/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_26_10384.jpg
/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_36_10361.jpg
/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_46_9427.jpg
/home/pi/Desktop/images/19042025/13/16/image_19042025_13_16_56_10373.jpg
/home/pi/Desktop/images/19042025/13/16/image_19042025_13_17_06_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":["1351881341","1351881332","1351881298","1351881334","1351881313","1351881324"],"photo_ids_order":["1351881298","1351881313","1351881324","1351881332","1351881334","1351881341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a8635006d21d4af7e2edb5e8f9993fcf.jpg","text":"TemporaryFile(/tmp/multipartBody366132864059632873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073513107,"filename":"image_19042025_13_17_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/19/13361f1b64939b7a08a2e03d57cbd199.jpg","text":"TemporaryFile(/tmp/multipartBody6596116681881361739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073513107,"filename":"image_19042025_13_16_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a941b57e7b5d47230a5ab07f206036af.jpg","text":"TemporaryFile(/tmp/multipartBody2490677049785474515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073513107,"filename":"image_19042025_13_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/19/e39075afc1542c6ecc8d78bd9e5ccbf6.jpg","text":"TemporaryFile(/tmp/multipartBody8002008924846946757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073513107,"filename":"image_19042025_13_16_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/19/966c74558190498724769088f4b627bf.jpg","text":"TemporaryFile(/tmp/multipartBody6069881918533714428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073513107,"filename":"image_19042025_13_16_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de2ab895b1b7378221c481631c0456b6.jpg","text":"TemporaryFile(/tmp/multipartBody2147527436840112349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073513107,"filename":"image_19042025_13_16_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351881324","file1":"1351881313","file0":"1351881298","file4":"1351881334","file5":"1351881341","file3":"1351881332"},"map_files_photo_id_array":[{"photo_id":"1351881341","filename":"file5"},{"photo_id":"1351881324","filename":"file2"},{"photo_id":"1351881334","filename":"file4"},{"photo_id":"1351881313","filename":"file1"},{"photo_id":"1351881298","filename":"file0"},{"photo_id":"1351881332","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351881341":["hashtag1","hashtag2"]},{"1351881332":["hashtag1","hashtag2"]},{"1351881298":["hashtag1","hashtag2"]},{"1351881334":["hashtag1","hashtag2"]},{"1351881313":["hashtag1","hashtag2"]},{"1351881324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351881341, 1351881332, 1351881298, 1351881334, 1351881313, 1351881324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.496761798858643 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:38:33.125501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_16_10365.jpg', '/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_26_10371.jpg', '/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_36_9407.jpg', '/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_46_10401.jpg', '/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_56_10362.jpg', '/home/pi/Desktop/images/19042025/13/17/image_19042025_13_18_06_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_16_10365.jpg
/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_26_10371.jpg
/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_36_9407.jpg
/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_46_10401.jpg
/home/pi/Desktop/images/19042025/13/17/image_19042025_13_17_56_10362.jpg
/home/pi/Desktop/images/19042025/13/17/image_19042025_13_18_06_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":["1351881536","1351881568","1351881571","1351881544","1351881555","1351881540"],"photo_ids_order":["1351881536","1351881540","1351881544","1351881555","1351881568","1351881571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4d469ca0811d358aeb16c19cd624726.jpg","text":"TemporaryFile(/tmp/multipartBody6389524048889676294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073573586,"filename":"image_19042025_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/19/7c4f4a5d7bd8dcc95b5c5beddd60eeea.jpg","text":"TemporaryFile(/tmp/multipartBody5250072958632156328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073573586,"filename":"image_19042025_13_17_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/19/0309bf81e5f2aacc4400083e9f703d77.jpg","text":"TemporaryFile(/tmp/multipartBody6411121612815004044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073573586,"filename":"image_19042025_13_18_06_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cbf8cb540ff1fc257f3ea039bfc1f725.jpg","text":"TemporaryFile(/tmp/multipartBody2553501738214907973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073573586,"filename":"image_19042025_13_17_36_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/81ce061230e41b0db75f2050f2be5b1e.jpg","text":"TemporaryFile(/tmp/multipartBody7198312449157308505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073573586,"filename":"image_19042025_13_17_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/19/89b289a4a24e3425f122a716065d63f3.jpg","text":"TemporaryFile(/tmp/multipartBody3458854038958132064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073573586,"filename":"image_19042025_13_17_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351881544","file1":"1351881540","file0":"1351881536","file4":"1351881568","file5":"1351881571","file3":"1351881555"},"map_files_photo_id_array":[{"photo_id":"1351881571","filename":"file5"},{"photo_id":"1351881544","filename":"file2"},{"photo_id":"1351881568","filename":"file4"},{"photo_id":"1351881540","filename":"file1"},{"photo_id":"1351881536","filename":"file0"},{"photo_id":"1351881555","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351881536":["hashtag1","hashtag2"]},{"1351881568":["hashtag1","hashtag2"]},{"1351881571":["hashtag1","hashtag2"]},{"1351881544":["hashtag1","hashtag2"]},{"1351881555":["hashtag1","hashtag2"]},{"1351881540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351881536, 1351881568, 1351881571, 1351881544, 1351881555, 1351881540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.409873723983765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:39:35.108669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_16_10369.jpg', '/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_26_9345.jpg', '/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_36_10498.jpg', '/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_46_10365.jpg', '/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_56_9462.jpg', '/home/pi/Desktop/images/19042025/13/18/image_19042025_13_19_06_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_16_10369.jpg
/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_26_9345.jpg
/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_36_10498.jpg
/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_46_10365.jpg
/home/pi/Desktop/images/19042025/13/18/image_19042025_13_18_56_9462.jpg
/home/pi/Desktop/images/19042025/13/18/image_19042025_13_19_06_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351881578","1351881682","1351881655","1351881591","1351881582","1351881624"],"photo_ids_order":["1351881578","1351881582","1351881591","1351881624","1351881655","1351881682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3c8569a77e5ba3febae04de153af5377.jpg","text":"TemporaryFile(/tmp/multipartBody275700349870853019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073635569,"filename":"image_19042025_13_18_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/19/dda56b0ca00b418c143b71f81250e7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8255194892797458282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073635569,"filename":"image_19042025_13_19_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/19/75cdb6a06610b802f1711d723ea58878.jpg","text":"TemporaryFile(/tmp/multipartBody6225412805279682146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073635569,"filename":"image_19042025_13_18_56_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b744b523af19a87114afec14659b6655.jpg","text":"TemporaryFile(/tmp/multipartBody952498980878944154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073635569,"filename":"image_19042025_13_18_36_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a04d5d74bf34ad05cc795906a4d98bbb.jpg","text":"TemporaryFile(/tmp/multipartBody1672800706538666256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073635569,"filename":"image_19042025_13_18_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af10671176822d139b9e8de0a30de3a8.jpg","text":"TemporaryFile(/tmp/multipartBody7879135299578357358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073635569,"filename":"image_19042025_13_18_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351881591","file1":"1351881582","file0":"1351881578","file4":"1351881655","file5":"1351881682","file3":"1351881624"},"map_files_photo_id_array":[{"photo_id":"1351881682","filename":"file5"},{"photo_id":"1351881591","filename":"file2"},{"photo_id":"1351881655","filename":"file4"},{"photo_id":"1351881582","filename":"file1"},{"photo_id":"1351881578","filename":"file0"},{"photo_id":"1351881624","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351881578":["hashtag1","hashtag2"]},{"1351881682":["hashtag1","hashtag2"]},{"1351881655":["hashtag1","hashtag2"]},{"1351881591":["hashtag1","hashtag2"]},{"1351881582":["hashtag1","hashtag2"]},{"1351881624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351881578, 1351881682, 1351881655, 1351881591, 1351881582, 1351881624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.852263927459717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:40:32.700856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/19/image_19042025_13_19_16_9356.jpg', '/home/pi/Desktop/images/19042025/13/19/image_19042025_13_19_26_10391.jpg', '/home/pi/Desktop/images/19042025/13/19/image_19042025_13_19_36_10369.jpg', '/home/pi/Desktop/images/19042025/13/19/image_19042025_13_19_56_10435.jpg', '/home/pi/Desktop/images/19042025/13/19/image_19042025_13_20_06_9416.jpg', '/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_16_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/19/image_19042025_13_19_16_9356.jpg
/home/pi/Desktop/images/19042025/13/19/image_19042025_13_19_26_10391.jpg
/home/pi/Desktop/images/19042025/13/19/image_19042025_13_19_36_10369.jpg
/home/pi/Desktop/images/19042025/13/19/image_19042025_13_19_56_10435.jpg
/home/pi/Desktop/images/19042025/13/19/image_19042025_13_20_06_9416.jpg
/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_16_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":["1351882043","1351881977","1351882109","1351881920","1351882006","1351882079"],"photo_ids_order":["1351881920","1351881977","1351882006","1351882043","1351882079","1351882109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3beb2b4b665a447fce53a3ba694cc9b2.jpg","text":"TemporaryFile(/tmp/multipartBody988778412065463340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073693163,"filename":"image_19042025_13_19_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/19/92949e153fd738367eb15bc151328806.jpg","text":"TemporaryFile(/tmp/multipartBody5314355398649705670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073693163,"filename":"image_19042025_13_19_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/19/cdb3c0295c314419829675892450ffe5.jpg","text":"TemporaryFile(/tmp/multipartBody4532330720688423596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073693163,"filename":"image_19042025_13_20_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/19/d0a0931f8ae12321bdc29c6e501156d5.jpg","text":"TemporaryFile(/tmp/multipartBody3291942072804614641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073693163,"filename":"image_19042025_13_19_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/19/57e1408df41b2476683c201a5e3eb1d3.jpg","text":"TemporaryFile(/tmp/multipartBody1883324562725982582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073693163,"filename":"image_19042025_13_19_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d02383018046d5bb16e5ec4b402b87f.jpg","text":"TemporaryFile(/tmp/multipartBody3447646280777076119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073693163,"filename":"image_19042025_13_20_06_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351882006","file1":"1351881977","file0":"1351881920","file4":"1351882079","file5":"1351882109","file3":"1351882043"},"map_files_photo_id_array":[{"photo_id":"1351882109","filename":"file5"},{"photo_id":"1351882006","filename":"file2"},{"photo_id":"1351882079","filename":"file4"},{"photo_id":"1351881977","filename":"file1"},{"photo_id":"1351881920","filename":"file0"},{"photo_id":"1351882043","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351882043":["hashtag1","hashtag2"]},{"1351881977":["hashtag1","hashtag2"]},{"1351882109":["hashtag1","hashtag2"]},{"1351881920":["hashtag1","hashtag2"]},{"1351882006":["hashtag1","hashtag2"]},{"1351882079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351882043, 1351881977, 1351882109, 1351881920, 1351882006, 1351882079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23454833030701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:41:32.910650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_26_9363.jpg', '/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_36_10465.jpg', '/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_46_10354.jpg', '/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_56_9357.jpg', '/home/pi/Desktop/images/19042025/13/20/image_19042025_13_21_06_10357.jpg', '/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_16_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_26_9363.jpg
/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_36_10465.jpg
/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_46_10354.jpg
/home/pi/Desktop/images/19042025/13/20/image_19042025_13_20_56_9357.jpg
/home/pi/Desktop/images/19042025/13/20/image_19042025_13_21_06_10357.jpg
/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_16_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":["1351882751","1351882699","1351882627","1351882787","1351882655","1351882598"],"photo_ids_order":["1351882598","1351882627","1351882655","1351882699","1351882751","1351882787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/407a0c9c2ed62b87538d296b189e5c10.jpg","text":"TemporaryFile(/tmp/multipartBody7008998897531418437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073753366,"filename":"image_19042025_13_21_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/19/d876dbc500a91652bb99a6bce6b4ce33.jpg","text":"TemporaryFile(/tmp/multipartBody1961480940858194754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073753366,"filename":"image_19042025_13_20_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/19/e34bf91fddc72a15d3860771ef4bc9c3.jpg","text":"TemporaryFile(/tmp/multipartBody354482443439873737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073753366,"filename":"image_19042025_13_20_36_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20d580225c55dd735abb00b92ef59219.jpg","text":"TemporaryFile(/tmp/multipartBody4366145543892931673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073753366,"filename":"image_19042025_13_21_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/065613c7065a74100805443223e2ae21.jpg","text":"TemporaryFile(/tmp/multipartBody1259915307619915093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073753366,"filename":"image_19042025_13_20_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f308e6ff8267ef1478b17695721625f1.jpg","text":"TemporaryFile(/tmp/multipartBody8428408239835709600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073753366,"filename":"image_19042025_13_20_26_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351882655","file1":"1351882627","file0":"1351882598","file4":"1351882751","file5":"1351882787","file3":"1351882699"},"map_files_photo_id_array":[{"photo_id":"1351882787","filename":"file5"},{"photo_id":"1351882655","filename":"file2"},{"photo_id":"1351882751","filename":"file4"},{"photo_id":"1351882627","filename":"file1"},{"photo_id":"1351882598","filename":"file0"},{"photo_id":"1351882699","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351882751":["hashtag1","hashtag2"]},{"1351882699":["hashtag1","hashtag2"]},{"1351882627":["hashtag1","hashtag2"]},{"1351882787":["hashtag1","hashtag2"]},{"1351882655":["hashtag1","hashtag2"]},{"1351882598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351882751, 1351882699, 1351882627, 1351882787, 1351882655, 1351882598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.16138482093811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:42:33.097059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_26_9417.jpg', '/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_36_10363.jpg', '/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_46_9417.jpg', '/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_56_10459.jpg', '/home/pi/Desktop/images/19042025/13/21/image_19042025_13_22_07_10434.jpg', '/home/pi/Desktop/images/19042025/13/22/image_19042025_13_22_16_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_26_9417.jpg
/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_36_10363.jpg
/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_46_9417.jpg
/home/pi/Desktop/images/19042025/13/21/image_19042025_13_21_56_10459.jpg
/home/pi/Desktop/images/19042025/13/21/image_19042025_13_22_07_10434.jpg
/home/pi/Desktop/images/19042025/13/22/image_19042025_13_22_16_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":["1351883754","1351883598","1351883532","1351883406","1351883471","1351883672"],"photo_ids_order":["1351883406","1351883471","1351883532","1351883598","1351883672","1351883754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c4b52247b127882321716c8e4c2ffc8.jpg","text":"TemporaryFile(/tmp/multipartBody6553868584563299919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073813573,"filename":"image_19042025_13_22_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/19/8f16071df25ad3d45479811f19f2d00c.jpg","text":"TemporaryFile(/tmp/multipartBody4886400680322387456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073813573,"filename":"image_19042025_13_21_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/19/bc232feb079101b36078728f30dc25ed.jpg","text":"TemporaryFile(/tmp/multipartBody5948570214733110416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073813573,"filename":"image_19042025_13_21_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/19/b5ff906fd047ec2dc470a11fa668f1fa.jpg","text":"TemporaryFile(/tmp/multipartBody6927248211110092663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073813573,"filename":"image_19042025_13_21_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/19/cb03e33df9c30fec75e1ff8df0f26029.jpg","text":"TemporaryFile(/tmp/multipartBody4023841595714941579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073813573,"filename":"image_19042025_13_21_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/19/53b3ddbd3699c6698a9519a5d6876b46.jpg","text":"TemporaryFile(/tmp/multipartBody3262387702681178983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073813573,"filename":"image_19042025_13_22_07_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351883532","file1":"1351883471","file0":"1351883406","file4":"1351883672","file5":"1351883754","file3":"1351883598"},"map_files_photo_id_array":[{"photo_id":"1351883754","filename":"file5"},{"photo_id":"1351883532","filename":"file2"},{"photo_id":"1351883672","filename":"file4"},{"photo_id":"1351883471","filename":"file1"},{"photo_id":"1351883406","filename":"file0"},{"photo_id":"1351883598","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351883754":["hashtag1","hashtag2"]},{"1351883598":["hashtag1","hashtag2"]},{"1351883532":["hashtag1","hashtag2"]},{"1351883406":["hashtag1","hashtag2"]},{"1351883471":["hashtag1","hashtag2"]},{"1351883672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351883754, 1351883598, 1351883532, 1351883406, 1351883471, 1351883672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.850401878356934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:43:32.430850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/22/image_19042025_13_22_26_10364.jpg', '/home/pi/Desktop/images/19042025/13/22/image_19042025_13_22_36_9367.jpg', '/home/pi/Desktop/images/19042025/13/22/image_19042025_13_22_46_10432.jpg', '/home/pi/Desktop/images/19042025/13/22/image_19042025_13_23_06_9471.jpg', '/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_16_10364.jpg', '/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_26_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/22/image_19042025_13_22_26_10364.jpg
/home/pi/Desktop/images/19042025/13/22/image_19042025_13_22_36_9367.jpg
/home/pi/Desktop/images/19042025/13/22/image_19042025_13_22_46_10432.jpg
/home/pi/Desktop/images/19042025/13/22/image_19042025_13_23_06_9471.jpg
/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_16_10364.jpg
/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_26_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351884571","1351884448","1351884498","1351884657","1351884600","1351884542"],"photo_ids_order":["1351884448","1351884498","1351884542","1351884571","1351884600","1351884657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/002294fb6085117943095bce701d7c31.jpg","text":"TemporaryFile(/tmp/multipartBody8380669661577175997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073872890,"filename":"image_19042025_13_23_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/19/4fd6cb93ff23000709ddf023cf31b9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1689218381556545331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073872890,"filename":"image_19042025_13_22_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/19/9df7d432d4ae635f054902f94e9283dd.jpg","text":"TemporaryFile(/tmp/multipartBody8143424561663807016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073872890,"filename":"image_19042025_13_22_36_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3877089e583f9320abc00acbd9b3ea64.jpg","text":"TemporaryFile(/tmp/multipartBody1079932557333910053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073872890,"filename":"image_19042025_13_23_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/19/d6752d62696a18386e1696a5e41496f1.jpg","text":"TemporaryFile(/tmp/multipartBody630094763663698240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073872890,"filename":"image_19042025_13_23_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/19/384c131a07e36003b7880fe171778273.jpg","text":"TemporaryFile(/tmp/multipartBody5477811031698593069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073872890,"filename":"image_19042025_13_22_46_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351884542","file1":"1351884498","file0":"1351884448","file4":"1351884600","file5":"1351884657","file3":"1351884571"},"map_files_photo_id_array":[{"photo_id":"1351884657","filename":"file5"},{"photo_id":"1351884542","filename":"file2"},{"photo_id":"1351884600","filename":"file4"},{"photo_id":"1351884498","filename":"file1"},{"photo_id":"1351884448","filename":"file0"},{"photo_id":"1351884571","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351884571":["hashtag1","hashtag2"]},{"1351884448":["hashtag1","hashtag2"]},{"1351884498":["hashtag1","hashtag2"]},{"1351884657":["hashtag1","hashtag2"]},{"1351884600":["hashtag1","hashtag2"]},{"1351884542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351884571, 1351884448, 1351884498, 1351884657, 1351884600, 1351884542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.802877187728882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:44:32.497212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_36_10443.jpg', '/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_46_9368.jpg', '/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_56_10467.jpg', '/home/pi/Desktop/images/19042025/13/23/image_19042025_13_24_06_10393.jpg', '/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_16_9411.jpg', '/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_36_10443.jpg
/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_46_9368.jpg
/home/pi/Desktop/images/19042025/13/23/image_19042025_13_23_56_10467.jpg
/home/pi/Desktop/images/19042025/13/23/image_19042025_13_24_06_10393.jpg
/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_16_9411.jpg
/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_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":["1351885167","1351885314","1351885271","1351885352","1351885136","1351885219"],"photo_ids_order":["1351885136","1351885167","1351885219","1351885271","1351885314","1351885352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/507d124f34a3fdc8e1b5de9fa1ad88d2.jpg","text":"TemporaryFile(/tmp/multipartBody2035386276754996652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073932957,"filename":"image_19042025_13_23_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de7d2dc7eb653241fec09e09dff3072d.jpg","text":"TemporaryFile(/tmp/multipartBody2892194739478126455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073932957,"filename":"image_19042025_13_24_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/19/6e08ec14236fb5c635c01ecb8586e2de.jpg","text":"TemporaryFile(/tmp/multipartBody5717122450456465557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073932957,"filename":"image_19042025_13_24_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/19/7579c46ea621e4e329afc6429d826bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5226515860369788952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073932957,"filename":"image_19042025_13_24_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/19/c111263e323aa6f815af9d8206cf3cea.jpg","text":"TemporaryFile(/tmp/multipartBody3408125063925649849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073932957,"filename":"image_19042025_13_23_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/19/7549c3b4a7d65214acc00894359bd0c2.jpg","text":"TemporaryFile(/tmp/multipartBody3492472601086052730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073932957,"filename":"image_19042025_13_23_56_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351885219","file1":"1351885167","file0":"1351885136","file4":"1351885314","file5":"1351885352","file3":"1351885271"},"map_files_photo_id_array":[{"photo_id":"1351885352","filename":"file5"},{"photo_id":"1351885219","filename":"file2"},{"photo_id":"1351885314","filename":"file4"},{"photo_id":"1351885167","filename":"file1"},{"photo_id":"1351885136","filename":"file0"},{"photo_id":"1351885271","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351885167":["hashtag1","hashtag2"]},{"1351885314":["hashtag1","hashtag2"]},{"1351885271":["hashtag1","hashtag2"]},{"1351885352":["hashtag1","hashtag2"]},{"1351885136":["hashtag1","hashtag2"]},{"1351885219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351885167, 1351885314, 1351885271, 1351885352, 1351885136, 1351885219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.378350973129272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:45:32.737591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_36_9369.jpg', '/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_46_10459.jpg', '/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_56_10415.jpg', '/home/pi/Desktop/images/19042025/13/24/image_19042025_13_25_06_9403.jpg', '/home/pi/Desktop/images/19042025/13/25/image_19042025_13_25_16_10424.jpg', '/home/pi/Desktop/images/19042025/13/25/image_19042025_13_26_06_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_36_9369.jpg
/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_46_10459.jpg
/home/pi/Desktop/images/19042025/13/24/image_19042025_13_24_56_10415.jpg
/home/pi/Desktop/images/19042025/13/24/image_19042025_13_25_06_9403.jpg
/home/pi/Desktop/images/19042025/13/25/image_19042025_13_25_16_10424.jpg
/home/pi/Desktop/images/19042025/13/25/image_19042025_13_26_06_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":["1351886529","1351886444","1351886854","1351886671","1351886608","1351886784"],"photo_ids_order":["1351886444","1351886529","1351886608","1351886671","1351886784","1351886854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5188b981893e00a0e065d3ec6cdcd9b1.jpg","text":"TemporaryFile(/tmp/multipartBody7678062855590120585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073993217,"filename":"image_19042025_13_24_46_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/172d12d496c393763fefa4a48c7cb297.jpg","text":"TemporaryFile(/tmp/multipartBody5136270875955742136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073993217,"filename":"image_19042025_13_24_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/19/21c019bb2ce77badf4a740302110c7e6.jpg","text":"TemporaryFile(/tmp/multipartBody8398247914392017767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073993217,"filename":"image_19042025_13_26_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/19/1e143df4f8c70b5f7d5fe796ba15d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody199181396643260978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073993217,"filename":"image_19042025_13_25_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/19/976d47d7b04833d4534ccc1ea4c52c62.jpg","text":"TemporaryFile(/tmp/multipartBody7048798798336501906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073993217,"filename":"image_19042025_13_24_56_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e50207b953eb603d3e1e80f2a1fa212f.jpg","text":"TemporaryFile(/tmp/multipartBody7443540666805200393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745073993217,"filename":"image_19042025_13_25_16_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351886608","file1":"1351886529","file0":"1351886444","file4":"1351886784","file5":"1351886854","file3":"1351886671"},"map_files_photo_id_array":[{"photo_id":"1351886854","filename":"file5"},{"photo_id":"1351886608","filename":"file2"},{"photo_id":"1351886784","filename":"file4"},{"photo_id":"1351886529","filename":"file1"},{"photo_id":"1351886444","filename":"file0"},{"photo_id":"1351886671","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351886529":["hashtag1","hashtag2"]},{"1351886444":["hashtag1","hashtag2"]},{"1351886854":["hashtag1","hashtag2"]},{"1351886671":["hashtag1","hashtag2"]},{"1351886608":["hashtag1","hashtag2"]},{"1351886784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351886529, 1351886444, 1351886854, 1351886671, 1351886608, 1351886784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.177310705184937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:46:32.951282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_16_10347.jpg', '/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_26_9440.jpg', '/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_36_10362.jpg', '/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_46_9367.jpg', '/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_56_10481.jpg', '/home/pi/Desktop/images/19042025/13/26/image_19042025_13_27_07_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_16_10347.jpg
/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_26_9440.jpg
/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_36_10362.jpg
/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_46_9367.jpg
/home/pi/Desktop/images/19042025/13/26/image_19042025_13_26_56_10481.jpg
/home/pi/Desktop/images/19042025/13/26/image_19042025_13_27_07_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351888130","1351888191","1351887934","1351888056","1351887789","1351888227"],"photo_ids_order":["1351887789","1351887934","1351888056","1351888130","1351888191","1351888227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d7df65bed0258b86acd80e5e9a6c077.jpg","text":"TemporaryFile(/tmp/multipartBody6551450722207787028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074053411,"filename":"image_19042025_13_26_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/19/222c5d915c4b1f2310113de155968fc4.jpg","text":"TemporaryFile(/tmp/multipartBody376904216859020129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074053411,"filename":"image_19042025_13_26_56_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9aa56b17b5af4ecd22248c45cb0b56cc.jpg","text":"TemporaryFile(/tmp/multipartBody7683907463758994694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074053411,"filename":"image_19042025_13_26_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b3be0ec3a131bc1cbd449d609ba0391d.jpg","text":"TemporaryFile(/tmp/multipartBody3059065853359888624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074053411,"filename":"image_19042025_13_26_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/19/5839dfec8a836a5f88899f13660cddad.jpg","text":"TemporaryFile(/tmp/multipartBody982982476446884954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074053411,"filename":"image_19042025_13_26_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3cad71b673320bfeed5219c1cab6c5d9.jpg","text":"TemporaryFile(/tmp/multipartBody1932732500389107891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074053411,"filename":"image_19042025_13_27_07_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351888056","file1":"1351887934","file0":"1351887789","file4":"1351888191","file5":"1351888227","file3":"1351888130"},"map_files_photo_id_array":[{"photo_id":"1351888227","filename":"file5"},{"photo_id":"1351888056","filename":"file2"},{"photo_id":"1351888191","filename":"file4"},{"photo_id":"1351887934","filename":"file1"},{"photo_id":"1351887789","filename":"file0"},{"photo_id":"1351888130","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351888130":["hashtag1","hashtag2"]},{"1351888191":["hashtag1","hashtag2"]},{"1351887934":["hashtag1","hashtag2"]},{"1351888056":["hashtag1","hashtag2"]},{"1351887789":["hashtag1","hashtag2"]},{"1351888227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351888130, 1351888191, 1351887934, 1351888056, 1351887789, 1351888227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25572896003723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:47:33.264828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_16_9426.jpg', '/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_26_10370.jpg', '/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_36_9357.jpg', '/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_46_10449.jpg', '/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_56_10363.jpg', '/home/pi/Desktop/images/19042025/13/27/image_19042025_13_28_06_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_16_9426.jpg
/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_26_10370.jpg
/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_36_9357.jpg
/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_46_10449.jpg
/home/pi/Desktop/images/19042025/13/27/image_19042025_13_27_56_10363.jpg
/home/pi/Desktop/images/19042025/13/27/image_19042025_13_28_06_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351888519","1351888473","1351888653","1351888614","1351888679","1351888571"],"photo_ids_order":["1351888473","1351888519","1351888571","1351888614","1351888653","1351888679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/40dc615a8a19c845160f5828d4a53283.jpg","text":"TemporaryFile(/tmp/multipartBody632155162232474922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074113721,"filename":"image_19042025_13_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/19/f92badb150dfd7fe65054725e952b98b.jpg","text":"TemporaryFile(/tmp/multipartBody9114839440873860940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074113721,"filename":"image_19042025_13_27_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/19/c78a0a1f162ce71c4647b707bd6be3b2.jpg","text":"TemporaryFile(/tmp/multipartBody8968069438372492008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074113721,"filename":"image_19042025_13_27_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/19/250112b8f3544639c4eca06247edf3f7.jpg","text":"TemporaryFile(/tmp/multipartBody5669916504677417463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074113721,"filename":"image_19042025_13_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/19/78a781a296d3603a86be87d94d2a9688.jpg","text":"TemporaryFile(/tmp/multipartBody2227548097804880806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074113721,"filename":"image_19042025_13_28_06_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20a07c7c1ee97f53c126bba2de64be71.jpg","text":"TemporaryFile(/tmp/multipartBody7016974416651642838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074113721,"filename":"image_19042025_13_27_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351888571","file1":"1351888519","file0":"1351888473","file4":"1351888653","file5":"1351888679","file3":"1351888614"},"map_files_photo_id_array":[{"photo_id":"1351888679","filename":"file5"},{"photo_id":"1351888571","filename":"file2"},{"photo_id":"1351888653","filename":"file4"},{"photo_id":"1351888519","filename":"file1"},{"photo_id":"1351888473","filename":"file0"},{"photo_id":"1351888614","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351888519":["hashtag1","hashtag2"]},{"1351888473":["hashtag1","hashtag2"]},{"1351888653":["hashtag1","hashtag2"]},{"1351888614":["hashtag1","hashtag2"]},{"1351888679":["hashtag1","hashtag2"]},{"1351888571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351888519, 1351888473, 1351888653, 1351888614, 1351888679, 1351888571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.1906476020813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:48:32.321416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_16_10377.jpg', '/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_26_9509.jpg', '/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_36_10350.jpg', '/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_46_9361.jpg', '/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_56_10419.jpg', '/home/pi/Desktop/images/19042025/13/28/image_19042025_13_29_06_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_16_10377.jpg
/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_26_9509.jpg
/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_36_10350.jpg
/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_46_9361.jpg
/home/pi/Desktop/images/19042025/13/28/image_19042025_13_28_56_10419.jpg
/home/pi/Desktop/images/19042025/13/28/image_19042025_13_29_06_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351889038","1351888843","1351888930","1351888875","1351888821","1351888985"],"photo_ids_order":["1351888821","1351888843","1351888875","1351888930","1351888985","1351889038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/47f2a652197d28bc293426a405f7a476.jpg","text":"TemporaryFile(/tmp/multipartBody2352065814402386672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074172790,"filename":"image_19042025_13_29_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a37d1cd26700c77a0952be6f34cf2e38.jpg","text":"TemporaryFile(/tmp/multipartBody5380750828514421920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074172790,"filename":"image_19042025_13_28_26_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/19/60f1c7cbef61f30306733fa14adef0b7.jpg","text":"TemporaryFile(/tmp/multipartBody2735189460230460859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074172790,"filename":"image_19042025_13_28_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6aab5554ffef3f2e39c9075886b93f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1201799542518053669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074172790,"filename":"image_19042025_13_28_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/19/79f533fc57eaf269ef0b7dc1dd06a161.jpg","text":"TemporaryFile(/tmp/multipartBody8104245442035443381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074172790,"filename":"image_19042025_13_28_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5391fcf76395f1ffbc82566bb7b34322.jpg","text":"TemporaryFile(/tmp/multipartBody87986357241618826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074172790,"filename":"image_19042025_13_28_56_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351888875","file1":"1351888843","file0":"1351888821","file4":"1351888985","file5":"1351889038","file3":"1351888930"},"map_files_photo_id_array":[{"photo_id":"1351889038","filename":"file5"},{"photo_id":"1351888875","filename":"file2"},{"photo_id":"1351888985","filename":"file4"},{"photo_id":"1351888843","filename":"file1"},{"photo_id":"1351888821","filename":"file0"},{"photo_id":"1351888930","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351889038":["hashtag1","hashtag2"]},{"1351888843":["hashtag1","hashtag2"]},{"1351888930":["hashtag1","hashtag2"]},{"1351888875":["hashtag1","hashtag2"]},{"1351888821":["hashtag1","hashtag2"]},{"1351888985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351889038, 1351888843, 1351888930, 1351888875, 1351888821, 1351888985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.604557037353516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:49:32.528066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_16_9402.jpg', '/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_26_10368.jpg', '/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_36_9459.jpg', '/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_46_10377.jpg', '/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_56_10403.jpg', '/home/pi/Desktop/images/19042025/13/29/image_19042025_13_30_06_9481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_16_9402.jpg
/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_26_10368.jpg
/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_36_9459.jpg
/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_46_10377.jpg
/home/pi/Desktop/images/19042025/13/29/image_19042025_13_29_56_10403.jpg
/home/pi/Desktop/images/19042025/13/29/image_19042025_13_30_06_9481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351889677","1351889584","1351889521","1351889553","1351889622","1351889494"],"photo_ids_order":["1351889494","1351889521","1351889553","1351889584","1351889622","1351889677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b8305c7ef5b1e0a3a12b5acf9f66f19.jpg","text":"TemporaryFile(/tmp/multipartBody3643159634096636113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074232987,"filename":"image_19042025_13_30_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/19/28d63c45f03d2cc44cfa5be27f01b095.jpg","text":"TemporaryFile(/tmp/multipartBody6221382916827956462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074232987,"filename":"image_19042025_13_29_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/19/b6b9fea0a825eb6f8d88d5d2c6ff4449.jpg","text":"TemporaryFile(/tmp/multipartBody1023485993773500305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074232987,"filename":"image_19042025_13_29_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/194cc127dc053727865c0ccf090b3534.jpg","text":"TemporaryFile(/tmp/multipartBody6249383850445266588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074232987,"filename":"image_19042025_13_29_36_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/292a61edae94c8f4dccc196d070e300d.jpg","text":"TemporaryFile(/tmp/multipartBody4054571287033049176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074232987,"filename":"image_19042025_13_29_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/19/ca61fe801cb31d31596ea75ad91e4f8f.jpg","text":"TemporaryFile(/tmp/multipartBody8699714298877788345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074232987,"filename":"image_19042025_13_29_16_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351889553","file1":"1351889521","file0":"1351889494","file4":"1351889622","file5":"1351889677","file3":"1351889584"},"map_files_photo_id_array":[{"photo_id":"1351889677","filename":"file5"},{"photo_id":"1351889553","filename":"file2"},{"photo_id":"1351889622","filename":"file4"},{"photo_id":"1351889521","filename":"file1"},{"photo_id":"1351889494","filename":"file0"},{"photo_id":"1351889584","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351889677":["hashtag1","hashtag2"]},{"1351889584":["hashtag1","hashtag2"]},{"1351889521":["hashtag1","hashtag2"]},{"1351889553":["hashtag1","hashtag2"]},{"1351889622":["hashtag1","hashtag2"]},{"1351889494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351889677, 1351889584, 1351889521, 1351889553, 1351889622, 1351889494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17875838279724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:50:32.833478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/30/image_19042025_13_30_16_10338.jpg', '/home/pi/Desktop/images/19042025/13/30/image_19042025_13_30_26_9376.jpg', '/home/pi/Desktop/images/19042025/13/30/image_19042025_13_30_46_10450.jpg', '/home/pi/Desktop/images/19042025/13/30/image_19042025_13_30_56_9517.jpg', '/home/pi/Desktop/images/19042025/13/31/image_19042025_13_31_16_9423.jpg', '/home/pi/Desktop/images/19042025/13/31/image_19042025_13_31_36_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/30/image_19042025_13_30_16_10338.jpg
/home/pi/Desktop/images/19042025/13/30/image_19042025_13_30_26_9376.jpg
/home/pi/Desktop/images/19042025/13/30/image_19042025_13_30_46_10450.jpg
/home/pi/Desktop/images/19042025/13/30/image_19042025_13_30_56_9517.jpg
/home/pi/Desktop/images/19042025/13/31/image_19042025_13_31_16_9423.jpg
/home/pi/Desktop/images/19042025/13/31/image_19042025_13_31_36_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351889917","1351889839","1351889812","1351889885","1351889894","1351889915"],"photo_ids_order":["1351889812","1351889839","1351889885","1351889894","1351889915","1351889917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3a4dc1ce8867c20181d6e2b1f2bb4f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8791204989469195579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074293318,"filename":"image_19042025_13_31_36_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bdc23daf5b96b329b343a84e3b1c3565.jpg","text":"TemporaryFile(/tmp/multipartBody5812390534119348902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074293318,"filename":"image_19042025_13_30_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/19/5c950bd1872a99db221cf23192b309fa.jpg","text":"TemporaryFile(/tmp/multipartBody4690122919431230481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074293318,"filename":"image_19042025_13_30_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/19/0425d36bd9abd28cccab9e6b82c35cb1.jpg","text":"TemporaryFile(/tmp/multipartBody5411809903779468901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074293318,"filename":"image_19042025_13_30_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/19/9da8871c8a9841361352360cfe2dea77.jpg","text":"TemporaryFile(/tmp/multipartBody7503356303044054474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074293318,"filename":"image_19042025_13_30_56_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/19/9907cbd2c5038ab6b26288b5f3bc38fd.jpg","text":"TemporaryFile(/tmp/multipartBody482810514864693126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074293318,"filename":"image_19042025_13_31_16_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351889885","file1":"1351889839","file0":"1351889812","file4":"1351889915","file5":"1351889917","file3":"1351889894"},"map_files_photo_id_array":[{"photo_id":"1351889917","filename":"file5"},{"photo_id":"1351889885","filename":"file2"},{"photo_id":"1351889915","filename":"file4"},{"photo_id":"1351889839","filename":"file1"},{"photo_id":"1351889812","filename":"file0"},{"photo_id":"1351889894","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351889917":["hashtag1","hashtag2"]},{"1351889839":["hashtag1","hashtag2"]},{"1351889812":["hashtag1","hashtag2"]},{"1351889885":["hashtag1","hashtag2"]},{"1351889894":["hashtag1","hashtag2"]},{"1351889915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351889917, 1351889839, 1351889812, 1351889885, 1351889894, 1351889915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.060623168945312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:51:33.279504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/31/image_19042025_13_31_46_10518.jpg', '/home/pi/Desktop/images/19042025/13/31/image_19042025_13_32_06_10435.jpg', '/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_16_10350.jpg', '/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_26_9355.jpg', '/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_36_10441.jpg', '/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_47_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/31/image_19042025_13_31_46_10518.jpg
/home/pi/Desktop/images/19042025/13/31/image_19042025_13_32_06_10435.jpg
/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_16_10350.jpg
/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_26_9355.jpg
/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_36_10441.jpg
/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_47_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351890285","1351890327","1351890398","1351890380","1351890353","1351890233"],"photo_ids_order":["1351890233","1351890285","1351890327","1351890353","1351890380","1351890398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c88ca354fe7390e21b5a3764ad5b490f.jpg","text":"TemporaryFile(/tmp/multipartBody4401769678012539492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074353743,"filename":"image_19042025_13_32_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/19/acf2b2a7cc3dcc23ca9c6d7b10dca204.jpg","text":"TemporaryFile(/tmp/multipartBody7837540346937333060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074353743,"filename":"image_19042025_13_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/19/3cdf5a44cbe80d3119ff803092a3691d.jpg","text":"TemporaryFile(/tmp/multipartBody7234898458840448426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074353743,"filename":"image_19042025_13_32_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/19/29a108b4d1fd8c8dd2363ff2925616aa.jpg","text":"TemporaryFile(/tmp/multipartBody826673328283106570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074353743,"filename":"image_19042025_13_32_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/19/08fee98aff03c29493da878a02d26a19.jpg","text":"TemporaryFile(/tmp/multipartBody2539441930311238428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074353743,"filename":"image_19042025_13_32_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/33773d97dd44ba16f8d231359f2d07e9.jpg","text":"TemporaryFile(/tmp/multipartBody2846004759604139120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074353743,"filename":"image_19042025_13_31_46_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351890327","file1":"1351890285","file0":"1351890233","file4":"1351890380","file5":"1351890398","file3":"1351890353"},"map_files_photo_id_array":[{"photo_id":"1351890398","filename":"file5"},{"photo_id":"1351890327","filename":"file2"},{"photo_id":"1351890380","filename":"file4"},{"photo_id":"1351890285","filename":"file1"},{"photo_id":"1351890233","filename":"file0"},{"photo_id":"1351890353","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351890285":["hashtag1","hashtag2"]},{"1351890327":["hashtag1","hashtag2"]},{"1351890398":["hashtag1","hashtag2"]},{"1351890380":["hashtag1","hashtag2"]},{"1351890353":["hashtag1","hashtag2"]},{"1351890233":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351890285, 1351890327, 1351890398, 1351890380, 1351890353, 1351890233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.44350028038025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:52:32.465350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_56_9364.jpg', '/home/pi/Desktop/images/19042025/13/32/image_19042025_13_33_06_10341.jpg', '/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_16_9358.jpg', '/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_26_10413.jpg', '/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_36_10425.jpg', '/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_46_9497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/32/image_19042025_13_32_56_9364.jpg
/home/pi/Desktop/images/19042025/13/32/image_19042025_13_33_06_10341.jpg
/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_16_9358.jpg
/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_26_10413.jpg
/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_36_10425.jpg
/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_46_9497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351890605","1351890598","1351890640","1351890577","1351890547","1351890785"],"photo_ids_order":["1351890547","1351890577","1351890598","1351890605","1351890640","1351890785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/acc5f2a277eb220000f9aa39937b2530.jpg","text":"TemporaryFile(/tmp/multipartBody8937648615097204655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074412925,"filename":"image_19042025_13_33_26_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dba193d9a8686d67d90849a3d15cce6a.jpg","text":"TemporaryFile(/tmp/multipartBody1214592871397801349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074412925,"filename":"image_19042025_13_33_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/19/3aadccd5cdec61b195f4bc25cd14efee.jpg","text":"TemporaryFile(/tmp/multipartBody304989293155320135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074412925,"filename":"image_19042025_13_33_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/19/ceb519cc05a6390d78eadc6a8b71c333.jpg","text":"TemporaryFile(/tmp/multipartBody7313734646791879582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074412925,"filename":"image_19042025_13_33_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5753f75abec0a641d13cd84cb79610d5.jpg","text":"TemporaryFile(/tmp/multipartBody1836070533203636529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074412925,"filename":"image_19042025_13_32_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/19/0bcd0eccafccd512434fc48acccbf368.jpg","text":"TemporaryFile(/tmp/multipartBody7679575665191897388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074412925,"filename":"image_19042025_13_33_46_9497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351890598","file1":"1351890577","file0":"1351890547","file4":"1351890640","file5":"1351890785","file3":"1351890605"},"map_files_photo_id_array":[{"photo_id":"1351890785","filename":"file5"},{"photo_id":"1351890598","filename":"file2"},{"photo_id":"1351890640","filename":"file4"},{"photo_id":"1351890577","filename":"file1"},{"photo_id":"1351890547","filename":"file0"},{"photo_id":"1351890605","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351890605":["hashtag1","hashtag2"]},{"1351890598":["hashtag1","hashtag2"]},{"1351890640":["hashtag1","hashtag2"]},{"1351890577":["hashtag1","hashtag2"]},{"1351890547":["hashtag1","hashtag2"]},{"1351890785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351890605, 1351890598, 1351890640, 1351890577, 1351890547, 1351890785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32660102844238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:53:32.764446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_56_10466.jpg', '/home/pi/Desktop/images/19042025/13/33/image_19042025_13_34_06_9425.jpg', '/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_16_10459.jpg', '/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_26_9436.jpg', '/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_36_10361.jpg', '/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_46_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/33/image_19042025_13_33_56_10466.jpg
/home/pi/Desktop/images/19042025/13/33/image_19042025_13_34_06_9425.jpg
/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_16_10459.jpg
/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_26_9436.jpg
/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_36_10361.jpg
/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_46_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351891195","1351891150","1351891066","1351891110","1351891235","1351891285"],"photo_ids_order":["1351891066","1351891110","1351891150","1351891195","1351891235","1351891285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2060c6e07d1514f935acd1fc0c11ad81.jpg","text":"TemporaryFile(/tmp/multipartBody206910520759263747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074473242,"filename":"image_19042025_13_34_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/19/8cb0de31e9c5337b596c1c65f000e5a8.jpg","text":"TemporaryFile(/tmp/multipartBody4364454454276719800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074473242,"filename":"image_19042025_13_34_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/19/49bc45ccb01dfe12e556ba7e4af73c98.jpg","text":"TemporaryFile(/tmp/multipartBody2947331968965344889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074473242,"filename":"image_19042025_13_33_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/19/8099cbe36b062becc65bf4a115f09493.jpg","text":"TemporaryFile(/tmp/multipartBody5880001463742631956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074473242,"filename":"image_19042025_13_34_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/19/8a3a420594c6f8ae519fb6a14fc12166.jpg","text":"TemporaryFile(/tmp/multipartBody2778919162647050452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074473242,"filename":"image_19042025_13_34_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/19/e0325309a03e64d3651576728071d1ae.jpg","text":"TemporaryFile(/tmp/multipartBody3110615483864602992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074473242,"filename":"image_19042025_13_34_46_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351891150","file1":"1351891110","file0":"1351891066","file4":"1351891235","file5":"1351891285","file3":"1351891195"},"map_files_photo_id_array":[{"photo_id":"1351891285","filename":"file5"},{"photo_id":"1351891150","filename":"file2"},{"photo_id":"1351891235","filename":"file4"},{"photo_id":"1351891110","filename":"file1"},{"photo_id":"1351891066","filename":"file0"},{"photo_id":"1351891195","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351891195":["hashtag1","hashtag2"]},{"1351891150":["hashtag1","hashtag2"]},{"1351891066":["hashtag1","hashtag2"]},{"1351891110":["hashtag1","hashtag2"]},{"1351891235":["hashtag1","hashtag2"]},{"1351891285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351891195, 1351891150, 1351891066, 1351891110, 1351891235, 1351891285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48413872718811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:54:32.937283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_56_9473.jpg', '/home/pi/Desktop/images/19042025/13/34/image_19042025_13_35_06_10360.jpg', '/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_16_9385.jpg', '/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_26_10356.jpg', '/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_36_10432.jpg', '/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_46_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/34/image_19042025_13_34_56_9473.jpg
/home/pi/Desktop/images/19042025/13/34/image_19042025_13_35_06_10360.jpg
/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_16_9385.jpg
/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_26_10356.jpg
/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_36_10432.jpg
/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_46_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":["1351891756","1351891810","1351891859","1351891694","1351891891","1351891919"],"photo_ids_order":["1351891694","1351891756","1351891810","1351891859","1351891891","1351891919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c207b1870b14c4f2103d1df1c12bb667.jpg","text":"TemporaryFile(/tmp/multipartBody6388260853028407716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074533418,"filename":"image_19042025_13_35_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/19/1664c1d6e788bc5b3773ec189b35dff0.jpg","text":"TemporaryFile(/tmp/multipartBody1915550599347609351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074533418,"filename":"image_19042025_13_35_16_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/94ec9c1f3a994455be562bb68765c5f9.jpg","text":"TemporaryFile(/tmp/multipartBody2799696054011781149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074533418,"filename":"image_19042025_13_35_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/19/035026a90662f35aa68d18e87e31b758.jpg","text":"TemporaryFile(/tmp/multipartBody3878407300844700375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074533418,"filename":"image_19042025_13_34_56_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/19/01678d0a5511c183a1147af1858c9d8a.jpg","text":"TemporaryFile(/tmp/multipartBody1935217240527334725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074533418,"filename":"image_19042025_13_35_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/19/1c0a5910ca5a5c7abc5bf587a4a12018.jpg","text":"TemporaryFile(/tmp/multipartBody6833464865186086579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074533418,"filename":"image_19042025_13_35_46_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351891810","file1":"1351891756","file0":"1351891694","file4":"1351891891","file5":"1351891919","file3":"1351891859"},"map_files_photo_id_array":[{"photo_id":"1351891919","filename":"file5"},{"photo_id":"1351891810","filename":"file2"},{"photo_id":"1351891891","filename":"file4"},{"photo_id":"1351891756","filename":"file1"},{"photo_id":"1351891694","filename":"file0"},{"photo_id":"1351891859","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351891756":["hashtag1","hashtag2"]},{"1351891810":["hashtag1","hashtag2"]},{"1351891859":["hashtag1","hashtag2"]},{"1351891694":["hashtag1","hashtag2"]},{"1351891891":["hashtag1","hashtag2"]},{"1351891919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351891756, 1351891810, 1351891859, 1351891694, 1351891891, 1351891919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60383129119873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:55:33.026013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_56_10376.jpg', '/home/pi/Desktop/images/19042025/13/35/image_19042025_13_36_06_9338.jpg', '/home/pi/Desktop/images/19042025/13/36/image_19042025_13_36_16_10362.jpg', '/home/pi/Desktop/images/19042025/13/36/image_19042025_13_36_26_10386.jpg', '/home/pi/Desktop/images/19042025/13/36/image_19042025_13_36_36_9362.jpg', '/home/pi/Desktop/images/19042025/13/36/image_19042025_13_36_56_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/35/image_19042025_13_35_56_10376.jpg
/home/pi/Desktop/images/19042025/13/35/image_19042025_13_36_06_9338.jpg
/home/pi/Desktop/images/19042025/13/36/image_19042025_13_36_16_10362.jpg
/home/pi/Desktop/images/19042025/13/36/image_19042025_13_36_26_10386.jpg
/home/pi/Desktop/images/19042025/13/36/image_19042025_13_36_36_9362.jpg
/home/pi/Desktop/images/19042025/13/36/image_19042025_13_36_56_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351892445","1351892418","1351892336","1351892303","1351892252","1351892488"],"photo_ids_order":["1351892252","1351892303","1351892336","1351892418","1351892445","1351892488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d1d5c3e9a1eb865061e712844f9837d.jpg","text":"TemporaryFile(/tmp/multipartBody2305713010610063409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074593479,"filename":"image_19042025_13_36_36_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66b150a542a757021199762f377f01f1.jpg","text":"TemporaryFile(/tmp/multipartBody5408263266887875239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074593479,"filename":"image_19042025_13_36_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/19/fb2423acb56b94127416b82406f9d594.jpg","text":"TemporaryFile(/tmp/multipartBody4100968178406986993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074593479,"filename":"image_19042025_13_36_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2419e37eb1f6cabdef87313ee7e1d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody6561026112620200625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074593479,"filename":"image_19042025_13_36_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/19/72e0bbd09752fcba968311169f1d7b62.jpg","text":"TemporaryFile(/tmp/multipartBody6249319190619868957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074593479,"filename":"image_19042025_13_35_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/19/96f99ffcf4c0f26fa3b474ad8d5fe5a2.jpg","text":"TemporaryFile(/tmp/multipartBody5240290739114419753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074593479,"filename":"image_19042025_13_36_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351892336","file1":"1351892303","file0":"1351892252","file4":"1351892445","file5":"1351892488","file3":"1351892418"},"map_files_photo_id_array":[{"photo_id":"1351892488","filename":"file5"},{"photo_id":"1351892336","filename":"file2"},{"photo_id":"1351892445","filename":"file4"},{"photo_id":"1351892303","filename":"file1"},{"photo_id":"1351892252","filename":"file0"},{"photo_id":"1351892418","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351892445":["hashtag1","hashtag2"]},{"1351892418":["hashtag1","hashtag2"]},{"1351892336":["hashtag1","hashtag2"]},{"1351892303":["hashtag1","hashtag2"]},{"1351892252":["hashtag1","hashtag2"]},{"1351892488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351892445, 1351892418, 1351892336, 1351892303, 1351892252, 1351892488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.633782386779785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:56:32.286168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/36/image_19042025_13_37_06_9459.jpg', '/home/pi/Desktop/images/19042025/13/37/image_19042025_13_37_16_10349.jpg', '/home/pi/Desktop/images/19042025/13/37/image_19042025_13_37_47_10436.jpg', '/home/pi/Desktop/images/19042025/13/37/image_19042025_13_37_56_9382.jpg', '/home/pi/Desktop/images/19042025/13/37/image_19042025_13_38_06_10359.jpg', '/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_26_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/36/image_19042025_13_37_06_9459.jpg
/home/pi/Desktop/images/19042025/13/37/image_19042025_13_37_16_10349.jpg
/home/pi/Desktop/images/19042025/13/37/image_19042025_13_37_47_10436.jpg
/home/pi/Desktop/images/19042025/13/37/image_19042025_13_37_56_9382.jpg
/home/pi/Desktop/images/19042025/13/37/image_19042025_13_38_06_10359.jpg
/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_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":["1351892898","1351892967","1351893020","1351892846","1351892992","1351892941"],"photo_ids_order":["1351892846","1351892898","1351892941","1351892967","1351892992","1351893020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/46137fadce184652ae0b6f81f0490e09.jpg","text":"TemporaryFile(/tmp/multipartBody1112385119092668747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074652748,"filename":"image_19042025_13_37_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/19/6fea684ba28d87ab48fdc59817f7c578.jpg","text":"TemporaryFile(/tmp/multipartBody5507944500916275321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074652748,"filename":"image_19042025_13_37_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/19/618b7fa3ebea272900a75179be95d8f9.jpg","text":"TemporaryFile(/tmp/multipartBody6454479762806011782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074652748,"filename":"image_19042025_13_38_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/19/84c674ec333e2eb2b5a6945601ab2849.jpg","text":"TemporaryFile(/tmp/multipartBody1999041541908084786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074652748,"filename":"image_19042025_13_37_06_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6fdd206c942196c77a332d694b853a69.jpg","text":"TemporaryFile(/tmp/multipartBody1913872761816316972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074652748,"filename":"image_19042025_13_38_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38bc00dfda588c0f18e7e154d4f25721.jpg","text":"TemporaryFile(/tmp/multipartBody7549777664691393373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074652748,"filename":"image_19042025_13_37_47_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351892941","file1":"1351892898","file0":"1351892846","file4":"1351892992","file5":"1351893020","file3":"1351892967"},"map_files_photo_id_array":[{"photo_id":"1351893020","filename":"file5"},{"photo_id":"1351892941","filename":"file2"},{"photo_id":"1351892992","filename":"file4"},{"photo_id":"1351892898","filename":"file1"},{"photo_id":"1351892846","filename":"file0"},{"photo_id":"1351892967","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351892898":["hashtag1","hashtag2"]},{"1351892967":["hashtag1","hashtag2"]},{"1351893020":["hashtag1","hashtag2"]},{"1351892846":["hashtag1","hashtag2"]},{"1351892992":["hashtag1","hashtag2"]},{"1351892941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351892898, 1351892967, 1351893020, 1351892846, 1351892992, 1351892941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.549197673797607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 16:57:32.502171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_46_9358.jpg', '/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_56_10480.jpg', '/home/pi/Desktop/images/19042025/13/38/image_19042025_13_39_06_9361.jpg', '/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_16_10470.jpg', '/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_26_10375.jpg', '/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_36_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_46_9358.jpg
/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_56_10480.jpg
/home/pi/Desktop/images/19042025/13/38/image_19042025_13_39_06_9361.jpg
/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_16_10470.jpg
/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_26_10375.jpg
/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_36_9459.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-19 16:59:03.841127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_46_9358.jpg', '/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_56_10480.jpg', '/home/pi/Desktop/images/19042025/13/38/image_19042025_13_39_06_9361.jpg', '/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_16_10470.jpg', '/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_26_10375.jpg', '/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_36_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_46_9358.jpg
/home/pi/Desktop/images/19042025/13/38/image_19042025_13_38_56_10480.jpg
/home/pi/Desktop/images/19042025/13/38/image_19042025_13_39_06_9361.jpg
/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_16_10470.jpg
/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_26_10375.jpg
/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_36_9459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351894548","1351894496","1351894699","1351894797","1351894600","1351894761"],"photo_ids_order":["1351894496","1351894548","1351894600","1351894699","1351894761","1351894797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2c87bf5abe4d7b66d08be71037fc3f73.jpg","text":"TemporaryFile(/tmp/multipartBody5594893623312875989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074804502,"filename":"image_19042025_13_38_56_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/77c453b7bb1ffe31ae3418de53463512.jpg","text":"TemporaryFile(/tmp/multipartBody1678041097351824599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074804502,"filename":"image_19042025_13_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/19/f5b05d31a1648f025244bda20652ac54.jpg","text":"TemporaryFile(/tmp/multipartBody8318039044989553927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074804502,"filename":"image_19042025_13_39_16_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/19/53ff555cdf125901130fef3c8d74cf32.jpg","text":"TemporaryFile(/tmp/multipartBody3365384821382137018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074804502,"filename":"image_19042025_13_39_36_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5c116e441b1cd8f599f10e9ac3568ede.jpg","text":"TemporaryFile(/tmp/multipartBody2058179567298993310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074804502,"filename":"image_19042025_13_39_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/19/3fe926a878d15920181cf08ec47b27f5.jpg","text":"TemporaryFile(/tmp/multipartBody2758700153845730154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074804502,"filename":"image_19042025_13_39_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351894600","file1":"1351894548","file0":"1351894496","file4":"1351894761","file5":"1351894797","file3":"1351894699"},"map_files_photo_id_array":[{"photo_id":"1351894797","filename":"file5"},{"photo_id":"1351894600","filename":"file2"},{"photo_id":"1351894761","filename":"file4"},{"photo_id":"1351894548","filename":"file1"},{"photo_id":"1351894496","filename":"file0"},{"photo_id":"1351894699","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351894548":["hashtag1","hashtag2"]},{"1351894496":["hashtag1","hashtag2"]},{"1351894699":["hashtag1","hashtag2"]},{"1351894797":["hashtag1","hashtag2"]},{"1351894600":["hashtag1","hashtag2"]},{"1351894761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351894548, 1351894496, 1351894699, 1351894797, 1351894600, 1351894761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.758380651474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 16:59:42.300433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_46_10383.jpg', '/home/pi/Desktop/images/19042025/13/39/image_19042025_13_40_06_10468.jpg', '/home/pi/Desktop/images/19042025/13/40/image_19042025_13_40_16_10411.jpg', '/home/pi/Desktop/images/19042025/13/40/image_19042025_13_40_46_9488.jpg', '/home/pi/Desktop/images/19042025/13/40/image_19042025_13_41_06_9413.jpg', '/home/pi/Desktop/images/19042025/13/41/image_19042025_13_41_36_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/39/image_19042025_13_39_46_10383.jpg
/home/pi/Desktop/images/19042025/13/39/image_19042025_13_40_06_10468.jpg
/home/pi/Desktop/images/19042025/13/40/image_19042025_13_40_16_10411.jpg
/home/pi/Desktop/images/19042025/13/40/image_19042025_13_40_46_9488.jpg
/home/pi/Desktop/images/19042025/13/40/image_19042025_13_41_06_9413.jpg
/home/pi/Desktop/images/19042025/13/41/image_19042025_13_41_36_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351895255","1351894988","1351895024","1351894958","1351895193","1351895310"],"photo_ids_order":["1351894958","1351894988","1351895024","1351895193","1351895255","1351895310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a7fda14d6722227aec1f7720f42364e4.jpg","text":"TemporaryFile(/tmp/multipartBody9109943446426537091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074842756,"filename":"image_19042025_13_41_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/19/5a65444f3811127c36fb7d36f9b5a7a2.jpg","text":"TemporaryFile(/tmp/multipartBody7619949385055402025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074842756,"filename":"image_19042025_13_40_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/19/d0f33c20ba447dc32e3139745c9ea3f9.jpg","text":"TemporaryFile(/tmp/multipartBody9127664557920555829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074842756,"filename":"image_19042025_13_40_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/19/2d0e79a0d9be1b3bb6d558f1ae6ab7a9.jpg","text":"TemporaryFile(/tmp/multipartBody6939329980654381497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074842756,"filename":"image_19042025_13_39_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/400594f3404c8ac8a87eb70153d834b9.jpg","text":"TemporaryFile(/tmp/multipartBody8451390648756542602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074842756,"filename":"image_19042025_13_40_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/19/1d787bfad09c9c852b4857ac8486e089.jpg","text":"TemporaryFile(/tmp/multipartBody7380234860032964313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074842756,"filename":"image_19042025_13_41_36_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351895024","file1":"1351894988","file0":"1351894958","file4":"1351895255","file5":"1351895310","file3":"1351895193"},"map_files_photo_id_array":[{"photo_id":"1351895310","filename":"file5"},{"photo_id":"1351895024","filename":"file2"},{"photo_id":"1351895255","filename":"file4"},{"photo_id":"1351894988","filename":"file1"},{"photo_id":"1351894958","filename":"file0"},{"photo_id":"1351895193","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351895255":["hashtag1","hashtag2"]},{"1351894988":["hashtag1","hashtag2"]},{"1351895024":["hashtag1","hashtag2"]},{"1351894958":["hashtag1","hashtag2"]},{"1351895193":["hashtag1","hashtag2"]},{"1351895310":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351895255, 1351894988, 1351895024, 1351894958, 1351895193, 1351895310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.80190181732178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:00:32.439759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/41/image_19042025_13_41_46_10447.jpg', '/home/pi/Desktop/images/19042025/13/42/image_19042025_13_42_16_10357.jpg', '/home/pi/Desktop/images/19042025/13/42/image_19042025_13_42_26_9487.jpg', '/home/pi/Desktop/images/19042025/13/42/image_19042025_13_42_36_10369.jpg', '/home/pi/Desktop/images/19042025/13/42/image_19042025_13_42_56_10371.jpg', '/home/pi/Desktop/images/19042025/13/42/image_19042025_13_43_06_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/41/image_19042025_13_41_46_10447.jpg
/home/pi/Desktop/images/19042025/13/42/image_19042025_13_42_16_10357.jpg
/home/pi/Desktop/images/19042025/13/42/image_19042025_13_42_26_9487.jpg
/home/pi/Desktop/images/19042025/13/42/image_19042025_13_42_36_10369.jpg
/home/pi/Desktop/images/19042025/13/42/image_19042025_13_42_56_10371.jpg
/home/pi/Desktop/images/19042025/13/42/image_19042025_13_43_06_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351895413","1351895367","1351895322","1351895439","1351895319","1351895334"],"photo_ids_order":["1351895319","1351895322","1351895334","1351895367","1351895413","1351895439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c55e199b8c3b8368686d564ffa4bf95.jpg","text":"TemporaryFile(/tmp/multipartBody6864443613168269479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074892998,"filename":"image_19042025_13_42_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/19/7cd6998dbcdd0e8cb49b883a8ae06b5c.jpg","text":"TemporaryFile(/tmp/multipartBody1308949531956840986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074892998,"filename":"image_19042025_13_42_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9078071232832bc03beb393b47aba6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8913978392166731819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074892998,"filename":"image_19042025_13_42_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/19/ea2833aa69a3049bc6b1340c863c2463.jpg","text":"TemporaryFile(/tmp/multipartBody913043338638381113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074892998,"filename":"image_19042025_13_43_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/19/ed9d949f36c58587fc665cd223cc2c6b.jpg","text":"TemporaryFile(/tmp/multipartBody7054609440869212360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074892998,"filename":"image_19042025_13_41_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/19/f7f5ddfcd02c58684b219d9eb9fcfefc.jpg","text":"TemporaryFile(/tmp/multipartBody2583574226212333379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074892998,"filename":"image_19042025_13_42_26_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351895334","file1":"1351895322","file0":"1351895319","file4":"1351895413","file5":"1351895439","file3":"1351895367"},"map_files_photo_id_array":[{"photo_id":"1351895439","filename":"file5"},{"photo_id":"1351895334","filename":"file2"},{"photo_id":"1351895413","filename":"file4"},{"photo_id":"1351895322","filename":"file1"},{"photo_id":"1351895319","filename":"file0"},{"photo_id":"1351895367","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351895413":["hashtag1","hashtag2"]},{"1351895367":["hashtag1","hashtag2"]},{"1351895322":["hashtag1","hashtag2"]},{"1351895439":["hashtag1","hashtag2"]},{"1351895319":["hashtag1","hashtag2"]},{"1351895334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351895413, 1351895367, 1351895322, 1351895439, 1351895319, 1351895334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.078824043273926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:01:32.635936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/43/image_19042025_13_43_16_9334.jpg', '/home/pi/Desktop/images/19042025/13/43/image_19042025_13_43_46_10482.jpg', '/home/pi/Desktop/images/19042025/13/43/image_19042025_13_43_56_10373.jpg', '/home/pi/Desktop/images/19042025/13/44/image_19042025_13_44_36_10368.jpg', '/home/pi/Desktop/images/19042025/13/44/image_19042025_13_44_46_10373.jpg', '/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_16_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/43/image_19042025_13_43_16_9334.jpg
/home/pi/Desktop/images/19042025/13/43/image_19042025_13_43_46_10482.jpg
/home/pi/Desktop/images/19042025/13/43/image_19042025_13_43_56_10373.jpg
/home/pi/Desktop/images/19042025/13/44/image_19042025_13_44_36_10368.jpg
/home/pi/Desktop/images/19042025/13/44/image_19042025_13_44_46_10373.jpg
/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_16_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351895882","1351895797","1351895775","1351895751","1351895727","1351895823"],"photo_ids_order":["1351895727","1351895751","1351895775","1351895797","1351895823","1351895882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6e7c52e071f1a9ab4d308e7187b1750c.jpg","text":"TemporaryFile(/tmp/multipartBody1765416641714266147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074953091,"filename":"image_19042025_13_45_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c7a91c5fe793ad676ab5ac871c09416.jpg","text":"TemporaryFile(/tmp/multipartBody737306369799807969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074953091,"filename":"image_19042025_13_44_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/19/e010b6e408235ddfea7db13a22aa8c7b.jpg","text":"TemporaryFile(/tmp/multipartBody7122877597985250799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074953091,"filename":"image_19042025_13_43_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/19/dda0d74d0001d2f00e547218d2e30f8c.jpg","text":"TemporaryFile(/tmp/multipartBody7000162851793983319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074953091,"filename":"image_19042025_13_43_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/19/c1559bb344741ac1832db055d4b33704.jpg","text":"TemporaryFile(/tmp/multipartBody6308196643102849025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074953091,"filename":"image_19042025_13_43_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e89ae8058150da0e639cf2561317e543.jpg","text":"TemporaryFile(/tmp/multipartBody1058962397203727524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074953091,"filename":"image_19042025_13_44_46_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351895775","file1":"1351895751","file0":"1351895727","file4":"1351895823","file5":"1351895882","file3":"1351895797"},"map_files_photo_id_array":[{"photo_id":"1351895882","filename":"file5"},{"photo_id":"1351895775","filename":"file2"},{"photo_id":"1351895823","filename":"file4"},{"photo_id":"1351895751","filename":"file1"},{"photo_id":"1351895727","filename":"file0"},{"photo_id":"1351895797","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351895882":["hashtag1","hashtag2"]},{"1351895797":["hashtag1","hashtag2"]},{"1351895775":["hashtag1","hashtag2"]},{"1351895751":["hashtag1","hashtag2"]},{"1351895727":["hashtag1","hashtag2"]},{"1351895823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351895882, 1351895797, 1351895775, 1351895751, 1351895727, 1351895823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.86152482032776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:02:03.463625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_26_10371.jpg', '/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_36_10360.jpg', '/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_46_9510.jpg', '/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_56_10375.jpg', '/home/pi/Desktop/images/19042025/13/45/image_19042025_13_46_06_9332.jpg', '/home/pi/Desktop/images/19042025/13/46/image_19042025_13_46_16_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_26_10371.jpg
/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_36_10360.jpg
/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_46_9510.jpg
/home/pi/Desktop/images/19042025/13/45/image_19042025_13_45_56_10375.jpg
/home/pi/Desktop/images/19042025/13/45/image_19042025_13_46_06_9332.jpg
/home/pi/Desktop/images/19042025/13/46/image_19042025_13_46_16_10371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351896104","1351896305","1351896195","1351896261","1351896426","1351896362"],"photo_ids_order":["1351896104","1351896195","1351896261","1351896305","1351896362","1351896426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8845193617dbd11ea89023c47fff6c45.jpg","text":"TemporaryFile(/tmp/multipartBody4360288110224080816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074983987,"filename":"image_19042025_13_45_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/19/138a5583a46d95f28faf34acf02ce9f1.jpg","text":"TemporaryFile(/tmp/multipartBody6065160233503470718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074983987,"filename":"image_19042025_13_45_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/19/6ef18bba21e5a4045b72e498c99f8cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1890743768432679037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074983987,"filename":"image_19042025_13_45_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/19/a3e1bd53e5fb76779ed3eef5317c4aa3.jpg","text":"TemporaryFile(/tmp/multipartBody2994733940731423760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074983987,"filename":"image_19042025_13_45_46_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9945275560284afe8e9c9dd8fcf2c7b0.jpg","text":"TemporaryFile(/tmp/multipartBody3857834073091964889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074983987,"filename":"image_19042025_13_46_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/19/3aaf263a3a68f32dfc973e4d8b5fac8b.jpg","text":"TemporaryFile(/tmp/multipartBody4461190320739195037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745074983987,"filename":"image_19042025_13_46_06_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351896261","file1":"1351896195","file0":"1351896104","file4":"1351896362","file5":"1351896426","file3":"1351896305"},"map_files_photo_id_array":[{"photo_id":"1351896426","filename":"file5"},{"photo_id":"1351896261","filename":"file2"},{"photo_id":"1351896362","filename":"file4"},{"photo_id":"1351896195","filename":"file1"},{"photo_id":"1351896104","filename":"file0"},{"photo_id":"1351896305","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351896104":["hashtag1","hashtag2"]},{"1351896305":["hashtag1","hashtag2"]},{"1351896195":["hashtag1","hashtag2"]},{"1351896261":["hashtag1","hashtag2"]},{"1351896426":["hashtag1","hashtag2"]},{"1351896362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351896104, 1351896305, 1351896195, 1351896261, 1351896426, 1351896362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.862987279891968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:02:42.858699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/46/image_19042025_13_46_36_9508.jpg', '/home/pi/Desktop/images/19042025/13/46/image_19042025_13_46_56_9344.jpg', '/home/pi/Desktop/images/19042025/13/46/image_19042025_13_47_06_10354.jpg', '/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_16_10373.jpg', '/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_26_9351.jpg', '/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_36_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/46/image_19042025_13_46_36_9508.jpg
/home/pi/Desktop/images/19042025/13/46/image_19042025_13_46_56_9344.jpg
/home/pi/Desktop/images/19042025/13/46/image_19042025_13_47_06_10354.jpg
/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_16_10373.jpg
/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_26_9351.jpg
/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_36_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":["1351896628","1351896891","1351896817","1351896696","1351896845","1351896752"],"photo_ids_order":["1351896628","1351896696","1351896752","1351896817","1351896845","1351896891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9fd1097a6c241e611b8ac2901ce36bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8090227822437268849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075023318,"filename":"image_19042025_13_46_36_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/19/68128168415af9d637d7e9bf646ae3d4.jpg","text":"TemporaryFile(/tmp/multipartBody2259283035841748704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075023318,"filename":"image_19042025_13_47_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/19/257661e1a3cfd97f7a860bf5d6c9e4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7605326779236221035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075023318,"filename":"image_19042025_13_47_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38519c07e1c28fda010539be39b27dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5916659560881719080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075023318,"filename":"image_19042025_13_46_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/19/bb770b0a11ca7fd5b19f1438855b33dc.jpg","text":"TemporaryFile(/tmp/multipartBody3527166799801558144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075023318,"filename":"image_19042025_13_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/19/57dfb023f1783fc531a6705fd70962be.jpg","text":"TemporaryFile(/tmp/multipartBody6776185467588881911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075023318,"filename":"image_19042025_13_47_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351896752","file1":"1351896696","file0":"1351896628","file4":"1351896845","file5":"1351896891","file3":"1351896817"},"map_files_photo_id_array":[{"photo_id":"1351896891","filename":"file5"},{"photo_id":"1351896752","filename":"file2"},{"photo_id":"1351896845","filename":"file4"},{"photo_id":"1351896696","filename":"file1"},{"photo_id":"1351896628","filename":"file0"},{"photo_id":"1351896817","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351896628":["hashtag1","hashtag2"]},{"1351896891":["hashtag1","hashtag2"]},{"1351896817":["hashtag1","hashtag2"]},{"1351896696":["hashtag1","hashtag2"]},{"1351896845":["hashtag1","hashtag2"]},{"1351896752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351896628, 1351896891, 1351896817, 1351896696, 1351896845, 1351896752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.84275722503662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:03:33.093722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_46_9352.jpg', '/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_56_10477.jpg', '/home/pi/Desktop/images/19042025/13/47/image_19042025_13_48_06_10345.jpg', '/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_16_9351.jpg', '/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_26_10489.jpg', '/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_36_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_46_9352.jpg
/home/pi/Desktop/images/19042025/13/47/image_19042025_13_47_56_10477.jpg
/home/pi/Desktop/images/19042025/13/47/image_19042025_13_48_06_10345.jpg
/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_16_9351.jpg
/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_26_10489.jpg
/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_36_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351897450","1351897288","1351897392","1351897497","1351897548","1351897341"],"photo_ids_order":["1351897288","1351897341","1351897392","1351897450","1351897497","1351897548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bab8bfe7f2cf2ebdf14bd880c6438d63.jpg","text":"TemporaryFile(/tmp/multipartBody4802915542515680782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075073553,"filename":"image_19042025_13_48_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/19/9fb926ecbeea9c9b8155b8d63a868fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4067588695103773249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075073553,"filename":"image_19042025_13_47_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/19/06f4a6db5d90ce69eac56020a2d95801.jpg","text":"TemporaryFile(/tmp/multipartBody1777360569867363021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075073553,"filename":"image_19042025_13_48_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/19/eb70ecae5700b28dff5e66404c6fa17c.jpg","text":"TemporaryFile(/tmp/multipartBody8830780743937988532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075073553,"filename":"image_19042025_13_48_26_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f357ae0b4903b515c28a8570159c3d0.jpg","text":"TemporaryFile(/tmp/multipartBody6564093367628686668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075073553,"filename":"image_19042025_13_48_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/19/7473447281244337e44cb084990ba5eb.jpg","text":"TemporaryFile(/tmp/multipartBody6635746300411056021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075073553,"filename":"image_19042025_13_47_56_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351897392","file1":"1351897341","file0":"1351897288","file4":"1351897497","file5":"1351897548","file3":"1351897450"},"map_files_photo_id_array":[{"photo_id":"1351897548","filename":"file5"},{"photo_id":"1351897392","filename":"file2"},{"photo_id":"1351897497","filename":"file4"},{"photo_id":"1351897341","filename":"file1"},{"photo_id":"1351897288","filename":"file0"},{"photo_id":"1351897450","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351897450":["hashtag1","hashtag2"]},{"1351897288":["hashtag1","hashtag2"]},{"1351897392":["hashtag1","hashtag2"]},{"1351897497":["hashtag1","hashtag2"]},{"1351897548":["hashtag1","hashtag2"]},{"1351897341":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351897450, 1351897288, 1351897392, 1351897497, 1351897548, 1351897341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.070539474487305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:04:32.369122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_46_10460.jpg', '/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_56_10408.jpg', '/home/pi/Desktop/images/19042025/13/48/image_19042025_13_49_06_9463.jpg', '/home/pi/Desktop/images/19042025/13/49/image_19042025_13_49_16_10393.jpg', '/home/pi/Desktop/images/19042025/13/49/image_19042025_13_49_36_10431.jpg', '/home/pi/Desktop/images/19042025/13/49/image_19042025_13_49_46_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_46_10460.jpg
/home/pi/Desktop/images/19042025/13/48/image_19042025_13_48_56_10408.jpg
/home/pi/Desktop/images/19042025/13/48/image_19042025_13_49_06_9463.jpg
/home/pi/Desktop/images/19042025/13/49/image_19042025_13_49_16_10393.jpg
/home/pi/Desktop/images/19042025/13/49/image_19042025_13_49_36_10431.jpg
/home/pi/Desktop/images/19042025/13/49/image_19042025_13_49_46_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351897995","1351898096","1351898077","1351898021","1351897967","1351898050"],"photo_ids_order":["1351897967","1351897995","1351898021","1351898050","1351898077","1351898096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4d50ea0c7ce4aea484caeb6efd7a9c7.jpg","text":"TemporaryFile(/tmp/multipartBody6864794840810251953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075132831,"filename":"image_19042025_13_48_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf8d345c3c3a08777996795bb68921ef.jpg","text":"TemporaryFile(/tmp/multipartBody2642960556454430933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075132831,"filename":"image_19042025_13_49_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e316333a4a14c5f3992fae2f0d42463.jpg","text":"TemporaryFile(/tmp/multipartBody910458648558483304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075132831,"filename":"image_19042025_13_49_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/19/2a7d0501c724994421fc44971609d6ca.jpg","text":"TemporaryFile(/tmp/multipartBody3082257598637914715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075132831,"filename":"image_19042025_13_49_06_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac0433a230154bc662ab48e58ec983bf.jpg","text":"TemporaryFile(/tmp/multipartBody4497952875938344172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075132831,"filename":"image_19042025_13_48_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/19/796b159b6e0cb8db4a7f919d1776464a.jpg","text":"TemporaryFile(/tmp/multipartBody3836773886876600263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075132831,"filename":"image_19042025_13_49_16_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351898021","file1":"1351897995","file0":"1351897967","file4":"1351898077","file5":"1351898096","file3":"1351898050"},"map_files_photo_id_array":[{"photo_id":"1351898096","filename":"file5"},{"photo_id":"1351898021","filename":"file2"},{"photo_id":"1351898077","filename":"file4"},{"photo_id":"1351897995","filename":"file1"},{"photo_id":"1351897967","filename":"file0"},{"photo_id":"1351898050","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351897995":["hashtag1","hashtag2"]},{"1351898096":["hashtag1","hashtag2"]},{"1351898077":["hashtag1","hashtag2"]},{"1351898021":["hashtag1","hashtag2"]},{"1351897967":["hashtag1","hashtag2"]},{"1351898050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351897995, 1351898096, 1351898077, 1351898021, 1351897967, 1351898050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.561992168426514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:05:32.456674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/49/image_19042025_13_49_56_9525.jpg', '/home/pi/Desktop/images/19042025/13/49/image_19042025_13_50_06_10357.jpg', '/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_16_9339.jpg', '/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_26_10369.jpg', '/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_36_10353.jpg', '/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_46_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/49/image_19042025_13_49_56_9525.jpg
/home/pi/Desktop/images/19042025/13/49/image_19042025_13_50_06_10357.jpg
/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_16_9339.jpg
/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_26_10369.jpg
/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_36_10353.jpg
/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_46_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351898422","1351898289","1351898259","1351898267","1351898234","1351898318"],"photo_ids_order":["1351898234","1351898259","1351898267","1351898289","1351898318","1351898422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b62325d7e7059962ff1a009dbd565776.jpg","text":"TemporaryFile(/tmp/multipartBody2289663033966117683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075192908,"filename":"image_19042025_13_50_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/19/ad72dd0a983e8a01d5dd396987b04d83.jpg","text":"TemporaryFile(/tmp/multipartBody2088346867646501293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075192908,"filename":"image_19042025_13_50_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/19/7e0a3ebb10c547187ea2eab4b99d3c94.jpg","text":"TemporaryFile(/tmp/multipartBody2724592182921626739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075192908,"filename":"image_19042025_13_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/19/e1787cee05e270f48950f06cea78a881.jpg","text":"TemporaryFile(/tmp/multipartBody1109957196328503247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075192908,"filename":"image_19042025_13_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/19/e72b59d2b4946e350fc5e5456cd7e5e5.jpg","text":"TemporaryFile(/tmp/multipartBody9128124428844846473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075192908,"filename":"image_19042025_13_49_56_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/098f3557f8e0ed70c37ddee8ffd78b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3373753465668660540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075192908,"filename":"image_19042025_13_50_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351898267","file1":"1351898259","file0":"1351898234","file4":"1351898318","file5":"1351898422","file3":"1351898289"},"map_files_photo_id_array":[{"photo_id":"1351898422","filename":"file5"},{"photo_id":"1351898267","filename":"file2"},{"photo_id":"1351898318","filename":"file4"},{"photo_id":"1351898259","filename":"file1"},{"photo_id":"1351898234","filename":"file0"},{"photo_id":"1351898289","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351898422":["hashtag1","hashtag2"]},{"1351898289":["hashtag1","hashtag2"]},{"1351898259":["hashtag1","hashtag2"]},{"1351898267":["hashtag1","hashtag2"]},{"1351898234":["hashtag1","hashtag2"]},{"1351898318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351898422, 1351898289, 1351898259, 1351898267, 1351898234, 1351898318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56899404525757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:06:32.769427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_56_10366.jpg', '/home/pi/Desktop/images/19042025/13/50/image_19042025_13_51_06_9447.jpg', '/home/pi/Desktop/images/19042025/13/51/image_19042025_13_51_26_10398.jpg', '/home/pi/Desktop/images/19042025/13/51/image_19042025_13_51_36_9435.jpg', '/home/pi/Desktop/images/19042025/13/51/image_19042025_13_51_46_10425.jpg', '/home/pi/Desktop/images/19042025/13/51/image_19042025_13_51_56_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/50/image_19042025_13_50_56_10366.jpg
/home/pi/Desktop/images/19042025/13/50/image_19042025_13_51_06_9447.jpg
/home/pi/Desktop/images/19042025/13/51/image_19042025_13_51_26_10398.jpg
/home/pi/Desktop/images/19042025/13/51/image_19042025_13_51_36_9435.jpg
/home/pi/Desktop/images/19042025/13/51/image_19042025_13_51_46_10425.jpg
/home/pi/Desktop/images/19042025/13/51/image_19042025_13_51_56_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351898589","1351898639","1351898633","1351898560","1351898563","1351898617"],"photo_ids_order":["1351898560","1351898563","1351898589","1351898617","1351898633","1351898639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24651e2582812897a3a15b88af275066.jpg","text":"TemporaryFile(/tmp/multipartBody3968453885716390963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075253227,"filename":"image_19042025_13_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/19/6385a2c8d03f3e34a2d290549d87aeb1.jpg","text":"TemporaryFile(/tmp/multipartBody3776945518640623646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075253227,"filename":"image_19042025_13_51_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/19/61c144c607445519d6cf74d55db260db.jpg","text":"TemporaryFile(/tmp/multipartBody3279780389640992485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075253227,"filename":"image_19042025_13_51_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/19/f38ae1fa68302c97ca3a6e2b9253b6ec.jpg","text":"TemporaryFile(/tmp/multipartBody1172517256394986603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075253227,"filename":"image_19042025_13_50_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/19/84eda62b066a85a43e0e2e4e72b7ee82.jpg","text":"TemporaryFile(/tmp/multipartBody2392650892094761100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075253227,"filename":"image_19042025_13_51_06_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dd4c267bd3a643dfd80a04b28a80dedb.jpg","text":"TemporaryFile(/tmp/multipartBody8678373030014578335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075253227,"filename":"image_19042025_13_51_36_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351898589","file1":"1351898563","file0":"1351898560","file4":"1351898633","file5":"1351898639","file3":"1351898617"},"map_files_photo_id_array":[{"photo_id":"1351898639","filename":"file5"},{"photo_id":"1351898589","filename":"file2"},{"photo_id":"1351898633","filename":"file4"},{"photo_id":"1351898563","filename":"file1"},{"photo_id":"1351898560","filename":"file0"},{"photo_id":"1351898617","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351898589":["hashtag1","hashtag2"]},{"1351898639":["hashtag1","hashtag2"]},{"1351898633":["hashtag1","hashtag2"]},{"1351898560":["hashtag1","hashtag2"]},{"1351898563":["hashtag1","hashtag2"]},{"1351898617":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351898589, 1351898639, 1351898633, 1351898560, 1351898563, 1351898617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.782219171524048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:07:32.957904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/51/image_19042025_13_52_06_10342.jpg', '/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_16_10400.jpg', '/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_26_9354.jpg', '/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_36_10357.jpg', '/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_47_10419.jpg', '/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_56_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/51/image_19042025_13_52_06_10342.jpg
/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_16_10400.jpg
/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_26_9354.jpg
/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_36_10357.jpg
/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_47_10419.jpg
/home/pi/Desktop/images/19042025/13/52/image_19042025_13_52_56_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351899159","1351898931","1351898981","1351899005","1351899337","1351898956"],"photo_ids_order":["1351898931","1351898956","1351898981","1351899005","1351899159","1351899337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f14688c3fe9c9d980b0996fb9e516cc.jpg","text":"TemporaryFile(/tmp/multipartBody4388782484599315932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075313412,"filename":"image_19042025_13_52_47_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/19/fa0d281ca9860ab698c4a561522e06f3.jpg","text":"TemporaryFile(/tmp/multipartBody6287329634703934248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075313412,"filename":"image_19042025_13_52_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/19/f6d14219293a3165ea2ddeeeb3665985.jpg","text":"TemporaryFile(/tmp/multipartBody3567754757282668498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075313412,"filename":"image_19042025_13_52_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55ec4d2e9a3f7bc7cbe8e7e538f14638.jpg","text":"TemporaryFile(/tmp/multipartBody2829759655184393274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075313412,"filename":"image_19042025_13_52_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6e44a5fd9f017bcf49054cc2eb79afc4.jpg","text":"TemporaryFile(/tmp/multipartBody4469638887282522329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075313412,"filename":"image_19042025_13_52_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/19/41ec4e125d2e45d10b916ce9356e8cb1.jpg","text":"TemporaryFile(/tmp/multipartBody9211600659865221646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075313412,"filename":"image_19042025_13_52_16_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351898981","file1":"1351898956","file0":"1351898931","file4":"1351899159","file5":"1351899337","file3":"1351899005"},"map_files_photo_id_array":[{"photo_id":"1351899337","filename":"file5"},{"photo_id":"1351898981","filename":"file2"},{"photo_id":"1351899159","filename":"file4"},{"photo_id":"1351898956","filename":"file1"},{"photo_id":"1351898931","filename":"file0"},{"photo_id":"1351899005","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351899159":["hashtag1","hashtag2"]},{"1351898931":["hashtag1","hashtag2"]},{"1351898981":["hashtag1","hashtag2"]},{"1351899005":["hashtag1","hashtag2"]},{"1351899337":["hashtag1","hashtag2"]},{"1351898956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351899159, 1351898931, 1351898981, 1351899005, 1351899337, 1351898956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10620069503784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:08:32.216900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/52/image_19042025_13_53_06_10363.jpg', '/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_16_9392.jpg', '/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_26_10379.jpg', '/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_36_10350.jpg', '/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_46_9391.jpg', '/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_56_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/52/image_19042025_13_53_06_10363.jpg
/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_16_9392.jpg
/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_26_10379.jpg
/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_36_10350.jpg
/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_46_9391.jpg
/home/pi/Desktop/images/19042025/13/53/image_19042025_13_53_56_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351900696","1351900669","1351900564","1351900645","1351900620","1351900595"],"photo_ids_order":["1351900564","1351900595","1351900620","1351900645","1351900669","1351900696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef919315cd763e630b7f19808e014314.jpg","text":"TemporaryFile(/tmp/multipartBody1694970707500669009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075372673,"filename":"image_19042025_13_53_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/19/154cdde42deb793d430935b1de025cda.jpg","text":"TemporaryFile(/tmp/multipartBody4239629730671686787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075372673,"filename":"image_19042025_13_53_46_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/981cc0053f684e9ca0c83d93a6ee6537.jpg","text":"TemporaryFile(/tmp/multipartBody8871332750266535146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075372673,"filename":"image_19042025_13_53_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/19/62a6f612bd12135299b3c91950bd7947.jpg","text":"TemporaryFile(/tmp/multipartBody5376246407841884262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075372673,"filename":"image_19042025_13_53_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/19/88c17f8c2edcca86996aeead170c3681.jpg","text":"TemporaryFile(/tmp/multipartBody7390356330141218818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075372673,"filename":"image_19042025_13_53_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/19/c67db4dec72727d12aaeaff553dcf27d.jpg","text":"TemporaryFile(/tmp/multipartBody7227376838938688451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075372673,"filename":"image_19042025_13_53_16_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351900620","file1":"1351900595","file0":"1351900564","file4":"1351900669","file5":"1351900696","file3":"1351900645"},"map_files_photo_id_array":[{"photo_id":"1351900696","filename":"file5"},{"photo_id":"1351900620","filename":"file2"},{"photo_id":"1351900669","filename":"file4"},{"photo_id":"1351900595","filename":"file1"},{"photo_id":"1351900564","filename":"file0"},{"photo_id":"1351900645","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351900696":["hashtag1","hashtag2"]},{"1351900669":["hashtag1","hashtag2"]},{"1351900564":["hashtag1","hashtag2"]},{"1351900645":["hashtag1","hashtag2"]},{"1351900620":["hashtag1","hashtag2"]},{"1351900595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351900696, 1351900669, 1351900564, 1351900645, 1351900620, 1351900595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.011817693710327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:09:32.423210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/53/image_19042025_13_54_06_9340.jpg', '/home/pi/Desktop/images/19042025/13/54/image_19042025_13_54_16_10417.jpg', '/home/pi/Desktop/images/19042025/13/54/image_19042025_13_54_46_10368.jpg', '/home/pi/Desktop/images/19042025/13/54/image_19042025_13_54_56_10355.jpg', '/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_16_10373.jpg', '/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_26_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/53/image_19042025_13_54_06_9340.jpg
/home/pi/Desktop/images/19042025/13/54/image_19042025_13_54_16_10417.jpg
/home/pi/Desktop/images/19042025/13/54/image_19042025_13_54_46_10368.jpg
/home/pi/Desktop/images/19042025/13/54/image_19042025_13_54_56_10355.jpg
/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_16_10373.jpg
/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_26_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":["1351901356","1351901239","1351901332","1351901385","1351901271","1351901168"],"photo_ids_order":["1351901168","1351901239","1351901271","1351901332","1351901356","1351901385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7525a1de77ee523b8e664db49ce51722.jpg","text":"TemporaryFile(/tmp/multipartBody2632727197605812303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075432880,"filename":"image_19042025_13_55_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fdaf79b48aae05799756f75edd494040.jpg","text":"TemporaryFile(/tmp/multipartBody2128734816350801105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075432880,"filename":"image_19042025_13_54_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dde9e98dc1d5ee87e4ba1b7d51ae43e4.jpg","text":"TemporaryFile(/tmp/multipartBody6486760282743001523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075432880,"filename":"image_19042025_13_54_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/19/70317cfe85eca845821344b2d0223edd.jpg","text":"TemporaryFile(/tmp/multipartBody1064456129497141271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075432880,"filename":"image_19042025_13_55_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7885493e8eee839bbf9b41c2aed66ec9.jpg","text":"TemporaryFile(/tmp/multipartBody8546806323832632638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075432880,"filename":"image_19042025_13_54_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/19/f587d4b4f1bd734afb067667996b9f44.jpg","text":"TemporaryFile(/tmp/multipartBody6015852805377426595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075432880,"filename":"image_19042025_13_54_06_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351901271","file1":"1351901239","file0":"1351901168","file4":"1351901356","file5":"1351901385","file3":"1351901332"},"map_files_photo_id_array":[{"photo_id":"1351901385","filename":"file5"},{"photo_id":"1351901271","filename":"file2"},{"photo_id":"1351901356","filename":"file4"},{"photo_id":"1351901239","filename":"file1"},{"photo_id":"1351901168","filename":"file0"},{"photo_id":"1351901332","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351901356":["hashtag1","hashtag2"]},{"1351901239":["hashtag1","hashtag2"]},{"1351901332":["hashtag1","hashtag2"]},{"1351901385":["hashtag1","hashtag2"]},{"1351901271":["hashtag1","hashtag2"]},{"1351901168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351901356, 1351901239, 1351901332, 1351901385, 1351901271, 1351901168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44664716720581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:10:32.570638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_36_10373.jpg', '/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_46_10354.jpg', '/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_56_9405.jpg', '/home/pi/Desktop/images/19042025/13/55/image_19042025_13_56_06_10386.jpg', '/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_16_9431.jpg', '/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_26_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_36_10373.jpg
/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_46_10354.jpg
/home/pi/Desktop/images/19042025/13/55/image_19042025_13_55_56_9405.jpg
/home/pi/Desktop/images/19042025/13/55/image_19042025_13_56_06_10386.jpg
/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_16_9431.jpg
/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_26_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":["1351902187","1351902160","1351902355","1351902328","1351902387","1351902134"],"photo_ids_order":["1351902134","1351902160","1351902187","1351902328","1351902355","1351902387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f32e1ef5a4e32310af4ad7632d141b19.jpg","text":"TemporaryFile(/tmp/multipartBody2467850728102654217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075493074,"filename":"image_19042025_13_55_56_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5889eed825f89f80b31fd0f5544b50ce.jpg","text":"TemporaryFile(/tmp/multipartBody4735076950610669895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075493074,"filename":"image_19042025_13_55_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/19/08caac2f014171df92ef137ca91b83c7.jpg","text":"TemporaryFile(/tmp/multipartBody5467716201435127716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075493074,"filename":"image_19042025_13_56_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/19/db5fc9223af95b68e5113da1ca75e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody2195193263290375043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075493074,"filename":"image_19042025_13_56_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/19/bf561a3ea835076f3d890ee9507966f7.jpg","text":"TemporaryFile(/tmp/multipartBody3603805924544758275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075493074,"filename":"image_19042025_13_56_26_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9857c762a002ffd8bdf127097360dcc.jpg","text":"TemporaryFile(/tmp/multipartBody2224849204281130639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075493074,"filename":"image_19042025_13_55_36_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351902187","file1":"1351902160","file0":"1351902134","file4":"1351902355","file5":"1351902387","file3":"1351902328"},"map_files_photo_id_array":[{"photo_id":"1351902387","filename":"file5"},{"photo_id":"1351902187","filename":"file2"},{"photo_id":"1351902355","filename":"file4"},{"photo_id":"1351902160","filename":"file1"},{"photo_id":"1351902134","filename":"file0"},{"photo_id":"1351902328","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351902187":["hashtag1","hashtag2"]},{"1351902160":["hashtag1","hashtag2"]},{"1351902355":["hashtag1","hashtag2"]},{"1351902328":["hashtag1","hashtag2"]},{"1351902387":["hashtag1","hashtag2"]},{"1351902134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351902187, 1351902160, 1351902355, 1351902328, 1351902387, 1351902134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.883920907974243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:11:32.934755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_36_10349.jpg', '/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_46_9399.jpg', '/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_56_10353.jpg', '/home/pi/Desktop/images/19042025/13/56/image_19042025_13_57_06_9366.jpg', '/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_16_10346.jpg', '/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_26_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_36_10349.jpg
/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_46_9399.jpg
/home/pi/Desktop/images/19042025/13/56/image_19042025_13_56_56_10353.jpg
/home/pi/Desktop/images/19042025/13/56/image_19042025_13_57_06_9366.jpg
/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_16_10346.jpg
/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_26_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":["1351902648","1351902756","1351902726","1351902782","1351902674","1351902701"],"photo_ids_order":["1351902648","1351902674","1351902701","1351902726","1351902756","1351902782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b306dcc3d88f6a1a5daf6cceced8e463.jpg","text":"TemporaryFile(/tmp/multipartBody3605053456100377992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075553407,"filename":"image_19042025_13_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/19/8cb5677657307f6ba91b44eab95cae8b.jpg","text":"TemporaryFile(/tmp/multipartBody6077121032757373746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075553407,"filename":"image_19042025_13_57_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d00c10394aaf636640f58d0e070b7474.jpg","text":"TemporaryFile(/tmp/multipartBody5931127048429195612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075553407,"filename":"image_19042025_13_57_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/19/f670ec98bdcadf3ff61e8615ed995070.jpg","text":"TemporaryFile(/tmp/multipartBody3805250345147784460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075553407,"filename":"image_19042025_13_57_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25f42eaac5adf5af53ca1658a0ea0970.jpg","text":"TemporaryFile(/tmp/multipartBody1725782238370181268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075553407,"filename":"image_19042025_13_56_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/19/dd57c056b8427933a3f3c0bbb76f4623.jpg","text":"TemporaryFile(/tmp/multipartBody1091241492387918272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075553407,"filename":"image_19042025_13_56_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351902701","file1":"1351902674","file0":"1351902648","file4":"1351902756","file5":"1351902782","file3":"1351902726"},"map_files_photo_id_array":[{"photo_id":"1351902782","filename":"file5"},{"photo_id":"1351902701","filename":"file2"},{"photo_id":"1351902756","filename":"file4"},{"photo_id":"1351902674","filename":"file1"},{"photo_id":"1351902648","filename":"file0"},{"photo_id":"1351902726","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351902648":["hashtag1","hashtag2"]},{"1351902756":["hashtag1","hashtag2"]},{"1351902726":["hashtag1","hashtag2"]},{"1351902782":["hashtag1","hashtag2"]},{"1351902674":["hashtag1","hashtag2"]},{"1351902701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351902648, 1351902756, 1351902726, 1351902782, 1351902674, 1351902701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.99114441871643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:12:33.134807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_36_9385.jpg', '/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_46_10452.jpg', '/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_56_9363.jpg', '/home/pi/Desktop/images/19042025/13/57/image_19042025_13_58_06_10405.jpg', '/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_16_10322.jpg', '/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_26_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_36_9385.jpg
/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_46_10452.jpg
/home/pi/Desktop/images/19042025/13/57/image_19042025_13_57_56_9363.jpg
/home/pi/Desktop/images/19042025/13/57/image_19042025_13_58_06_10405.jpg
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_16_10322.jpg
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_26_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351903333","1351903446","1351903570","1351903474","1351903621","1351903522"],"photo_ids_order":["1351903333","1351903446","1351903474","1351903522","1351903570","1351903621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e2dbf98150476b8010a5c48fdfad534f.jpg","text":"TemporaryFile(/tmp/multipartBody4668732126779305928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075613598,"filename":"image_19042025_13_57_36_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/67101ca6ec05ae29932b0722e9c2c42b.jpg","text":"TemporaryFile(/tmp/multipartBody3684110471641638207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075613598,"filename":"image_19042025_13_57_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/19/05150d7ea5266457248f5b46be11e49b.jpg","text":"TemporaryFile(/tmp/multipartBody2910627169351476654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075613598,"filename":"image_19042025_13_58_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee4d5ff1e7abfd5487a9149d62bd6c55.jpg","text":"TemporaryFile(/tmp/multipartBody7326715240668423358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075613598,"filename":"image_19042025_13_57_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/19/98167428579c1e01f94d828bc5a4a6db.jpg","text":"TemporaryFile(/tmp/multipartBody9061672407663480245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075613598,"filename":"image_19042025_13_58_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ecb29896377ecaa832b853c12a8f986c.jpg","text":"TemporaryFile(/tmp/multipartBody4935129594401146121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075613598,"filename":"image_19042025_13_58_06_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351903474","file1":"1351903446","file0":"1351903333","file4":"1351903570","file5":"1351903621","file3":"1351903522"},"map_files_photo_id_array":[{"photo_id":"1351903621","filename":"file5"},{"photo_id":"1351903474","filename":"file2"},{"photo_id":"1351903570","filename":"file4"},{"photo_id":"1351903446","filename":"file1"},{"photo_id":"1351903333","filename":"file0"},{"photo_id":"1351903522","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351903333":["hashtag1","hashtag2"]},{"1351903446":["hashtag1","hashtag2"]},{"1351903570":["hashtag1","hashtag2"]},{"1351903474":["hashtag1","hashtag2"]},{"1351903621":["hashtag1","hashtag2"]},{"1351903522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351903333, 1351903446, 1351903570, 1351903474, 1351903621, 1351903522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.825271368026733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:13:32.395098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_36_10387.jpg', '/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_46_10371.jpg', '/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_56_9490.jpg', '/home/pi/Desktop/images/19042025/13/58/image_19042025_13_59_06_10448.jpg', '/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_16_9333.jpg', '/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_26_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_36_10387.jpg
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_46_10371.jpg
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_56_9490.jpg
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_59_06_10448.jpg
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_16_9333.jpg
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_26_10451.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.38639354705810547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:13:42.389400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_36_10387.jpg', '/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_46_10371.jpg', '/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_56_9490.jpg', '/home/pi/Desktop/images/19042025/13/58/image_19042025_13_59_06_10448.jpg', '/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_16_9333.jpg', '/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_26_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_36_10387.jpg
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_46_10371.jpg
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_58_56_9490.jpg
/home/pi/Desktop/images/19042025/13/58/image_19042025_13_59_06_10448.jpg
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_16_9333.jpg
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_26_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351904451","1351904522","1351904791","1351904691","1351904617","1351904376"],"photo_ids_order":["1351904376","1351904451","1351904522","1351904617","1351904691","1351904791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c24a8ab6628c038a26c202efc4226a6e.jpg","text":"TemporaryFile(/tmp/multipartBody812061189252221221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075682848,"filename":"image_19042025_13_58_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/19/356ff55638d50fc3374b5fd2d9050e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2263975225250903904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075682848,"filename":"image_19042025_13_58_56_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/19/cdf13aa8e369e2373925ad01db42bfe2.jpg","text":"TemporaryFile(/tmp/multipartBody961358729870064351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075682848,"filename":"image_19042025_13_59_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/19/49fe67ef84a46a5366f53f9b887d5571.jpg","text":"TemporaryFile(/tmp/multipartBody1382586925927063603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075682848,"filename":"image_19042025_13_59_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91ab6d038760f48975f5bd5598c4f833.jpg","text":"TemporaryFile(/tmp/multipartBody3186452219206409950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075682848,"filename":"image_19042025_13_59_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/19/579b257fe9736a1f8649a5643e700dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4977680234112356325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075682848,"filename":"image_19042025_13_58_36_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351904522","file1":"1351904451","file0":"1351904376","file4":"1351904691","file5":"1351904791","file3":"1351904617"},"map_files_photo_id_array":[{"photo_id":"1351904791","filename":"file5"},{"photo_id":"1351904522","filename":"file2"},{"photo_id":"1351904691","filename":"file4"},{"photo_id":"1351904451","filename":"file1"},{"photo_id":"1351904376","filename":"file0"},{"photo_id":"1351904617","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351904451":["hashtag1","hashtag2"]},{"1351904522":["hashtag1","hashtag2"]},{"1351904791":["hashtag1","hashtag2"]},{"1351904691":["hashtag1","hashtag2"]},{"1351904617":["hashtag1","hashtag2"]},{"1351904376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351904451, 1351904522, 1351904791, 1351904691, 1351904617, 1351904376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.063764572143555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:14:32.583639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_36_10361.jpg', '/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_46_9461.jpg', '/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_56_10466.jpg', '/home/pi/Desktop/images/19042025/14/01/image_19042025_14_01_15_10077.jpg', '/home/pi/Desktop/images/19042025/14/01/image_19042025_14_01_45_9517.jpg', '/home/pi/Desktop/images/19042025/14/01/image_19042025_14_02_05_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_36_10361.jpg
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_46_9461.jpg
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_56_10466.jpg
/home/pi/Desktop/images/19042025/14/01/image_19042025_14_01_15_10077.jpg
/home/pi/Desktop/images/19042025/14/01/image_19042025_14_01_45_9517.jpg
/home/pi/Desktop/images/19042025/14/01/image_19042025_14_02_05_9471.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3953831195831299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:14:42.542848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_36_10361.jpg', '/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_46_9461.jpg', '/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_56_10466.jpg', '/home/pi/Desktop/images/19042025/14/01/image_19042025_14_01_15_10077.jpg', '/home/pi/Desktop/images/19042025/14/01/image_19042025_14_01_45_9517.jpg', '/home/pi/Desktop/images/19042025/14/01/image_19042025_14_02_05_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_36_10361.jpg
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_46_9461.jpg
/home/pi/Desktop/images/19042025/13/59/image_19042025_13_59_56_10466.jpg
/home/pi/Desktop/images/19042025/14/01/image_19042025_14_01_15_10077.jpg
/home/pi/Desktop/images/19042025/14/01/image_19042025_14_01_45_9517.jpg
/home/pi/Desktop/images/19042025/14/01/image_19042025_14_02_05_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351905983","1351906072","1351905800","1351906129","1351905894","1351905706"],"photo_ids_order":["1351905706","1351905800","1351905894","1351905983","1351906072","1351906129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29e23e4ed5047428e5fddecc058beec7.jpg","text":"TemporaryFile(/tmp/multipartBody5881757459983956413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075743002,"filename":"image_19042025_14_01_15_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5781acb05a44dc9b620dca60d738dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2660085606121724981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075743002,"filename":"image_19042025_14_01_45_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/19/2a86709c161390a2ae0354a845316bd2.jpg","text":"TemporaryFile(/tmp/multipartBody6167995405112510420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075743002,"filename":"image_19042025_13_59_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/19/3cd8222c1ee4bdaa5005747ab52ec314.jpg","text":"TemporaryFile(/tmp/multipartBody3298319694508314121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075743002,"filename":"image_19042025_14_02_05_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/19/652dbebe9723f356bb590300b561e4a3.jpg","text":"TemporaryFile(/tmp/multipartBody8759669021059118694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075743002,"filename":"image_19042025_13_59_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/19/b1b151aca88f11cd017e7e76c9430798.jpg","text":"TemporaryFile(/tmp/multipartBody6280143856419587836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075743002,"filename":"image_19042025_13_59_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351905894","file1":"1351905800","file0":"1351905706","file4":"1351906072","file5":"1351906129","file3":"1351905983"},"map_files_photo_id_array":[{"photo_id":"1351906129","filename":"file5"},{"photo_id":"1351905894","filename":"file2"},{"photo_id":"1351906072","filename":"file4"},{"photo_id":"1351905800","filename":"file1"},{"photo_id":"1351905706","filename":"file0"},{"photo_id":"1351905983","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351905983":["hashtag1","hashtag2"]},{"1351906072":["hashtag1","hashtag2"]},{"1351905800":["hashtag1","hashtag2"]},{"1351906129":["hashtag1","hashtag2"]},{"1351905894":["hashtag1","hashtag2"]},{"1351905706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351905983, 1351906072, 1351905800, 1351906129, 1351905894, 1351905706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.21302628517151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:15:32.886693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_26_10361.jpg', '/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_35_9340.jpg', '/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_45_10464.jpg', '/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_55_9460.jpg', '/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_16_10348.jpg', '/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_25_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_26_10361.jpg
/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_35_9340.jpg
/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_45_10464.jpg
/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_55_9460.jpg
/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_16_10348.jpg
/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_25_9467.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.38320422172546387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:15:42.978037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_26_10361.jpg', '/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_35_9340.jpg', '/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_45_10464.jpg', '/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_55_9460.jpg', '/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_16_10348.jpg', '/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_25_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_26_10361.jpg
/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_35_9340.jpg
/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_45_10464.jpg
/home/pi/Desktop/images/19042025/14/02/image_19042025_14_02_55_9460.jpg
/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_16_10348.jpg
/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_25_9467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351906769","1351906712","1351906907","1351906966","1351906851","1351906740"],"photo_ids_order":["1351906712","1351906740","1351906769","1351906851","1351906907","1351906966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6b0735e3dcf1a1d6d3df24a2c2f881dc.jpg","text":"TemporaryFile(/tmp/multipartBody2290110330160597809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075803444,"filename":"image_19042025_14_02_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc145447637e78810e75b51de7e6a2f6.jpg","text":"TemporaryFile(/tmp/multipartBody7783559746911927316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075803444,"filename":"image_19042025_14_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/19/d233d66a8a6456b0896f3be9c042fafc.jpg","text":"TemporaryFile(/tmp/multipartBody4199219898719397143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075803444,"filename":"image_19042025_14_03_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e161c70e5984dc7f65af3931941b557a.jpg","text":"TemporaryFile(/tmp/multipartBody7549097680765073141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075803444,"filename":"image_19042025_14_03_25_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3473b07de8dbab6b50c598d666359e15.jpg","text":"TemporaryFile(/tmp/multipartBody2412585831413824507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075803444,"filename":"image_19042025_14_02_55_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f6ac7c03a2e99d8b7f54740a43126d5.jpg","text":"TemporaryFile(/tmp/multipartBody1688066602355859379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075803444,"filename":"image_19042025_14_02_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351906769","file1":"1351906740","file0":"1351906712","file4":"1351906907","file5":"1351906966","file3":"1351906851"},"map_files_photo_id_array":[{"photo_id":"1351906966","filename":"file5"},{"photo_id":"1351906769","filename":"file2"},{"photo_id":"1351906907","filename":"file4"},{"photo_id":"1351906740","filename":"file1"},{"photo_id":"1351906712","filename":"file0"},{"photo_id":"1351906851","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351906769":["hashtag1","hashtag2"]},{"1351906712":["hashtag1","hashtag2"]},{"1351906907":["hashtag1","hashtag2"]},{"1351906966":["hashtag1","hashtag2"]},{"1351906851":["hashtag1","hashtag2"]},{"1351906740":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351906769, 1351906712, 1351906907, 1351906966, 1351906851, 1351906740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2589271068573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:16:32.995134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_35_10386.jpg', '/home/pi/Desktop/images/19042025/14/04/image_19042025_14_04_15_9429.jpg', '/home/pi/Desktop/images/19042025/14/04/image_19042025_14_04_25_10371.jpg', '/home/pi/Desktop/images/19042025/14/04/image_19042025_14_04_35_9363.jpg', '/home/pi/Desktop/images/19042025/14/04/image_19042025_14_04_56_10375.jpg', '/home/pi/Desktop/images/19042025/14/04/image_19042025_14_05_05_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/03/image_19042025_14_03_35_10386.jpg
/home/pi/Desktop/images/19042025/14/04/image_19042025_14_04_15_9429.jpg
/home/pi/Desktop/images/19042025/14/04/image_19042025_14_04_25_10371.jpg
/home/pi/Desktop/images/19042025/14/04/image_19042025_14_04_35_9363.jpg
/home/pi/Desktop/images/19042025/14/04/image_19042025_14_04_56_10375.jpg
/home/pi/Desktop/images/19042025/14/04/image_19042025_14_05_05_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":["1351907746","1351907629","1351907859","1351907682","1351907904","1351907807"],"photo_ids_order":["1351907629","1351907682","1351907746","1351907807","1351907859","1351907904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aab19597563946e7db062d14b3fdc022.jpg","text":"TemporaryFile(/tmp/multipartBody4432076116491368386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075853453,"filename":"image_19042025_14_04_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/19/3f722b324342369353332e1d08d1235d.jpg","text":"TemporaryFile(/tmp/multipartBody4654913510052837055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075853453,"filename":"image_19042025_14_03_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/19/de49afeebab798c14ef3734c3c324d45.jpg","text":"TemporaryFile(/tmp/multipartBody911596685027705326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075853453,"filename":"image_19042025_14_04_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/19/eb8815d6f3db171e5ec43810428ef2e1.jpg","text":"TemporaryFile(/tmp/multipartBody657820632174127322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075853453,"filename":"image_19042025_14_04_15_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/108c9aacfad27d5358fb238d6d324dae.jpg","text":"TemporaryFile(/tmp/multipartBody4924199032083874196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075853453,"filename":"image_19042025_14_05_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/19/0cce6aca1a845253a9df98d0fae14b88.jpg","text":"TemporaryFile(/tmp/multipartBody8300404824086164020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075853453,"filename":"image_19042025_14_04_35_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351907746","file1":"1351907682","file0":"1351907629","file4":"1351907859","file5":"1351907904","file3":"1351907807"},"map_files_photo_id_array":[{"photo_id":"1351907904","filename":"file5"},{"photo_id":"1351907746","filename":"file2"},{"photo_id":"1351907859","filename":"file4"},{"photo_id":"1351907682","filename":"file1"},{"photo_id":"1351907629","filename":"file0"},{"photo_id":"1351907807","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351907746":["hashtag1","hashtag2"]},{"1351907629":["hashtag1","hashtag2"]},{"1351907859":["hashtag1","hashtag2"]},{"1351907682":["hashtag1","hashtag2"]},{"1351907904":["hashtag1","hashtag2"]},{"1351907807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351907746, 1351907629, 1351907859, 1351907682, 1351907904, 1351907807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.739386558532715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:17:32.236421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/05/image_19042025_14_05_15_10372.jpg', '/home/pi/Desktop/images/19042025/14/05/image_19042025_14_05_25_9368.jpg', '/home/pi/Desktop/images/19042025/14/05/image_19042025_14_05_35_10349.jpg', '/home/pi/Desktop/images/19042025/14/05/image_19042025_14_05_45_10383.jpg', '/home/pi/Desktop/images/19042025/14/05/image_19042025_14_06_05_10396.jpg', '/home/pi/Desktop/images/19042025/14/06/image_19042025_14_06_16_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/05/image_19042025_14_05_15_10372.jpg
/home/pi/Desktop/images/19042025/14/05/image_19042025_14_05_25_9368.jpg
/home/pi/Desktop/images/19042025/14/05/image_19042025_14_05_35_10349.jpg
/home/pi/Desktop/images/19042025/14/05/image_19042025_14_05_45_10383.jpg
/home/pi/Desktop/images/19042025/14/05/image_19042025_14_06_05_10396.jpg
/home/pi/Desktop/images/19042025/14/06/image_19042025_14_06_16_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351909624","1351908904","1351909682","1351909715","1351909063","1351909171"],"photo_ids_order":["1351908904","1351909063","1351909171","1351909624","1351909682","1351909715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8ffead6d2145aac9ff850c6cf8b18cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5061630236242715602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075912705,"filename":"image_19042025_14_05_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/19/3ba58b1cc7c60524af3f5596e6f70d19.jpg","text":"TemporaryFile(/tmp/multipartBody827643242371264054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075912705,"filename":"image_19042025_14_05_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/19/d10c368e96b606ae3893283eb08accc9.jpg","text":"TemporaryFile(/tmp/multipartBody4219671535032512260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075912705,"filename":"image_19042025_14_06_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/19/2302ccb9ac315217c0f910d8a3bb928f.jpg","text":"TemporaryFile(/tmp/multipartBody166667984937659456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075912705,"filename":"image_19042025_14_06_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e7479323702e5fe7ca8ccfcf66191b53.jpg","text":"TemporaryFile(/tmp/multipartBody3035942790221429929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075912705,"filename":"image_19042025_14_05_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/19/59bcbc4180bb47c95c0e1adbd5557782.jpg","text":"TemporaryFile(/tmp/multipartBody5413823933354762528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075912705,"filename":"image_19042025_14_05_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351909171","file1":"1351909063","file0":"1351908904","file4":"1351909682","file5":"1351909715","file3":"1351909624"},"map_files_photo_id_array":[{"photo_id":"1351909715","filename":"file5"},{"photo_id":"1351909171","filename":"file2"},{"photo_id":"1351909682","filename":"file4"},{"photo_id":"1351909063","filename":"file1"},{"photo_id":"1351908904","filename":"file0"},{"photo_id":"1351909624","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351909624":["hashtag1","hashtag2"]},{"1351908904":["hashtag1","hashtag2"]},{"1351909682":["hashtag1","hashtag2"]},{"1351909715":["hashtag1","hashtag2"]},{"1351909063":["hashtag1","hashtag2"]},{"1351909171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351909624, 1351908904, 1351909682, 1351909715, 1351909063, 1351909171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.42376351356506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:18:32.471516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/06/image_19042025_14_06_25_9434.jpg', '/home/pi/Desktop/images/19042025/14/06/image_19042025_14_06_45_9474.jpg', '/home/pi/Desktop/images/19042025/14/06/image_19042025_14_06_55_10394.jpg', '/home/pi/Desktop/images/19042025/14/06/image_19042025_14_07_05_9476.jpg', '/home/pi/Desktop/images/19042025/14/07/image_19042025_14_07_15_10361.jpg', '/home/pi/Desktop/images/19042025/14/07/image_19042025_14_07_35_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/06/image_19042025_14_06_25_9434.jpg
/home/pi/Desktop/images/19042025/14/06/image_19042025_14_06_45_9474.jpg
/home/pi/Desktop/images/19042025/14/06/image_19042025_14_06_55_10394.jpg
/home/pi/Desktop/images/19042025/14/06/image_19042025_14_07_05_9476.jpg
/home/pi/Desktop/images/19042025/14/07/image_19042025_14_07_15_10361.jpg
/home/pi/Desktop/images/19042025/14/07/image_19042025_14_07_35_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351910431","1351910536","1351910298","1351910195","1351910051","1351910132"],"photo_ids_order":["1351910051","1351910132","1351910195","1351910298","1351910431","1351910536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0c3d2495f68803360ea4fe6fa0e34c16.jpg","text":"TemporaryFile(/tmp/multipartBody8441503244129864657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075972936,"filename":"image_19042025_14_07_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/19/4db12150e5bab9aecacbc43e62456059.jpg","text":"TemporaryFile(/tmp/multipartBody8651675907283170840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075972936,"filename":"image_19042025_14_07_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d3d1e84767460e67df3617a942be917.jpg","text":"TemporaryFile(/tmp/multipartBody7797883713416512056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075972936,"filename":"image_19042025_14_07_05_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/19/cf519725d5346781574b139ce0a8adfb.jpg","text":"TemporaryFile(/tmp/multipartBody3333861265724440598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075972936,"filename":"image_19042025_14_06_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ef74f3e05e7dbb2a45eca7996a89f48.jpg","text":"TemporaryFile(/tmp/multipartBody1779291338841906490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075972936,"filename":"image_19042025_14_06_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/19/83a0865ac2683ce0e8279dad961fc485.jpg","text":"TemporaryFile(/tmp/multipartBody1956844307177566779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745075972936,"filename":"image_19042025_14_06_45_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351910195","file1":"1351910132","file0":"1351910051","file4":"1351910431","file5":"1351910536","file3":"1351910298"},"map_files_photo_id_array":[{"photo_id":"1351910536","filename":"file5"},{"photo_id":"1351910195","filename":"file2"},{"photo_id":"1351910431","filename":"file4"},{"photo_id":"1351910132","filename":"file1"},{"photo_id":"1351910051","filename":"file0"},{"photo_id":"1351910298","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351910431":["hashtag1","hashtag2"]},{"1351910536":["hashtag1","hashtag2"]},{"1351910298":["hashtag1","hashtag2"]},{"1351910195":["hashtag1","hashtag2"]},{"1351910051":["hashtag1","hashtag2"]},{"1351910132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351910431, 1351910536, 1351910298, 1351910195, 1351910051, 1351910132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.281800985336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:19:32.682420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/07/image_19042025_14_07_45_10373.jpg', '/home/pi/Desktop/images/19042025/14/07/image_19042025_14_07_55_9506.jpg', '/home/pi/Desktop/images/19042025/14/07/image_19042025_14_08_05_10370.jpg', '/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_16_10346.jpg', '/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_25_9507.jpg', '/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_35_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/07/image_19042025_14_07_45_10373.jpg
/home/pi/Desktop/images/19042025/14/07/image_19042025_14_07_55_9506.jpg
/home/pi/Desktop/images/19042025/14/07/image_19042025_14_08_05_10370.jpg
/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_16_10346.jpg
/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_25_9507.jpg
/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_35_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351911801","1351911692","1351911494","1351911590","1351911932","1351911404"],"photo_ids_order":["1351911404","1351911494","1351911590","1351911692","1351911801","1351911932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/379c4f3eee88815a2441b602fb490442.jpg","text":"TemporaryFile(/tmp/multipartBody1949046868437298888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076033140,"filename":"image_19042025_14_08_25_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/19/020f4f207defbc21463bc0483af9e8b3.jpg","text":"TemporaryFile(/tmp/multipartBody4573509430002381709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076033140,"filename":"image_19042025_14_08_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b3fa5a49fcb46e0aa957cb9fb70bb6dc.jpg","text":"TemporaryFile(/tmp/multipartBody3054718619155841915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076033140,"filename":"image_19042025_14_07_55_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7022d7ce133aadd4125ad6e6f1d5985f.jpg","text":"TemporaryFile(/tmp/multipartBody1519119341387268338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076033140,"filename":"image_19042025_14_08_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a0b9389bf2207c4d55f90fe123e132f.jpg","text":"TemporaryFile(/tmp/multipartBody6821584883367373329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076033140,"filename":"image_19042025_14_08_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/19/04d325bb3c5ac6508f40b744937d9d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1027076087605957182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076033140,"filename":"image_19042025_14_07_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351911590","file1":"1351911494","file0":"1351911404","file4":"1351911801","file5":"1351911932","file3":"1351911692"},"map_files_photo_id_array":[{"photo_id":"1351911932","filename":"file5"},{"photo_id":"1351911590","filename":"file2"},{"photo_id":"1351911801","filename":"file4"},{"photo_id":"1351911494","filename":"file1"},{"photo_id":"1351911404","filename":"file0"},{"photo_id":"1351911692","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351911801":["hashtag1","hashtag2"]},{"1351911692":["hashtag1","hashtag2"]},{"1351911494":["hashtag1","hashtag2"]},{"1351911590":["hashtag1","hashtag2"]},{"1351911932":["hashtag1","hashtag2"]},{"1351911404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351911801, 1351911692, 1351911494, 1351911590, 1351911932, 1351911404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.232646465301514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:20:32.986697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_45_9407.jpg', '/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_55_10450.jpg', '/home/pi/Desktop/images/19042025/14/08/image_19042025_14_09_05_9351.jpg', '/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_15_10357.jpg', '/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_25_10384.jpg', '/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_35_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_45_9407.jpg
/home/pi/Desktop/images/19042025/14/08/image_19042025_14_08_55_10450.jpg
/home/pi/Desktop/images/19042025/14/08/image_19042025_14_09_05_9351.jpg
/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_15_10357.jpg
/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_25_10384.jpg
/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_35_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":["1351912821","1351912970","1351912916","1351912873","1351913119","1351913049"],"photo_ids_order":["1351912821","1351912873","1351912916","1351912970","1351913049","1351913119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7344ae125d770c01c68e1c7f9e2afb33.jpg","text":"TemporaryFile(/tmp/multipartBody3571623657551972479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076093443,"filename":"image_19042025_14_08_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14b3a6a76dfd4be3db6d1da3cb866a25.jpg","text":"TemporaryFile(/tmp/multipartBody6316028283161699105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076093443,"filename":"image_19042025_14_09_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/19/c135b491cce2420e3bee0bbdea0bddaf.jpg","text":"TemporaryFile(/tmp/multipartBody9219455052957319336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076093443,"filename":"image_19042025_14_09_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/632220a4c502cc5d7a7837e1261fb43a.jpg","text":"TemporaryFile(/tmp/multipartBody4943296531081574989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076093443,"filename":"image_19042025_14_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/19/3428aff95b5a83aaaf1b9ee5e4cd6e22.jpg","text":"TemporaryFile(/tmp/multipartBody995520716984679539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076093443,"filename":"image_19042025_14_09_35_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f33f4627ec23a58a107c4e48243413d2.jpg","text":"TemporaryFile(/tmp/multipartBody6054308806602336846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076093443,"filename":"image_19042025_14_09_25_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351912916","file1":"1351912873","file0":"1351912821","file4":"1351913049","file5":"1351913119","file3":"1351912970"},"map_files_photo_id_array":[{"photo_id":"1351913119","filename":"file5"},{"photo_id":"1351912916","filename":"file2"},{"photo_id":"1351913049","filename":"file4"},{"photo_id":"1351912873","filename":"file1"},{"photo_id":"1351912821","filename":"file0"},{"photo_id":"1351912970","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351912821":["hashtag1","hashtag2"]},{"1351912970":["hashtag1","hashtag2"]},{"1351912916":["hashtag1","hashtag2"]},{"1351912873":["hashtag1","hashtag2"]},{"1351913119":["hashtag1","hashtag2"]},{"1351913049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351912821, 1351912970, 1351912916, 1351912873, 1351913119, 1351913049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.135887145996094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:21:32.206734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_45_10376.jpg', '/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_55_9417.jpg', '/home/pi/Desktop/images/19042025/14/09/image_19042025_14_10_05_10435.jpg', '/home/pi/Desktop/images/19042025/14/10/image_19042025_14_10_15_10345.jpg', '/home/pi/Desktop/images/19042025/14/10/image_19042025_14_10_35_10361.jpg', '/home/pi/Desktop/images/19042025/14/10/image_19042025_14_10_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_45_10376.jpg
/home/pi/Desktop/images/19042025/14/09/image_19042025_14_09_55_9417.jpg
/home/pi/Desktop/images/19042025/14/09/image_19042025_14_10_05_10435.jpg
/home/pi/Desktop/images/19042025/14/10/image_19042025_14_10_15_10345.jpg
/home/pi/Desktop/images/19042025/14/10/image_19042025_14_10_35_10361.jpg
/home/pi/Desktop/images/19042025/14/10/image_19042025_14_10_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":["1351913489","1351913587","1351913383","1351913539","1351913436","1351913637"],"photo_ids_order":["1351913383","1351913436","1351913489","1351913539","1351913587","1351913637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c771bf96bf0f007ace5b26024f0fd03.jpg","text":"TemporaryFile(/tmp/multipartBody2134000676897836648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076152689,"filename":"image_19042025_14_10_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/facb37470b3234757940904b1008c6c3.jpg","text":"TemporaryFile(/tmp/multipartBody8401253612144932378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076152689,"filename":"image_19042025_14_10_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/236051217589b6c3ef2b80328b706c11.jpg","text":"TemporaryFile(/tmp/multipartBody1355323931494263117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076152689,"filename":"image_19042025_14_09_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/19/c5759d7b22383fd3a86a0b1d011fe2d3.jpg","text":"TemporaryFile(/tmp/multipartBody4494073097329383491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076152689,"filename":"image_19042025_14_10_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/19/bd334a06719d1dc0f0921267e208a7f1.jpg","text":"TemporaryFile(/tmp/multipartBody998291930974368089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076152689,"filename":"image_19042025_14_09_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/19/b89f9c0497ebc0b1c46c138802a1a729.jpg","text":"TemporaryFile(/tmp/multipartBody707091744319074565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076152689,"filename":"image_19042025_14_10_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351913489","file1":"1351913436","file0":"1351913383","file4":"1351913587","file5":"1351913637","file3":"1351913539"},"map_files_photo_id_array":[{"photo_id":"1351913637","filename":"file5"},{"photo_id":"1351913489","filename":"file2"},{"photo_id":"1351913587","filename":"file4"},{"photo_id":"1351913436","filename":"file1"},{"photo_id":"1351913383","filename":"file0"},{"photo_id":"1351913539","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351913489":["hashtag1","hashtag2"]},{"1351913587":["hashtag1","hashtag2"]},{"1351913383":["hashtag1","hashtag2"]},{"1351913539":["hashtag1","hashtag2"]},{"1351913436":["hashtag1","hashtag2"]},{"1351913637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351913489, 1351913587, 1351913383, 1351913539, 1351913436, 1351913637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.955017566680908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:22:32.356074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/10/image_19042025_14_10_55_9439.jpg', '/home/pi/Desktop/images/19042025/14/10/image_19042025_14_11_05_10363.jpg', '/home/pi/Desktop/images/19042025/14/11/image_19042025_14_11_15_9481.jpg', '/home/pi/Desktop/images/19042025/14/11/image_19042025_14_11_45_9385.jpg', '/home/pi/Desktop/images/19042025/14/12/image_19042025_14_12_15_10374.jpg', '/home/pi/Desktop/images/19042025/14/12/image_19042025_14_13_05_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/10/image_19042025_14_10_55_9439.jpg
/home/pi/Desktop/images/19042025/14/10/image_19042025_14_11_05_10363.jpg
/home/pi/Desktop/images/19042025/14/11/image_19042025_14_11_15_9481.jpg
/home/pi/Desktop/images/19042025/14/11/image_19042025_14_11_45_9385.jpg
/home/pi/Desktop/images/19042025/14/12/image_19042025_14_12_15_10374.jpg
/home/pi/Desktop/images/19042025/14/12/image_19042025_14_13_05_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":["1351914551","1351914431","1351914332","1351914608","1351914669","1351914210"],"photo_ids_order":["1351914210","1351914332","1351914431","1351914551","1351914608","1351914669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29f712e43e983553729cefff398551b6.jpg","text":"TemporaryFile(/tmp/multipartBody3389551294411509543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076212856,"filename":"image_19042025_14_11_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/19/3fb130c804c52b483d7b742bec9e6d45.jpg","text":"TemporaryFile(/tmp/multipartBody962254984311504329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076212856,"filename":"image_19042025_14_11_15_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/19/479f32edb136ca03b57e4253f6092b29.jpg","text":"TemporaryFile(/tmp/multipartBody2198480066745421651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076212856,"filename":"image_19042025_14_11_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/19/7dd2c784518785f42e9334a7496f3b35.jpg","text":"TemporaryFile(/tmp/multipartBody8827862191366655766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076212856,"filename":"image_19042025_14_12_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/19/936a3b8cd39da45b3f374c1e9687d31a.jpg","text":"TemporaryFile(/tmp/multipartBody3664288585766395288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076212856,"filename":"image_19042025_14_13_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d994e573f349badd0bc3dcceab788e0.jpg","text":"TemporaryFile(/tmp/multipartBody5217038026718414261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076212856,"filename":"image_19042025_14_10_55_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351914431","file1":"1351914332","file0":"1351914210","file4":"1351914608","file5":"1351914669","file3":"1351914551"},"map_files_photo_id_array":[{"photo_id":"1351914669","filename":"file5"},{"photo_id":"1351914431","filename":"file2"},{"photo_id":"1351914608","filename":"file4"},{"photo_id":"1351914332","filename":"file1"},{"photo_id":"1351914210","filename":"file0"},{"photo_id":"1351914551","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351914551":["hashtag1","hashtag2"]},{"1351914431":["hashtag1","hashtag2"]},{"1351914332":["hashtag1","hashtag2"]},{"1351914608":["hashtag1","hashtag2"]},{"1351914669":["hashtag1","hashtag2"]},{"1351914210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351914551, 1351914431, 1351914332, 1351914608, 1351914669, 1351914210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.091387033462524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:23:32.658612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/13/image_19042025_14_13_15_10370.jpg', '/home/pi/Desktop/images/19042025/14/13/image_19042025_14_13_56_10462.jpg', '/home/pi/Desktop/images/19042025/14/13/image_19042025_14_14_05_9454.jpg', '/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_15_10459.jpg', '/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_25_9497.jpg', '/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_35_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/13/image_19042025_14_13_15_10370.jpg
/home/pi/Desktop/images/19042025/14/13/image_19042025_14_13_56_10462.jpg
/home/pi/Desktop/images/19042025/14/13/image_19042025_14_14_05_9454.jpg
/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_15_10459.jpg
/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_25_9497.jpg
/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_35_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351915153","1351915251","1351915227","1351915203","1351915277","1351915178"],"photo_ids_order":["1351915153","1351915178","1351915203","1351915227","1351915251","1351915277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d5a68d5440041f2137086a19e28d5730.jpg","text":"TemporaryFile(/tmp/multipartBody731096326378825800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076273121,"filename":"image_19042025_14_13_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/19/c426772ff82a88e543af88a44ae4f1ba.jpg","text":"TemporaryFile(/tmp/multipartBody4755610988089239493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076273121,"filename":"image_19042025_14_14_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/19/48c8a66a327dcf582e2d9980100332e9.jpg","text":"TemporaryFile(/tmp/multipartBody5948936255194895463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076273121,"filename":"image_19042025_14_14_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/19/7412279ad1d8ffc4af9c50b79411b0e2.jpg","text":"TemporaryFile(/tmp/multipartBody2757887845600354633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076273121,"filename":"image_19042025_14_14_05_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6e29747061acc81bb9d923a71885df77.jpg","text":"TemporaryFile(/tmp/multipartBody2176259001439735962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076273121,"filename":"image_19042025_14_14_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b63d0bad530d3815fec9d6944dec4ec8.jpg","text":"TemporaryFile(/tmp/multipartBody227724039884118890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076273121,"filename":"image_19042025_14_13_56_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351915203","file1":"1351915178","file0":"1351915153","file4":"1351915251","file5":"1351915277","file3":"1351915227"},"map_files_photo_id_array":[{"photo_id":"1351915277","filename":"file5"},{"photo_id":"1351915203","filename":"file2"},{"photo_id":"1351915251","filename":"file4"},{"photo_id":"1351915178","filename":"file1"},{"photo_id":"1351915153","filename":"file0"},{"photo_id":"1351915227","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351915153":["hashtag1","hashtag2"]},{"1351915251":["hashtag1","hashtag2"]},{"1351915227":["hashtag1","hashtag2"]},{"1351915203":["hashtag1","hashtag2"]},{"1351915277":["hashtag1","hashtag2"]},{"1351915178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351915153, 1351915251, 1351915227, 1351915203, 1351915277, 1351915178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21233534812927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:24:32.855582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_45_9356.jpg', '/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_55_10420.jpg', '/home/pi/Desktop/images/19042025/14/14/image_19042025_14_15_05_10357.jpg', '/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_15_9418.jpg', '/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_25_10354.jpg', '/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_35_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_45_9356.jpg
/home/pi/Desktop/images/19042025/14/14/image_19042025_14_14_55_10420.jpg
/home/pi/Desktop/images/19042025/14/14/image_19042025_14_15_05_10357.jpg
/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_15_9418.jpg
/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_25_10354.jpg
/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_35_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351915564","1351915567","1351915519","1351915497","1351915539","1351915499"],"photo_ids_order":["1351915497","1351915499","1351915519","1351915539","1351915564","1351915567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9783e9293251433f0f3fdae84b103e3.jpg","text":"TemporaryFile(/tmp/multipartBody8120575707923570878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076333315,"filename":"image_19042025_14_15_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/19/888ae2a0dcc15b9fdad214c780c0b867.jpg","text":"TemporaryFile(/tmp/multipartBody3237631586751147803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076333315,"filename":"image_19042025_14_15_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/94afccab422554f5708cd09070f51425.jpg","text":"TemporaryFile(/tmp/multipartBody5570582391785871741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076333315,"filename":"image_19042025_14_15_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/19/28106056838137d2310accf86629b72e.jpg","text":"TemporaryFile(/tmp/multipartBody9125385983699997243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076333315,"filename":"image_19042025_14_14_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/19/73e3a2ba1fa4f934221a2d430406334a.jpg","text":"TemporaryFile(/tmp/multipartBody8338813315842026416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076333315,"filename":"image_19042025_14_15_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/19/df7ab02976116c94aab83cce5e13b640.jpg","text":"TemporaryFile(/tmp/multipartBody2771415106032825835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076333315,"filename":"image_19042025_14_14_55_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351915519","file1":"1351915499","file0":"1351915497","file4":"1351915564","file5":"1351915567","file3":"1351915539"},"map_files_photo_id_array":[{"photo_id":"1351915567","filename":"file5"},{"photo_id":"1351915519","filename":"file2"},{"photo_id":"1351915564","filename":"file4"},{"photo_id":"1351915499","filename":"file1"},{"photo_id":"1351915497","filename":"file0"},{"photo_id":"1351915539","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351915564":["hashtag1","hashtag2"]},{"1351915567":["hashtag1","hashtag2"]},{"1351915519":["hashtag1","hashtag2"]},{"1351915497":["hashtag1","hashtag2"]},{"1351915539":["hashtag1","hashtag2"]},{"1351915499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351915564, 1351915567, 1351915519, 1351915497, 1351915539, 1351915499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.505000352859497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:25:33.024990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_45_10358.jpg', '/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_55_10403.jpg', '/home/pi/Desktop/images/19042025/14/15/image_19042025_14_16_05_9477.jpg', '/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_15_10360.jpg', '/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_25_9367.jpg', '/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_45_10358.jpg
/home/pi/Desktop/images/19042025/14/15/image_19042025_14_15_55_10403.jpg
/home/pi/Desktop/images/19042025/14/15/image_19042025_14_16_05_9477.jpg
/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_15_10360.jpg
/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_25_9367.jpg
/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_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":["1351915837","1351915887","1351915755","1351915991","1351915784","1351915937"],"photo_ids_order":["1351915755","1351915784","1351915837","1351915887","1351915937","1351915991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b40a6ee64b094715e2eb7529854e2977.jpg","text":"TemporaryFile(/tmp/multipartBody2023726614735099060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076393484,"filename":"image_19042025_14_16_05_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ceacd51471e97a397356f067ed7b2b9.jpg","text":"TemporaryFile(/tmp/multipartBody359036712689923710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076393484,"filename":"image_19042025_14_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/19/a60dfd7fd67c7a93e7f54635c15fcb1f.jpg","text":"TemporaryFile(/tmp/multipartBody4315540767875855908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076393484,"filename":"image_19042025_14_15_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/19/4d10d6e640148977ea93da2972b0f23f.jpg","text":"TemporaryFile(/tmp/multipartBody1956025693224911513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076393484,"filename":"image_19042025_14_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/19/590a26bae1a25ae63abd06131ef72541.jpg","text":"TemporaryFile(/tmp/multipartBody78329357501121245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076393484,"filename":"image_19042025_14_15_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/19/d8f71973f0e6c5511c7709625ab91d79.jpg","text":"TemporaryFile(/tmp/multipartBody2557047334505008589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076393484,"filename":"image_19042025_14_16_25_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351915837","file1":"1351915784","file0":"1351915755","file4":"1351915937","file5":"1351915991","file3":"1351915887"},"map_files_photo_id_array":[{"photo_id":"1351915991","filename":"file5"},{"photo_id":"1351915837","filename":"file2"},{"photo_id":"1351915937","filename":"file4"},{"photo_id":"1351915784","filename":"file1"},{"photo_id":"1351915755","filename":"file0"},{"photo_id":"1351915887","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351915837":["hashtag1","hashtag2"]},{"1351915887":["hashtag1","hashtag2"]},{"1351915755":["hashtag1","hashtag2"]},{"1351915991":["hashtag1","hashtag2"]},{"1351915784":["hashtag1","hashtag2"]},{"1351915937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351915837, 1351915887, 1351915755, 1351915991, 1351915784, 1351915937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.439141511917114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:26:32.287946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_45_10368.jpg', '/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_55_9373.jpg', '/home/pi/Desktop/images/19042025/14/16/image_19042025_14_17_05_10356.jpg', '/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_15_10346.jpg', '/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_25_9481.jpg', '/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_35_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_45_10368.jpg
/home/pi/Desktop/images/19042025/14/16/image_19042025_14_16_55_9373.jpg
/home/pi/Desktop/images/19042025/14/16/image_19042025_14_17_05_10356.jpg
/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_15_10346.jpg
/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_25_9481.jpg
/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_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":["1351916539","1351916602","1351916352","1351916318","1351916389","1351916458"],"photo_ids_order":["1351916318","1351916352","1351916389","1351916458","1351916539","1351916602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dac4898cf4049d8a41579159d72a62b4.jpg","text":"TemporaryFile(/tmp/multipartBody5661396910637783598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076452760,"filename":"image_19042025_14_17_25_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/19/e7bde4bdc75c9498057b7007b547e270.jpg","text":"TemporaryFile(/tmp/multipartBody3354540961469479836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076452760,"filename":"image_19042025_14_17_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6c9d23965eff864ec567f9bdffada1f2.jpg","text":"TemporaryFile(/tmp/multipartBody1696385279170092364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076452760,"filename":"image_19042025_14_16_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/19/873cd8a40bb327dc9e93910801863b81.jpg","text":"TemporaryFile(/tmp/multipartBody3314908134427122801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076452760,"filename":"image_19042025_14_16_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/19/1a08e459b5853fd6a87ea3522314a6bd.jpg","text":"TemporaryFile(/tmp/multipartBody4162622925439683702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076452760,"filename":"image_19042025_14_17_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/19/ad9e0a5bbc093c4a26d7fec2c505fbb2.jpg","text":"TemporaryFile(/tmp/multipartBody6818962970351996531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076452760,"filename":"image_19042025_14_17_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351916389","file1":"1351916352","file0":"1351916318","file4":"1351916539","file5":"1351916602","file3":"1351916458"},"map_files_photo_id_array":[{"photo_id":"1351916602","filename":"file5"},{"photo_id":"1351916389","filename":"file2"},{"photo_id":"1351916539","filename":"file4"},{"photo_id":"1351916352","filename":"file1"},{"photo_id":"1351916318","filename":"file0"},{"photo_id":"1351916458","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351916539":["hashtag1","hashtag2"]},{"1351916602":["hashtag1","hashtag2"]},{"1351916352":["hashtag1","hashtag2"]},{"1351916318":["hashtag1","hashtag2"]},{"1351916389":["hashtag1","hashtag2"]},{"1351916458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351916539, 1351916602, 1351916352, 1351916318, 1351916389, 1351916458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52999186515808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:27:32.487419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_45_9351.jpg', '/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_55_10485.jpg', '/home/pi/Desktop/images/19042025/14/17/image_19042025_14_18_06_10467.jpg', '/home/pi/Desktop/images/19042025/14/18/image_19042025_14_18_15_9346.jpg', '/home/pi/Desktop/images/19042025/14/18/image_19042025_14_18_25_10354.jpg', '/home/pi/Desktop/images/19042025/14/18/image_19042025_14_18_35_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_45_9351.jpg
/home/pi/Desktop/images/19042025/14/17/image_19042025_14_17_55_10485.jpg
/home/pi/Desktop/images/19042025/14/17/image_19042025_14_18_06_10467.jpg
/home/pi/Desktop/images/19042025/14/18/image_19042025_14_18_15_9346.jpg
/home/pi/Desktop/images/19042025/14/18/image_19042025_14_18_25_10354.jpg
/home/pi/Desktop/images/19042025/14/18/image_19042025_14_18_35_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351917081","1351917063","1351917021","1351917102","1351917104","1351917100"],"photo_ids_order":["1351917021","1351917063","1351917081","1351917100","1351917102","1351917104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e57cf9200758934302f29836b271f0bf.jpg","text":"TemporaryFile(/tmp/multipartBody6480042109441932846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076513927,"filename":"image_19042025_14_18_06_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35bf53f6a2a357904e6227179f27b66e.jpg","text":"TemporaryFile(/tmp/multipartBody2685683132049707058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076513927,"filename":"image_19042025_14_17_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/19/fb0c1be03e04b0654bf6b5d69cc97221.jpg","text":"TemporaryFile(/tmp/multipartBody4950388378148989807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076513927,"filename":"image_19042025_14_17_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/19/9889b9eba4fd0771b1ed8fac3b1bbb70.jpg","text":"TemporaryFile(/tmp/multipartBody5347795621740856271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076513927,"filename":"image_19042025_14_18_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/60ececd899bf0d19d7348892168bff58.jpg","text":"TemporaryFile(/tmp/multipartBody3752034690948106886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076513927,"filename":"image_19042025_14_18_35_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/714bfb1dee6e62a722e85dd553d2a4d8.jpg","text":"TemporaryFile(/tmp/multipartBody4042145661267235722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076513927,"filename":"image_19042025_14_18_15_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351917081","file1":"1351917063","file0":"1351917021","file4":"1351917102","file5":"1351917104","file3":"1351917100"},"map_files_photo_id_array":[{"photo_id":"1351917104","filename":"file5"},{"photo_id":"1351917081","filename":"file2"},{"photo_id":"1351917102","filename":"file4"},{"photo_id":"1351917063","filename":"file1"},{"photo_id":"1351917021","filename":"file0"},{"photo_id":"1351917100","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351917081":["hashtag1","hashtag2"]},{"1351917063":["hashtag1","hashtag2"]},{"1351917021":["hashtag1","hashtag2"]},{"1351917102":["hashtag1","hashtag2"]},{"1351917104":["hashtag1","hashtag2"]},{"1351917100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351917081, 1351917063, 1351917021, 1351917102, 1351917104, 1351917100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.485243797302246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:28:33.925214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/18/image_19042025_14_18_45_10466.jpg', '/home/pi/Desktop/images/19042025/14/18/image_19042025_14_19_05_9367.jpg', '/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_15_10379.jpg', '/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_25_9432.jpg', '/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_35_10442.jpg', '/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_46_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/18/image_19042025_14_18_45_10466.jpg
/home/pi/Desktop/images/19042025/14/18/image_19042025_14_19_05_9367.jpg
/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_15_10379.jpg
/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_25_9432.jpg
/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_35_10442.jpg
/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_46_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351917124","1351917120","1351917158","1351917122","1351917131","1351917127"],"photo_ids_order":["1351917120","1351917122","1351917124","1351917127","1351917131","1351917158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14b2669486a9de521cf5c85bbbd84a7c.jpg","text":"TemporaryFile(/tmp/multipartBody868381428562710370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076574415,"filename":"image_19042025_14_19_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/19/c9d7f1fe3d8448555b4e69cc523559e9.jpg","text":"TemporaryFile(/tmp/multipartBody4242413013545964581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076574415,"filename":"image_19042025_14_18_45_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/092fa7183c352530b9d69ad30debed4a.jpg","text":"TemporaryFile(/tmp/multipartBody6341751721826104734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076574415,"filename":"image_19042025_14_19_46_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b84739773c06825ce852a0f34392f67a.jpg","text":"TemporaryFile(/tmp/multipartBody4457829562733559009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076574415,"filename":"image_19042025_14_19_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/19/05fa971057c11f2a22afa27e63bea2de.jpg","text":"TemporaryFile(/tmp/multipartBody1467683941273855841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076574415,"filename":"image_19042025_14_19_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/19/92c873ec46a793fc84bbfcca4f378740.jpg","text":"TemporaryFile(/tmp/multipartBody734280710640030581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076574415,"filename":"image_19042025_14_19_25_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351917124","file1":"1351917122","file0":"1351917120","file4":"1351917131","file5":"1351917158","file3":"1351917127"},"map_files_photo_id_array":[{"photo_id":"1351917158","filename":"file5"},{"photo_id":"1351917124","filename":"file2"},{"photo_id":"1351917131","filename":"file4"},{"photo_id":"1351917122","filename":"file1"},{"photo_id":"1351917120","filename":"file0"},{"photo_id":"1351917127","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351917124":["hashtag1","hashtag2"]},{"1351917120":["hashtag1","hashtag2"]},{"1351917158":["hashtag1","hashtag2"]},{"1351917122":["hashtag1","hashtag2"]},{"1351917131":["hashtag1","hashtag2"]},{"1351917127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351917124, 1351917120, 1351917158, 1351917122, 1351917131, 1351917127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82239842414856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:29:33.076430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_55_9453.jpg', '/home/pi/Desktop/images/19042025/14/19/image_19042025_14_20_05_10359.jpg', '/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_15_9511.jpg', '/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_25_10368.jpg', '/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_36_10356.jpg', '/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_45_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/19/image_19042025_14_19_55_9453.jpg
/home/pi/Desktop/images/19042025/14/19/image_19042025_14_20_05_10359.jpg
/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_15_9511.jpg
/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_25_10368.jpg
/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_36_10356.jpg
/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_45_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":["1351917415","1351917441","1351917386","1351917302","1351917355","1351917328"],"photo_ids_order":["1351917302","1351917328","1351917355","1351917386","1351917415","1351917441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce5aa66f5aeca389849d18da3fa27497.jpg","text":"TemporaryFile(/tmp/multipartBody4797313255531132784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076633539,"filename":"image_19042025_14_20_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/19/d83ac7db20296175666ab48b903fcbe6.jpg","text":"TemporaryFile(/tmp/multipartBody5245186989042165405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076633539,"filename":"image_19042025_14_20_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/19/b63292aef7f4703376c859981ca07f74.jpg","text":"TemporaryFile(/tmp/multipartBody4035929787332360119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076633539,"filename":"image_19042025_14_20_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/19/cf849124cf34f81a8f0bddbb2c665a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2317362020328002353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076633539,"filename":"image_19042025_14_19_55_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/74df390cca1bc16168ba372dc5c8f6c3.jpg","text":"TemporaryFile(/tmp/multipartBody7585216348858560607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076633539,"filename":"image_19042025_14_20_15_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/19/0e31ea656da61834bc8e4519d7c38088.jpg","text":"TemporaryFile(/tmp/multipartBody6445974708124731024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076633539,"filename":"image_19042025_14_20_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351917355","file1":"1351917328","file0":"1351917302","file4":"1351917415","file5":"1351917441","file3":"1351917386"},"map_files_photo_id_array":[{"photo_id":"1351917441","filename":"file5"},{"photo_id":"1351917355","filename":"file2"},{"photo_id":"1351917415","filename":"file4"},{"photo_id":"1351917328","filename":"file1"},{"photo_id":"1351917302","filename":"file0"},{"photo_id":"1351917386","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351917415":["hashtag1","hashtag2"]},{"1351917441":["hashtag1","hashtag2"]},{"1351917386":["hashtag1","hashtag2"]},{"1351917302":["hashtag1","hashtag2"]},{"1351917355":["hashtag1","hashtag2"]},{"1351917328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351917415, 1351917441, 1351917386, 1351917302, 1351917355, 1351917328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.003600597381592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:30:32.209159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_55_10389.jpg', '/home/pi/Desktop/images/19042025/14/20/image_19042025_14_21_05_9349.jpg', '/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_15_10435.jpg', '/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_26_10375.jpg', '/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_35_9371.jpg', '/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/20/image_19042025_14_20_55_10389.jpg
/home/pi/Desktop/images/19042025/14/20/image_19042025_14_21_05_9349.jpg
/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_15_10435.jpg
/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_26_10375.jpg
/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_35_9371.jpg
/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351917779","1351917694","1351917838","1351917751","1351917808","1351917724"],"photo_ids_order":["1351917694","1351917724","1351917751","1351917779","1351917808","1351917838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3404c7ae6188cf8d64f766503fff0519.jpg","text":"TemporaryFile(/tmp/multipartBody647844298038825261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076692687,"filename":"image_19042025_14_21_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3c05c113138b8d038a2966979402c527.jpg","text":"TemporaryFile(/tmp/multipartBody3795499759778641050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076692687,"filename":"image_19042025_14_20_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/19/b5b99c0448298e5c39566cebb8f1a767.jpg","text":"TemporaryFile(/tmp/multipartBody3247988566548666385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076692687,"filename":"image_19042025_14_21_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/49418e18d603d222541d820e7012ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody6562060245190677356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076692687,"filename":"image_19042025_14_21_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/19/06f44d4687ad9b1a808df4ecaab6a1ea.jpg","text":"TemporaryFile(/tmp/multipartBody6592429251168446428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076692687,"filename":"image_19042025_14_21_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34f875a61454b1ca5d1df7bbaabf2820.jpg","text":"TemporaryFile(/tmp/multipartBody8461729993055222900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076692687,"filename":"image_19042025_14_21_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351917751","file1":"1351917724","file0":"1351917694","file4":"1351917808","file5":"1351917838","file3":"1351917779"},"map_files_photo_id_array":[{"photo_id":"1351917838","filename":"file5"},{"photo_id":"1351917751","filename":"file2"},{"photo_id":"1351917808","filename":"file4"},{"photo_id":"1351917724","filename":"file1"},{"photo_id":"1351917694","filename":"file0"},{"photo_id":"1351917779","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351917779":["hashtag1","hashtag2"]},{"1351917694":["hashtag1","hashtag2"]},{"1351917838":["hashtag1","hashtag2"]},{"1351917751":["hashtag1","hashtag2"]},{"1351917808":["hashtag1","hashtag2"]},{"1351917724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351917779, 1351917694, 1351917838, 1351917751, 1351917808, 1351917724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.801342964172363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:31:32.443620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_55_9365.jpg', '/home/pi/Desktop/images/19042025/14/21/image_19042025_14_22_05_10362.jpg', '/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_15_10375.jpg', '/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_25_9510.jpg', '/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_35_10374.jpg', '/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_45_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/21/image_19042025_14_21_55_9365.jpg
/home/pi/Desktop/images/19042025/14/21/image_19042025_14_22_05_10362.jpg
/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_15_10375.jpg
/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_25_9510.jpg
/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_35_10374.jpg
/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_45_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351918466","1351918349","1351918310","1351918267","1351918395","1351918437"],"photo_ids_order":["1351918267","1351918310","1351918349","1351918395","1351918437","1351918466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b810cfa09ae58864325e4e27c18d7b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7661891039722811500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076752917,"filename":"image_19042025_14_22_45_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1fa5140c8b10e223c70a15c74e5d279b.jpg","text":"TemporaryFile(/tmp/multipartBody4912357103406081293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076752917,"filename":"image_19042025_14_22_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd88e02d149f836736be3e59e1b0839d.jpg","text":"TemporaryFile(/tmp/multipartBody1190519190261386998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076752917,"filename":"image_19042025_14_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/19/21ab6acb3880a9a1d7dc65ec5eb121e4.jpg","text":"TemporaryFile(/tmp/multipartBody5320219218837917443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076752917,"filename":"image_19042025_14_21_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/19/cf208fd60efbee6fbece52d376de89e2.jpg","text":"TemporaryFile(/tmp/multipartBody1466430409547120021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076752917,"filename":"image_19042025_14_22_25_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/19/f3bd331a0b446afd1e27cc36357b0c53.jpg","text":"TemporaryFile(/tmp/multipartBody6376418953876686859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076752917,"filename":"image_19042025_14_22_35_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351918349","file1":"1351918310","file0":"1351918267","file4":"1351918437","file5":"1351918466","file3":"1351918395"},"map_files_photo_id_array":[{"photo_id":"1351918466","filename":"file5"},{"photo_id":"1351918349","filename":"file2"},{"photo_id":"1351918437","filename":"file4"},{"photo_id":"1351918310","filename":"file1"},{"photo_id":"1351918267","filename":"file0"},{"photo_id":"1351918395","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351918466":["hashtag1","hashtag2"]},{"1351918349":["hashtag1","hashtag2"]},{"1351918310":["hashtag1","hashtag2"]},{"1351918267":["hashtag1","hashtag2"]},{"1351918395":["hashtag1","hashtag2"]},{"1351918437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351918466, 1351918349, 1351918310, 1351918267, 1351918395, 1351918437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30997157096863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:32:32.788981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_55_10409.jpg', '/home/pi/Desktop/images/19042025/14/22/image_19042025_14_23_05_10360.jpg', '/home/pi/Desktop/images/19042025/14/23/image_19042025_14_23_25_10429.jpg', '/home/pi/Desktop/images/19042025/14/23/image_19042025_14_23_45_10370.jpg', '/home/pi/Desktop/images/19042025/14/23/image_19042025_14_24_05_9355.jpg', '/home/pi/Desktop/images/19042025/14/24/image_19042025_14_24_15_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/22/image_19042025_14_22_55_10409.jpg
/home/pi/Desktop/images/19042025/14/22/image_19042025_14_23_05_10360.jpg
/home/pi/Desktop/images/19042025/14/23/image_19042025_14_23_25_10429.jpg
/home/pi/Desktop/images/19042025/14/23/image_19042025_14_23_45_10370.jpg
/home/pi/Desktop/images/19042025/14/23/image_19042025_14_24_05_9355.jpg
/home/pi/Desktop/images/19042025/14/24/image_19042025_14_24_15_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":["1351918880","1351918820","1351918625","1351918771","1351918672","1351918720"],"photo_ids_order":["1351918625","1351918672","1351918720","1351918771","1351918820","1351918880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b9c3ee6dbbb9d3a6d0b3b72b7b8f3da1.jpg","text":"TemporaryFile(/tmp/multipartBody7928735893900731728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076813262,"filename":"image_19042025_14_24_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6344e3067ed7e10732863ec982ee6342.jpg","text":"TemporaryFile(/tmp/multipartBody1885948319665230526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076813262,"filename":"image_19042025_14_24_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/19/7130662030bb2a6eb8ad0fcbf24f0e1f.jpg","text":"TemporaryFile(/tmp/multipartBody745712731833437628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076813262,"filename":"image_19042025_14_22_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c36d1151ffa57162fc73d349c931d3e8.jpg","text":"TemporaryFile(/tmp/multipartBody2957209894371656321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076813262,"filename":"image_19042025_14_23_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/19/760883453b52962a36f1d937f3f2bf1b.jpg","text":"TemporaryFile(/tmp/multipartBody4806205458132175070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076813262,"filename":"image_19042025_14_23_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28dd63971b5958d386e44701732077b0.jpg","text":"TemporaryFile(/tmp/multipartBody1825528283807028534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076813262,"filename":"image_19042025_14_23_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351918720","file1":"1351918672","file0":"1351918625","file4":"1351918820","file5":"1351918880","file3":"1351918771"},"map_files_photo_id_array":[{"photo_id":"1351918880","filename":"file5"},{"photo_id":"1351918720","filename":"file2"},{"photo_id":"1351918820","filename":"file4"},{"photo_id":"1351918672","filename":"file1"},{"photo_id":"1351918625","filename":"file0"},{"photo_id":"1351918771","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351918880":["hashtag1","hashtag2"]},{"1351918820":["hashtag1","hashtag2"]},{"1351918625":["hashtag1","hashtag2"]},{"1351918771":["hashtag1","hashtag2"]},{"1351918672":["hashtag1","hashtag2"]},{"1351918720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351918880, 1351918820, 1351918625, 1351918771, 1351918672, 1351918720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.241207361221313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:33:32.998870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/24/image_19042025_14_24_26_10422.jpg', '/home/pi/Desktop/images/19042025/14/24/image_19042025_14_24_35_9353.jpg', '/home/pi/Desktop/images/19042025/14/24/image_19042025_14_25_05_10369.jpg', '/home/pi/Desktop/images/19042025/14/25/image_19042025_14_25_16_10362.jpg', '/home/pi/Desktop/images/19042025/14/25/image_19042025_14_25_25_9371.jpg', '/home/pi/Desktop/images/19042025/14/25/image_19042025_14_25_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/24/image_19042025_14_24_26_10422.jpg
/home/pi/Desktop/images/19042025/14/24/image_19042025_14_24_35_9353.jpg
/home/pi/Desktop/images/19042025/14/24/image_19042025_14_25_05_10369.jpg
/home/pi/Desktop/images/19042025/14/25/image_19042025_14_25_16_10362.jpg
/home/pi/Desktop/images/19042025/14/25/image_19042025_14_25_25_9371.jpg
/home/pi/Desktop/images/19042025/14/25/image_19042025_14_25_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351919377","1351919391","1351919385","1351919394","1351919388","1351919352"],"photo_ids_order":["1351919352","1351919377","1351919385","1351919388","1351919391","1351919394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/21de86f85044d6ae117e8f906049c863.jpg","text":"TemporaryFile(/tmp/multipartBody3173937302375620498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076873459,"filename":"image_19042025_14_24_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/19/7d55e77a86e684be6e2c94ccd364c088.jpg","text":"TemporaryFile(/tmp/multipartBody4125650128812887339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076873459,"filename":"image_19042025_14_25_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/19/317dbe81c8d9ccc70570a28a4e4b0c87.jpg","text":"TemporaryFile(/tmp/multipartBody1533952549310910881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076873459,"filename":"image_19042025_14_25_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fe122a7a7d206592ab05a8a5d185069c.jpg","text":"TemporaryFile(/tmp/multipartBody8540892771666690006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076873459,"filename":"image_19042025_14_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/19/a0cdb24c4af22e4cb689f2fa342a3352.jpg","text":"TemporaryFile(/tmp/multipartBody4057798409116930789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076873459,"filename":"image_19042025_14_25_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/19/bb93df5fcfa511b534b2d7cd59b73409.jpg","text":"TemporaryFile(/tmp/multipartBody6767442894989017824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076873459,"filename":"image_19042025_14_24_26_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351919385","file1":"1351919377","file0":"1351919352","file4":"1351919391","file5":"1351919394","file3":"1351919388"},"map_files_photo_id_array":[{"photo_id":"1351919394","filename":"file5"},{"photo_id":"1351919385","filename":"file2"},{"photo_id":"1351919391","filename":"file4"},{"photo_id":"1351919377","filename":"file1"},{"photo_id":"1351919352","filename":"file0"},{"photo_id":"1351919388","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351919377":["hashtag1","hashtag2"]},{"1351919391":["hashtag1","hashtag2"]},{"1351919385":["hashtag1","hashtag2"]},{"1351919394":["hashtag1","hashtag2"]},{"1351919388":["hashtag1","hashtag2"]},{"1351919352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351919377, 1351919391, 1351919385, 1351919394, 1351919388, 1351919352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.02453064918518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:34:32.277948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/25/image_19042025_14_25_45_9462.jpg', '/home/pi/Desktop/images/19042025/14/25/image_19042025_14_26_06_10353.jpg', '/home/pi/Desktop/images/19042025/14/26/image_19042025_14_26_15_9421.jpg', '/home/pi/Desktop/images/19042025/14/26/image_19042025_14_26_35_9348.jpg', '/home/pi/Desktop/images/19042025/14/26/image_19042025_14_26_55_9455.jpg', '/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/25/image_19042025_14_25_45_9462.jpg
/home/pi/Desktop/images/19042025/14/25/image_19042025_14_26_06_10353.jpg
/home/pi/Desktop/images/19042025/14/26/image_19042025_14_26_15_9421.jpg
/home/pi/Desktop/images/19042025/14/26/image_19042025_14_26_35_9348.jpg
/home/pi/Desktop/images/19042025/14/26/image_19042025_14_26_55_9455.jpg
/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351919582","1351919762","1351919726","1351919638","1351919757","1351919688"],"photo_ids_order":["1351919582","1351919638","1351919688","1351919726","1351919757","1351919762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2bc170387a5c5587e20a8bcb66fd2b12.jpg","text":"TemporaryFile(/tmp/multipartBody1735836051133526139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076932757,"filename":"image_19042025_14_25_45_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d60cacaadcc404a0ac0f6558de9546e0.jpg","text":"TemporaryFile(/tmp/multipartBody5194448018397788952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076932757,"filename":"image_19042025_14_27_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cf78171dcf01937eea2df18a5fe1c40.jpg","text":"TemporaryFile(/tmp/multipartBody7773615401250307124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076932757,"filename":"image_19042025_14_26_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/941275302f2bb1718f3fd50cd3b50f8b.jpg","text":"TemporaryFile(/tmp/multipartBody4701390780215227121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076932757,"filename":"image_19042025_14_26_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c1aaea1c3aa19bc997d80de407dff6c5.jpg","text":"TemporaryFile(/tmp/multipartBody7814639219654697482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076932757,"filename":"image_19042025_14_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/19/4243e7883feff2229e13b9cc4985f077.jpg","text":"TemporaryFile(/tmp/multipartBody47097219681775905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076932757,"filename":"image_19042025_14_26_15_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351919688","file1":"1351919638","file0":"1351919582","file4":"1351919757","file5":"1351919762","file3":"1351919726"},"map_files_photo_id_array":[{"photo_id":"1351919762","filename":"file5"},{"photo_id":"1351919688","filename":"file2"},{"photo_id":"1351919757","filename":"file4"},{"photo_id":"1351919638","filename":"file1"},{"photo_id":"1351919582","filename":"file0"},{"photo_id":"1351919726","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351919582":["hashtag1","hashtag2"]},{"1351919762":["hashtag1","hashtag2"]},{"1351919726":["hashtag1","hashtag2"]},{"1351919638":["hashtag1","hashtag2"]},{"1351919757":["hashtag1","hashtag2"]},{"1351919688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351919582, 1351919762, 1351919726, 1351919638, 1351919757, 1351919688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.353885650634766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:35:32.568591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_25_9372.jpg', '/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_35_10360.jpg', '/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_45_10366.jpg', '/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_55_9494.jpg', '/home/pi/Desktop/images/19042025/14/27/image_19042025_14_28_05_10363.jpg', '/home/pi/Desktop/images/19042025/14/28/image_19042025_14_28_15_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_25_9372.jpg
/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_35_10360.jpg
/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_45_10366.jpg
/home/pi/Desktop/images/19042025/14/27/image_19042025_14_27_55_9494.jpg
/home/pi/Desktop/images/19042025/14/27/image_19042025_14_28_05_10363.jpg
/home/pi/Desktop/images/19042025/14/28/image_19042025_14_28_15_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351920555","1351919969","1351920308","1351920781","1351920058","1351921000"],"photo_ids_order":["1351919969","1351920058","1351920308","1351920555","1351920781","1351921000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac3ad821820cdf2c7020d6c4b429ea11.jpg","text":"TemporaryFile(/tmp/multipartBody2890815937029040550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076993040,"filename":"image_19042025_14_27_55_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/19/4aa02ff600335e820d1a41c87965caf6.jpg","text":"TemporaryFile(/tmp/multipartBody3691580023921888011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076993040,"filename":"image_19042025_14_27_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/19/b816d4c5c631d80a478229896a52a733.jpg","text":"TemporaryFile(/tmp/multipartBody7434337199991764521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076993040,"filename":"image_19042025_14_27_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4f13161059d09876861f1b42a268823.jpg","text":"TemporaryFile(/tmp/multipartBody2567097358357181721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076993040,"filename":"image_19042025_14_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/19/619b37c624fd6cdb30e718c223d9c4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7585034980352682812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076993040,"filename":"image_19042025_14_27_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/19/0331a82449e2b74d3dae3660d1f14b8a.jpg","text":"TemporaryFile(/tmp/multipartBody8203934453601480570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745076993040,"filename":"image_19042025_14_28_15_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351920308","file1":"1351920058","file0":"1351919969","file4":"1351920781","file5":"1351921000","file3":"1351920555"},"map_files_photo_id_array":[{"photo_id":"1351921000","filename":"file5"},{"photo_id":"1351920308","filename":"file2"},{"photo_id":"1351920781","filename":"file4"},{"photo_id":"1351920058","filename":"file1"},{"photo_id":"1351919969","filename":"file0"},{"photo_id":"1351920555","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351920555":["hashtag1","hashtag2"]},{"1351919969":["hashtag1","hashtag2"]},{"1351920308":["hashtag1","hashtag2"]},{"1351920781":["hashtag1","hashtag2"]},{"1351920058":["hashtag1","hashtag2"]},{"1351921000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351920555, 1351919969, 1351920308, 1351920781, 1351920058, 1351921000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.689525842666626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:36:32.661364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/28/image_19042025_14_28_35_10349.jpg', '/home/pi/Desktop/images/19042025/14/28/image_19042025_14_28_45_9473.jpg', '/home/pi/Desktop/images/19042025/14/28/image_19042025_14_28_55_10385.jpg', '/home/pi/Desktop/images/19042025/14/28/image_19042025_14_29_06_10376.jpg', '/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_15_9440.jpg', '/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/28/image_19042025_14_28_35_10349.jpg
/home/pi/Desktop/images/19042025/14/28/image_19042025_14_28_45_9473.jpg
/home/pi/Desktop/images/19042025/14/28/image_19042025_14_28_55_10385.jpg
/home/pi/Desktop/images/19042025/14/28/image_19042025_14_29_06_10376.jpg
/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_15_9440.jpg
/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_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":["1351921625","1351921690","1351921663","1351921570","1351921716","1351921598"],"photo_ids_order":["1351921570","1351921598","1351921625","1351921663","1351921690","1351921716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4196c9a4177c92d2906ee49e4d009cc.jpg","text":"TemporaryFile(/tmp/multipartBody728818381728548536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077053123,"filename":"image_19042025_14_28_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba23a1b8eb801d8d3b061f0abc64fcee.jpg","text":"TemporaryFile(/tmp/multipartBody3078335167870438121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077053123,"filename":"image_19042025_14_29_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/19/caf905c6ef57ac0a48dcd27792ed44c7.jpg","text":"TemporaryFile(/tmp/multipartBody2174187253682095405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077053123,"filename":"image_19042025_14_29_06_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/45687baa160fbf92d3e275a47e6014dc.jpg","text":"TemporaryFile(/tmp/multipartBody4327624507187316187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077053123,"filename":"image_19042025_14_28_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/19/4c6261b3920d5a1534f6d67067b4bc2c.jpg","text":"TemporaryFile(/tmp/multipartBody2749833409820871584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077053123,"filename":"image_19042025_14_29_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/19/f9975ff20003c7429a72b458cbda3a75.jpg","text":"TemporaryFile(/tmp/multipartBody1462104950607275541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077053123,"filename":"image_19042025_14_28_45_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351921625","file1":"1351921598","file0":"1351921570","file4":"1351921690","file5":"1351921716","file3":"1351921663"},"map_files_photo_id_array":[{"photo_id":"1351921716","filename":"file5"},{"photo_id":"1351921625","filename":"file2"},{"photo_id":"1351921690","filename":"file4"},{"photo_id":"1351921598","filename":"file1"},{"photo_id":"1351921570","filename":"file0"},{"photo_id":"1351921663","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351921625":["hashtag1","hashtag2"]},{"1351921690":["hashtag1","hashtag2"]},{"1351921663":["hashtag1","hashtag2"]},{"1351921570":["hashtag1","hashtag2"]},{"1351921716":["hashtag1","hashtag2"]},{"1351921598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351921625, 1351921690, 1351921663, 1351921570, 1351921716, 1351921598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03587603569031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:37:32.941104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_35_9429.jpg', '/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_45_10369.jpg', '/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_56_10399.jpg', '/home/pi/Desktop/images/19042025/14/29/image_19042025_14_30_05_9333.jpg', '/home/pi/Desktop/images/19042025/14/30/image_19042025_14_30_15_10354.jpg', '/home/pi/Desktop/images/19042025/14/30/image_19042025_14_30_25_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_35_9429.jpg
/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_45_10369.jpg
/home/pi/Desktop/images/19042025/14/29/image_19042025_14_29_56_10399.jpg
/home/pi/Desktop/images/19042025/14/29/image_19042025_14_30_05_9333.jpg
/home/pi/Desktop/images/19042025/14/30/image_19042025_14_30_15_10354.jpg
/home/pi/Desktop/images/19042025/14/30/image_19042025_14_30_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":["1351922155","1351921969","1351922026","1351922277","1351922087","1351922057"],"photo_ids_order":["1351921969","1351922026","1351922057","1351922087","1351922155","1351922277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ab01b7c677098b67d5c765fe93c09d8.jpg","text":"TemporaryFile(/tmp/multipartBody1903962610974623561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077113410,"filename":"image_19042025_14_30_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/19/55259d704b4263ae9322bab6961f30d1.jpg","text":"TemporaryFile(/tmp/multipartBody3778037499831228662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077113410,"filename":"image_19042025_14_29_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/19/2355fc91e5ee1ef80393dd5c29fe447a.jpg","text":"TemporaryFile(/tmp/multipartBody4057563474499737262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077113410,"filename":"image_19042025_14_29_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/19/6461b9de56ef907d0f14a482400cec42.jpg","text":"TemporaryFile(/tmp/multipartBody6480012179615332683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077113410,"filename":"image_19042025_14_30_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/19/3a37e6bd7f710c07aca25642cddfd2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3634670838692312489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077113410,"filename":"image_19042025_14_30_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/19/75b2062490b7e554fa3bc4a527c1ec8d.jpg","text":"TemporaryFile(/tmp/multipartBody3511106198931825277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077113410,"filename":"image_19042025_14_29_56_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351922057","file1":"1351922026","file0":"1351921969","file4":"1351922155","file5":"1351922277","file3":"1351922087"},"map_files_photo_id_array":[{"photo_id":"1351922277","filename":"file5"},{"photo_id":"1351922057","filename":"file2"},{"photo_id":"1351922155","filename":"file4"},{"photo_id":"1351922026","filename":"file1"},{"photo_id":"1351921969","filename":"file0"},{"photo_id":"1351922087","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351922155":["hashtag1","hashtag2"]},{"1351921969":["hashtag1","hashtag2"]},{"1351922026":["hashtag1","hashtag2"]},{"1351922277":["hashtag1","hashtag2"]},{"1351922087":["hashtag1","hashtag2"]},{"1351922057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351922155, 1351921969, 1351922026, 1351922277, 1351922087, 1351922057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.5000057220459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:38:32.229794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/30/image_19042025_14_30_35_10371.jpg', '/home/pi/Desktop/images/19042025/14/30/image_19042025_14_30_45_10371.jpg', '/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_15_9355.jpg', '/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_25_10471.jpg', '/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_36_10424.jpg', '/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_45_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/30/image_19042025_14_30_35_10371.jpg
/home/pi/Desktop/images/19042025/14/30/image_19042025_14_30_45_10371.jpg
/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_15_9355.jpg
/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_25_10471.jpg
/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_36_10424.jpg
/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_45_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":["1351923238","1351923040","1351922986","1351922872","1351923187","1351922921"],"photo_ids_order":["1351922872","1351922921","1351922986","1351923040","1351923187","1351923238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae6fc4e113c25c6c8a20ef76805f95ad.jpg","text":"TemporaryFile(/tmp/multipartBody3851540544936816575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077172691,"filename":"image_19042025_14_31_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/afd80a039fa4d0446c31b9e88f0b3acc.jpg","text":"TemporaryFile(/tmp/multipartBody8164443607314781651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077172691,"filename":"image_19042025_14_31_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/19/5673f6b7670911d81922cacb91d137f5.jpg","text":"TemporaryFile(/tmp/multipartBody5957897539145599884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077172691,"filename":"image_19042025_14_31_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/19/774b997df95bf2a91f46826e4474a54e.jpg","text":"TemporaryFile(/tmp/multipartBody3517462544893575027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077172691,"filename":"image_19042025_14_30_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/19/82b19ba53f726dccd7c9a8eb723764f2.jpg","text":"TemporaryFile(/tmp/multipartBody194726435046996954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077172691,"filename":"image_19042025_14_31_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/19/0efc2d4876cd4f8954c1b1d99a09bc88.jpg","text":"TemporaryFile(/tmp/multipartBody6670903450025022900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077172691,"filename":"image_19042025_14_30_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351922986","file1":"1351922921","file0":"1351922872","file4":"1351923187","file5":"1351923238","file3":"1351923040"},"map_files_photo_id_array":[{"photo_id":"1351923238","filename":"file5"},{"photo_id":"1351922986","filename":"file2"},{"photo_id":"1351923187","filename":"file4"},{"photo_id":"1351922921","filename":"file1"},{"photo_id":"1351922872","filename":"file0"},{"photo_id":"1351923040","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351923238":["hashtag1","hashtag2"]},{"1351923040":["hashtag1","hashtag2"]},{"1351922986":["hashtag1","hashtag2"]},{"1351922872":["hashtag1","hashtag2"]},{"1351923187":["hashtag1","hashtag2"]},{"1351922921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351923238, 1351923040, 1351922986, 1351922872, 1351923187, 1351922921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.136109590530396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:39:32.466555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_55_10379.jpg', '/home/pi/Desktop/images/19042025/14/31/image_19042025_14_32_05_9350.jpg', '/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_15_10443.jpg', '/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_26_10369.jpg', '/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_35_9371.jpg', '/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_45_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/31/image_19042025_14_31_55_10379.jpg
/home/pi/Desktop/images/19042025/14/31/image_19042025_14_32_05_9350.jpg
/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_15_10443.jpg
/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_26_10369.jpg
/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_35_9371.jpg
/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_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":["1351923442","1351923464","1351923425","1351923419","1351923413","1351923416"],"photo_ids_order":["1351923413","1351923416","1351923419","1351923425","1351923442","1351923464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3a298950ec4c40118f9de1bb5f5f3e3c.jpg","text":"TemporaryFile(/tmp/multipartBody516838477685586312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077232924,"filename":"image_19042025_14_32_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/72dc5382cabbc5f6b3ababc5534cd73b.jpg","text":"TemporaryFile(/tmp/multipartBody3900017094698716019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077232924,"filename":"image_19042025_14_32_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/19/f2866ca915cdfde758e28ad88397fb6c.jpg","text":"TemporaryFile(/tmp/multipartBody1389915423881355159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077232924,"filename":"image_19042025_14_32_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/19/ad68cd686a308fe1980c5cf2714b00b7.jpg","text":"TemporaryFile(/tmp/multipartBody4990205930756022670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077232924,"filename":"image_19042025_14_32_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7841878994a0c57b155ecd0fb71aa40f.jpg","text":"TemporaryFile(/tmp/multipartBody3349282361980951978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077232924,"filename":"image_19042025_14_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/19/da399d17be301fc0a09967b2b2501654.jpg","text":"TemporaryFile(/tmp/multipartBody2158646911228408538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077232924,"filename":"image_19042025_14_32_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351923419","file1":"1351923416","file0":"1351923413","file4":"1351923442","file5":"1351923464","file3":"1351923425"},"map_files_photo_id_array":[{"photo_id":"1351923464","filename":"file5"},{"photo_id":"1351923419","filename":"file2"},{"photo_id":"1351923442","filename":"file4"},{"photo_id":"1351923416","filename":"file1"},{"photo_id":"1351923413","filename":"file0"},{"photo_id":"1351923425","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351923442":["hashtag1","hashtag2"]},{"1351923464":["hashtag1","hashtag2"]},{"1351923425":["hashtag1","hashtag2"]},{"1351923419":["hashtag1","hashtag2"]},{"1351923413":["hashtag1","hashtag2"]},{"1351923416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351923442, 1351923464, 1351923425, 1351923419, 1351923413, 1351923416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.099732875823975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:40:32.704687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_55_9366.jpg', '/home/pi/Desktop/images/19042025/14/32/image_19042025_14_33_05_10467.jpg', '/home/pi/Desktop/images/19042025/14/33/image_19042025_14_33_15_10368.jpg', '/home/pi/Desktop/images/19042025/14/33/image_19042025_14_33_25_9427.jpg', '/home/pi/Desktop/images/19042025/14/33/image_19042025_14_33_35_10369.jpg', '/home/pi/Desktop/images/19042025/14/33/image_19042025_14_33_45_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/32/image_19042025_14_32_55_9366.jpg
/home/pi/Desktop/images/19042025/14/32/image_19042025_14_33_05_10467.jpg
/home/pi/Desktop/images/19042025/14/33/image_19042025_14_33_15_10368.jpg
/home/pi/Desktop/images/19042025/14/33/image_19042025_14_33_25_9427.jpg
/home/pi/Desktop/images/19042025/14/33/image_19042025_14_33_35_10369.jpg
/home/pi/Desktop/images/19042025/14/33/image_19042025_14_33_45_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351923990","1351923981","1351923948","1351923921","1351923914","1351923917"],"photo_ids_order":["1351923914","1351923917","1351923921","1351923948","1351923981","1351923990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/555bdc16d221f14503bfecfeb24ebf80.jpg","text":"TemporaryFile(/tmp/multipartBody8366864204468157522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077293170,"filename":"image_19042025_14_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/19/623344ce991e2f84e4c55dc4f50e6493.jpg","text":"TemporaryFile(/tmp/multipartBody7973023839891162968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077293170,"filename":"image_19042025_14_33_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/032c60447107b4d43e319d53b36fde3f.jpg","text":"TemporaryFile(/tmp/multipartBody3325850471870898859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077293170,"filename":"image_19042025_14_33_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/19/5ac0ca9150a8771f18561f8207f68fcc.jpg","text":"TemporaryFile(/tmp/multipartBody6945261739453899203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077293170,"filename":"image_19042025_14_33_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/19/a45a556c7afee4f1a93124ca4ff9d925.jpg","text":"TemporaryFile(/tmp/multipartBody5068940761137679877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077293170,"filename":"image_19042025_14_32_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/501472e5c62c4e4e95e46bc2a02c85f9.jpg","text":"TemporaryFile(/tmp/multipartBody8940069882899831336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077293170,"filename":"image_19042025_14_33_05_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351923921","file1":"1351923917","file0":"1351923914","file4":"1351923981","file5":"1351923990","file3":"1351923948"},"map_files_photo_id_array":[{"photo_id":"1351923990","filename":"file5"},{"photo_id":"1351923921","filename":"file2"},{"photo_id":"1351923981","filename":"file4"},{"photo_id":"1351923917","filename":"file1"},{"photo_id":"1351923914","filename":"file0"},{"photo_id":"1351923948","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351923990":["hashtag1","hashtag2"]},{"1351923981":["hashtag1","hashtag2"]},{"1351923948":["hashtag1","hashtag2"]},{"1351923921":["hashtag1","hashtag2"]},{"1351923914":["hashtag1","hashtag2"]},{"1351923917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351923990, 1351923981, 1351923948, 1351923921, 1351923914, 1351923917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.648847579956055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:41:32.890344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/34/image_19042025_14_34_15_9435.jpg', '/home/pi/Desktop/images/19042025/14/34/image_19042025_14_35_05_9348.jpg', '/home/pi/Desktop/images/19042025/14/35/image_19042025_14_35_15_10437.jpg', '/home/pi/Desktop/images/19042025/14/35/image_19042025_14_35_55_9354.jpg', '/home/pi/Desktop/images/19042025/14/35/image_19042025_14_36_05_10416.jpg', '/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/34/image_19042025_14_34_15_9435.jpg
/home/pi/Desktop/images/19042025/14/34/image_19042025_14_35_05_9348.jpg
/home/pi/Desktop/images/19042025/14/35/image_19042025_14_35_15_10437.jpg
/home/pi/Desktop/images/19042025/14/35/image_19042025_14_35_55_9354.jpg
/home/pi/Desktop/images/19042025/14/35/image_19042025_14_36_05_10416.jpg
/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_15_10351.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3892979621887207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:41:42.996126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/34/image_19042025_14_34_15_9435.jpg', '/home/pi/Desktop/images/19042025/14/34/image_19042025_14_35_05_9348.jpg', '/home/pi/Desktop/images/19042025/14/35/image_19042025_14_35_15_10437.jpg', '/home/pi/Desktop/images/19042025/14/35/image_19042025_14_35_55_9354.jpg', '/home/pi/Desktop/images/19042025/14/35/image_19042025_14_36_05_10416.jpg', '/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/34/image_19042025_14_34_15_9435.jpg
/home/pi/Desktop/images/19042025/14/34/image_19042025_14_35_05_9348.jpg
/home/pi/Desktop/images/19042025/14/35/image_19042025_14_35_15_10437.jpg
/home/pi/Desktop/images/19042025/14/35/image_19042025_14_35_55_9354.jpg
/home/pi/Desktop/images/19042025/14/35/image_19042025_14_36_05_10416.jpg
/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_15_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":["1351925064","1351925124","1351925208","1351924968","1351925287","1351925353"],"photo_ids_order":["1351924968","1351925064","1351925124","1351925208","1351925287","1351925353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/11725f7f0b4b5748d350427a4e49298b.jpg","text":"TemporaryFile(/tmp/multipartBody4185642417920160444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077363460,"filename":"image_19042025_14_35_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1bc6573a7e1884ca8304bc733353d0e1.jpg","text":"TemporaryFile(/tmp/multipartBody5252261925188948750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077363460,"filename":"image_19042025_14_35_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b30459e0e510586486f6298d69f3b1ad.jpg","text":"TemporaryFile(/tmp/multipartBody1346564787127708122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077363460,"filename":"image_19042025_14_35_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0909188feda5ea07a158a6f3bbc3ead1.jpg","text":"TemporaryFile(/tmp/multipartBody9023805692876636947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077363460,"filename":"image_19042025_14_34_15_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/79997bfaa0252fe8f15546be2c1c55f5.jpg","text":"TemporaryFile(/tmp/multipartBody4848777346643555547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077363460,"filename":"image_19042025_14_36_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/76a6005ce93de043eb935c7e0ec8c2a7.jpg","text":"TemporaryFile(/tmp/multipartBody1232443151940140259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077363460,"filename":"image_19042025_14_36_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351925124","file1":"1351925064","file0":"1351924968","file4":"1351925287","file5":"1351925353","file3":"1351925208"},"map_files_photo_id_array":[{"photo_id":"1351925353","filename":"file5"},{"photo_id":"1351925124","filename":"file2"},{"photo_id":"1351925287","filename":"file4"},{"photo_id":"1351925064","filename":"file1"},{"photo_id":"1351924968","filename":"file0"},{"photo_id":"1351925208","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351925064":["hashtag1","hashtag2"]},{"1351925124":["hashtag1","hashtag2"]},{"1351925208":["hashtag1","hashtag2"]},{"1351924968":["hashtag1","hashtag2"]},{"1351925287":["hashtag1","hashtag2"]},{"1351925353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351925064, 1351925124, 1351925208, 1351924968, 1351925287, 1351925353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.403000116348267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:42:33.131926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_25_9407.jpg', '/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_35_10462.jpg', '/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_45_9485.jpg', '/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_55_10373.jpg', '/home/pi/Desktop/images/19042025/14/36/image_19042025_14_37_06_10346.jpg', '/home/pi/Desktop/images/19042025/14/37/image_19042025_14_37_15_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_25_9407.jpg
/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_35_10462.jpg
/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_45_9485.jpg
/home/pi/Desktop/images/19042025/14/36/image_19042025_14_36_55_10373.jpg
/home/pi/Desktop/images/19042025/14/36/image_19042025_14_37_06_10346.jpg
/home/pi/Desktop/images/19042025/14/37/image_19042025_14_37_15_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351925952","1351925925","1351925814","1351925786","1351925900","1351925857"],"photo_ids_order":["1351925786","1351925814","1351925857","1351925900","1351925925","1351925952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/703ee25e93f45eb58e85d653ea140542.jpg","text":"TemporaryFile(/tmp/multipartBody8121022595873859398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077413600,"filename":"image_19042025_14_37_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/19/cc3abdacc5bc9b3ce9cb1c8d6ea93e08.jpg","text":"TemporaryFile(/tmp/multipartBody1489803072649785398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077413600,"filename":"image_19042025_14_37_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/19/4e2450d833d2bb81aea9cd78e73c44fd.jpg","text":"TemporaryFile(/tmp/multipartBody5742666149454469542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077413600,"filename":"image_19042025_14_36_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/19/a2553fedb1497b3d051cfe4ab981b3b6.jpg","text":"TemporaryFile(/tmp/multipartBody2420140018514409401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077413600,"filename":"image_19042025_14_36_25_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bcd3972756838bee292df7056bccd6f5.jpg","text":"TemporaryFile(/tmp/multipartBody8839155820184713643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077413600,"filename":"image_19042025_14_36_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/19/1993df2f4acf05c8031605ebc8324f0a.jpg","text":"TemporaryFile(/tmp/multipartBody740973992462534516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077413600,"filename":"image_19042025_14_36_45_9485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351925857","file1":"1351925814","file0":"1351925786","file4":"1351925925","file5":"1351925952","file3":"1351925900"},"map_files_photo_id_array":[{"photo_id":"1351925952","filename":"file5"},{"photo_id":"1351925857","filename":"file2"},{"photo_id":"1351925925","filename":"file4"},{"photo_id":"1351925814","filename":"file1"},{"photo_id":"1351925786","filename":"file0"},{"photo_id":"1351925900","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351925952":["hashtag1","hashtag2"]},{"1351925925":["hashtag1","hashtag2"]},{"1351925814":["hashtag1","hashtag2"]},{"1351925786":["hashtag1","hashtag2"]},{"1351925900":["hashtag1","hashtag2"]},{"1351925857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351925952, 1351925925, 1351925814, 1351925786, 1351925900, 1351925857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.46087884902954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:43:32.413036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/37/image_19042025_14_37_45_10414.jpg', '/home/pi/Desktop/images/19042025/14/38/image_19042025_14_38_35_10451.jpg', '/home/pi/Desktop/images/19042025/14/38/image_19042025_14_38_46_10356.jpg', '/home/pi/Desktop/images/19042025/14/38/image_19042025_14_39_05_10353.jpg', '/home/pi/Desktop/images/19042025/14/40/image_19042025_14_40_15_10355.jpg', '/home/pi/Desktop/images/19042025/14/40/image_19042025_14_40_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/37/image_19042025_14_37_45_10414.jpg
/home/pi/Desktop/images/19042025/14/38/image_19042025_14_38_35_10451.jpg
/home/pi/Desktop/images/19042025/14/38/image_19042025_14_38_46_10356.jpg
/home/pi/Desktop/images/19042025/14/38/image_19042025_14_39_05_10353.jpg
/home/pi/Desktop/images/19042025/14/40/image_19042025_14_40_15_10355.jpg
/home/pi/Desktop/images/19042025/14/40/image_19042025_14_40_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":["1351926305","1351926340","1351926381","1351926384","1351926378","1351926369"],"photo_ids_order":["1351926305","1351926340","1351926369","1351926378","1351926381","1351926384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9412bd852d53df481c31ce85e802d470.jpg","text":"TemporaryFile(/tmp/multipartBody2535102168448256387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077472884,"filename":"image_19042025_14_37_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/19/b5c215a5452af2199a210087c8856323.jpg","text":"TemporaryFile(/tmp/multipartBody2472709213260862170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077472884,"filename":"image_19042025_14_38_35_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28214fddcd631c327fe4763147213761.jpg","text":"TemporaryFile(/tmp/multipartBody2000302167797343791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077472884,"filename":"image_19042025_14_40_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91b24226b685586919d5459c6aad4ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2061445183840918917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077472884,"filename":"image_19042025_14_40_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/19/054e07382e6b7d4cd9e5c6959ecbc3e7.jpg","text":"TemporaryFile(/tmp/multipartBody7811435266487723605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077472884,"filename":"image_19042025_14_39_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/19/aa0782211da91a4d27ffddf8cd0c00d2.jpg","text":"TemporaryFile(/tmp/multipartBody4206667047106308023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077472884,"filename":"image_19042025_14_38_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351926369","file1":"1351926340","file0":"1351926305","file4":"1351926381","file5":"1351926384","file3":"1351926378"},"map_files_photo_id_array":[{"photo_id":"1351926384","filename":"file5"},{"photo_id":"1351926369","filename":"file2"},{"photo_id":"1351926381","filename":"file4"},{"photo_id":"1351926340","filename":"file1"},{"photo_id":"1351926305","filename":"file0"},{"photo_id":"1351926378","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351926305":["hashtag1","hashtag2"]},{"1351926340":["hashtag1","hashtag2"]},{"1351926381":["hashtag1","hashtag2"]},{"1351926384":["hashtag1","hashtag2"]},{"1351926378":["hashtag1","hashtag2"]},{"1351926369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351926305, 1351926340, 1351926381, 1351926384, 1351926378, 1351926369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99591064453125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:44:32.646499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/40/image_19042025_14_40_45_10384.jpg', '/home/pi/Desktop/images/19042025/14/40/image_19042025_14_40_55_9364.jpg', '/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_15_10441.jpg', '/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_25_9423.jpg', '/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_35_10372.jpg', '/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/40/image_19042025_14_40_45_10384.jpg
/home/pi/Desktop/images/19042025/14/40/image_19042025_14_40_55_9364.jpg
/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_15_10441.jpg
/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_25_9423.jpg
/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_35_10372.jpg
/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_46_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351926603","1351926575","1351926547","1351926463","1351926492","1351926519"],"photo_ids_order":["1351926463","1351926492","1351926519","1351926547","1351926575","1351926603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/642979fde13b7319d4ac061c9d29ee76.jpg","text":"TemporaryFile(/tmp/multipartBody1208889571593490708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077533126,"filename":"image_19042025_14_41_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f6198315f79d0beb0f672b7615cf2aae.jpg","text":"TemporaryFile(/tmp/multipartBody1294527048643072481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077533126,"filename":"image_19042025_14_41_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/19/c776b71484c0852f5cffb17d6abfb218.jpg","text":"TemporaryFile(/tmp/multipartBody5715950638711867469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077533126,"filename":"image_19042025_14_41_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48ee8c6beae5e35dc80bcf89ce19dc9a.jpg","text":"TemporaryFile(/tmp/multipartBody3692698628415656724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077533126,"filename":"image_19042025_14_40_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/19/d08e350d096aca9abe0337475f977ef5.jpg","text":"TemporaryFile(/tmp/multipartBody2339426000722554367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077533126,"filename":"image_19042025_14_40_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/19/0088f5a073ed4ac078c3d94069224228.jpg","text":"TemporaryFile(/tmp/multipartBody6300736538121703162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077533126,"filename":"image_19042025_14_41_15_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351926519","file1":"1351926492","file0":"1351926463","file4":"1351926575","file5":"1351926603","file3":"1351926547"},"map_files_photo_id_array":[{"photo_id":"1351926603","filename":"file5"},{"photo_id":"1351926519","filename":"file2"},{"photo_id":"1351926575","filename":"file4"},{"photo_id":"1351926492","filename":"file1"},{"photo_id":"1351926463","filename":"file0"},{"photo_id":"1351926547","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351926603":["hashtag1","hashtag2"]},{"1351926575":["hashtag1","hashtag2"]},{"1351926547":["hashtag1","hashtag2"]},{"1351926463":["hashtag1","hashtag2"]},{"1351926492":["hashtag1","hashtag2"]},{"1351926519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351926603, 1351926575, 1351926547, 1351926463, 1351926492, 1351926519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.33760905265808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:45:32.890610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_55_9461.jpg', '/home/pi/Desktop/images/19042025/14/41/image_19042025_14_42_05_10368.jpg', '/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_15_9408.jpg', '/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_25_10395.jpg', '/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_36_10373.jpg', '/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/41/image_19042025_14_41_55_9461.jpg
/home/pi/Desktop/images/19042025/14/41/image_19042025_14_42_05_10368.jpg
/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_15_9408.jpg
/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_25_10395.jpg
/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_36_10373.jpg
/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351926893","1351926825","1351926764","1351926674","1351926670","1351926709"],"photo_ids_order":["1351926670","1351926674","1351926709","1351926764","1351926825","1351926893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f2cb930846e6c4eed84d795dba63e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7389745814008855680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077593351,"filename":"image_19042025_14_42_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/19/8f0a498818304c5d1f578402d8535ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6380656474350276969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077593351,"filename":"image_19042025_14_42_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4abb1032261cb003ce78b00f3622a12d.jpg","text":"TemporaryFile(/tmp/multipartBody8758834481802295322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077593351,"filename":"image_19042025_14_42_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7d3a86c76ccf6ef71dd33095187180a.jpg","text":"TemporaryFile(/tmp/multipartBody7872396717202819919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077593351,"filename":"image_19042025_14_42_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/19/edda370003ba773327d5b35f753733d4.jpg","text":"TemporaryFile(/tmp/multipartBody8762697148904709648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077593351,"filename":"image_19042025_14_41_55_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a7bb07a87d0d475cd4fe716159a705e6.jpg","text":"TemporaryFile(/tmp/multipartBody211035507998247516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077593351,"filename":"image_19042025_14_42_15_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351926709","file1":"1351926674","file0":"1351926670","file4":"1351926825","file5":"1351926893","file3":"1351926764"},"map_files_photo_id_array":[{"photo_id":"1351926893","filename":"file5"},{"photo_id":"1351926709","filename":"file2"},{"photo_id":"1351926825","filename":"file4"},{"photo_id":"1351926674","filename":"file1"},{"photo_id":"1351926670","filename":"file0"},{"photo_id":"1351926764","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351926893":["hashtag1","hashtag2"]},{"1351926825":["hashtag1","hashtag2"]},{"1351926764":["hashtag1","hashtag2"]},{"1351926674":["hashtag1","hashtag2"]},{"1351926670":["hashtag1","hashtag2"]},{"1351926709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351926893, 1351926825, 1351926764, 1351926674, 1351926670, 1351926709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31928539276123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:46:33.079811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_55_10371.jpg', '/home/pi/Desktop/images/19042025/14/42/image_19042025_14_43_05_9364.jpg', '/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_15_10461.jpg', '/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_26_10364.jpg', '/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_35_9472.jpg', '/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/42/image_19042025_14_42_55_10371.jpg
/home/pi/Desktop/images/19042025/14/42/image_19042025_14_43_05_9364.jpg
/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_15_10461.jpg
/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_26_10364.jpg
/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_35_9472.jpg
/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351927724","1351927634","1351927525","1351927453","1351927692","1351927581"],"photo_ids_order":["1351927453","1351927525","1351927581","1351927634","1351927692","1351927724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3be42b968febc9a9cf77a2b039de1d14.jpg","text":"TemporaryFile(/tmp/multipartBody4749934397295531815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077653550,"filename":"image_19042025_14_43_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/19/2e67b9ce219581fa341d38042dc1ac27.jpg","text":"TemporaryFile(/tmp/multipartBody1167854498873777336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077653550,"filename":"image_19042025_14_43_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/19/5331c0c5c5c56beb7f93f1cabc195c57.jpg","text":"TemporaryFile(/tmp/multipartBody3205883978642015789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077653550,"filename":"image_19042025_14_43_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/19/c11fc14b7c05569acd05bcf8086dbbb4.jpg","text":"TemporaryFile(/tmp/multipartBody7311345400692219319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077653550,"filename":"image_19042025_14_42_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/19/d225e0c3f1fd2f942b68a634a0a3f5be.jpg","text":"TemporaryFile(/tmp/multipartBody6755381735177895211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077653550,"filename":"image_19042025_14_43_35_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/19/7cf8158e56a8665141da4f0924e17f84.jpg","text":"TemporaryFile(/tmp/multipartBody4435564016547843869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077653550,"filename":"image_19042025_14_43_15_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351927581","file1":"1351927525","file0":"1351927453","file4":"1351927692","file5":"1351927724","file3":"1351927634"},"map_files_photo_id_array":[{"photo_id":"1351927724","filename":"file5"},{"photo_id":"1351927581","filename":"file2"},{"photo_id":"1351927692","filename":"file4"},{"photo_id":"1351927525","filename":"file1"},{"photo_id":"1351927453","filename":"file0"},{"photo_id":"1351927634","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351927724":["hashtag1","hashtag2"]},{"1351927634":["hashtag1","hashtag2"]},{"1351927525":["hashtag1","hashtag2"]},{"1351927453":["hashtag1","hashtag2"]},{"1351927692":["hashtag1","hashtag2"]},{"1351927581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351927724, 1351927634, 1351927525, 1351927453, 1351927692, 1351927581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.891066551208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:47:32.290916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_55_9354.jpg', '/home/pi/Desktop/images/19042025/14/43/image_19042025_14_44_05_10395.jpg', '/home/pi/Desktop/images/19042025/14/44/image_19042025_14_44_15_10355.jpg', '/home/pi/Desktop/images/19042025/14/44/image_19042025_14_44_35_10359.jpg', '/home/pi/Desktop/images/19042025/14/44/image_19042025_14_44_45_9350.jpg', '/home/pi/Desktop/images/19042025/14/44/image_19042025_14_44_55_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/43/image_19042025_14_43_55_9354.jpg
/home/pi/Desktop/images/19042025/14/43/image_19042025_14_44_05_10395.jpg
/home/pi/Desktop/images/19042025/14/44/image_19042025_14_44_15_10355.jpg
/home/pi/Desktop/images/19042025/14/44/image_19042025_14_44_35_10359.jpg
/home/pi/Desktop/images/19042025/14/44/image_19042025_14_44_45_9350.jpg
/home/pi/Desktop/images/19042025/14/44/image_19042025_14_44_55_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351927961","1351927964","1351927958","1351927945","1351927918","1351927956"],"photo_ids_order":["1351927918","1351927945","1351927956","1351927958","1351927961","1351927964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25c779d9a58a91c4c081ba57f632c42f.jpg","text":"TemporaryFile(/tmp/multipartBody7562568455323989754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077712765,"filename":"image_19042025_14_44_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/19/96deb8da517bd042c6a5a3a1487018b0.jpg","text":"TemporaryFile(/tmp/multipartBody876794700469048423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077712765,"filename":"image_19042025_14_44_55_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2dce3d311615a24ed897c4f4c447d2ac.jpg","text":"TemporaryFile(/tmp/multipartBody13844306757224189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077712765,"filename":"image_19042025_14_44_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/19/6d4ea08c29b6d638c95c13cc7c13f8f2.jpg","text":"TemporaryFile(/tmp/multipartBody6539604804561418576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077712765,"filename":"image_19042025_14_44_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d0bd6a2d643f779a86c6ff9bdb00921.jpg","text":"TemporaryFile(/tmp/multipartBody580093092406162425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077712765,"filename":"image_19042025_14_43_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f0f53ea373a489540d051ae092fbbc88.jpg","text":"TemporaryFile(/tmp/multipartBody7515539173504192318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077712765,"filename":"image_19042025_14_44_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351927956","file1":"1351927945","file0":"1351927918","file4":"1351927961","file5":"1351927964","file3":"1351927958"},"map_files_photo_id_array":[{"photo_id":"1351927964","filename":"file5"},{"photo_id":"1351927956","filename":"file2"},{"photo_id":"1351927961","filename":"file4"},{"photo_id":"1351927945","filename":"file1"},{"photo_id":"1351927918","filename":"file0"},{"photo_id":"1351927958","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351927961":["hashtag1","hashtag2"]},{"1351927964":["hashtag1","hashtag2"]},{"1351927958":["hashtag1","hashtag2"]},{"1351927945":["hashtag1","hashtag2"]},{"1351927918":["hashtag1","hashtag2"]},{"1351927956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351927961, 1351927964, 1351927958, 1351927945, 1351927918, 1351927956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49136137962341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:48:32.480404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/44/image_19042025_14_45_05_10376.jpg', '/home/pi/Desktop/images/19042025/14/45/image_19042025_14_45_35_9343.jpg', '/home/pi/Desktop/images/19042025/14/45/image_19042025_14_45_45_10371.jpg', '/home/pi/Desktop/images/19042025/14/45/image_19042025_14_45_55_10373.jpg', '/home/pi/Desktop/images/19042025/14/45/image_19042025_14_46_05_9365.jpg', '/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_15_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/44/image_19042025_14_45_05_10376.jpg
/home/pi/Desktop/images/19042025/14/45/image_19042025_14_45_35_9343.jpg
/home/pi/Desktop/images/19042025/14/45/image_19042025_14_45_45_10371.jpg
/home/pi/Desktop/images/19042025/14/45/image_19042025_14_45_55_10373.jpg
/home/pi/Desktop/images/19042025/14/45/image_19042025_14_46_05_9365.jpg
/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_15_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":["1351928296","1351928458","1351928469","1351928430","1351928403","1351928465"],"photo_ids_order":["1351928296","1351928403","1351928430","1351928458","1351928465","1351928469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f3838f3a61a8d3af3cbdd34a449d2837.jpg","text":"TemporaryFile(/tmp/multipartBody8546308983270001190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077772958,"filename":"image_19042025_14_45_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/19/0e965c15107c8f954234fa58901969ea.jpg","text":"TemporaryFile(/tmp/multipartBody4271333400837302218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077772958,"filename":"image_19042025_14_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/19/139160d06c7c9ba3d81f63ce178c10ad.jpg","text":"TemporaryFile(/tmp/multipartBody2972309073350105530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077772958,"filename":"image_19042025_14_46_15_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ed6bf715163d90d53127816ca08f274d.jpg","text":"TemporaryFile(/tmp/multipartBody1383058741041379437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077772958,"filename":"image_19042025_14_45_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/19/b2e8b9fd64cffebbdc022cb7b16bc8ca.jpg","text":"TemporaryFile(/tmp/multipartBody6082281396536312323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077772958,"filename":"image_19042025_14_45_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5795832c7f9e8e88c527d24568a1a920.jpg","text":"TemporaryFile(/tmp/multipartBody5668321195945129285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077772958,"filename":"image_19042025_14_46_05_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351928430","file1":"1351928403","file0":"1351928296","file4":"1351928465","file5":"1351928469","file3":"1351928458"},"map_files_photo_id_array":[{"photo_id":"1351928469","filename":"file5"},{"photo_id":"1351928430","filename":"file2"},{"photo_id":"1351928465","filename":"file4"},{"photo_id":"1351928403","filename":"file1"},{"photo_id":"1351928296","filename":"file0"},{"photo_id":"1351928458","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351928296":["hashtag1","hashtag2"]},{"1351928458":["hashtag1","hashtag2"]},{"1351928469":["hashtag1","hashtag2"]},{"1351928430":["hashtag1","hashtag2"]},{"1351928403":["hashtag1","hashtag2"]},{"1351928465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351928296, 1351928458, 1351928469, 1351928430, 1351928403, 1351928465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.75129556655884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:49:32.797286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_26_10362.jpg', '/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_35_9470.jpg', '/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_45_10358.jpg', '/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_55_9361.jpg', '/home/pi/Desktop/images/19042025/14/46/image_19042025_14_47_05_10402.jpg', '/home/pi/Desktop/images/19042025/14/47/image_19042025_14_47_15_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_26_10362.jpg
/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_35_9470.jpg
/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_45_10358.jpg
/home/pi/Desktop/images/19042025/14/46/image_19042025_14_46_55_9361.jpg
/home/pi/Desktop/images/19042025/14/46/image_19042025_14_47_05_10402.jpg
/home/pi/Desktop/images/19042025/14/47/image_19042025_14_47_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":["1351928584","1351928494","1351928478","1351928700","1351928555","1351928651"],"photo_ids_order":["1351928478","1351928494","1351928555","1351928584","1351928651","1351928700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/260ba289bb4a2c5acfb91704a63565b7.jpg","text":"TemporaryFile(/tmp/multipartBody9113891563668751503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077833258,"filename":"image_19042025_14_46_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc1c237e37e84fb47e084164cd2ed57b.jpg","text":"TemporaryFile(/tmp/multipartBody6535136914279747510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077833258,"filename":"image_19042025_14_46_35_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6512f0c621a0eb696bd7d403e73edddd.jpg","text":"TemporaryFile(/tmp/multipartBody3390580415994105575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077833258,"filename":"image_19042025_14_46_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/19/8c30ff317978f5a2b0c224f3bd015103.jpg","text":"TemporaryFile(/tmp/multipartBody8525588834771038512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077833258,"filename":"image_19042025_14_47_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/19/b52e50050fd54e9148150fba52985227.jpg","text":"TemporaryFile(/tmp/multipartBody1909269313897088696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077833258,"filename":"image_19042025_14_46_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/727de78487cf1e19f62e5f599b772b26.jpg","text":"TemporaryFile(/tmp/multipartBody579166892956144395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077833258,"filename":"image_19042025_14_47_05_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351928555","file1":"1351928494","file0":"1351928478","file4":"1351928651","file5":"1351928700","file3":"1351928584"},"map_files_photo_id_array":[{"photo_id":"1351928700","filename":"file5"},{"photo_id":"1351928555","filename":"file2"},{"photo_id":"1351928651","filename":"file4"},{"photo_id":"1351928494","filename":"file1"},{"photo_id":"1351928478","filename":"file0"},{"photo_id":"1351928584","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351928584":["hashtag1","hashtag2"]},{"1351928494":["hashtag1","hashtag2"]},{"1351928478":["hashtag1","hashtag2"]},{"1351928700":["hashtag1","hashtag2"]},{"1351928555":["hashtag1","hashtag2"]},{"1351928651":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351928584, 1351928494, 1351928478, 1351928700, 1351928555, 1351928651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24543738365173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:50:33.039034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/47/image_19042025_14_47_55_10428.jpg', '/home/pi/Desktop/images/19042025/14/47/image_19042025_14_48_06_10418.jpg', '/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_15_9416.jpg', '/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_25_10429.jpg', '/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_35_9458.jpg', '/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_45_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/47/image_19042025_14_47_55_10428.jpg
/home/pi/Desktop/images/19042025/14/47/image_19042025_14_48_06_10418.jpg
/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_15_9416.jpg
/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_25_10429.jpg
/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_35_9458.jpg
/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_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":["1351929978","1351929972","1351929960","1351929968","1351929770","1351929970"],"photo_ids_order":["1351929770","1351929960","1351929968","1351929970","1351929972","1351929978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e0adf9a7d8738f4aefb50f70c93f7080.jpg","text":"TemporaryFile(/tmp/multipartBody7902630566125511309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077893504,"filename":"image_19042025_14_48_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/19/677da577c88adfca4a153fd59b9fc5e5.jpg","text":"TemporaryFile(/tmp/multipartBody6391921563620504551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077893504,"filename":"image_19042025_14_48_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/19/58c67ae98dacf7a655b0f78fa141ec5f.jpg","text":"TemporaryFile(/tmp/multipartBody4100447373451984981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077893504,"filename":"image_19042025_14_48_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/19/955c16ecc0e5bf631baf423ad460bd6c.jpg","text":"TemporaryFile(/tmp/multipartBody4686303190927255410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077893504,"filename":"image_19042025_14_48_15_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a3b688a6774577268c5db994b980292.jpg","text":"TemporaryFile(/tmp/multipartBody2433358699925794239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077893504,"filename":"image_19042025_14_47_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64172cbbd3fef8f947ee7941ebd41690.jpg","text":"TemporaryFile(/tmp/multipartBody3034602533941452382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077893504,"filename":"image_19042025_14_48_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351929968","file1":"1351929960","file0":"1351929770","file4":"1351929972","file5":"1351929978","file3":"1351929970"},"map_files_photo_id_array":[{"photo_id":"1351929978","filename":"file5"},{"photo_id":"1351929968","filename":"file2"},{"photo_id":"1351929972","filename":"file4"},{"photo_id":"1351929960","filename":"file1"},{"photo_id":"1351929770","filename":"file0"},{"photo_id":"1351929970","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351929978":["hashtag1","hashtag2"]},{"1351929972":["hashtag1","hashtag2"]},{"1351929960":["hashtag1","hashtag2"]},{"1351929968":["hashtag1","hashtag2"]},{"1351929770":["hashtag1","hashtag2"]},{"1351929970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351929978, 1351929972, 1351929960, 1351929968, 1351929770, 1351929970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.558969497680664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:51:32.233564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_56_10356.jpg', '/home/pi/Desktop/images/19042025/14/48/image_19042025_14_49_05_9445.jpg', '/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_15_10383.jpg', '/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_25_9434.jpg', '/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_35_10364.jpg', '/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_46_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/48/image_19042025_14_48_56_10356.jpg
/home/pi/Desktop/images/19042025/14/48/image_19042025_14_49_05_9445.jpg
/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_15_10383.jpg
/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_25_9434.jpg
/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_35_10364.jpg
/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_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":["1351930084","1351930081","1351930075","1351930078","1351930091","1351930088"],"photo_ids_order":["1351930075","1351930078","1351930081","1351930084","1351930088","1351930091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29ffb4c47fd62da0cf8213f4251f8860.jpg","text":"TemporaryFile(/tmp/multipartBody1431314499302579976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077952692,"filename":"image_19042025_14_49_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/19/4d90280c01c798950734655ad08b85e7.jpg","text":"TemporaryFile(/tmp/multipartBody1590200133519388126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077952692,"filename":"image_19042025_14_49_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/19/dddb5800e76a96443dbee244db47a582.jpg","text":"TemporaryFile(/tmp/multipartBody3233525603994472682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077952692,"filename":"image_19042025_14_48_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/19/e7c5e827f2c26d40e7560c6a20ee097b.jpg","text":"TemporaryFile(/tmp/multipartBody6918953016538020161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077952692,"filename":"image_19042025_14_49_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/19/77b47aecd5127e31c06fb58ffa8583fe.jpg","text":"TemporaryFile(/tmp/multipartBody3205317713237430043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077952692,"filename":"image_19042025_14_49_46_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b3300e602dc48dcd03daf94841fef1af.jpg","text":"TemporaryFile(/tmp/multipartBody4721192456133950012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745077952692,"filename":"image_19042025_14_49_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351930081","file1":"1351930078","file0":"1351930075","file4":"1351930088","file5":"1351930091","file3":"1351930084"},"map_files_photo_id_array":[{"photo_id":"1351930091","filename":"file5"},{"photo_id":"1351930081","filename":"file2"},{"photo_id":"1351930088","filename":"file4"},{"photo_id":"1351930078","filename":"file1"},{"photo_id":"1351930075","filename":"file0"},{"photo_id":"1351930084","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351930084":["hashtag1","hashtag2"]},{"1351930081":["hashtag1","hashtag2"]},{"1351930075":["hashtag1","hashtag2"]},{"1351930078":["hashtag1","hashtag2"]},{"1351930091":["hashtag1","hashtag2"]},{"1351930088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351930084, 1351930081, 1351930075, 1351930078, 1351930091, 1351930088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78049612045288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:52:32.451543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_55_9441.jpg', '/home/pi/Desktop/images/19042025/14/49/image_19042025_14_50_05_10360.jpg', '/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_15_9428.jpg', '/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_25_10370.jpg', '/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_36_10357.jpg', '/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_45_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/49/image_19042025_14_49_55_9441.jpg
/home/pi/Desktop/images/19042025/14/49/image_19042025_14_50_05_10360.jpg
/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_15_9428.jpg
/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_25_10370.jpg
/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_36_10357.jpg
/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_45_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351930100","1351930444","1351930102","1351930746","1351930635","1351930268"],"photo_ids_order":["1351930100","1351930102","1351930268","1351930444","1351930635","1351930746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aee2a4780936797b11425dd0a2be4535.jpg","text":"TemporaryFile(/tmp/multipartBody5426691206650738671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078012911,"filename":"image_19042025_14_49_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/19/60b7bb5592246a940bb480abb5789742.jpg","text":"TemporaryFile(/tmp/multipartBody1754267924596794308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078012911,"filename":"image_19042025_14_50_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c0da54eb760e599c46f438890ff3c3b.jpg","text":"TemporaryFile(/tmp/multipartBody1203315933000645713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078012911,"filename":"image_19042025_14_50_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/19/34e8d69fe38800de817590fd78a00bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5301315951844713931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078012911,"filename":"image_19042025_14_50_45_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc3fcf40b588e92a46b3a6a256354229.jpg","text":"TemporaryFile(/tmp/multipartBody4053062099572409245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078012911,"filename":"image_19042025_14_50_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/19/eb0b06e4126e8433c9eea3907bb9a87b.jpg","text":"TemporaryFile(/tmp/multipartBody6721602249136217598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078012911,"filename":"image_19042025_14_50_15_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351930268","file1":"1351930102","file0":"1351930100","file4":"1351930635","file5":"1351930746","file3":"1351930444"},"map_files_photo_id_array":[{"photo_id":"1351930746","filename":"file5"},{"photo_id":"1351930268","filename":"file2"},{"photo_id":"1351930635","filename":"file4"},{"photo_id":"1351930102","filename":"file1"},{"photo_id":"1351930100","filename":"file0"},{"photo_id":"1351930444","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351930100":["hashtag1","hashtag2"]},{"1351930444":["hashtag1","hashtag2"]},{"1351930102":["hashtag1","hashtag2"]},{"1351930746":["hashtag1","hashtag2"]},{"1351930635":["hashtag1","hashtag2"]},{"1351930268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351930100, 1351930444, 1351930102, 1351930746, 1351930635, 1351930268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.51167559623718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:53:32.617897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_55_10366.jpg', '/home/pi/Desktop/images/19042025/14/50/image_19042025_14_51_05_9337.jpg', '/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_15_10410.jpg', '/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_25_10373.jpg', '/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_45_10349.jpg', '/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_55_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_55_10366.jpg
/home/pi/Desktop/images/19042025/14/50/image_19042025_14_51_05_9337.jpg
/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_15_10410.jpg
/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_25_10373.jpg
/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_45_10349.jpg
/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_55_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.38271594047546387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:53:42.657900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_55_10366.jpg', '/home/pi/Desktop/images/19042025/14/50/image_19042025_14_51_05_9337.jpg', '/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_15_10410.jpg', '/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_25_10373.jpg', '/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_45_10349.jpg', '/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_55_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/50/image_19042025_14_50_55_10366.jpg
/home/pi/Desktop/images/19042025/14/50/image_19042025_14_51_05_9337.jpg
/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_15_10410.jpg
/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_25_10373.jpg
/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_45_10349.jpg
/home/pi/Desktop/images/19042025/14/51/image_19042025_14_51_55_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":["1351931746","1351931289","1351931594","1351931447","1351931522","1351931665"],"photo_ids_order":["1351931289","1351931447","1351931522","1351931594","1351931665","1351931746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b1da1a6ecc9bf2ce91c4897d7fdcf68.jpg","text":"TemporaryFile(/tmp/multipartBody4680127836058711049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078083125,"filename":"image_19042025_14_51_55_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ec7462760965f47ba183017069d434f.jpg","text":"TemporaryFile(/tmp/multipartBody6551536259098388318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078083125,"filename":"image_19042025_14_50_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e92590c452d0dd1c3268e7e6ce486aa.jpg","text":"TemporaryFile(/tmp/multipartBody2522043036107357899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078083125,"filename":"image_19042025_14_51_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/19/dbfb2c33061ab9e797d583ed9e3cbc53.jpg","text":"TemporaryFile(/tmp/multipartBody2316242419798667476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078083125,"filename":"image_19042025_14_51_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5b6397656302e46d4f1239a650cd5baa.jpg","text":"TemporaryFile(/tmp/multipartBody2696541504196713491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078083125,"filename":"image_19042025_14_51_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/19/b4b5380482c1d3d78c40e5371dc84fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7548398838633803189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078083125,"filename":"image_19042025_14_51_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351931522","file1":"1351931447","file0":"1351931289","file4":"1351931665","file5":"1351931746","file3":"1351931594"},"map_files_photo_id_array":[{"photo_id":"1351931746","filename":"file5"},{"photo_id":"1351931522","filename":"file2"},{"photo_id":"1351931665","filename":"file4"},{"photo_id":"1351931447","filename":"file1"},{"photo_id":"1351931289","filename":"file0"},{"photo_id":"1351931594","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351931746":["hashtag1","hashtag2"]},{"1351931289":["hashtag1","hashtag2"]},{"1351931594":["hashtag1","hashtag2"]},{"1351931447":["hashtag1","hashtag2"]},{"1351931522":["hashtag1","hashtag2"]},{"1351931665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351931746, 1351931289, 1351931594, 1351931447, 1351931522, 1351931665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.712990283966064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:54:32.948481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_15_10351.jpg', '/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_46_10386.jpg', '/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_55_9410.jpg', '/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_25_10371.jpg', '/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_35_10351.jpg', '/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_45_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_15_10351.jpg
/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_46_10386.jpg
/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_55_9410.jpg
/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_25_10371.jpg
/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_35_10351.jpg
/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_45_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.37889885902404785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:54:43.047570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_15_10351.jpg', '/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_46_10386.jpg', '/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_55_9410.jpg', '/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_25_10371.jpg', '/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_35_10351.jpg', '/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_45_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_15_10351.jpg
/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_46_10386.jpg
/home/pi/Desktop/images/19042025/14/52/image_19042025_14_52_55_9410.jpg
/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_25_10371.jpg
/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_35_10351.jpg
/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_45_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":["1351932282","1351932255","1351932414","1351932464","1351932359","1351932311"],"photo_ids_order":["1351932255","1351932282","1351932311","1351932359","1351932414","1351932464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/78bc0aa0ab4ba846c094089f6dbf2ae8.jpg","text":"TemporaryFile(/tmp/multipartBody6807414574557661310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078143527,"filename":"image_19042025_14_52_46_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b86e47fad72e922474cf45d8e56f806.jpg","text":"TemporaryFile(/tmp/multipartBody6150423589356712276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078143527,"filename":"image_19042025_14_52_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6c197b7593db304066009c8c479faec.jpg","text":"TemporaryFile(/tmp/multipartBody8796630975171336167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078143527,"filename":"image_19042025_14_53_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4f304add65299365157cbbe514aff5d.jpg","text":"TemporaryFile(/tmp/multipartBody5912079968132583696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078143527,"filename":"image_19042025_14_53_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/19/7d06fc304ec245500f4aabcb3a072485.jpg","text":"TemporaryFile(/tmp/multipartBody296827460857834230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078143527,"filename":"image_19042025_14_53_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aaec7bfa434b662635aaf12b63466c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8966450220892216159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078143527,"filename":"image_19042025_14_52_55_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351932311","file1":"1351932282","file0":"1351932255","file4":"1351932414","file5":"1351932464","file3":"1351932359"},"map_files_photo_id_array":[{"photo_id":"1351932464","filename":"file5"},{"photo_id":"1351932311","filename":"file2"},{"photo_id":"1351932414","filename":"file4"},{"photo_id":"1351932282","filename":"file1"},{"photo_id":"1351932255","filename":"file0"},{"photo_id":"1351932359","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351932282":["hashtag1","hashtag2"]},{"1351932255":["hashtag1","hashtag2"]},{"1351932414":["hashtag1","hashtag2"]},{"1351932464":["hashtag1","hashtag2"]},{"1351932359":["hashtag1","hashtag2"]},{"1351932311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351932282, 1351932255, 1351932414, 1351932464, 1351932359, 1351932311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.488749742507935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:55:32.254246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_55_10366.jpg', '/home/pi/Desktop/images/19042025/14/53/image_19042025_14_54_06_10374.jpg', '/home/pi/Desktop/images/19042025/14/54/image_19042025_14_54_25_10388.jpg', '/home/pi/Desktop/images/19042025/14/54/image_19042025_14_54_35_9849.jpg', '/home/pi/Desktop/images/19042025/14/54/image_19042025_14_54_45_9367.jpg', '/home/pi/Desktop/images/19042025/14/54/image_19042025_14_54_55_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/53/image_19042025_14_53_55_10366.jpg
/home/pi/Desktop/images/19042025/14/53/image_19042025_14_54_06_10374.jpg
/home/pi/Desktop/images/19042025/14/54/image_19042025_14_54_25_10388.jpg
/home/pi/Desktop/images/19042025/14/54/image_19042025_14_54_35_9849.jpg
/home/pi/Desktop/images/19042025/14/54/image_19042025_14_54_45_9367.jpg
/home/pi/Desktop/images/19042025/14/54/image_19042025_14_54_55_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351933107","1351932972","1351933011","1351933061","1351933157","1351933208"],"photo_ids_order":["1351932972","1351933011","1351933061","1351933107","1351933157","1351933208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/67b19df74666ad9752c67ba083641153.jpg","text":"TemporaryFile(/tmp/multipartBody4324927861599318207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078192711,"filename":"image_19042025_14_54_35_9849.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/81c93d5f0054a1040a8da05fa77854d0.jpg","text":"TemporaryFile(/tmp/multipartBody5878237971458438345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078192711,"filename":"image_19042025_14_53_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/19/590d2c0bac86093464938c46025e171f.jpg","text":"TemporaryFile(/tmp/multipartBody3508723391057138292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078192711,"filename":"image_19042025_14_54_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/adcb3d8f20317cfbf9f4121dec9cd678.jpg","text":"TemporaryFile(/tmp/multipartBody5368004462078444906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078192711,"filename":"image_19042025_14_54_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/19/ad5dfcf361dce339f81f1e2ae449a9fd.jpg","text":"TemporaryFile(/tmp/multipartBody3394413888662738080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078192711,"filename":"image_19042025_14_54_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/19/8185dabe528f387a4fe51ad05ce8c890.jpg","text":"TemporaryFile(/tmp/multipartBody673300084520494355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078192711,"filename":"image_19042025_14_54_55_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351933061","file1":"1351933011","file0":"1351932972","file4":"1351933157","file5":"1351933208","file3":"1351933107"},"map_files_photo_id_array":[{"photo_id":"1351933208","filename":"file5"},{"photo_id":"1351933061","filename":"file2"},{"photo_id":"1351933157","filename":"file4"},{"photo_id":"1351933011","filename":"file1"},{"photo_id":"1351932972","filename":"file0"},{"photo_id":"1351933107","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351933107":["hashtag1","hashtag2"]},{"1351932972":["hashtag1","hashtag2"]},{"1351933011":["hashtag1","hashtag2"]},{"1351933061":["hashtag1","hashtag2"]},{"1351933157":["hashtag1","hashtag2"]},{"1351933208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351933107, 1351932972, 1351933011, 1351933061, 1351933157, 1351933208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.03904390335083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:56:32.478606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/54/image_19042025_14_55_05_10343.jpg', '/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_15_9415.jpg', '/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_25_10356.jpg', '/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_36_10353.jpg', '/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_45_9381.jpg', '/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_55_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/54/image_19042025_14_55_05_10343.jpg
/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_15_9415.jpg
/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_25_10356.jpg
/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_36_10353.jpg
/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_45_9381.jpg
/home/pi/Desktop/images/19042025/14/55/image_19042025_14_55_55_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":["1351933492","1351933486","1351933495","1351933489","1351933497","1351933485"],"photo_ids_order":["1351933485","1351933486","1351933489","1351933492","1351933495","1351933497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb8fb15b093c175296d5b8fcd2f186e5.jpg","text":"TemporaryFile(/tmp/multipartBody8693251312555850967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078252938,"filename":"image_19042025_14_55_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/19/aa9847cb54e6660b2f2c1913f303387b.jpg","text":"TemporaryFile(/tmp/multipartBody5456515267407892701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078252938,"filename":"image_19042025_14_55_15_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6db881684971b1d5c83ddcba12c5f82a.jpg","text":"TemporaryFile(/tmp/multipartBody3861684833790240205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078252938,"filename":"image_19042025_14_55_45_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f3867b9afe5097c128e70a0d1e5b2b6.jpg","text":"TemporaryFile(/tmp/multipartBody6925789918492382624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078252938,"filename":"image_19042025_14_55_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2b7d01e8334cfc2925441e071677f73d.jpg","text":"TemporaryFile(/tmp/multipartBody7181441724917733438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078252938,"filename":"image_19042025_14_55_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/043da4c7512315905314915b807387a0.jpg","text":"TemporaryFile(/tmp/multipartBody8844707561791342533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078252938,"filename":"image_19042025_14_55_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351933489","file1":"1351933486","file0":"1351933485","file4":"1351933495","file5":"1351933497","file3":"1351933492"},"map_files_photo_id_array":[{"photo_id":"1351933497","filename":"file5"},{"photo_id":"1351933489","filename":"file2"},{"photo_id":"1351933495","filename":"file4"},{"photo_id":"1351933486","filename":"file1"},{"photo_id":"1351933485","filename":"file0"},{"photo_id":"1351933492","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351933492":["hashtag1","hashtag2"]},{"1351933486":["hashtag1","hashtag2"]},{"1351933495":["hashtag1","hashtag2"]},{"1351933489":["hashtag1","hashtag2"]},{"1351933497":["hashtag1","hashtag2"]},{"1351933485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351933492, 1351933486, 1351933495, 1351933489, 1351933497, 1351933485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.61786913871765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 17:57:32.697931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/55/image_19042025_14_56_05_9363.jpg', '/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_15_10381.jpg', '/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_25_10375.jpg', '/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_45_10389.jpg', '/home/pi/Desktop/images/19042025/14/56/image_19042025_14_57_05_10347.jpg', '/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/55/image_19042025_14_56_05_9363.jpg
/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_15_10381.jpg
/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_25_10375.jpg
/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_45_10389.jpg
/home/pi/Desktop/images/19042025/14/56/image_19042025_14_57_05_10347.jpg
/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_15_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:59:04.139247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/55/image_19042025_14_56_05_9363.jpg', '/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_15_10381.jpg', '/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_25_10375.jpg', '/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_45_10389.jpg', '/home/pi/Desktop/images/19042025/14/56/image_19042025_14_57_05_10347.jpg', '/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/55/image_19042025_14_56_05_9363.jpg
/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_15_10381.jpg
/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_25_10375.jpg
/home/pi/Desktop/images/19042025/14/56/image_19042025_14_56_45_10389.jpg
/home/pi/Desktop/images/19042025/14/56/image_19042025_14_57_05_10347.jpg
/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_15_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351935839","1351935734","1351936041","1351936283","1351935927","1351936172"],"photo_ids_order":["1351935734","1351935839","1351935927","1351936041","1351936172","1351936283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6dc7b5fc458e347da3f89444354ebfb0.jpg","text":"TemporaryFile(/tmp/multipartBody8221279442004316102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078404701,"filename":"image_19042025_14_56_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/19/19940e58449a10755a8cb8d27d73f15b.jpg","text":"TemporaryFile(/tmp/multipartBody8108971016415483996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078404701,"filename":"image_19042025_14_56_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7b9bba7bd4d04c9bf64f39e040bfa59f.jpg","text":"TemporaryFile(/tmp/multipartBody5738087052034627772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078404701,"filename":"image_19042025_14_56_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/19/79fc34e55387abdbf45c61cc1fa63b8c.jpg","text":"TemporaryFile(/tmp/multipartBody7439359677612027917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078404701,"filename":"image_19042025_14_57_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04296cbb07577da7a6b17959e553a77b.jpg","text":"TemporaryFile(/tmp/multipartBody2134786807007707008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078404701,"filename":"image_19042025_14_56_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/19/d07aa8830427ca2d8d1fe415b7675c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4577484968745995437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078404701,"filename":"image_19042025_14_57_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351935927","file1":"1351935839","file0":"1351935734","file4":"1351936172","file5":"1351936283","file3":"1351936041"},"map_files_photo_id_array":[{"photo_id":"1351936283","filename":"file5"},{"photo_id":"1351935927","filename":"file2"},{"photo_id":"1351936172","filename":"file4"},{"photo_id":"1351935839","filename":"file1"},{"photo_id":"1351935734","filename":"file0"},{"photo_id":"1351936041","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351935839":["hashtag1","hashtag2"]},{"1351935734":["hashtag1","hashtag2"]},{"1351936041":["hashtag1","hashtag2"]},{"1351936283":["hashtag1","hashtag2"]},{"1351935927":["hashtag1","hashtag2"]},{"1351936172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351935839, 1351935734, 1351936041, 1351936283, 1351935927, 1351936172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07242751121521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 17:59:42.931361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_25_9387.jpg', '/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_35_10414.jpg', '/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_46_10435.jpg', '/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_55_9365.jpg', '/home/pi/Desktop/images/19042025/14/57/image_19042025_14_58_05_10379.jpg', '/home/pi/Desktop/images/19042025/14/58/image_19042025_14_58_25_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_25_9387.jpg
/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_35_10414.jpg
/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_46_10435.jpg
/home/pi/Desktop/images/19042025/14/57/image_19042025_14_57_55_9365.jpg
/home/pi/Desktop/images/19042025/14/57/image_19042025_14_58_05_10379.jpg
/home/pi/Desktop/images/19042025/14/58/image_19042025_14_58_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":["1351936921","1351936845","1351937000","1351937105","1351936739","1351936640"],"photo_ids_order":["1351936640","1351936739","1351936845","1351936921","1351937000","1351937105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/92ebaee7cca4f4e77bc5331baf30f89c.jpg","text":"TemporaryFile(/tmp/multipartBody4108813488424353114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078443396,"filename":"image_19042025_14_57_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de315c5844ca13b53dedfbb251f0cfa5.jpg","text":"TemporaryFile(/tmp/multipartBody5107756961066871795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078443396,"filename":"image_19042025_14_57_46_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/845f317a6a4f41feec248fc111112c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7463025905184271769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078443396,"filename":"image_19042025_14_58_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/19/7b12d7510880e4d25d751efa539e0a4f.jpg","text":"TemporaryFile(/tmp/multipartBody8450582596485374208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078443396,"filename":"image_19042025_14_58_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/19/ad6b46c80756cb378156b072bf3546f2.jpg","text":"TemporaryFile(/tmp/multipartBody1190028086825114526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078443396,"filename":"image_19042025_14_57_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/19/e4400e6b09a7bcc1fce569f974bec93c.jpg","text":"TemporaryFile(/tmp/multipartBody997581861556388063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078443396,"filename":"image_19042025_14_57_25_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351936845","file1":"1351936739","file0":"1351936640","file4":"1351937000","file5":"1351937105","file3":"1351936921"},"map_files_photo_id_array":[{"photo_id":"1351937105","filename":"file5"},{"photo_id":"1351936845","filename":"file2"},{"photo_id":"1351937000","filename":"file4"},{"photo_id":"1351936739","filename":"file1"},{"photo_id":"1351936640","filename":"file0"},{"photo_id":"1351936921","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351936921":["hashtag1","hashtag2"]},{"1351936845":["hashtag1","hashtag2"]},{"1351937000":["hashtag1","hashtag2"]},{"1351937105":["hashtag1","hashtag2"]},{"1351936739":["hashtag1","hashtag2"]},{"1351936640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351936921, 1351936845, 1351937000, 1351937105, 1351936739, 1351936640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77531719207764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:00:33.125180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/58/image_19042025_14_58_35_10356.jpg', '/home/pi/Desktop/images/19042025/14/58/image_19042025_14_58_45_9426.jpg', '/home/pi/Desktop/images/19042025/14/58/image_19042025_14_58_55_10378.jpg', '/home/pi/Desktop/images/19042025/14/58/image_19042025_14_59_06_10411.jpg', '/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_15_9456.jpg', '/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/58/image_19042025_14_58_35_10356.jpg
/home/pi/Desktop/images/19042025/14/58/image_19042025_14_58_45_9426.jpg
/home/pi/Desktop/images/19042025/14/58/image_19042025_14_58_55_10378.jpg
/home/pi/Desktop/images/19042025/14/58/image_19042025_14_59_06_10411.jpg
/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_15_9456.jpg
/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_25_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":["1351938108","1351938260","1351938176","1351938335","1351937891","1351938002"],"photo_ids_order":["1351937891","1351938002","1351938108","1351938176","1351938260","1351938335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89bbbc8c83e2c8a997b4a7d19b308c77.jpg","text":"TemporaryFile(/tmp/multipartBody979801982092493680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078493609,"filename":"image_19042025_14_58_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/19/296e3d14305337a73a1b76aabbeb3963.jpg","text":"TemporaryFile(/tmp/multipartBody8952175813246936222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078493609,"filename":"image_19042025_14_59_15_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a96a508e024a48a52d8d85b03154d5f.jpg","text":"TemporaryFile(/tmp/multipartBody294107593821325567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078493609,"filename":"image_19042025_14_59_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/19/c22449164c5d92ecea6d1dd8f6273bdd.jpg","text":"TemporaryFile(/tmp/multipartBody5503780302082708979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078493609,"filename":"image_19042025_14_59_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/19/81b55c7e9a736679be74951a17fcca04.jpg","text":"TemporaryFile(/tmp/multipartBody3551116021159890438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078493609,"filename":"image_19042025_14_58_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/19/c4276327dc9a8ec3b0ac76e6db95ace8.jpg","text":"TemporaryFile(/tmp/multipartBody5574070555617632152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078493609,"filename":"image_19042025_14_58_45_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351938108","file1":"1351938002","file0":"1351937891","file4":"1351938260","file5":"1351938335","file3":"1351938176"},"map_files_photo_id_array":[{"photo_id":"1351938335","filename":"file5"},{"photo_id":"1351938108","filename":"file2"},{"photo_id":"1351938260","filename":"file4"},{"photo_id":"1351938002","filename":"file1"},{"photo_id":"1351937891","filename":"file0"},{"photo_id":"1351938176","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351938108":["hashtag1","hashtag2"]},{"1351938260":["hashtag1","hashtag2"]},{"1351938176":["hashtag1","hashtag2"]},{"1351938335":["hashtag1","hashtag2"]},{"1351937891":["hashtag1","hashtag2"]},{"1351938002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351938108, 1351938260, 1351938176, 1351938335, 1351937891, 1351938002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.57527756690979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:01:32.276603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_35_9587.jpg', '/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_46_10488.jpg', '/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_55_9474.jpg', '/home/pi/Desktop/images/19042025/15/00/image_19042025_15_00_15_10078.jpg', '/home/pi/Desktop/images/19042025/15/00/image_19042025_15_00_36_10460.jpg', '/home/pi/Desktop/images/19042025/15/00/image_19042025_15_00_56_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_35_9587.jpg
/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_46_10488.jpg
/home/pi/Desktop/images/19042025/14/59/image_19042025_14_59_55_9474.jpg
/home/pi/Desktop/images/19042025/15/00/image_19042025_15_00_15_10078.jpg
/home/pi/Desktop/images/19042025/15/00/image_19042025_15_00_36_10460.jpg
/home/pi/Desktop/images/19042025/15/00/image_19042025_15_00_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":["1351938999","1351938885","1351939076","1351939153","1351938946","1351939041"],"photo_ids_order":["1351938885","1351938946","1351938999","1351939041","1351939076","1351939153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/267bb3e51700e3762bcbf8bc9924dce8.jpg","text":"TemporaryFile(/tmp/multipartBody8620392794298762512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078552759,"filename":"image_19042025_14_59_55_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5a3f0ae096ccd25afdefc72b89fa2968.jpg","text":"TemporaryFile(/tmp/multipartBody5193629402328605728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078552759,"filename":"image_19042025_14_59_35_9587.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c6baac5fd36fa8663c42705546d4218.jpg","text":"TemporaryFile(/tmp/multipartBody4409202923381275159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078552759,"filename":"image_19042025_15_00_36_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f915f613b3cf89b3eedb56c8b70f0813.jpg","text":"TemporaryFile(/tmp/multipartBody4544124236227475875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078552759,"filename":"image_19042025_15_00_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/19/a16a2208efa01f5be700c94fd658693e.jpg","text":"TemporaryFile(/tmp/multipartBody3733071056571591187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078552759,"filename":"image_19042025_14_59_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/19/b23bd75cdf1b76d9ac007b4afbec82e9.jpg","text":"TemporaryFile(/tmp/multipartBody8206771536540453558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078552759,"filename":"image_19042025_15_00_15_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351938999","file1":"1351938946","file0":"1351938885","file4":"1351939076","file5":"1351939153","file3":"1351939041"},"map_files_photo_id_array":[{"photo_id":"1351939153","filename":"file5"},{"photo_id":"1351938999","filename":"file2"},{"photo_id":"1351939076","filename":"file4"},{"photo_id":"1351938946","filename":"file1"},{"photo_id":"1351938885","filename":"file0"},{"photo_id":"1351939041","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351938999":["hashtag1","hashtag2"]},{"1351938885":["hashtag1","hashtag2"]},{"1351939076":["hashtag1","hashtag2"]},{"1351939153":["hashtag1","hashtag2"]},{"1351938946":["hashtag1","hashtag2"]},{"1351939041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351938999, 1351938885, 1351939076, 1351939153, 1351938946, 1351939041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3056914806366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:02:32.515962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/01/image_19042025_15_01_16_10365.jpg', '/home/pi/Desktop/images/19042025/15/01/image_19042025_15_01_26_10381.jpg', '/home/pi/Desktop/images/19042025/15/01/image_19042025_15_01_56_10376.jpg', '/home/pi/Desktop/images/19042025/15/02/image_19042025_15_02_25_9371.jpg', '/home/pi/Desktop/images/19042025/15/02/image_19042025_15_02_36_10475.jpg', '/home/pi/Desktop/images/19042025/15/02/image_19042025_15_02_56_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/01/image_19042025_15_01_16_10365.jpg
/home/pi/Desktop/images/19042025/15/01/image_19042025_15_01_26_10381.jpg
/home/pi/Desktop/images/19042025/15/01/image_19042025_15_01_56_10376.jpg
/home/pi/Desktop/images/19042025/15/02/image_19042025_15_02_25_9371.jpg
/home/pi/Desktop/images/19042025/15/02/image_19042025_15_02_36_10475.jpg
/home/pi/Desktop/images/19042025/15/02/image_19042025_15_02_56_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351940544","1351940468","1351940624","1351940222","1351940293","1351940395"],"photo_ids_order":["1351940222","1351940293","1351940395","1351940468","1351940544","1351940624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bed269ab4d5aa929327c95186d711351.jpg","text":"TemporaryFile(/tmp/multipartBody1633675797102989072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078612974,"filename":"image_19042025_15_02_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/19/e70d924bbd1deed49014e921370ecc4e.jpg","text":"TemporaryFile(/tmp/multipartBody7377040705774769453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078612974,"filename":"image_19042025_15_02_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/19/1d7167e9340992dc4e4949c44d39ebe5.jpg","text":"TemporaryFile(/tmp/multipartBody4904149074467427122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078612974,"filename":"image_19042025_15_02_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0cf27e5d1cddb6bf8cfd881182cb537a.jpg","text":"TemporaryFile(/tmp/multipartBody7003896700648075738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078612974,"filename":"image_19042025_15_01_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/19/20402dadc21f1bea35ec87fb5d858b48.jpg","text":"TemporaryFile(/tmp/multipartBody3282871901081189432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078612974,"filename":"image_19042025_15_01_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/19/d7190489b597448b4b3733c00361045f.jpg","text":"TemporaryFile(/tmp/multipartBody3878884849162207453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078612974,"filename":"image_19042025_15_01_56_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351940395","file1":"1351940293","file0":"1351940222","file4":"1351940544","file5":"1351940624","file3":"1351940468"},"map_files_photo_id_array":[{"photo_id":"1351940624","filename":"file5"},{"photo_id":"1351940395","filename":"file2"},{"photo_id":"1351940544","filename":"file4"},{"photo_id":"1351940293","filename":"file1"},{"photo_id":"1351940222","filename":"file0"},{"photo_id":"1351940468","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351940544":["hashtag1","hashtag2"]},{"1351940468":["hashtag1","hashtag2"]},{"1351940624":["hashtag1","hashtag2"]},{"1351940222":["hashtag1","hashtag2"]},{"1351940293":["hashtag1","hashtag2"]},{"1351940395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351940544, 1351940468, 1351940624, 1351940222, 1351940293, 1351940395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.557050704956055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:03:32.688768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/03/image_19042025_15_04_05_9342.jpg', '/home/pi/Desktop/images/19042025/15/04/image_19042025_15_04_36_10377.jpg', '/home/pi/Desktop/images/19042025/15/04/image_19042025_15_04_46_10355.jpg', '/home/pi/Desktop/images/19042025/15/04/image_19042025_15_04_56_9447.jpg', '/home/pi/Desktop/images/19042025/15/04/image_19042025_15_05_06_10385.jpg', '/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_15_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/03/image_19042025_15_04_05_9342.jpg
/home/pi/Desktop/images/19042025/15/04/image_19042025_15_04_36_10377.jpg
/home/pi/Desktop/images/19042025/15/04/image_19042025_15_04_46_10355.jpg
/home/pi/Desktop/images/19042025/15/04/image_19042025_15_04_56_9447.jpg
/home/pi/Desktop/images/19042025/15/04/image_19042025_15_05_06_10385.jpg
/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_15_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":["1351941080","1351941056","1351941038","1351941053","1351941116","1351941017"],"photo_ids_order":["1351941017","1351941038","1351941053","1351941056","1351941080","1351941116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d07323e631122967469fc42a6dcceb3.jpg","text":"TemporaryFile(/tmp/multipartBody1832028881477689741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078673161,"filename":"image_19042025_15_05_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/19/35bd5d38dcedfdf8939219c8b693f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody6422245754870749069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078673161,"filename":"image_19042025_15_04_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/19/938160ded6c2c0ef4a07ae74b48e62d4.jpg","text":"TemporaryFile(/tmp/multipartBody6060585807586694843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078673161,"filename":"image_19042025_15_04_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/19/0c08f3ba03110c3f1368997131ba63cc.jpg","text":"TemporaryFile(/tmp/multipartBody3524405372259369474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078673161,"filename":"image_19042025_15_04_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/19/759db69a4b6ec63ee3cb004efc342e87.jpg","text":"TemporaryFile(/tmp/multipartBody3487869292703450206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078673161,"filename":"image_19042025_15_05_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/192b6acff4037d09d69021c304e47b6b.jpg","text":"TemporaryFile(/tmp/multipartBody5511305029045724188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078673161,"filename":"image_19042025_15_04_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351941053","file1":"1351941038","file0":"1351941017","file4":"1351941080","file5":"1351941116","file3":"1351941056"},"map_files_photo_id_array":[{"photo_id":"1351941116","filename":"file5"},{"photo_id":"1351941053","filename":"file2"},{"photo_id":"1351941080","filename":"file4"},{"photo_id":"1351941038","filename":"file1"},{"photo_id":"1351941017","filename":"file0"},{"photo_id":"1351941056","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351941080":["hashtag1","hashtag2"]},{"1351941056":["hashtag1","hashtag2"]},{"1351941038":["hashtag1","hashtag2"]},{"1351941053":["hashtag1","hashtag2"]},{"1351941116":["hashtag1","hashtag2"]},{"1351941017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351941080, 1351941056, 1351941038, 1351941053, 1351941116, 1351941017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.791809797286987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:04:33.008502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_26_10350.jpg', '/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_36_10371.jpg', '/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_45_9345.jpg', '/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_56_10437.jpg', '/home/pi/Desktop/images/19042025/15/05/image_19042025_15_06_06_10356.jpg', '/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_16_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_26_10350.jpg
/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_36_10371.jpg
/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_45_9345.jpg
/home/pi/Desktop/images/19042025/15/05/image_19042025_15_05_56_10437.jpg
/home/pi/Desktop/images/19042025/15/05/image_19042025_15_06_06_10356.jpg
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_16_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":["1351941423","1351941662","1351941932","1351941736","1351941532","1351941453"],"photo_ids_order":["1351941423","1351941453","1351941532","1351941662","1351941736","1351941932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ccdded730dd83178b4245f58859a753.jpg","text":"TemporaryFile(/tmp/multipartBody7973097241816440874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078733466,"filename":"image_19042025_15_05_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/19/139b826ac23ee14973477782717fed17.jpg","text":"TemporaryFile(/tmp/multipartBody7575987128444617648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078733466,"filename":"image_19042025_15_05_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/19/e842791f6f2a4ce00dc332a0d8af0736.jpg","text":"TemporaryFile(/tmp/multipartBody9162877558040999620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078733466,"filename":"image_19042025_15_06_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c45af459951698e9cc0cdbac37ad57fd.jpg","text":"TemporaryFile(/tmp/multipartBody3332871075368365061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078733466,"filename":"image_19042025_15_06_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/19/a2d2c8cba1b305cf261deae560398a71.jpg","text":"TemporaryFile(/tmp/multipartBody5915618383713163277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078733466,"filename":"image_19042025_15_05_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/19/07dd9fcd54f9597652f9668933de2757.jpg","text":"TemporaryFile(/tmp/multipartBody941520078090579464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078733466,"filename":"image_19042025_15_05_36_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351941532","file1":"1351941453","file0":"1351941423","file4":"1351941736","file5":"1351941932","file3":"1351941662"},"map_files_photo_id_array":[{"photo_id":"1351941932","filename":"file5"},{"photo_id":"1351941532","filename":"file2"},{"photo_id":"1351941736","filename":"file4"},{"photo_id":"1351941453","filename":"file1"},{"photo_id":"1351941423","filename":"file0"},{"photo_id":"1351941662","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351941423":["hashtag1","hashtag2"]},{"1351941662":["hashtag1","hashtag2"]},{"1351941932":["hashtag1","hashtag2"]},{"1351941736":["hashtag1","hashtag2"]},{"1351941532":["hashtag1","hashtag2"]},{"1351941453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351941423, 1351941662, 1351941932, 1351941736, 1351941532, 1351941453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.60650444030762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:05:33.132209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_26_10406.jpg', '/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_46_10378.jpg', '/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_56_10569.jpg', '/home/pi/Desktop/images/19042025/15/06/image_19042025_15_07_06_9424.jpg', '/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_16_10373.jpg', '/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_26_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_26_10406.jpg
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_46_10378.jpg
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_56_10569.jpg
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_07_06_9424.jpg
/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_16_10373.jpg
/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_26_9456.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3764030933380127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 18:05:43.148719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_26_10406.jpg', '/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_46_10378.jpg', '/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_56_10569.jpg', '/home/pi/Desktop/images/19042025/15/06/image_19042025_15_07_06_9424.jpg', '/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_16_10373.jpg', '/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_26_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_26_10406.jpg
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_46_10378.jpg
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_06_56_10569.jpg
/home/pi/Desktop/images/19042025/15/06/image_19042025_15_07_06_9424.jpg
/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_16_10373.jpg
/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_26_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351942407","1351942397","1351942361","1351942409","1351942406","1351942321"],"photo_ids_order":["1351942321","1351942361","1351942397","1351942406","1351942407","1351942409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90887a7040c6cd5c0f3f24c0cee4eb01.jpg","text":"TemporaryFile(/tmp/multipartBody1127666581903107028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078803605,"filename":"image_19042025_15_07_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8a8218a22cb95dc9847a0c8158052106.jpg","text":"TemporaryFile(/tmp/multipartBody2153543381301212814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078803605,"filename":"image_19042025_15_06_56_10569.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a5e554f2a7b1cbf057654e07ac198f99.jpg","text":"TemporaryFile(/tmp/multipartBody2431477851339385269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078803605,"filename":"image_19042025_15_06_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/19/d8ed22024c6d851f68245e7505d36a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8591513931847647765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078803605,"filename":"image_19042025_15_07_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/19/12fb81da0941411217d560d0e87ad5ed.jpg","text":"TemporaryFile(/tmp/multipartBody516941498597756968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078803605,"filename":"image_19042025_15_07_06_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/201d984fa6dd40c5762feb724d4f0ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4980455973178202204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078803605,"filename":"image_19042025_15_06_26_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351942397","file1":"1351942361","file0":"1351942321","file4":"1351942407","file5":"1351942409","file3":"1351942406"},"map_files_photo_id_array":[{"photo_id":"1351942409","filename":"file5"},{"photo_id":"1351942397","filename":"file2"},{"photo_id":"1351942407","filename":"file4"},{"photo_id":"1351942361","filename":"file1"},{"photo_id":"1351942321","filename":"file0"},{"photo_id":"1351942406","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351942407":["hashtag1","hashtag2"]},{"1351942397":["hashtag1","hashtag2"]},{"1351942361":["hashtag1","hashtag2"]},{"1351942409":["hashtag1","hashtag2"]},{"1351942406":["hashtag1","hashtag2"]},{"1351942321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351942407, 1351942397, 1351942361, 1351942409, 1351942406, 1351942321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13914918899536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:06:32.342283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_36_10428.jpg', '/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_45_9359.jpg', '/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_56_10370.jpg', '/home/pi/Desktop/images/19042025/15/07/image_19042025_15_08_06_10438.jpg', '/home/pi/Desktop/images/19042025/15/08/image_19042025_15_08_26_10455.jpg', '/home/pi/Desktop/images/19042025/15/08/image_19042025_15_08_36_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_36_10428.jpg
/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_45_9359.jpg
/home/pi/Desktop/images/19042025/15/07/image_19042025_15_07_56_10370.jpg
/home/pi/Desktop/images/19042025/15/07/image_19042025_15_08_06_10438.jpg
/home/pi/Desktop/images/19042025/15/08/image_19042025_15_08_26_10455.jpg
/home/pi/Desktop/images/19042025/15/08/image_19042025_15_08_36_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":["1351942850","1351942699","1351942672","1351942747","1351942797","1351942898"],"photo_ids_order":["1351942672","1351942699","1351942747","1351942797","1351942850","1351942898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0dcab15dbbf538d7677c86646378dabe.jpg","text":"TemporaryFile(/tmp/multipartBody4474843225104741244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078852808,"filename":"image_19042025_15_08_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/19/e585ce980b347d666b76e1a576f9241c.jpg","text":"TemporaryFile(/tmp/multipartBody5523609383907132291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078852808,"filename":"image_19042025_15_07_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/19/a77aee980891948799865f76589b43b1.jpg","text":"TemporaryFile(/tmp/multipartBody4157764006213657629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078852808,"filename":"image_19042025_15_07_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/19/a3cd7fe2c8a5c457ae2b9f79cc1e5da8.jpg","text":"TemporaryFile(/tmp/multipartBody2900171417364776100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078852808,"filename":"image_19042025_15_07_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/19/018cab69379e3cb98dc3a5f490e99929.jpg","text":"TemporaryFile(/tmp/multipartBody6988017870935348810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078852808,"filename":"image_19042025_15_08_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/19/7c28068e23116684008840b50c74e29d.jpg","text":"TemporaryFile(/tmp/multipartBody8996596942118456921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078852808,"filename":"image_19042025_15_08_36_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351942747","file1":"1351942699","file0":"1351942672","file4":"1351942850","file5":"1351942898","file3":"1351942797"},"map_files_photo_id_array":[{"photo_id":"1351942898","filename":"file5"},{"photo_id":"1351942747","filename":"file2"},{"photo_id":"1351942850","filename":"file4"},{"photo_id":"1351942699","filename":"file1"},{"photo_id":"1351942672","filename":"file0"},{"photo_id":"1351942797","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351942850":["hashtag1","hashtag2"]},{"1351942699":["hashtag1","hashtag2"]},{"1351942672":["hashtag1","hashtag2"]},{"1351942747":["hashtag1","hashtag2"]},{"1351942797":["hashtag1","hashtag2"]},{"1351942898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351942850, 1351942699, 1351942672, 1351942747, 1351942797, 1351942898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.020951509475708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 18:07:04.090094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/08/image_19042025_15_08_56_10464.jpg', '/home/pi/Desktop/images/19042025/15/08/image_19042025_15_09_05_9350.jpg', '/home/pi/Desktop/images/19042025/15/09/image_19042025_15_09_16_10499.jpg', '/home/pi/Desktop/images/19042025/15/09/image_19042025_15_09_25_9353.jpg', '/home/pi/Desktop/images/19042025/15/09/image_19042025_15_09_36_10365.jpg', '/home/pi/Desktop/images/19042025/15/09/image_19042025_15_10_06_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/08/image_19042025_15_08_56_10464.jpg
/home/pi/Desktop/images/19042025/15/08/image_19042025_15_09_05_9350.jpg
/home/pi/Desktop/images/19042025/15/09/image_19042025_15_09_16_10499.jpg
/home/pi/Desktop/images/19042025/15/09/image_19042025_15_09_25_9353.jpg
/home/pi/Desktop/images/19042025/15/09/image_19042025_15_09_36_10365.jpg
/home/pi/Desktop/images/19042025/15/09/image_19042025_15_10_06_10441.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351943108","1351943167","1351943059","1351943239","1351943196","1351943138"],"photo_ids_order":["1351943059","1351943108","1351943138","1351943167","1351943196","1351943239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ce18978082e9b26861e2deca5ac7e78.jpg","text":"TemporaryFile(/tmp/multipartBody6239683269732406498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078884664,"filename":"image_19042025_15_09_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6429583d501238732a564f5defab1233.jpg","text":"TemporaryFile(/tmp/multipartBody8243683044260785893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078884664,"filename":"image_19042025_15_09_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14dbf229ea2a97693b98439f0bff4c8e.jpg","text":"TemporaryFile(/tmp/multipartBody4322635160875748125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078884664,"filename":"image_19042025_15_08_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/19/71cacd759449be7a2ba44459ba6c2437.jpg","text":"TemporaryFile(/tmp/multipartBody3369302783569130508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078884664,"filename":"image_19042025_15_10_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/19/de1d04566648a47c07250a6189ac32a6.jpg","text":"TemporaryFile(/tmp/multipartBody3254264787168155954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078884664,"filename":"image_19042025_15_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/19/eaf0dd8b95bf3ace62a2d12579a7ef46.jpg","text":"TemporaryFile(/tmp/multipartBody1965646692423894322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078884664,"filename":"image_19042025_15_09_16_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351943138","file1":"1351943108","file0":"1351943059","file4":"1351943196","file5":"1351943239","file3":"1351943167"},"map_files_photo_id_array":[{"photo_id":"1351943239","filename":"file5"},{"photo_id":"1351943138","filename":"file2"},{"photo_id":"1351943196","filename":"file4"},{"photo_id":"1351943108","filename":"file1"},{"photo_id":"1351943059","filename":"file0"},{"photo_id":"1351943167","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351943108":["hashtag1","hashtag2"]},{"1351943167":["hashtag1","hashtag2"]},{"1351943059":["hashtag1","hashtag2"]},{"1351943239":["hashtag1","hashtag2"]},{"1351943196":["hashtag1","hashtag2"]},{"1351943138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351943108, 1351943167, 1351943059, 1351943239, 1351943196, 1351943138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85717558860779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 18:07:42.631531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_16_10362.jpg', '/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_26_9366.jpg', '/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_36_10458.jpg', '/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_45_9375.jpg', '/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_56_10430.jpg', '/home/pi/Desktop/images/19042025/15/10/image_19042025_15_11_06_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_16_10362.jpg
/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_26_9366.jpg
/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_36_10458.jpg
/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_45_9375.jpg
/home/pi/Desktop/images/19042025/15/10/image_19042025_15_10_56_10430.jpg
/home/pi/Desktop/images/19042025/15/10/image_19042025_15_11_06_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351943374","1351943428","1351943460","1351943340","1351943486","1351943403"],"photo_ids_order":["1351943340","1351943374","1351943403","1351943428","1351943460","1351943486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0636a0d01231d37437a4efcaa800d660.jpg","text":"TemporaryFile(/tmp/multipartBody4315369897386801700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078923094,"filename":"image_19042025_15_10_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/19/187d492d8741ba931d0a14a241d37e58.jpg","text":"TemporaryFile(/tmp/multipartBody374465545803200699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078923094,"filename":"image_19042025_15_10_45_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef98975063c89aff8ddcf9f620e78b4e.jpg","text":"TemporaryFile(/tmp/multipartBody2754973557464309779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078923094,"filename":"image_19042025_15_10_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/19/a20291e1d7afd283566b76af4700b5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1943787166226172871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078923094,"filename":"image_19042025_15_10_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/19/3fb703c0bfce007639ceae3a7fe66258.jpg","text":"TemporaryFile(/tmp/multipartBody1265001768040879565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078923094,"filename":"image_19042025_15_11_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/19/656f4eb3517b5fd74e186999a58a939a.jpg","text":"TemporaryFile(/tmp/multipartBody6854840358672398135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078923094,"filename":"image_19042025_15_10_36_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351943403","file1":"1351943374","file0":"1351943340","file4":"1351943460","file5":"1351943486","file3":"1351943428"},"map_files_photo_id_array":[{"photo_id":"1351943486","filename":"file5"},{"photo_id":"1351943403","filename":"file2"},{"photo_id":"1351943460","filename":"file4"},{"photo_id":"1351943374","filename":"file1"},{"photo_id":"1351943340","filename":"file0"},{"photo_id":"1351943428","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351943374":["hashtag1","hashtag2"]},{"1351943428":["hashtag1","hashtag2"]},{"1351943460":["hashtag1","hashtag2"]},{"1351943340":["hashtag1","hashtag2"]},{"1351943486":["hashtag1","hashtag2"]},{"1351943403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351943374, 1351943428, 1351943460, 1351943340, 1351943486, 1351943403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39758539199829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:08:32.939424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/11/image_19042025_15_11_16_9360.jpg', '/home/pi/Desktop/images/19042025/15/11/image_19042025_15_11_26_10462.jpg', '/home/pi/Desktop/images/19042025/15/11/image_19042025_15_11_35_9345.jpg', '/home/pi/Desktop/images/19042025/15/11/image_19042025_15_11_56_10368.jpg', '/home/pi/Desktop/images/19042025/15/11/image_19042025_15_12_05_9363.jpg', '/home/pi/Desktop/images/19042025/15/12/image_19042025_15_12_16_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/11/image_19042025_15_11_16_9360.jpg
/home/pi/Desktop/images/19042025/15/11/image_19042025_15_11_26_10462.jpg
/home/pi/Desktop/images/19042025/15/11/image_19042025_15_11_35_9345.jpg
/home/pi/Desktop/images/19042025/15/11/image_19042025_15_11_56_10368.jpg
/home/pi/Desktop/images/19042025/15/11/image_19042025_15_12_05_9363.jpg
/home/pi/Desktop/images/19042025/15/12/image_19042025_15_12_16_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":["1351943752","1351944306","1351944120","1351943931","1351943805","1351943780"],"photo_ids_order":["1351943752","1351943780","1351943805","1351943931","1351944120","1351944306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e57ae44d8420022d685c6fd52ee71bf4.jpg","text":"TemporaryFile(/tmp/multipartBody1133813494975681947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078973394,"filename":"image_19042025_15_11_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91c07807c522710079a197e18711a42c.jpg","text":"TemporaryFile(/tmp/multipartBody778607160327763624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078973394,"filename":"image_19042025_15_12_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/19/61bd7b8d4f098f3e9c88f2a2e65ad17f.jpg","text":"TemporaryFile(/tmp/multipartBody1435274174795690519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078973394,"filename":"image_19042025_15_12_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/85bef9cadf4c900ccb76e77ad2488f6c.jpg","text":"TemporaryFile(/tmp/multipartBody2382045368091059656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078973394,"filename":"image_19042025_15_11_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3bdba893520da487a3a493d2f95a644d.jpg","text":"TemporaryFile(/tmp/multipartBody405689712992782968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078973394,"filename":"image_19042025_15_11_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2cd41994b39de4aa17f36576012fd96d.jpg","text":"TemporaryFile(/tmp/multipartBody7887725516246261619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745078973394,"filename":"image_19042025_15_11_26_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351943805","file1":"1351943780","file0":"1351943752","file4":"1351944120","file5":"1351944306","file3":"1351943931"},"map_files_photo_id_array":[{"photo_id":"1351944306","filename":"file5"},{"photo_id":"1351943805","filename":"file2"},{"photo_id":"1351944120","filename":"file4"},{"photo_id":"1351943780","filename":"file1"},{"photo_id":"1351943752","filename":"file0"},{"photo_id":"1351943931","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351943752":["hashtag1","hashtag2"]},{"1351944306":["hashtag1","hashtag2"]},{"1351944120":["hashtag1","hashtag2"]},{"1351943931":["hashtag1","hashtag2"]},{"1351943805":["hashtag1","hashtag2"]},{"1351943780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351943752, 1351944306, 1351944120, 1351943931, 1351943805, 1351943780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.109448671340942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:09:33.147282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/12/image_19042025_15_12_46_10394.jpg', '/home/pi/Desktop/images/19042025/15/12/image_19042025_15_12_55_9378.jpg', '/home/pi/Desktop/images/19042025/15/12/image_19042025_15_13_06_10493.jpg', '/home/pi/Desktop/images/19042025/15/13/image_19042025_15_13_15_9365.jpg', '/home/pi/Desktop/images/19042025/15/13/image_19042025_15_13_56_10484.jpg', '/home/pi/Desktop/images/19042025/15/13/image_19042025_15_14_05_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/12/image_19042025_15_12_46_10394.jpg
/home/pi/Desktop/images/19042025/15/12/image_19042025_15_12_55_9378.jpg
/home/pi/Desktop/images/19042025/15/12/image_19042025_15_13_06_10493.jpg
/home/pi/Desktop/images/19042025/15/13/image_19042025_15_13_15_9365.jpg
/home/pi/Desktop/images/19042025/15/13/image_19042025_15_13_56_10484.jpg
/home/pi/Desktop/images/19042025/15/13/image_19042025_15_14_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":["1351945807","1351945705","1351945865","1351945759","1351945651","1351945732"],"photo_ids_order":["1351945651","1351945705","1351945732","1351945759","1351945807","1351945865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cb7b8cc8917c1b86b268f648af02060d.jpg","text":"TemporaryFile(/tmp/multipartBody1565605198985404086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079033619,"filename":"image_19042025_15_13_56_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7b2e200347061e6c3042e5e96da3e55.jpg","text":"TemporaryFile(/tmp/multipartBody3443995893758391430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079033619,"filename":"image_19042025_15_12_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/19/ea4e6ccecd064a3eba18aaa4484ac3c3.jpg","text":"TemporaryFile(/tmp/multipartBody436600258128210977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079033619,"filename":"image_19042025_15_14_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/19/aa7effc7660d99bbcd3439b47054b789.jpg","text":"TemporaryFile(/tmp/multipartBody8528017339729062159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079033619,"filename":"image_19042025_15_13_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/19/8c43c348849748daf7f1f9625e21c181.jpg","text":"TemporaryFile(/tmp/multipartBody8401325952967802110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079033619,"filename":"image_19042025_15_12_46_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/316efb9ab6f6454b3c84ab29c6d31cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3494549707664863605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079033619,"filename":"image_19042025_15_13_06_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351945732","file1":"1351945705","file0":"1351945651","file4":"1351945807","file5":"1351945865","file3":"1351945759"},"map_files_photo_id_array":[{"photo_id":"1351945865","filename":"file5"},{"photo_id":"1351945732","filename":"file2"},{"photo_id":"1351945807","filename":"file4"},{"photo_id":"1351945705","filename":"file1"},{"photo_id":"1351945651","filename":"file0"},{"photo_id":"1351945759","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351945807":["hashtag1","hashtag2"]},{"1351945705":["hashtag1","hashtag2"]},{"1351945865":["hashtag1","hashtag2"]},{"1351945759":["hashtag1","hashtag2"]},{"1351945651":["hashtag1","hashtag2"]},{"1351945732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351945807, 1351945705, 1351945865, 1351945759, 1351945651, 1351945732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.943870544433594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:10:32.367303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/14/image_19042025_15_14_35_9330.jpg', '/home/pi/Desktop/images/19042025/15/14/image_19042025_15_14_46_10411.jpg', '/home/pi/Desktop/images/19042025/15/14/image_19042025_15_15_06_9340.jpg', '/home/pi/Desktop/images/19042025/15/15/image_19042025_15_15_36_10431.jpg', '/home/pi/Desktop/images/19042025/15/15/image_19042025_15_15_46_10460.jpg', '/home/pi/Desktop/images/19042025/15/15/image_19042025_15_16_06_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/14/image_19042025_15_14_35_9330.jpg
/home/pi/Desktop/images/19042025/15/14/image_19042025_15_14_46_10411.jpg
/home/pi/Desktop/images/19042025/15/14/image_19042025_15_15_06_9340.jpg
/home/pi/Desktop/images/19042025/15/15/image_19042025_15_15_36_10431.jpg
/home/pi/Desktop/images/19042025/15/15/image_19042025_15_15_46_10460.jpg
/home/pi/Desktop/images/19042025/15/15/image_19042025_15_16_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":["1351946402","1351946222","1351946353","1351946428","1351946326","1351946280"],"photo_ids_order":["1351946222","1351946280","1351946326","1351946353","1351946402","1351946428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97e77417f416c3f310c64af528201ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7068800062625863036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079092827,"filename":"image_19042025_15_15_46_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/53d8f70f8956e9118e59bbf808ea2616.jpg","text":"TemporaryFile(/tmp/multipartBody508439344996498478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079092827,"filename":"image_19042025_15_14_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b5957a8dee864ed8a27dd6aaacd159a6.jpg","text":"TemporaryFile(/tmp/multipartBody4404262167405324720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079092827,"filename":"image_19042025_15_15_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/19/8353b7722878d975e3f991eeb170c687.jpg","text":"TemporaryFile(/tmp/multipartBody7091867405531541171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079092827,"filename":"image_19042025_15_16_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/19/076503ae5699ccdbf6bb8f6aaccfbf60.jpg","text":"TemporaryFile(/tmp/multipartBody6726452555469390823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079092827,"filename":"image_19042025_15_15_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/19/7d42b80b47d2ada2ce9127b3d06d508d.jpg","text":"TemporaryFile(/tmp/multipartBody6554028084078567739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079092827,"filename":"image_19042025_15_14_46_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351946326","file1":"1351946280","file0":"1351946222","file4":"1351946402","file5":"1351946428","file3":"1351946353"},"map_files_photo_id_array":[{"photo_id":"1351946428","filename":"file5"},{"photo_id":"1351946326","filename":"file2"},{"photo_id":"1351946402","filename":"file4"},{"photo_id":"1351946280","filename":"file1"},{"photo_id":"1351946222","filename":"file0"},{"photo_id":"1351946353","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351946402":["hashtag1","hashtag2"]},{"1351946222":["hashtag1","hashtag2"]},{"1351946353":["hashtag1","hashtag2"]},{"1351946428":["hashtag1","hashtag2"]},{"1351946326":["hashtag1","hashtag2"]},{"1351946280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351946402, 1351946222, 1351946353, 1351946428, 1351946326, 1351946280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.643497467041016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:11:32.672547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/16/image_19042025_15_16_56_10351.jpg', '/home/pi/Desktop/images/19042025/15/16/image_19042025_15_17_06_10427.jpg', '/home/pi/Desktop/images/19042025/15/17/image_19042025_15_17_26_10478.jpg', '/home/pi/Desktop/images/19042025/15/17/image_19042025_15_17_46_10376.jpg', '/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_16_10338.jpg', '/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_25_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/16/image_19042025_15_16_56_10351.jpg
/home/pi/Desktop/images/19042025/15/16/image_19042025_15_17_06_10427.jpg
/home/pi/Desktop/images/19042025/15/17/image_19042025_15_17_26_10478.jpg
/home/pi/Desktop/images/19042025/15/17/image_19042025_15_17_46_10376.jpg
/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_16_10338.jpg
/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_25_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351947450","1351947392","1351947277","1351947343","1351947508","1351947477"],"photo_ids_order":["1351947277","1351947343","1351947392","1351947450","1351947477","1351947508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1720318fc0770e32f7c1c0b01eee5706.jpg","text":"TemporaryFile(/tmp/multipartBody2156235189022107482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079153142,"filename":"image_19042025_15_17_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/21615e7228372a0426782e4e0f3fbea0.jpg","text":"TemporaryFile(/tmp/multipartBody5059525126334373197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079153142,"filename":"image_19042025_15_17_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/19/7ce0da99dc391f42daecd1adea3899e1.jpg","text":"TemporaryFile(/tmp/multipartBody1923275889435124497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079153142,"filename":"image_19042025_15_16_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/19/fc4c64aa6634c4b7f51ae0b37143d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody5878456160428330894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079153142,"filename":"image_19042025_15_17_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/19/1b59c1fb4350233fb7b0172d68d2e509.jpg","text":"TemporaryFile(/tmp/multipartBody104987683155035936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079153142,"filename":"image_19042025_15_18_25_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/81d20be812ca58e56738bcc9f8a54ac1.jpg","text":"TemporaryFile(/tmp/multipartBody1070466788627736114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079153142,"filename":"image_19042025_15_18_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351947392","file1":"1351947343","file0":"1351947277","file4":"1351947477","file5":"1351947508","file3":"1351947450"},"map_files_photo_id_array":[{"photo_id":"1351947508","filename":"file5"},{"photo_id":"1351947392","filename":"file2"},{"photo_id":"1351947477","filename":"file4"},{"photo_id":"1351947343","filename":"file1"},{"photo_id":"1351947277","filename":"file0"},{"photo_id":"1351947450","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351947450":["hashtag1","hashtag2"]},{"1351947392":["hashtag1","hashtag2"]},{"1351947277":["hashtag1","hashtag2"]},{"1351947343":["hashtag1","hashtag2"]},{"1351947508":["hashtag1","hashtag2"]},{"1351947477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351947450, 1351947392, 1351947277, 1351947343, 1351947508, 1351947477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69829511642456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:12:32.858764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_36_10351.jpg', '/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_46_10378.jpg', '/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_55_9356.jpg', '/home/pi/Desktop/images/19042025/15/18/image_19042025_15_19_06_10516.jpg', '/home/pi/Desktop/images/19042025/15/19/image_19042025_15_19_26_10543.jpg', '/home/pi/Desktop/images/19042025/15/19/image_19042025_15_19_46_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_36_10351.jpg
/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_46_10378.jpg
/home/pi/Desktop/images/19042025/15/18/image_19042025_15_18_55_9356.jpg
/home/pi/Desktop/images/19042025/15/18/image_19042025_15_19_06_10516.jpg
/home/pi/Desktop/images/19042025/15/19/image_19042025_15_19_26_10543.jpg
/home/pi/Desktop/images/19042025/15/19/image_19042025_15_19_46_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351948568","1351948466","1351948226","1351947986","1351948628","1351948338"],"photo_ids_order":["1351947986","1351948226","1351948338","1351948466","1351948568","1351948628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d824d00169ff0a133081691dcf76b60.jpg","text":"TemporaryFile(/tmp/multipartBody6346570931705350916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079213318,"filename":"image_19042025_15_19_26_10543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6df3e219eb3327b39bf196ab2061fb8b.jpg","text":"TemporaryFile(/tmp/multipartBody4942387012778884317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079213318,"filename":"image_19042025_15_19_06_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/19/5593ad731950206d34a2d6ad21fe42e5.jpg","text":"TemporaryFile(/tmp/multipartBody8518769838722003861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079213318,"filename":"image_19042025_15_18_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/19/a87aa49ac2f2d71bbb7fa7eb642a7a65.jpg","text":"TemporaryFile(/tmp/multipartBody1892745485336863254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079213318,"filename":"image_19042025_15_18_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/19/6dfa7c3ce08ac493e73d3524bf87ed65.jpg","text":"TemporaryFile(/tmp/multipartBody4570845117863364447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079213318,"filename":"image_19042025_15_19_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/19/54a037ea92ad2a88b50e1a83cfff1c29.jpg","text":"TemporaryFile(/tmp/multipartBody8153833357079825204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079213318,"filename":"image_19042025_15_18_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351948338","file1":"1351948226","file0":"1351947986","file4":"1351948568","file5":"1351948628","file3":"1351948466"},"map_files_photo_id_array":[{"photo_id":"1351948628","filename":"file5"},{"photo_id":"1351948338","filename":"file2"},{"photo_id":"1351948568","filename":"file4"},{"photo_id":"1351948226","filename":"file1"},{"photo_id":"1351947986","filename":"file0"},{"photo_id":"1351948466","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351948568":["hashtag1","hashtag2"]},{"1351948466":["hashtag1","hashtag2"]},{"1351948226":["hashtag1","hashtag2"]},{"1351947986":["hashtag1","hashtag2"]},{"1351948628":["hashtag1","hashtag2"]},{"1351948338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351948568, 1351948466, 1351948226, 1351947986, 1351948628, 1351948338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.03460741043091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:13:33.185496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/19/image_19042025_15_19_56_10473.jpg', '/home/pi/Desktop/images/19042025/15/19/image_19042025_15_20_05_9357.jpg', '/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_16_10403.jpg', '/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_26_10427.jpg', '/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_36_9439.jpg', '/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/19/image_19042025_15_19_56_10473.jpg
/home/pi/Desktop/images/19042025/15/19/image_19042025_15_20_05_9357.jpg
/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_16_10403.jpg
/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_26_10427.jpg
/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_36_9439.jpg
/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351948640","1351948637","1351948646","1351948642","1351948644","1351948635"],"photo_ids_order":["1351948635","1351948637","1351948640","1351948642","1351948644","1351948646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4a44ad087727a9af95a8b89e3188e07.jpg","text":"TemporaryFile(/tmp/multipartBody8557771497355638944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079273659,"filename":"image_19042025_15_20_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ede119aeb4bd49b278c0042d82008076.jpg","text":"TemporaryFile(/tmp/multipartBody1780272616628968838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079273659,"filename":"image_19042025_15_20_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/19/c6298c19d68e16d49f592d6556b65291.jpg","text":"TemporaryFile(/tmp/multipartBody427087403726542295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079273659,"filename":"image_19042025_15_20_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dcf18524d5560d6ff752614d119b664a.jpg","text":"TemporaryFile(/tmp/multipartBody5477600277488716617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079273659,"filename":"image_19042025_15_20_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/19/b8e9b2bce18c60ec38293149f9470f6b.jpg","text":"TemporaryFile(/tmp/multipartBody4927499188934413877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079273659,"filename":"image_19042025_15_20_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/19/a20a35b40e96c4a990535a4c99da3fef.jpg","text":"TemporaryFile(/tmp/multipartBody2823100456710915426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079273659,"filename":"image_19042025_15_19_56_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351948640","file1":"1351948637","file0":"1351948635","file4":"1351948644","file5":"1351948646","file3":"1351948642"},"map_files_photo_id_array":[{"photo_id":"1351948646","filename":"file5"},{"photo_id":"1351948640","filename":"file2"},{"photo_id":"1351948644","filename":"file4"},{"photo_id":"1351948637","filename":"file1"},{"photo_id":"1351948635","filename":"file0"},{"photo_id":"1351948642","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351948640":["hashtag1","hashtag2"]},{"1351948637":["hashtag1","hashtag2"]},{"1351948646":["hashtag1","hashtag2"]},{"1351948642":["hashtag1","hashtag2"]},{"1351948644":["hashtag1","hashtag2"]},{"1351948635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351948640, 1351948637, 1351948646, 1351948642, 1351948644, 1351948635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.788463830947876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:14:32.358409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_55_9377.jpg', '/home/pi/Desktop/images/19042025/15/20/image_19042025_15_21_06_10478.jpg', '/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_16_10344.jpg', '/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_26_9354.jpg', '/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_36_10381.jpg', '/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_45_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/20/image_19042025_15_20_55_9377.jpg
/home/pi/Desktop/images/19042025/15/20/image_19042025_15_21_06_10478.jpg
/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_16_10344.jpg
/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_26_9354.jpg
/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_36_10381.jpg
/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_45_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351948792","1351949373","1351948974","1351949409","1351949156","1351948833"],"photo_ids_order":["1351948792","1351948833","1351948974","1351949156","1351949373","1351949409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f4e7649d5a7e9f00252f77cf082b7d53.jpg","text":"TemporaryFile(/tmp/multipartBody211145272807580657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079332822,"filename":"image_19042025_15_20_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/19/ad94251be8de1d962e982a107d500c8b.jpg","text":"TemporaryFile(/tmp/multipartBody4716189916302120407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079332822,"filename":"image_19042025_15_21_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/19/fdd2f976934078203ca9019fb8ebd883.jpg","text":"TemporaryFile(/tmp/multipartBody3779976841515444757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079332822,"filename":"image_19042025_15_21_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/19/0d15eba5f9b99ed4c75abdf8c00ff1bf.jpg","text":"TemporaryFile(/tmp/multipartBody1154708011943713757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079332822,"filename":"image_19042025_15_21_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/19/09a21fae769a6036f01f7b3a95c4a991.jpg","text":"TemporaryFile(/tmp/multipartBody8503500579213711086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079332822,"filename":"image_19042025_15_21_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/19/bc26f824beb0afb38833f347c9d3ea3b.jpg","text":"TemporaryFile(/tmp/multipartBody797531390300387279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079332822,"filename":"image_19042025_15_21_06_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351948974","file1":"1351948833","file0":"1351948792","file4":"1351949373","file5":"1351949409","file3":"1351949156"},"map_files_photo_id_array":[{"photo_id":"1351949409","filename":"file5"},{"photo_id":"1351948974","filename":"file2"},{"photo_id":"1351949373","filename":"file4"},{"photo_id":"1351948833","filename":"file1"},{"photo_id":"1351948792","filename":"file0"},{"photo_id":"1351949156","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351948792":["hashtag1","hashtag2"]},{"1351949373":["hashtag1","hashtag2"]},{"1351948974":["hashtag1","hashtag2"]},{"1351949409":["hashtag1","hashtag2"]},{"1351949156":["hashtag1","hashtag2"]},{"1351948833":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351948792, 1351949373, 1351948974, 1351949409, 1351949156, 1351948833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.93328857421875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:15:32.467276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_56_10375.jpg', '/home/pi/Desktop/images/19042025/15/21/image_19042025_15_22_06_10359.jpg', '/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_15_9364.jpg', '/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_26_10518.jpg', '/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_35_9337.jpg', '/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_46_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/21/image_19042025_15_21_56_10375.jpg
/home/pi/Desktop/images/19042025/15/21/image_19042025_15_22_06_10359.jpg
/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_15_9364.jpg
/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_26_10518.jpg
/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_35_9337.jpg
/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_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":["1351949755","1351949740","1351949758","1351949752","1351949760","1351949759"],"photo_ids_order":["1351949740","1351949752","1351949755","1351949758","1351949759","1351949760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b74f80f0d1819d0ff787493bd4c2e22.jpg","text":"TemporaryFile(/tmp/multipartBody8660717784583592683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079392941,"filename":"image_19042025_15_22_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/19/051685c11fa2a40e9fb55807dcb6174d.jpg","text":"TemporaryFile(/tmp/multipartBody4906872951431339491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079392941,"filename":"image_19042025_15_21_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/19/055e5b0cb56d9c9a04de67e4de397a17.jpg","text":"TemporaryFile(/tmp/multipartBody7016762890548719439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079392941,"filename":"image_19042025_15_22_26_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35a2c3d0b59fc62f316e20707d4e7377.jpg","text":"TemporaryFile(/tmp/multipartBody293132951571473207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079392941,"filename":"image_19042025_15_22_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dd2acf54805c1d8d2374e730692d3dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3069214135766919016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079392941,"filename":"image_19042025_15_22_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/19/72836f58ddd6c93ea43c946e5febb629.jpg","text":"TemporaryFile(/tmp/multipartBody4993709325664673582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079392941,"filename":"image_19042025_15_22_35_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351949755","file1":"1351949752","file0":"1351949740","file4":"1351949759","file5":"1351949760","file3":"1351949758"},"map_files_photo_id_array":[{"photo_id":"1351949760","filename":"file5"},{"photo_id":"1351949755","filename":"file2"},{"photo_id":"1351949759","filename":"file4"},{"photo_id":"1351949752","filename":"file1"},{"photo_id":"1351949740","filename":"file0"},{"photo_id":"1351949758","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351949755":["hashtag1","hashtag2"]},{"1351949740":["hashtag1","hashtag2"]},{"1351949758":["hashtag1","hashtag2"]},{"1351949752":["hashtag1","hashtag2"]},{"1351949760":["hashtag1","hashtag2"]},{"1351949759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351949755, 1351949740, 1351949758, 1351949752, 1351949760, 1351949759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.894538402557373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:16:32.854980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_56_10484.jpg', '/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_16_10395.jpg', '/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_25_9453.jpg', '/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_36_10364.jpg', '/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_46_10198.jpg', '/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_55_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/22/image_19042025_15_22_56_10484.jpg
/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_16_10395.jpg
/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_25_9453.jpg
/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_36_10364.jpg
/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_46_10198.jpg
/home/pi/Desktop/images/19042025/15/23/image_19042025_15_23_55_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":["1351950188","1351950212","1351950367","1351950319","1351950270","1351950240"],"photo_ids_order":["1351950188","1351950212","1351950240","1351950270","1351950319","1351950367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eaa858192864c6ed065e98b33c40925e.jpg","text":"TemporaryFile(/tmp/multipartBody4686215713911656142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079453315,"filename":"image_19042025_15_22_56_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9ea6c9706395966c1f519f1a77edaa4c.jpg","text":"TemporaryFile(/tmp/multipartBody1335658398070944643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079453315,"filename":"image_19042025_15_23_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/19/2185d140ccd7d86ea94e5b1bfb44aad0.jpg","text":"TemporaryFile(/tmp/multipartBody3768089865701966492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079453315,"filename":"image_19042025_15_23_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/258968a0616d15871f3e0610087193c7.jpg","text":"TemporaryFile(/tmp/multipartBody8340011252340634990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079453315,"filename":"image_19042025_15_23_46_10198.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e57103c0aec6065baf37176b33926d85.jpg","text":"TemporaryFile(/tmp/multipartBody7788000357839586166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079453315,"filename":"image_19042025_15_23_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/19/0482c656e1523f3cd2a74a0f2776e8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2301677298988017897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079453315,"filename":"image_19042025_15_23_25_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351950240","file1":"1351950212","file0":"1351950188","file4":"1351950319","file5":"1351950367","file3":"1351950270"},"map_files_photo_id_array":[{"photo_id":"1351950367","filename":"file5"},{"photo_id":"1351950240","filename":"file2"},{"photo_id":"1351950319","filename":"file4"},{"photo_id":"1351950212","filename":"file1"},{"photo_id":"1351950188","filename":"file0"},{"photo_id":"1351950270","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351950188":["hashtag1","hashtag2"]},{"1351950212":["hashtag1","hashtag2"]},{"1351950367":["hashtag1","hashtag2"]},{"1351950319":["hashtag1","hashtag2"]},{"1351950270":["hashtag1","hashtag2"]},{"1351950240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351950188, 1351950212, 1351950367, 1351950319, 1351950270, 1351950240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.737290859222412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:17:33.111468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_16_10443.jpg', '/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_26_9369.jpg', '/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_36_10424.jpg', '/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_45_9364.jpg', '/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_56_10374.jpg', '/home/pi/Desktop/images/19042025/15/24/image_19042025_15_25_06_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_16_10443.jpg
/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_26_9369.jpg
/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_36_10424.jpg
/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_45_9364.jpg
/home/pi/Desktop/images/19042025/15/24/image_19042025_15_24_56_10374.jpg
/home/pi/Desktop/images/19042025/15/24/image_19042025_15_25_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351950869","1351950860","1351950863","1351950865","1351950870","1351950867"],"photo_ids_order":["1351950860","1351950863","1351950865","1351950867","1351950869","1351950870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eff832df1c8904cb243b3077706dbad5.jpg","text":"TemporaryFile(/tmp/multipartBody2690655146484142349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079513569,"filename":"image_19042025_15_24_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/19/cf819d2c71659e3c4f69dbff2c958afc.jpg","text":"TemporaryFile(/tmp/multipartBody4022833387018456160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079513569,"filename":"image_19042025_15_24_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/19/c5a5619534506b476f98a2d080a4574c.jpg","text":"TemporaryFile(/tmp/multipartBody5394640140234717292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079513569,"filename":"image_19042025_15_24_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/19/32054c15b3af8af6456767a564feeb1e.jpg","text":"TemporaryFile(/tmp/multipartBody6620237669107888734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079513569,"filename":"image_19042025_15_24_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/19/3fa485b6d17278763d7a56a397e818ac.jpg","text":"TemporaryFile(/tmp/multipartBody798756889844029956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079513569,"filename":"image_19042025_15_25_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/19/064a3608f7536156d2061b67a5ba3a03.jpg","text":"TemporaryFile(/tmp/multipartBody5632108366124941162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079513569,"filename":"image_19042025_15_24_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351950865","file1":"1351950863","file0":"1351950860","file4":"1351950869","file5":"1351950870","file3":"1351950867"},"map_files_photo_id_array":[{"photo_id":"1351950870","filename":"file5"},{"photo_id":"1351950865","filename":"file2"},{"photo_id":"1351950869","filename":"file4"},{"photo_id":"1351950863","filename":"file1"},{"photo_id":"1351950860","filename":"file0"},{"photo_id":"1351950867","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351950869":["hashtag1","hashtag2"]},{"1351950860":["hashtag1","hashtag2"]},{"1351950863":["hashtag1","hashtag2"]},{"1351950865":["hashtag1","hashtag2"]},{"1351950870":["hashtag1","hashtag2"]},{"1351950867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351950869, 1351950860, 1351950863, 1351950865, 1351950870, 1351950867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92076230049133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:18:32.307160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_15_9352.jpg', '/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_26_10351.jpg', '/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_36_10373.jpg', '/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_46_9452.jpg', '/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_56_10442.jpg', '/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_15_9352.jpg
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_26_10351.jpg
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_36_10373.jpg
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_46_9452.jpg
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_56_10442.jpg
/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_16_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.38239359855651855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 18:18:42.315769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_15_9352.jpg', '/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_26_10351.jpg', '/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_36_10373.jpg', '/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_46_9452.jpg', '/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_56_10442.jpg', '/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_15_9352.jpg
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_26_10351.jpg
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_36_10373.jpg
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_46_9452.jpg
/home/pi/Desktop/images/19042025/15/25/image_19042025_15_25_56_10442.jpg
/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_16_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":["1351950935","1351951057","1351951000","1351951032","1351951082","1351950966"],"photo_ids_order":["1351950935","1351950966","1351951000","1351951032","1351951057","1351951082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/957fc8848c59a4cc6b2ff2472dfee445.jpg","text":"TemporaryFile(/tmp/multipartBody8270408451181464763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079582774,"filename":"image_19042025_15_25_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/19/ca50b9e8a0bb863f435696045c3b21f3.jpg","text":"TemporaryFile(/tmp/multipartBody8998599133716614159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079582774,"filename":"image_19042025_15_25_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/19/1f6635446a99e31a9e934d436304f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody2248842043890294136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079582774,"filename":"image_19042025_15_25_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/19/3c8bfb333cdeed6903efceb488f9127d.jpg","text":"TemporaryFile(/tmp/multipartBody5784516835667695302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079582774,"filename":"image_19042025_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/19/e793794ce4dec3eae2eb97a860d9aaeb.jpg","text":"TemporaryFile(/tmp/multipartBody8410362462286183940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079582774,"filename":"image_19042025_15_26_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/19/33fbaff94c9cb0503c9b0b932a485099.jpg","text":"TemporaryFile(/tmp/multipartBody104364916661671805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079582774,"filename":"image_19042025_15_25_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351951000","file1":"1351950966","file0":"1351950935","file4":"1351951057","file5":"1351951082","file3":"1351951032"},"map_files_photo_id_array":[{"photo_id":"1351951082","filename":"file5"},{"photo_id":"1351951000","filename":"file2"},{"photo_id":"1351951057","filename":"file4"},{"photo_id":"1351950966","filename":"file1"},{"photo_id":"1351950935","filename":"file0"},{"photo_id":"1351951032","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351950935":["hashtag1","hashtag2"]},{"1351951057":["hashtag1","hashtag2"]},{"1351951000":["hashtag1","hashtag2"]},{"1351951032":["hashtag1","hashtag2"]},{"1351951082":["hashtag1","hashtag2"]},{"1351950966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351950935, 1351951057, 1351951000, 1351951032, 1351951082, 1351950966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.619909286499023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:19:32.537290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_26_10347.jpg', '/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_46_10360.jpg', '/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_56_10364.jpg', '/home/pi/Desktop/images/19042025/15/26/image_19042025_15_27_05_9348.jpg', '/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_16_10397.jpg', '/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_26_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_26_10347.jpg
/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_46_10360.jpg
/home/pi/Desktop/images/19042025/15/26/image_19042025_15_26_56_10364.jpg
/home/pi/Desktop/images/19042025/15/26/image_19042025_15_27_05_9348.jpg
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_16_10397.jpg
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_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":["1351951220","1351951279","1351951281","1351951193","1351951187","1351951253"],"photo_ids_order":["1351951187","1351951193","1351951220","1351951253","1351951279","1351951281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6b9f873ac0f05853e2c7c128f0cb6eea.jpg","text":"TemporaryFile(/tmp/multipartBody998465878627226669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079633035,"filename":"image_19042025_15_26_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/19/c28fc7e2d0026c4cfd77716ddafd7ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2163407721857280406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079633035,"filename":"image_19042025_15_27_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/164d43465a880b79048f2ee000bcfb32.jpg","text":"TemporaryFile(/tmp/multipartBody7363974997683562285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079633035,"filename":"image_19042025_15_27_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/19/104c69a1362992c49aa7c7f1a8c5cfbb.jpg","text":"TemporaryFile(/tmp/multipartBody2616368964665289347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079633035,"filename":"image_19042025_15_26_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/19/0e958dc092cf335c4b1ad6f7bd40f25c.jpg","text":"TemporaryFile(/tmp/multipartBody7991321193519169681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079633035,"filename":"image_19042025_15_26_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/19/456a8184bf427ebdbb111def197393a9.jpg","text":"TemporaryFile(/tmp/multipartBody2507469826799327915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079633035,"filename":"image_19042025_15_27_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351951220","file1":"1351951193","file0":"1351951187","file4":"1351951279","file5":"1351951281","file3":"1351951253"},"map_files_photo_id_array":[{"photo_id":"1351951281","filename":"file5"},{"photo_id":"1351951220","filename":"file2"},{"photo_id":"1351951279","filename":"file4"},{"photo_id":"1351951193","filename":"file1"},{"photo_id":"1351951187","filename":"file0"},{"photo_id":"1351951253","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351951220":["hashtag1","hashtag2"]},{"1351951279":["hashtag1","hashtag2"]},{"1351951281":["hashtag1","hashtag2"]},{"1351951193":["hashtag1","hashtag2"]},{"1351951187":["hashtag1","hashtag2"]},{"1351951253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351951220, 1351951279, 1351951281, 1351951193, 1351951187, 1351951253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.570892572402954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:20:32.788599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_36_9347.jpg', '/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_46_10445.jpg', '/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_55_9351.jpg', '/home/pi/Desktop/images/19042025/15/27/image_19042025_15_28_06_10489.jpg', '/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_16_10358.jpg', '/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_26_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_36_9347.jpg
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_46_10445.jpg
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_55_9351.jpg
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_28_06_10489.jpg
/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_16_10358.jpg
/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_26_9383.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37795305252075195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 18:20:42.762800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_36_9347.jpg', '/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_46_10445.jpg', '/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_55_9351.jpg', '/home/pi/Desktop/images/19042025/15/27/image_19042025_15_28_06_10489.jpg', '/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_16_10358.jpg', '/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_26_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_36_9347.jpg
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_46_10445.jpg
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_27_55_9351.jpg
/home/pi/Desktop/images/19042025/15/27/image_19042025_15_28_06_10489.jpg
/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_16_10358.jpg
/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_26_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351951381","1351951441","1351951438","1351951411","1351951440","1351951443"],"photo_ids_order":["1351951381","1351951411","1351951438","1351951440","1351951441","1351951443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3513cc3736bdd11ea2a490506be68c18.jpg","text":"TemporaryFile(/tmp/multipartBody1546920316612821395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079703223,"filename":"image_19042025_15_27_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/19/62747ba36901ce506bea1ff18dd5802c.jpg","text":"TemporaryFile(/tmp/multipartBody4584975103382459953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079703223,"filename":"image_19042025_15_28_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/19/bc4f7a86ef6764f89fe5784026a1625d.jpg","text":"TemporaryFile(/tmp/multipartBody2262939659086951983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079703223,"filename":"image_19042025_15_27_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/19/bcfbb2d3594767984ef8c0a4b9d5ced6.jpg","text":"TemporaryFile(/tmp/multipartBody777808743451142225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079703223,"filename":"image_19042025_15_27_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/19/919c26be86f691716f0b6f7db1634aff.jpg","text":"TemporaryFile(/tmp/multipartBody6907754944806631558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079703223,"filename":"image_19042025_15_28_06_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b23faa6406e190b7534b66e9558d1475.jpg","text":"TemporaryFile(/tmp/multipartBody8143560839599673694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079703223,"filename":"image_19042025_15_28_26_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351951438","file1":"1351951411","file0":"1351951381","file4":"1351951441","file5":"1351951443","file3":"1351951440"},"map_files_photo_id_array":[{"photo_id":"1351951443","filename":"file5"},{"photo_id":"1351951438","filename":"file2"},{"photo_id":"1351951441","filename":"file4"},{"photo_id":"1351951411","filename":"file1"},{"photo_id":"1351951381","filename":"file0"},{"photo_id":"1351951440","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351951381":["hashtag1","hashtag2"]},{"1351951441":["hashtag1","hashtag2"]},{"1351951438":["hashtag1","hashtag2"]},{"1351951411":["hashtag1","hashtag2"]},{"1351951440":["hashtag1","hashtag2"]},{"1351951443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351951381, 1351951441, 1351951438, 1351951411, 1351951440, 1351951443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.14271569252014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:21:33.054108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_36_10370.jpg', '/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_45_9367.jpg', '/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_56_10362.jpg', '/home/pi/Desktop/images/19042025/15/28/image_19042025_15_29_06_10458.jpg', '/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_16_9360.jpg', '/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_26_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_36_10370.jpg
/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_45_9367.jpg
/home/pi/Desktop/images/19042025/15/28/image_19042025_15_28_56_10362.jpg
/home/pi/Desktop/images/19042025/15/28/image_19042025_15_29_06_10458.jpg
/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_16_9360.jpg
/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_26_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":["1351951462","1351951456","1351951458","1351951460","1351951454","1351951451"],"photo_ids_order":["1351951451","1351951454","1351951456","1351951458","1351951460","1351951462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4898ac3200e2b81bd7b76fdbe3a6d31.jpg","text":"TemporaryFile(/tmp/multipartBody6857850832875547915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079753512,"filename":"image_19042025_15_29_26_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/50073de6874ec3c990638701c26a2b2b.jpg","text":"TemporaryFile(/tmp/multipartBody8260741211463476690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079753512,"filename":"image_19042025_15_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/19/fb36f048a7a3981a4af37caaea137a79.jpg","text":"TemporaryFile(/tmp/multipartBody4713959593253503001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079753512,"filename":"image_19042025_15_29_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/19/f29e78157a5b0f581c5199b3f44a75fd.jpg","text":"TemporaryFile(/tmp/multipartBody3361767424111248970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079753512,"filename":"image_19042025_15_29_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/19/1bcbd56d7713b44017e5848c1c47c076.jpg","text":"TemporaryFile(/tmp/multipartBody7636528048443176210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079753512,"filename":"image_19042025_15_28_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/19/7ae223c17a601b68288f04e1af22bf5f.jpg","text":"TemporaryFile(/tmp/multipartBody2360423283831344555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079753512,"filename":"image_19042025_15_28_36_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351951456","file1":"1351951454","file0":"1351951451","file4":"1351951460","file5":"1351951462","file3":"1351951458"},"map_files_photo_id_array":[{"photo_id":"1351951462","filename":"file5"},{"photo_id":"1351951456","filename":"file2"},{"photo_id":"1351951460","filename":"file4"},{"photo_id":"1351951454","filename":"file1"},{"photo_id":"1351951451","filename":"file0"},{"photo_id":"1351951458","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351951462":["hashtag1","hashtag2"]},{"1351951456":["hashtag1","hashtag2"]},{"1351951458":["hashtag1","hashtag2"]},{"1351951460":["hashtag1","hashtag2"]},{"1351951454":["hashtag1","hashtag2"]},{"1351951451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351951462, 1351951456, 1351951458, 1351951460, 1351951454, 1351951451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64011263847351 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:22:33.132230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_35_9349.jpg', '/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_46_10436.jpg', '/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_56_10377.jpg', '/home/pi/Desktop/images/19042025/15/29/image_19042025_15_30_06_9352.jpg', '/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_16_10420.jpg', '/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_25_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_35_9349.jpg
/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_46_10436.jpg
/home/pi/Desktop/images/19042025/15/29/image_19042025_15_29_56_10377.jpg
/home/pi/Desktop/images/19042025/15/29/image_19042025_15_30_06_9352.jpg
/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_16_10420.jpg
/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_25_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351951488","1351951490","1351951481","1351951475","1351951484","1351951478"],"photo_ids_order":["1351951475","1351951478","1351951481","1351951484","1351951488","1351951490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/720dcfd3285edabcdd834008d3afdb04.jpg","text":"TemporaryFile(/tmp/multipartBody1155950996697312319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079813589,"filename":"image_19042025_15_30_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/19/6191bf9bc2723ab0590869d8e4c9aa0e.jpg","text":"TemporaryFile(/tmp/multipartBody2100087803846170241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079813589,"filename":"image_19042025_15_30_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a09bff25e1ea4cebea820901ef05efc.jpg","text":"TemporaryFile(/tmp/multipartBody5693320807182505644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079813589,"filename":"image_19042025_15_29_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f5a74344d52a5339071f3fa32b56317.jpg","text":"TemporaryFile(/tmp/multipartBody2901789186748923087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079813589,"filename":"image_19042025_15_29_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/19/f884822653d42297ed5cbca10e9cb34f.jpg","text":"TemporaryFile(/tmp/multipartBody7772977164013854755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079813589,"filename":"image_19042025_15_30_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/19/86a7947c5ea73f699ed7e70dec75af54.jpg","text":"TemporaryFile(/tmp/multipartBody8561758107653964877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079813589,"filename":"image_19042025_15_29_46_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351951481","file1":"1351951478","file0":"1351951475","file4":"1351951488","file5":"1351951490","file3":"1351951484"},"map_files_photo_id_array":[{"photo_id":"1351951490","filename":"file5"},{"photo_id":"1351951481","filename":"file2"},{"photo_id":"1351951488","filename":"file4"},{"photo_id":"1351951478","filename":"file1"},{"photo_id":"1351951475","filename":"file0"},{"photo_id":"1351951484","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351951488":["hashtag1","hashtag2"]},{"1351951490":["hashtag1","hashtag2"]},{"1351951481":["hashtag1","hashtag2"]},{"1351951475":["hashtag1","hashtag2"]},{"1351951484":["hashtag1","hashtag2"]},{"1351951478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351951488, 1351951490, 1351951481, 1351951475, 1351951484, 1351951478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.090569972991943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:23:33.119526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_36_10360.jpg', '/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_46_10448.jpg', '/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_55_9348.jpg', '/home/pi/Desktop/images/19042025/15/31/image_19042025_15_31_26_9453.jpg', '/home/pi/Desktop/images/19042025/15/31/image_19042025_15_31_36_10351.jpg', '/home/pi/Desktop/images/19042025/15/31/image_19042025_15_31_45_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_36_10360.jpg
/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_46_10448.jpg
/home/pi/Desktop/images/19042025/15/30/image_19042025_15_30_55_9348.jpg
/home/pi/Desktop/images/19042025/15/31/image_19042025_15_31_26_9453.jpg
/home/pi/Desktop/images/19042025/15/31/image_19042025_15_31_36_10351.jpg
/home/pi/Desktop/images/19042025/15/31/image_19042025_15_31_45_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":["1351952340","1351952732","1351952726","1351952735","1351952729","1351952581"],"photo_ids_order":["1351952340","1351952581","1351952726","1351952729","1351952732","1351952735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6b4c68025df14cf4901f392f8a41d4b.jpg","text":"TemporaryFile(/tmp/multipartBody298110981168781709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079873585,"filename":"image_19042025_15_30_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/19/e1bef4cf5c7e21769d9adb80aa556569.jpg","text":"TemporaryFile(/tmp/multipartBody2329909259874499041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079873585,"filename":"image_19042025_15_31_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/19/f8854c00155fe0e606411dfd538731a7.jpg","text":"TemporaryFile(/tmp/multipartBody1820808126032314720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079873585,"filename":"image_19042025_15_30_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1bd8833b7b9c8b528d94ae4853a2f6d8.jpg","text":"TemporaryFile(/tmp/multipartBody4684196027115380867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079873585,"filename":"image_19042025_15_31_45_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8fb2a1fc4c9b9347b068933126ed15e1.jpg","text":"TemporaryFile(/tmp/multipartBody7165118868411057136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079873585,"filename":"image_19042025_15_31_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/19/4ae1acd727190ddde381eaab6aab9739.jpg","text":"TemporaryFile(/tmp/multipartBody6376357837913884578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079873585,"filename":"image_19042025_15_30_46_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351952726","file1":"1351952581","file0":"1351952340","file4":"1351952732","file5":"1351952735","file3":"1351952729"},"map_files_photo_id_array":[{"photo_id":"1351952735","filename":"file5"},{"photo_id":"1351952726","filename":"file2"},{"photo_id":"1351952732","filename":"file4"},{"photo_id":"1351952581","filename":"file1"},{"photo_id":"1351952340","filename":"file0"},{"photo_id":"1351952729","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351952340":["hashtag1","hashtag2"]},{"1351952732":["hashtag1","hashtag2"]},{"1351952726":["hashtag1","hashtag2"]},{"1351952735":["hashtag1","hashtag2"]},{"1351952729":["hashtag1","hashtag2"]},{"1351952581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351952340, 1351952732, 1351952726, 1351952735, 1351952729, 1351952581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.586554765701294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:24:32.206996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/31/image_19042025_15_31_56_10429.jpg', '/home/pi/Desktop/images/19042025/15/31/image_19042025_15_32_05_9443.jpg', '/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_16_10361.jpg', '/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_26_10381.jpg', '/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_35_9367.jpg', '/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_46_10511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/31/image_19042025_15_31_56_10429.jpg
/home/pi/Desktop/images/19042025/15/31/image_19042025_15_32_05_9443.jpg
/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_16_10361.jpg
/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_26_10381.jpg
/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_35_9367.jpg
/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_46_10511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351952748","1351952756","1351952759","1351952750","1351952744","1351952753"],"photo_ids_order":["1351952744","1351952748","1351952750","1351952753","1351952756","1351952759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89c1c9cea3c81f543318581ed7aa91d3.jpg","text":"TemporaryFile(/tmp/multipartBody8369875328687176251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079932687,"filename":"image_19042025_15_32_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2981fa8ac443b05b4ffd9f8e5978ae7b.jpg","text":"TemporaryFile(/tmp/multipartBody6660823998279978280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079932687,"filename":"image_19042025_15_32_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00060954b364eae981884b05ec0bc8ed.jpg","text":"TemporaryFile(/tmp/multipartBody1005349451545384203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079932687,"filename":"image_19042025_15_32_46_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/907b8daec3a317ac9ed83ffe912e7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2513924819847244845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079932687,"filename":"image_19042025_15_32_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/13376a5d38327e5ad50422ce08bc38f4.jpg","text":"TemporaryFile(/tmp/multipartBody1629576121311892613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079932687,"filename":"image_19042025_15_31_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08c425f868d0f6beef1e7e958370d387.jpg","text":"TemporaryFile(/tmp/multipartBody1369650582499448484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079932687,"filename":"image_19042025_15_32_26_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351952750","file1":"1351952748","file0":"1351952744","file4":"1351952756","file5":"1351952759","file3":"1351952753"},"map_files_photo_id_array":[{"photo_id":"1351952759","filename":"file5"},{"photo_id":"1351952750","filename":"file2"},{"photo_id":"1351952756","filename":"file4"},{"photo_id":"1351952748","filename":"file1"},{"photo_id":"1351952744","filename":"file0"},{"photo_id":"1351952753","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351952748":["hashtag1","hashtag2"]},{"1351952756":["hashtag1","hashtag2"]},{"1351952759":["hashtag1","hashtag2"]},{"1351952750":["hashtag1","hashtag2"]},{"1351952744":["hashtag1","hashtag2"]},{"1351952753":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351952748, 1351952756, 1351952759, 1351952750, 1351952744, 1351952753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.369715452194214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:25:32.430499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_55_9376.jpg', '/home/pi/Desktop/images/19042025/15/33/image_19042025_15_33_16_10475.jpg', '/home/pi/Desktop/images/19042025/15/33/image_19042025_15_33_26_9354.jpg', '/home/pi/Desktop/images/19042025/15/33/image_19042025_15_33_36_10498.jpg', '/home/pi/Desktop/images/19042025/15/33/image_19042025_15_33_45_9348.jpg', '/home/pi/Desktop/images/19042025/15/33/image_19042025_15_34_06_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/32/image_19042025_15_32_55_9376.jpg
/home/pi/Desktop/images/19042025/15/33/image_19042025_15_33_16_10475.jpg
/home/pi/Desktop/images/19042025/15/33/image_19042025_15_33_26_9354.jpg
/home/pi/Desktop/images/19042025/15/33/image_19042025_15_33_36_10498.jpg
/home/pi/Desktop/images/19042025/15/33/image_19042025_15_33_45_9348.jpg
/home/pi/Desktop/images/19042025/15/33/image_19042025_15_34_06_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":["1351953241","1351952770","1351953174","1351952925","1351952773","1351952767"],"photo_ids_order":["1351952767","1351952770","1351952773","1351952925","1351953174","1351953241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7be943c465d40bc4dc40f779fc4776d.jpg","text":"TemporaryFile(/tmp/multipartBody3511552875386245934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079992891,"filename":"image_19042025_15_34_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5d3179f5adea7728f8052c1467c1ac8.jpg","text":"TemporaryFile(/tmp/multipartBody55890204533359618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079992891,"filename":"image_19042025_15_33_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/19/0d4b4feab0aa40db86bbbf94f2f293b9.jpg","text":"TemporaryFile(/tmp/multipartBody3022735653589044127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079992891,"filename":"image_19042025_15_33_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/19/9a775fad095f691709f42ff178fbc9df.jpg","text":"TemporaryFile(/tmp/multipartBody5065097581771623511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079992891,"filename":"image_19042025_15_33_36_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3cc432e9b4fd6e7df1a4fb140ae3443.jpg","text":"TemporaryFile(/tmp/multipartBody3129272818203243949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079992891,"filename":"image_19042025_15_33_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/528789842454ea26d2a9959601b003cc.jpg","text":"TemporaryFile(/tmp/multipartBody1048441606469525746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745079992891,"filename":"image_19042025_15_32_55_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351952773","file1":"1351952770","file0":"1351952767","file4":"1351953174","file5":"1351953241","file3":"1351952925"},"map_files_photo_id_array":[{"photo_id":"1351953241","filename":"file5"},{"photo_id":"1351952773","filename":"file2"},{"photo_id":"1351953174","filename":"file4"},{"photo_id":"1351952770","filename":"file1"},{"photo_id":"1351952767","filename":"file0"},{"photo_id":"1351952925","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351953241":["hashtag1","hashtag2"]},{"1351952770":["hashtag1","hashtag2"]},{"1351953174":["hashtag1","hashtag2"]},{"1351952925":["hashtag1","hashtag2"]},{"1351952773":["hashtag1","hashtag2"]},{"1351952767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351953241, 1351952770, 1351953174, 1351952925, 1351952773, 1351952767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.760931730270386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:26:32.641248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/34/image_19042025_15_34_16_9353.jpg', '/home/pi/Desktop/images/19042025/15/34/image_19042025_15_34_26_10385.jpg', '/home/pi/Desktop/images/19042025/15/34/image_19042025_15_34_36_10345.jpg', '/home/pi/Desktop/images/19042025/15/34/image_19042025_15_34_46_9388.jpg', '/home/pi/Desktop/images/19042025/15/34/image_19042025_15_35_05_9332.jpg', '/home/pi/Desktop/images/19042025/15/35/image_19042025_15_35_36_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/34/image_19042025_15_34_16_9353.jpg
/home/pi/Desktop/images/19042025/15/34/image_19042025_15_34_26_10385.jpg
/home/pi/Desktop/images/19042025/15/34/image_19042025_15_34_36_10345.jpg
/home/pi/Desktop/images/19042025/15/34/image_19042025_15_34_46_9388.jpg
/home/pi/Desktop/images/19042025/15/34/image_19042025_15_35_05_9332.jpg
/home/pi/Desktop/images/19042025/15/35/image_19042025_15_35_36_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":["1351953415","1351953420","1351953423","1351953411","1351953408","1351953418"],"photo_ids_order":["1351953408","1351953411","1351953415","1351953418","1351953420","1351953423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a734b5359e247e4983d4af210d11346.jpg","text":"TemporaryFile(/tmp/multipartBody6862608217094383058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080053107,"filename":"image_19042025_15_34_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/19/e148ae41bb5f1b92a778d9cb46264ada.jpg","text":"TemporaryFile(/tmp/multipartBody4285127583574201741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080053107,"filename":"image_19042025_15_35_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b6e5493da17918b928336c501323a221.jpg","text":"TemporaryFile(/tmp/multipartBody5897204591943811187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080053107,"filename":"image_19042025_15_35_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/19/7349c0a63db11fca2b4289591a6fff33.jpg","text":"TemporaryFile(/tmp/multipartBody398903871142074475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080053107,"filename":"image_19042025_15_34_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ca2daeacef9c91ab3e8beba29d0ed349.jpg","text":"TemporaryFile(/tmp/multipartBody303557746092482167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080053107,"filename":"image_19042025_15_34_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/19/229b8f0259a3f8f722b91ae90fc058d2.jpg","text":"TemporaryFile(/tmp/multipartBody6925297034695334302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080053107,"filename":"image_19042025_15_34_46_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351953415","file1":"1351953411","file0":"1351953408","file4":"1351953420","file5":"1351953423","file3":"1351953418"},"map_files_photo_id_array":[{"photo_id":"1351953423","filename":"file5"},{"photo_id":"1351953415","filename":"file2"},{"photo_id":"1351953420","filename":"file4"},{"photo_id":"1351953411","filename":"file1"},{"photo_id":"1351953408","filename":"file0"},{"photo_id":"1351953418","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351953415":["hashtag1","hashtag2"]},{"1351953420":["hashtag1","hashtag2"]},{"1351953423":["hashtag1","hashtag2"]},{"1351953411":["hashtag1","hashtag2"]},{"1351953408":["hashtag1","hashtag2"]},{"1351953418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351953415, 1351953420, 1351953423, 1351953411, 1351953408, 1351953418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.43186378479004 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:27:32.830223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/35/image_19042025_15_35_46_10379.jpg', '/home/pi/Desktop/images/19042025/15/35/image_19042025_15_35_55_9340.jpg', '/home/pi/Desktop/images/19042025/15/35/image_19042025_15_36_06_10430.jpg', '/home/pi/Desktop/images/19042025/15/36/image_19042025_15_36_26_9390.jpg', '/home/pi/Desktop/images/19042025/15/36/image_19042025_15_36_36_10457.jpg', '/home/pi/Desktop/images/19042025/15/36/image_19042025_15_36_45_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/35/image_19042025_15_35_46_10379.jpg
/home/pi/Desktop/images/19042025/15/35/image_19042025_15_35_55_9340.jpg
/home/pi/Desktop/images/19042025/15/35/image_19042025_15_36_06_10430.jpg
/home/pi/Desktop/images/19042025/15/36/image_19042025_15_36_26_9390.jpg
/home/pi/Desktop/images/19042025/15/36/image_19042025_15_36_36_10457.jpg
/home/pi/Desktop/images/19042025/15/36/image_19042025_15_36_45_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351953452","1351953446","1351953434","1351953436","1351953451","1351953439"],"photo_ids_order":["1351953434","1351953436","1351953439","1351953446","1351953451","1351953452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0c1ce643bdb0fc943730b683a4a93414.jpg","text":"TemporaryFile(/tmp/multipartBody1149027002783289094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080113287,"filename":"image_19042025_15_36_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/19/35141087727d74689677e24de17d189a.jpg","text":"TemporaryFile(/tmp/multipartBody3470824944087065898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080113287,"filename":"image_19042025_15_36_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/19/c0d7d51c3e98856114d9ae03900ec2d1.jpg","text":"TemporaryFile(/tmp/multipartBody863658558660786641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080113287,"filename":"image_19042025_15_35_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/49c84936b7c7595aadab98fe876bde5d.jpg","text":"TemporaryFile(/tmp/multipartBody8363432019907197663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080113287,"filename":"image_19042025_15_35_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aaec8ea180bead3db69439b4e3caf7d3.jpg","text":"TemporaryFile(/tmp/multipartBody8608492641400434350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080113287,"filename":"image_19042025_15_36_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/19/4b8f276ac3b355e00b147f8c9803d1f5.jpg","text":"TemporaryFile(/tmp/multipartBody4195879464543929985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080113287,"filename":"image_19042025_15_36_06_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351953439","file1":"1351953436","file0":"1351953434","file4":"1351953451","file5":"1351953452","file3":"1351953446"},"map_files_photo_id_array":[{"photo_id":"1351953452","filename":"file5"},{"photo_id":"1351953439","filename":"file2"},{"photo_id":"1351953451","filename":"file4"},{"photo_id":"1351953436","filename":"file1"},{"photo_id":"1351953434","filename":"file0"},{"photo_id":"1351953446","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351953452":["hashtag1","hashtag2"]},{"1351953446":["hashtag1","hashtag2"]},{"1351953434":["hashtag1","hashtag2"]},{"1351953436":["hashtag1","hashtag2"]},{"1351953451":["hashtag1","hashtag2"]},{"1351953439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351953452, 1351953446, 1351953434, 1351953436, 1351953451, 1351953439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66079378128052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:28:33.034595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/36/image_19042025_15_36_56_10483.jpg', '/home/pi/Desktop/images/19042025/15/36/image_19042025_15_37_05_9412.jpg', '/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_16_10342.jpg', '/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_26_10454.jpg', '/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_35_9352.jpg', '/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_46_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/36/image_19042025_15_36_56_10483.jpg
/home/pi/Desktop/images/19042025/15/36/image_19042025_15_37_05_9412.jpg
/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_16_10342.jpg
/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_26_10454.jpg
/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_35_9352.jpg
/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_46_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351953901","1351953904","1351953906","1351953896","1351953893","1351953881"],"photo_ids_order":["1351953881","1351953893","1351953896","1351953901","1351953904","1351953906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d9a8eff2892a62623d5e0c20a1c0c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8252139810197283029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080173499,"filename":"image_19042025_15_37_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/19/8e48247df57c65ca85777443712508ed.jpg","text":"TemporaryFile(/tmp/multipartBody865530597822212618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080173499,"filename":"image_19042025_15_37_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/19/1e3e9cf83dd7013075cd2f8e0ca9d130.jpg","text":"TemporaryFile(/tmp/multipartBody8903350623761432906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080173499,"filename":"image_19042025_15_37_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/19/420efc5461d10beca06242614e0777a9.jpg","text":"TemporaryFile(/tmp/multipartBody6832943018038825702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080173499,"filename":"image_19042025_15_37_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/19/057f491b5cf025976faa5492e5dd692d.jpg","text":"TemporaryFile(/tmp/multipartBody9107435262323784544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080173499,"filename":"image_19042025_15_37_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/680235269eb9af07e7a689dbaed5e44c.jpg","text":"TemporaryFile(/tmp/multipartBody9128508383444118074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080173499,"filename":"image_19042025_15_36_56_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351953896","file1":"1351953893","file0":"1351953881","file4":"1351953904","file5":"1351953906","file3":"1351953901"},"map_files_photo_id_array":[{"photo_id":"1351953906","filename":"file5"},{"photo_id":"1351953896","filename":"file2"},{"photo_id":"1351953904","filename":"file4"},{"photo_id":"1351953893","filename":"file1"},{"photo_id":"1351953881","filename":"file0"},{"photo_id":"1351953901","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351953901":["hashtag1","hashtag2"]},{"1351953904":["hashtag1","hashtag2"]},{"1351953906":["hashtag1","hashtag2"]},{"1351953896":["hashtag1","hashtag2"]},{"1351953893":["hashtag1","hashtag2"]},{"1351953881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351953901, 1351953904, 1351953906, 1351953896, 1351953893, 1351953881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.108848333358765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:29:32.242096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_56_10376.jpg', '/home/pi/Desktop/images/19042025/15/37/image_19042025_15_38_06_9424.jpg', '/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_16_10445.jpg', '/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_26_9454.jpg', '/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_36_10363.jpg', '/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/37/image_19042025_15_37_56_10376.jpg
/home/pi/Desktop/images/19042025/15/37/image_19042025_15_38_06_9424.jpg
/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_16_10445.jpg
/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_26_9454.jpg
/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_36_10363.jpg
/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_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":["1351953916","1351953951","1351953930","1351953921","1351953923","1351953913"],"photo_ids_order":["1351953913","1351953916","1351953921","1351953923","1351953930","1351953951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/885d3e0e35ed497eac0e8924c4871d0d.jpg","text":"TemporaryFile(/tmp/multipartBody7017313533654609992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080232708,"filename":"image_19042025_15_38_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/19/178fbfd21c729e4d455939c4dfa690f8.jpg","text":"TemporaryFile(/tmp/multipartBody1797310598227889119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080232708,"filename":"image_19042025_15_38_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/19/0b9eaa457f6b5a5aae6d95b19c545b46.jpg","text":"TemporaryFile(/tmp/multipartBody8431441538125960832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080232708,"filename":"image_19042025_15_38_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/19/877de4845d8dce35d236d1eb10ea0863.jpg","text":"TemporaryFile(/tmp/multipartBody8034614739831915498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080232708,"filename":"image_19042025_15_38_16_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f36d27593cae6aea9a10cb57595a0abf.jpg","text":"TemporaryFile(/tmp/multipartBody7116959717045118816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080232708,"filename":"image_19042025_15_38_26_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/67a6c1196198f2d17c0de9f164425de6.jpg","text":"TemporaryFile(/tmp/multipartBody2215669817843302201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080232708,"filename":"image_19042025_15_37_56_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351953921","file1":"1351953916","file0":"1351953913","file4":"1351953930","file5":"1351953951","file3":"1351953923"},"map_files_photo_id_array":[{"photo_id":"1351953951","filename":"file5"},{"photo_id":"1351953921","filename":"file2"},{"photo_id":"1351953930","filename":"file4"},{"photo_id":"1351953916","filename":"file1"},{"photo_id":"1351953913","filename":"file0"},{"photo_id":"1351953923","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351953916":["hashtag1","hashtag2"]},{"1351953951":["hashtag1","hashtag2"]},{"1351953930":["hashtag1","hashtag2"]},{"1351953921":["hashtag1","hashtag2"]},{"1351953923":["hashtag1","hashtag2"]},{"1351953913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351953916, 1351953951, 1351953930, 1351953921, 1351953923, 1351953913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.181447982788086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:30:32.529882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_56_9345.jpg', '/home/pi/Desktop/images/19042025/15/38/image_19042025_15_39_06_10452.jpg', '/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_15_9353.jpg', '/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_26_10424.jpg', '/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_36_10360.jpg', '/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_46_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/38/image_19042025_15_38_56_9345.jpg
/home/pi/Desktop/images/19042025/15/38/image_19042025_15_39_06_10452.jpg
/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_15_9353.jpg
/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_26_10424.jpg
/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_36_10360.jpg
/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_46_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351953983","1351953971","1351953965","1351953968","1351953962","1351953958"],"photo_ids_order":["1351953958","1351953962","1351953965","1351953968","1351953971","1351953983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b4ad6f4b7de40083b80b08e5ef18b0e.jpg","text":"TemporaryFile(/tmp/multipartBody289866834050476041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080293012,"filename":"image_19042025_15_39_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/40656a54c08cc121faf570f802924394.jpg","text":"TemporaryFile(/tmp/multipartBody964569310911205633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080293012,"filename":"image_19042025_15_39_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/19/0bad35f07d3d2b8e8d245beaab88084f.jpg","text":"TemporaryFile(/tmp/multipartBody177539449755995477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080293012,"filename":"image_19042025_15_39_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/19/c3abd959e846ddf6ed14ec307c7c0c42.jpg","text":"TemporaryFile(/tmp/multipartBody5372500056360418541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080293012,"filename":"image_19042025_15_39_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/19/b092c4d8fce1fd1f912efa5afe1e6064.jpg","text":"TemporaryFile(/tmp/multipartBody5063024886429295082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080293012,"filename":"image_19042025_15_39_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/19/d309c9049d2f4e88410655cd1263a4e0.jpg","text":"TemporaryFile(/tmp/multipartBody5776974124491834616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080293012,"filename":"image_19042025_15_38_56_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351953965","file1":"1351953962","file0":"1351953958","file4":"1351953971","file5":"1351953983","file3":"1351953968"},"map_files_photo_id_array":[{"photo_id":"1351953983","filename":"file5"},{"photo_id":"1351953965","filename":"file2"},{"photo_id":"1351953971","filename":"file4"},{"photo_id":"1351953962","filename":"file1"},{"photo_id":"1351953958","filename":"file0"},{"photo_id":"1351953968","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351953983":["hashtag1","hashtag2"]},{"1351953971":["hashtag1","hashtag2"]},{"1351953965":["hashtag1","hashtag2"]},{"1351953968":["hashtag1","hashtag2"]},{"1351953962":["hashtag1","hashtag2"]},{"1351953958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351953983, 1351953971, 1351953965, 1351953968, 1351953962, 1351953958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.21364164352417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:31:32.643871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_56_10372.jpg', '/home/pi/Desktop/images/19042025/15/39/image_19042025_15_40_05_9399.jpg', '/home/pi/Desktop/images/19042025/15/40/image_19042025_15_40_16_10488.jpg', '/home/pi/Desktop/images/19042025/15/40/image_19042025_15_40_36_9421.jpg', '/home/pi/Desktop/images/19042025/15/40/image_19042025_15_40_46_10368.jpg', '/home/pi/Desktop/images/19042025/15/40/image_19042025_15_40_55_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/39/image_19042025_15_39_56_10372.jpg
/home/pi/Desktop/images/19042025/15/39/image_19042025_15_40_05_9399.jpg
/home/pi/Desktop/images/19042025/15/40/image_19042025_15_40_16_10488.jpg
/home/pi/Desktop/images/19042025/15/40/image_19042025_15_40_36_9421.jpg
/home/pi/Desktop/images/19042025/15/40/image_19042025_15_40_46_10368.jpg
/home/pi/Desktop/images/19042025/15/40/image_19042025_15_40_55_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351953999","1351953990","1351953993","1351953996","1351954005","1351954002"],"photo_ids_order":["1351953990","1351953993","1351953996","1351953999","1351954002","1351954005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e4c22b15ef9be61d8de1518631f7a015.jpg","text":"TemporaryFile(/tmp/multipartBody4049466333054225477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080353109,"filename":"image_19042025_15_40_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/19/f9dbd8a9ff749c4f8330e512d9c5f23c.jpg","text":"TemporaryFile(/tmp/multipartBody6144828105585203756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080353109,"filename":"image_19042025_15_39_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/19/66682cb94e9ce29da9ea4104855cc4e8.jpg","text":"TemporaryFile(/tmp/multipartBody5012033209818852215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080353109,"filename":"image_19042025_15_40_05_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6b94b2af9532ce0ba78dcbbedcf2bd0.jpg","text":"TemporaryFile(/tmp/multipartBody3276686764092541711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080353109,"filename":"image_19042025_15_40_16_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/19/61112e0381dad04cdd640c61b7a6e52b.jpg","text":"TemporaryFile(/tmp/multipartBody6498073247048379374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080353109,"filename":"image_19042025_15_40_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b344fd2ecd4f4f18e97faa2087d9b1c7.jpg","text":"TemporaryFile(/tmp/multipartBody5540997027252634460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080353109,"filename":"image_19042025_15_40_46_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351953996","file1":"1351953993","file0":"1351953990","file4":"1351954002","file5":"1351954005","file3":"1351953999"},"map_files_photo_id_array":[{"photo_id":"1351954005","filename":"file5"},{"photo_id":"1351953996","filename":"file2"},{"photo_id":"1351954002","filename":"file4"},{"photo_id":"1351953993","filename":"file1"},{"photo_id":"1351953990","filename":"file0"},{"photo_id":"1351953999","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351953999":["hashtag1","hashtag2"]},{"1351953990":["hashtag1","hashtag2"]},{"1351953993":["hashtag1","hashtag2"]},{"1351953996":["hashtag1","hashtag2"]},{"1351954005":["hashtag1","hashtag2"]},{"1351954002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351953999, 1351953990, 1351953993, 1351953996, 1351954005, 1351954002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.162811756134033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:32:32.881878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/40/image_19042025_15_41_06_10408.jpg', '/home/pi/Desktop/images/19042025/15/41/image_19042025_15_41_16_10379.jpg', '/home/pi/Desktop/images/19042025/15/41/image_19042025_15_41_36_10430.jpg', '/home/pi/Desktop/images/19042025/15/41/image_19042025_15_41_45_9355.jpg', '/home/pi/Desktop/images/19042025/15/41/image_19042025_15_41_56_10493.jpg', '/home/pi/Desktop/images/19042025/15/42/image_19042025_15_42_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/40/image_19042025_15_41_06_10408.jpg
/home/pi/Desktop/images/19042025/15/41/image_19042025_15_41_16_10379.jpg
/home/pi/Desktop/images/19042025/15/41/image_19042025_15_41_36_10430.jpg
/home/pi/Desktop/images/19042025/15/41/image_19042025_15_41_45_9355.jpg
/home/pi/Desktop/images/19042025/15/41/image_19042025_15_41_56_10493.jpg
/home/pi/Desktop/images/19042025/15/42/image_19042025_15_42_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":["1351954017","1351954011","1351954020","1351954014","1351954028","1351954024"],"photo_ids_order":["1351954011","1351954014","1351954017","1351954020","1351954024","1351954028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87f6a3a257ca721a82b058afe122e6e0.jpg","text":"TemporaryFile(/tmp/multipartBody1215315486120246655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080413342,"filename":"image_19042025_15_41_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/19/826d6f58492aa4646ebf21947d772069.jpg","text":"TemporaryFile(/tmp/multipartBody7537386052029098466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080413342,"filename":"image_19042025_15_41_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/19/9e2a104e211d877efa5aa001b3cacb86.jpg","text":"TemporaryFile(/tmp/multipartBody337108149048608116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080413342,"filename":"image_19042025_15_41_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f27f50b8b052fbf104bc2ab7b46c92f3.jpg","text":"TemporaryFile(/tmp/multipartBody8001005832779418339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080413342,"filename":"image_19042025_15_41_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/19/c18ac419f039777103e6cdf63f4efcdc.jpg","text":"TemporaryFile(/tmp/multipartBody5406546854588576644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080413342,"filename":"image_19042025_15_42_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/19/3fa79f4f96ccca4f604deaa3322e9ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8457001152435227811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080413342,"filename":"image_19042025_15_41_56_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954017","file1":"1351954014","file0":"1351954011","file4":"1351954024","file5":"1351954028","file3":"1351954020"},"map_files_photo_id_array":[{"photo_id":"1351954028","filename":"file5"},{"photo_id":"1351954017","filename":"file2"},{"photo_id":"1351954024","filename":"file4"},{"photo_id":"1351954014","filename":"file1"},{"photo_id":"1351954011","filename":"file0"},{"photo_id":"1351954020","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351954017":["hashtag1","hashtag2"]},{"1351954011":["hashtag1","hashtag2"]},{"1351954020":["hashtag1","hashtag2"]},{"1351954014":["hashtag1","hashtag2"]},{"1351954028":["hashtag1","hashtag2"]},{"1351954024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351954017, 1351954011, 1351954020, 1351954014, 1351954028, 1351954024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46607518196106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:33:33.159207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/42/image_19042025_15_42_55_9354.jpg', '/home/pi/Desktop/images/19042025/15/42/image_19042025_15_43_06_10505.jpg', '/home/pi/Desktop/images/19042025/15/43/image_19042025_15_43_26_9360.jpg', '/home/pi/Desktop/images/19042025/15/43/image_19042025_15_43_36_10458.jpg', '/home/pi/Desktop/images/19042025/15/43/image_19042025_15_43_45_9381.jpg', '/home/pi/Desktop/images/19042025/15/43/image_19042025_15_43_56_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/42/image_19042025_15_42_55_9354.jpg
/home/pi/Desktop/images/19042025/15/42/image_19042025_15_43_06_10505.jpg
/home/pi/Desktop/images/19042025/15/43/image_19042025_15_43_26_9360.jpg
/home/pi/Desktop/images/19042025/15/43/image_19042025_15_43_36_10458.jpg
/home/pi/Desktop/images/19042025/15/43/image_19042025_15_43_45_9381.jpg
/home/pi/Desktop/images/19042025/15/43/image_19042025_15_43_56_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":["1351954053","1351954041","1351954050","1351954038","1351954195","1351954045"],"photo_ids_order":["1351954038","1351954041","1351954045","1351954050","1351954053","1351954195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e725a7dc90478c534d19ba2938aa8d4.jpg","text":"TemporaryFile(/tmp/multipartBody1773851351925253238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080473621,"filename":"image_19042025_15_43_45_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7bf09e3012e6334f21e2448266d21a37.jpg","text":"TemporaryFile(/tmp/multipartBody8648238501035513152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080473621,"filename":"image_19042025_15_43_06_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/19/63a151880b5fe1c7b7fc20232ad6545f.jpg","text":"TemporaryFile(/tmp/multipartBody3634687470670856687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080473621,"filename":"image_19042025_15_43_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/19/4e6cb0652b4fa0e26ae8d08f012c6b47.jpg","text":"TemporaryFile(/tmp/multipartBody5199066034360107279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080473621,"filename":"image_19042025_15_42_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97d790f43b272a8cc1257386a9aaef95.jpg","text":"TemporaryFile(/tmp/multipartBody8123232442184877607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080473621,"filename":"image_19042025_15_43_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/19/1a27ac2822c179f4cf5a8517fdb39d12.jpg","text":"TemporaryFile(/tmp/multipartBody28126353604750746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080473621,"filename":"image_19042025_15_43_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954045","file1":"1351954041","file0":"1351954038","file4":"1351954053","file5":"1351954195","file3":"1351954050"},"map_files_photo_id_array":[{"photo_id":"1351954195","filename":"file5"},{"photo_id":"1351954045","filename":"file2"},{"photo_id":"1351954053","filename":"file4"},{"photo_id":"1351954041","filename":"file1"},{"photo_id":"1351954038","filename":"file0"},{"photo_id":"1351954050","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351954053":["hashtag1","hashtag2"]},{"1351954041":["hashtag1","hashtag2"]},{"1351954050":["hashtag1","hashtag2"]},{"1351954038":["hashtag1","hashtag2"]},{"1351954195":["hashtag1","hashtag2"]},{"1351954045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351954053, 1351954041, 1351954050, 1351954038, 1351954195, 1351954045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.849989414215088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:34:32.221967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/43/image_19042025_15_44_05_9374.jpg', '/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_16_10339.jpg', '/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_26_10368.jpg', '/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_35_9368.jpg', '/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_46_10429.jpg', '/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_56_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/43/image_19042025_15_44_05_9374.jpg
/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_16_10339.jpg
/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_26_10368.jpg
/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_35_9368.jpg
/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_46_10429.jpg
/home/pi/Desktop/images/19042025/15/44/image_19042025_15_44_56_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":["1351954326","1351954323","1351954487","1351954460","1351954486","1351954489"],"photo_ids_order":["1351954323","1351954326","1351954460","1351954486","1351954487","1351954489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/937d131178072f12b908b5db824e65d0.jpg","text":"TemporaryFile(/tmp/multipartBody5565127630809397913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080532680,"filename":"image_19042025_15_44_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e110f2131e7993f96b6aa302db09e682.jpg","text":"TemporaryFile(/tmp/multipartBody3812794974315840613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080532680,"filename":"image_19042025_15_44_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/19/50d8446f10b2f4c7e915047d56cd94ce.jpg","text":"TemporaryFile(/tmp/multipartBody8561190554991360523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080532680,"filename":"image_19042025_15_44_46_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86955e48334dc89ea1670f07ff0b206c.jpg","text":"TemporaryFile(/tmp/multipartBody8587908337789861149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080532680,"filename":"image_19042025_15_44_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/19/61c318f7fedf092cb9ec05ae8a5d4dce.jpg","text":"TemporaryFile(/tmp/multipartBody8944840383342812742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080532680,"filename":"image_19042025_15_44_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/23ba00b8281518c951b37a9f66ce4e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8202792586465894286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080532680,"filename":"image_19042025_15_44_56_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954460","file1":"1351954326","file0":"1351954323","file4":"1351954487","file5":"1351954489","file3":"1351954486"},"map_files_photo_id_array":[{"photo_id":"1351954489","filename":"file5"},{"photo_id":"1351954460","filename":"file2"},{"photo_id":"1351954487","filename":"file4"},{"photo_id":"1351954326","filename":"file1"},{"photo_id":"1351954323","filename":"file0"},{"photo_id":"1351954486","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351954326":["hashtag1","hashtag2"]},{"1351954323":["hashtag1","hashtag2"]},{"1351954487":["hashtag1","hashtag2"]},{"1351954460":["hashtag1","hashtag2"]},{"1351954486":["hashtag1","hashtag2"]},{"1351954489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351954326, 1351954323, 1351954487, 1351954460, 1351954486, 1351954489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.827306509017944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:35:32.625804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/44/image_19042025_15_45_06_9412.jpg', '/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_16_10417.jpg', '/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_25_9355.jpg', '/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_36_10417.jpg', '/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_46_10374.jpg', '/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_56_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/44/image_19042025_15_45_06_9412.jpg
/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_16_10417.jpg
/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_25_9355.jpg
/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_36_10417.jpg
/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_46_10374.jpg
/home/pi/Desktop/images/19042025/15/45/image_19042025_15_45_56_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":["1351954578","1351954577","1351954582","1351954576","1351954587","1351954575"],"photo_ids_order":["1351954575","1351954576","1351954577","1351954578","1351954582","1351954587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/16076e63289c9914e259e7848f0c928d.jpg","text":"TemporaryFile(/tmp/multipartBody3654213626267171260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080593088,"filename":"image_19042025_15_45_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/19/384cbd43e97671f6f1e261f6a1a18391.jpg","text":"TemporaryFile(/tmp/multipartBody3776996489829529313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080593088,"filename":"image_19042025_15_45_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/19/e0684601bf114a5fb846970eded0e7d4.jpg","text":"TemporaryFile(/tmp/multipartBody3788373205725019442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080593088,"filename":"image_19042025_15_45_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/19/2eaff67d1a74c6e0cfe8bfee34446dcc.jpg","text":"TemporaryFile(/tmp/multipartBody7728294467796049300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080593088,"filename":"image_19042025_15_45_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e4b2ba3767ab7c9db400b93ded5b19fb.jpg","text":"TemporaryFile(/tmp/multipartBody121972575369192690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080593088,"filename":"image_19042025_15_45_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/19/8423c98f26d63de58eb95b27a21deea2.jpg","text":"TemporaryFile(/tmp/multipartBody838863964036242346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080593088,"filename":"image_19042025_15_45_06_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954577","file1":"1351954576","file0":"1351954575","file4":"1351954582","file5":"1351954587","file3":"1351954578"},"map_files_photo_id_array":[{"photo_id":"1351954587","filename":"file5"},{"photo_id":"1351954577","filename":"file2"},{"photo_id":"1351954582","filename":"file4"},{"photo_id":"1351954576","filename":"file1"},{"photo_id":"1351954575","filename":"file0"},{"photo_id":"1351954578","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351954578":["hashtag1","hashtag2"]},{"1351954577":["hashtag1","hashtag2"]},{"1351954582":["hashtag1","hashtag2"]},{"1351954576":["hashtag1","hashtag2"]},{"1351954587":["hashtag1","hashtag2"]},{"1351954575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351954578, 1351954577, 1351954582, 1351954576, 1351954587, 1351954575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.815037965774536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:36:32.796543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/45/image_19042025_15_46_06_10475.jpg', '/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_15_9345.jpg', '/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_26_10376.jpg', '/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_36_10357.jpg', '/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_45_9372.jpg', '/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_56_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/45/image_19042025_15_46_06_10475.jpg
/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_15_9345.jpg
/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_26_10376.jpg
/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_36_10357.jpg
/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_45_9372.jpg
/home/pi/Desktop/images/19042025/15/46/image_19042025_15_46_56_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":["1351954626","1351954649","1351954622","1351954669","1351954657","1351954668"],"photo_ids_order":["1351954622","1351954626","1351954649","1351954657","1351954668","1351954669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ff4c22b91c3a1125f2ead806863b895.jpg","text":"TemporaryFile(/tmp/multipartBody5086631306709768467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080653260,"filename":"image_19042025_15_46_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/19/0aba28e388d7f4dec4fab370bbdf59bc.jpg","text":"TemporaryFile(/tmp/multipartBody3723649289569097586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080653260,"filename":"image_19042025_15_46_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b37787e1cb56d5a047a7fc06936bec37.jpg","text":"TemporaryFile(/tmp/multipartBody5355855470587970196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080653260,"filename":"image_19042025_15_46_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/19/058e8e6a61323baa51ae6c3221164dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3894324128956060401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080653260,"filename":"image_19042025_15_46_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/19/1c4a93f10da1e8657bbd26f14efb7007.jpg","text":"TemporaryFile(/tmp/multipartBody4054288557882290538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080653260,"filename":"image_19042025_15_46_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d5a86378b1fef27c103b1b6e6dd3d08.jpg","text":"TemporaryFile(/tmp/multipartBody1945419123216620984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080653260,"filename":"image_19042025_15_46_45_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954649","file1":"1351954626","file0":"1351954622","file4":"1351954668","file5":"1351954669","file3":"1351954657"},"map_files_photo_id_array":[{"photo_id":"1351954669","filename":"file5"},{"photo_id":"1351954649","filename":"file2"},{"photo_id":"1351954668","filename":"file4"},{"photo_id":"1351954626","filename":"file1"},{"photo_id":"1351954622","filename":"file0"},{"photo_id":"1351954657","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351954626":["hashtag1","hashtag2"]},{"1351954649":["hashtag1","hashtag2"]},{"1351954622":["hashtag1","hashtag2"]},{"1351954669":["hashtag1","hashtag2"]},{"1351954657":["hashtag1","hashtag2"]},{"1351954668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351954626, 1351954649, 1351954622, 1351954669, 1351954657, 1351954668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50865411758423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:37:32.988420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/46/image_19042025_15_47_06_10348.jpg', '/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_16_9346.jpg', '/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_26_10459.jpg', '/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_35_9354.jpg', '/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_46_10359.jpg', '/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_56_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/46/image_19042025_15_47_06_10348.jpg
/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_16_9346.jpg
/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_26_10459.jpg
/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_35_9354.jpg
/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_46_10359.jpg
/home/pi/Desktop/images/19042025/15/47/image_19042025_15_47_56_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":["1351954761","1351954734","1351954885","1351954786","1351954831","1351954933"],"photo_ids_order":["1351954734","1351954761","1351954786","1351954831","1351954885","1351954933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/10e88a70327eaec546ff66c113c81f88.jpg","text":"TemporaryFile(/tmp/multipartBody7283211850966782420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080713444,"filename":"image_19042025_15_47_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/19/839e0a06364e98df92f0ccbfb68c285e.jpg","text":"TemporaryFile(/tmp/multipartBody3856740393614543309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080713444,"filename":"image_19042025_15_47_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/19/1cde84406fc3c2798f5d3cd855246404.jpg","text":"TemporaryFile(/tmp/multipartBody7037946276117613525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080713444,"filename":"image_19042025_15_47_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/19/3d10decfcf221ec15aef027abf1155ae.jpg","text":"TemporaryFile(/tmp/multipartBody5807346759789196097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080713444,"filename":"image_19042025_15_47_26_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7cd838974b9e57ddabce3ddeb09c3e2.jpg","text":"TemporaryFile(/tmp/multipartBody5647791825588902863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080713444,"filename":"image_19042025_15_47_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/19/eca31e119133b3875b3a168683fa51a5.jpg","text":"TemporaryFile(/tmp/multipartBody4981194127859405904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080713444,"filename":"image_19042025_15_47_56_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954786","file1":"1351954761","file0":"1351954734","file4":"1351954885","file5":"1351954933","file3":"1351954831"},"map_files_photo_id_array":[{"photo_id":"1351954933","filename":"file5"},{"photo_id":"1351954786","filename":"file2"},{"photo_id":"1351954885","filename":"file4"},{"photo_id":"1351954761","filename":"file1"},{"photo_id":"1351954734","filename":"file0"},{"photo_id":"1351954831","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351954761":["hashtag1","hashtag2"]},{"1351954734":["hashtag1","hashtag2"]},{"1351954885":["hashtag1","hashtag2"]},{"1351954786":["hashtag1","hashtag2"]},{"1351954831":["hashtag1","hashtag2"]},{"1351954933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351954761, 1351954734, 1351954885, 1351954786, 1351954831, 1351954933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.80634093284607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:38:32.367533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/47/image_19042025_15_48_06_9454.jpg', '/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_16_10427.jpg', '/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_25_9372.jpg', '/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_35_9858.jpg', '/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_46_10392.jpg', '/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_56_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/47/image_19042025_15_48_06_9454.jpg
/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_16_10427.jpg
/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_25_9372.jpg
/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_35_9858.jpg
/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_46_10392.jpg
/home/pi/Desktop/images/19042025/15/48/image_19042025_15_48_56_10541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351955657","1351955522","1351955752","1351955596","1351955782","1351955685"],"photo_ids_order":["1351955522","1351955596","1351955657","1351955685","1351955752","1351955782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3fd8ac26a91831b4036c33e3ef693af.jpg","text":"TemporaryFile(/tmp/multipartBody1212327148988947860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080772905,"filename":"image_19042025_15_48_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/19/b7bc3225d93e8bfe824bf0807b57e5a1.jpg","text":"TemporaryFile(/tmp/multipartBody4104749532216716916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080772905,"filename":"image_19042025_15_48_06_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25d98873ac034ec30dd2541a34a4f10e.jpg","text":"TemporaryFile(/tmp/multipartBody8430552174051325649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080772905,"filename":"image_19042025_15_48_46_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1086ad138c859fbca692e60095531c5a.jpg","text":"TemporaryFile(/tmp/multipartBody7370790687109115324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080772905,"filename":"image_19042025_15_48_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/19/2eb7d098a2a99a33dca8ffa611cf9cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1808261375791830575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080772905,"filename":"image_19042025_15_48_56_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/19/958a049b33fd159a11a81a8ea7293682.jpg","text":"TemporaryFile(/tmp/multipartBody7588278926083889711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080772905,"filename":"image_19042025_15_48_35_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351955657","file1":"1351955596","file0":"1351955522","file4":"1351955752","file5":"1351955782","file3":"1351955685"},"map_files_photo_id_array":[{"photo_id":"1351955782","filename":"file5"},{"photo_id":"1351955657","filename":"file2"},{"photo_id":"1351955752","filename":"file4"},{"photo_id":"1351955596","filename":"file1"},{"photo_id":"1351955522","filename":"file0"},{"photo_id":"1351955685","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351955657":["hashtag1","hashtag2"]},{"1351955522":["hashtag1","hashtag2"]},{"1351955752":["hashtag1","hashtag2"]},{"1351955596":["hashtag1","hashtag2"]},{"1351955782":["hashtag1","hashtag2"]},{"1351955685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351955657, 1351955522, 1351955752, 1351955596, 1351955782, 1351955685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.526500940322876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:39:32.558598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/48/image_19042025_15_49_06_9354.jpg', '/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_16_10401.jpg', '/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_25_9395.jpg', '/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_36_10504.jpg', '/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_45_9355.jpg', '/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_56_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/48/image_19042025_15_49_06_9354.jpg
/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_16_10401.jpg
/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_25_9395.jpg
/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_36_10504.jpg
/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_45_9355.jpg
/home/pi/Desktop/images/19042025/15/49/image_19042025_15_49_56_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":["1351955942","1351955936","1351955939","1351955923","1351955926","1351955919"],"photo_ids_order":["1351955919","1351955923","1351955926","1351955936","1351955939","1351955942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f0e53c4c75c003793fe4947d28293d3.jpg","text":"TemporaryFile(/tmp/multipartBody2856393291769879801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080833031,"filename":"image_19042025_15_49_56_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa7d7da937c5c2bbc6aee7d19a5c59cb.jpg","text":"TemporaryFile(/tmp/multipartBody4744688356072270764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080833031,"filename":"image_19042025_15_49_36_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e1076f0e50b4cd47a352b20a147e7f7a.jpg","text":"TemporaryFile(/tmp/multipartBody3977618265016659433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080833031,"filename":"image_19042025_15_49_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4606b3ca8852472901fd5cfae8fe2582.jpg","text":"TemporaryFile(/tmp/multipartBody11492989861653066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080833031,"filename":"image_19042025_15_49_16_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c64fb5119ac176bb2b49e31866d66b7.jpg","text":"TemporaryFile(/tmp/multipartBody4912257455329162944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080833031,"filename":"image_19042025_15_49_25_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf187a88eec083af015aecd7050c27d8.jpg","text":"TemporaryFile(/tmp/multipartBody2659012301352235426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080833031,"filename":"image_19042025_15_49_06_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351955926","file1":"1351955923","file0":"1351955919","file4":"1351955939","file5":"1351955942","file3":"1351955936"},"map_files_photo_id_array":[{"photo_id":"1351955942","filename":"file5"},{"photo_id":"1351955926","filename":"file2"},{"photo_id":"1351955939","filename":"file4"},{"photo_id":"1351955923","filename":"file1"},{"photo_id":"1351955919","filename":"file0"},{"photo_id":"1351955936","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351955942":["hashtag1","hashtag2"]},{"1351955936":["hashtag1","hashtag2"]},{"1351955939":["hashtag1","hashtag2"]},{"1351955923":["hashtag1","hashtag2"]},{"1351955926":["hashtag1","hashtag2"]},{"1351955919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351955942, 1351955936, 1351955939, 1351955923, 1351955926, 1351955919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39404654502869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:40:32.670106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/49/image_19042025_15_50_06_10350.jpg', '/home/pi/Desktop/images/19042025/15/50/image_19042025_15_50_15_9357.jpg', '/home/pi/Desktop/images/19042025/15/50/image_19042025_15_50_36_10367.jpg', '/home/pi/Desktop/images/19042025/15/50/image_19042025_15_50_45_9353.jpg', '/home/pi/Desktop/images/19042025/15/50/image_19042025_15_50_56_10411.jpg', '/home/pi/Desktop/images/19042025/15/50/image_19042025_15_51_06_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/49/image_19042025_15_50_06_10350.jpg
/home/pi/Desktop/images/19042025/15/50/image_19042025_15_50_15_9357.jpg
/home/pi/Desktop/images/19042025/15/50/image_19042025_15_50_36_10367.jpg
/home/pi/Desktop/images/19042025/15/50/image_19042025_15_50_45_9353.jpg
/home/pi/Desktop/images/19042025/15/50/image_19042025_15_50_56_10411.jpg
/home/pi/Desktop/images/19042025/15/50/image_19042025_15_51_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":["1351956443","1351956527","1351956598","1351956568","1351956549","1351956383"],"photo_ids_order":["1351956383","1351956443","1351956527","1351956549","1351956568","1351956598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b70f365da6a9f03248ef131a5e6a58ab.jpg","text":"TemporaryFile(/tmp/multipartBody2914165282085504817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080893134,"filename":"image_19042025_15_50_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/19/53a43ce1f2cf86b02ac72f2fe9d6c712.jpg","text":"TemporaryFile(/tmp/multipartBody6368533766746557416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080893134,"filename":"image_19042025_15_50_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/19/c25912c9adb30172f0cf8179b8e5177d.jpg","text":"TemporaryFile(/tmp/multipartBody614897414623234610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080893134,"filename":"image_19042025_15_51_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/19/0169dd0da7d8b4b485b622fd2bc8b44f.jpg","text":"TemporaryFile(/tmp/multipartBody4121255850761503692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080893134,"filename":"image_19042025_15_50_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/19/8e01f5b328ce8de10e9f8f807b15366e.jpg","text":"TemporaryFile(/tmp/multipartBody2174158979827390718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080893134,"filename":"image_19042025_15_50_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/19/6c3f0ebd247ef01ffcd3d1f70533a27b.jpg","text":"TemporaryFile(/tmp/multipartBody3893211464399249450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080893134,"filename":"image_19042025_15_50_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351956527","file1":"1351956443","file0":"1351956383","file4":"1351956568","file5":"1351956598","file3":"1351956549"},"map_files_photo_id_array":[{"photo_id":"1351956598","filename":"file5"},{"photo_id":"1351956527","filename":"file2"},{"photo_id":"1351956568","filename":"file4"},{"photo_id":"1351956443","filename":"file1"},{"photo_id":"1351956383","filename":"file0"},{"photo_id":"1351956549","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351956443":["hashtag1","hashtag2"]},{"1351956527":["hashtag1","hashtag2"]},{"1351956598":["hashtag1","hashtag2"]},{"1351956568":["hashtag1","hashtag2"]},{"1351956549":["hashtag1","hashtag2"]},{"1351956383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351956443, 1351956527, 1351956598, 1351956568, 1351956549, 1351956383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44515085220337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:41:32.908208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_16_9454.jpg', '/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_26_10442.jpg', '/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_35_9362.jpg', '/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_46_10420.jpg', '/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_56_10355.jpg', '/home/pi/Desktop/images/19042025/15/51/image_19042025_15_52_06_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_16_9454.jpg
/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_26_10442.jpg
/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_35_9362.jpg
/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_46_10420.jpg
/home/pi/Desktop/images/19042025/15/51/image_19042025_15_51_56_10355.jpg
/home/pi/Desktop/images/19042025/15/51/image_19042025_15_52_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":["1351956943","1351956894","1351957175","1351957085","1351956995","1351956866"],"photo_ids_order":["1351956866","1351956894","1351956943","1351956995","1351957085","1351957175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4028c79ac9a33774328828725748826.jpg","text":"TemporaryFile(/tmp/multipartBody6632847087393284146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080953388,"filename":"image_19042025_15_51_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/19/e71dadac59424d4e882abc89a84cc5d2.jpg","text":"TemporaryFile(/tmp/multipartBody6544359051816794341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080953388,"filename":"image_19042025_15_51_26_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d42bacc0a4f19ab2414ee85878ee25e3.jpg","text":"TemporaryFile(/tmp/multipartBody4843641149641059004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080953388,"filename":"image_19042025_15_52_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/19/d129e36da23a67741a0da33eab4cf136.jpg","text":"TemporaryFile(/tmp/multipartBody2233052607454741693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080953388,"filename":"image_19042025_15_51_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/19/cecb80e9849e7ea2b57e87c603e7f51b.jpg","text":"TemporaryFile(/tmp/multipartBody8110304480146024904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080953388,"filename":"image_19042025_15_51_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4291a0d89e08f276626739be5dcbed3.jpg","text":"TemporaryFile(/tmp/multipartBody2711307612433793975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745080953388,"filename":"image_19042025_15_51_16_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351956943","file1":"1351956894","file0":"1351956866","file4":"1351957085","file5":"1351957175","file3":"1351956995"},"map_files_photo_id_array":[{"photo_id":"1351957175","filename":"file5"},{"photo_id":"1351956943","filename":"file2"},{"photo_id":"1351957085","filename":"file4"},{"photo_id":"1351956894","filename":"file1"},{"photo_id":"1351956866","filename":"file0"},{"photo_id":"1351956995","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351956943":["hashtag1","hashtag2"]},{"1351956894":["hashtag1","hashtag2"]},{"1351957175":["hashtag1","hashtag2"]},{"1351957085":["hashtag1","hashtag2"]},{"1351956995":["hashtag1","hashtag2"]},{"1351956866":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351956943, 1351956894, 1351957175, 1351957085, 1351956995, 1351956866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4945228099823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:42:33.119187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_16_10365.jpg', '/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_25_9448.jpg', '/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_36_10515.jpg', '/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_45_9355.jpg', '/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_56_10370.jpg', '/home/pi/Desktop/images/19042025/15/52/image_19042025_15_53_06_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_16_10365.jpg
/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_25_9448.jpg
/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_36_10515.jpg
/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_45_9355.jpg
/home/pi/Desktop/images/19042025/15/52/image_19042025_15_52_56_10370.jpg
/home/pi/Desktop/images/19042025/15/52/image_19042025_15_53_06_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351957480","1351957508","1351957573","1351957453","1351957539","1351957598"],"photo_ids_order":["1351957453","1351957480","1351957508","1351957539","1351957573","1351957598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/abeaa3c22ed7e1e689adbbe510f4d7df.jpg","text":"TemporaryFile(/tmp/multipartBody6922441859907440201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081013589,"filename":"image_19042025_15_52_25_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c43a31f76cc1811c87be5aa5131818e3.jpg","text":"TemporaryFile(/tmp/multipartBody7177104164564454593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081013589,"filename":"image_19042025_15_52_36_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2361c8730a641fe235d2125b718f7133.jpg","text":"TemporaryFile(/tmp/multipartBody4565030195788210208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081013589,"filename":"image_19042025_15_52_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/19/6dc0e2d5cf4044df3528dec011084902.jpg","text":"TemporaryFile(/tmp/multipartBody4264309948841436596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081013589,"filename":"image_19042025_15_52_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/19/2cc841019134e86e94dda282cb81678d.jpg","text":"TemporaryFile(/tmp/multipartBody8988640420780152751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081013589,"filename":"image_19042025_15_52_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b5bae517561c2f530ba575e3dc8fc72.jpg","text":"TemporaryFile(/tmp/multipartBody2547008437049680437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081013589,"filename":"image_19042025_15_53_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351957508","file1":"1351957480","file0":"1351957453","file4":"1351957573","file5":"1351957598","file3":"1351957539"},"map_files_photo_id_array":[{"photo_id":"1351957598","filename":"file5"},{"photo_id":"1351957508","filename":"file2"},{"photo_id":"1351957573","filename":"file4"},{"photo_id":"1351957480","filename":"file1"},{"photo_id":"1351957453","filename":"file0"},{"photo_id":"1351957539","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351957480":["hashtag1","hashtag2"]},{"1351957508":["hashtag1","hashtag2"]},{"1351957573":["hashtag1","hashtag2"]},{"1351957453":["hashtag1","hashtag2"]},{"1351957539":["hashtag1","hashtag2"]},{"1351957598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351957480, 1351957508, 1351957573, 1351957453, 1351957539, 1351957598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.984349489212036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:43:32.366289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_15_9420.jpg', '/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_26_10437.jpg', '/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_35_9436.jpg', '/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_46_10357.jpg', '/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_56_10437.jpg', '/home/pi/Desktop/images/19042025/15/53/image_19042025_15_54_06_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_15_9420.jpg
/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_26_10437.jpg
/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_35_9436.jpg
/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_46_10357.jpg
/home/pi/Desktop/images/19042025/15/53/image_19042025_15_53_56_10437.jpg
/home/pi/Desktop/images/19042025/15/53/image_19042025_15_54_06_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":["1351957885","1351958041","1351957782","1351958007","1351957950","1351957829"],"photo_ids_order":["1351957782","1351957829","1351957885","1351957950","1351958007","1351958041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c53e6be7826ba97c6ea0e61de589054f.jpg","text":"TemporaryFile(/tmp/multipartBody9211813271410314499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081072839,"filename":"image_19042025_15_53_35_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89a1206c11872f58caa5f1a7942dd851.jpg","text":"TemporaryFile(/tmp/multipartBody3224287133619103927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081072839,"filename":"image_19042025_15_54_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/19/b44fe9a5f5bf204c6b35e983cbc93a38.jpg","text":"TemporaryFile(/tmp/multipartBody185116039860099751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081072839,"filename":"image_19042025_15_53_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/19/c37292ba373e9c778adcab15319743ba.jpg","text":"TemporaryFile(/tmp/multipartBody7387134179206347830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081072839,"filename":"image_19042025_15_53_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/19/fb3e52cba129c6f016b895a7d15940d4.jpg","text":"TemporaryFile(/tmp/multipartBody4976325200473602802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081072839,"filename":"image_19042025_15_53_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/19/549ae5a5ae938855e7eba8aec39d8f73.jpg","text":"TemporaryFile(/tmp/multipartBody2568764926669915037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081072839,"filename":"image_19042025_15_53_26_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351957885","file1":"1351957829","file0":"1351957782","file4":"1351958007","file5":"1351958041","file3":"1351957950"},"map_files_photo_id_array":[{"photo_id":"1351958041","filename":"file5"},{"photo_id":"1351957885","filename":"file2"},{"photo_id":"1351958007","filename":"file4"},{"photo_id":"1351957829","filename":"file1"},{"photo_id":"1351957782","filename":"file0"},{"photo_id":"1351957950","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351957885":["hashtag1","hashtag2"]},{"1351958041":["hashtag1","hashtag2"]},{"1351957782":["hashtag1","hashtag2"]},{"1351958007":["hashtag1","hashtag2"]},{"1351957950":["hashtag1","hashtag2"]},{"1351957829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351957885, 1351958041, 1351957782, 1351958007, 1351957950, 1351957829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.857165336608887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:44:32.573084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/54/image_19042025_15_54_16_10455.jpg', '/home/pi/Desktop/images/19042025/15/54/image_19042025_15_54_25_9366.jpg', '/home/pi/Desktop/images/19042025/15/54/image_19042025_15_54_36_10389.jpg', '/home/pi/Desktop/images/19042025/15/54/image_19042025_15_54_46_10373.jpg', '/home/pi/Desktop/images/19042025/15/54/image_19042025_15_55_06_10453.jpg', '/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_16_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/54/image_19042025_15_54_16_10455.jpg
/home/pi/Desktop/images/19042025/15/54/image_19042025_15_54_25_9366.jpg
/home/pi/Desktop/images/19042025/15/54/image_19042025_15_54_36_10389.jpg
/home/pi/Desktop/images/19042025/15/54/image_19042025_15_54_46_10373.jpg
/home/pi/Desktop/images/19042025/15/54/image_19042025_15_55_06_10453.jpg
/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_16_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351958230","1351958289","1351958259","1351958331","1351958318","1351958225"],"photo_ids_order":["1351958225","1351958230","1351958259","1351958289","1351958318","1351958331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e7a1ef3b3d1969390eb8c709493771d.jpg","text":"TemporaryFile(/tmp/multipartBody8806201437297676042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081133045,"filename":"image_19042025_15_54_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/19/0e756532e49db71e341f081dade7cd9b.jpg","text":"TemporaryFile(/tmp/multipartBody877325783289444833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081133045,"filename":"image_19042025_15_54_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/19/04c1078958f26b376798cb5f14f9ca79.jpg","text":"TemporaryFile(/tmp/multipartBody7834491744882085154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081133045,"filename":"image_19042025_15_54_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/19/48143f90d0aefcd8e1fcb6b7b2114207.jpg","text":"TemporaryFile(/tmp/multipartBody7586000018422518669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081133045,"filename":"image_19042025_15_55_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/19/1d213ac05e4d542d276ac30aebbfd9cb.jpg","text":"TemporaryFile(/tmp/multipartBody966006731177831232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081133045,"filename":"image_19042025_15_55_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/19/425550186713a439d0de2fcb8ce4396f.jpg","text":"TemporaryFile(/tmp/multipartBody2743442999089698274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081133045,"filename":"image_19042025_15_54_16_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351958259","file1":"1351958230","file0":"1351958225","file4":"1351958318","file5":"1351958331","file3":"1351958289"},"map_files_photo_id_array":[{"photo_id":"1351958331","filename":"file5"},{"photo_id":"1351958259","filename":"file2"},{"photo_id":"1351958318","filename":"file4"},{"photo_id":"1351958230","filename":"file1"},{"photo_id":"1351958225","filename":"file0"},{"photo_id":"1351958289","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351958230":["hashtag1","hashtag2"]},{"1351958289":["hashtag1","hashtag2"]},{"1351958259":["hashtag1","hashtag2"]},{"1351958331":["hashtag1","hashtag2"]},{"1351958318":["hashtag1","hashtag2"]},{"1351958225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351958230, 1351958289, 1351958259, 1351958331, 1351958318, 1351958225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.40061116218567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:45:32.889679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_26_9366.jpg', '/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_36_10466.jpg', '/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_45_9351.jpg', '/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_56_10444.jpg', '/home/pi/Desktop/images/19042025/15/55/image_19042025_15_56_06_10352.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_16_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_26_9366.jpg
/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_36_10466.jpg
/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_45_9351.jpg
/home/pi/Desktop/images/19042025/15/55/image_19042025_15_55_56_10444.jpg
/home/pi/Desktop/images/19042025/15/55/image_19042025_15_56_06_10352.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_16_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":["1351958512","1351958529","1351958343","1351958561","1351958531","1351958528"],"photo_ids_order":["1351958343","1351958512","1351958528","1351958529","1351958531","1351958561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fffce648cf23fd11edf7cba9456f7c47.jpg","text":"TemporaryFile(/tmp/multipartBody8378821865307391337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081193369,"filename":"image_19042025_15_55_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ef8b96363895c3ddafc6af4dccccc81.jpg","text":"TemporaryFile(/tmp/multipartBody7583166899626947143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081193369,"filename":"image_19042025_15_55_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/19/8037d820d4c5743c04d81efb47e4d5e3.jpg","text":"TemporaryFile(/tmp/multipartBody6976096904091278635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081193369,"filename":"image_19042025_15_55_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/19/f4c684aeaa883edb086f67e7ac3053f8.jpg","text":"TemporaryFile(/tmp/multipartBody6586236600423817901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081193369,"filename":"image_19042025_15_56_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/19/ed3211e203399c9bd24aae9d815f713d.jpg","text":"TemporaryFile(/tmp/multipartBody4535790718997028141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081193369,"filename":"image_19042025_15_56_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/19/08a5aea54b9549afb03c0df50127e157.jpg","text":"TemporaryFile(/tmp/multipartBody8349756461039514503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081193369,"filename":"image_19042025_15_55_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351958528","file1":"1351958512","file0":"1351958343","file4":"1351958531","file5":"1351958561","file3":"1351958529"},"map_files_photo_id_array":[{"photo_id":"1351958561","filename":"file5"},{"photo_id":"1351958528","filename":"file2"},{"photo_id":"1351958531","filename":"file4"},{"photo_id":"1351958512","filename":"file1"},{"photo_id":"1351958343","filename":"file0"},{"photo_id":"1351958529","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351958512":["hashtag1","hashtag2"]},{"1351958529":["hashtag1","hashtag2"]},{"1351958343":["hashtag1","hashtag2"]},{"1351958561":["hashtag1","hashtag2"]},{"1351958531":["hashtag1","hashtag2"]},{"1351958528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351958512, 1351958529, 1351958343, 1351958561, 1351958531, 1351958528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.101298570632935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:46:32.898424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_26_10493.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_35_9337.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_46_10416.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_56_10367.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_57_06_9331.jpg', '/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_16_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_26_10493.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_35_9337.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_46_10416.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_56_10367.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_57_06_9331.jpg
/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_16_10412.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3756859302520752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 18:46:42.953525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_26_10493.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_35_9337.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_46_10416.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_56_10367.jpg', '/home/pi/Desktop/images/19042025/15/56/image_19042025_15_57_06_9331.jpg', '/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_16_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_26_10493.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_35_9337.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_46_10416.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_56_56_10367.jpg
/home/pi/Desktop/images/19042025/15/56/image_19042025_15_57_06_9331.jpg
/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_16_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351959090","1351958970","1351959101","1351959061","1351959064","1351959013"],"photo_ids_order":["1351958970","1351959013","1351959061","1351959064","1351959090","1351959101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e07770225e20b9188c52730e17bc9c2.jpg","text":"TemporaryFile(/tmp/multipartBody1839775036295096819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081263415,"filename":"image_19042025_15_57_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15e0503369fb9ba28a54c0159c35e1af.jpg","text":"TemporaryFile(/tmp/multipartBody8178683903131102739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081263415,"filename":"image_19042025_15_56_26_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6f5b648f7831e59bdbb781bfd7e107ef.jpg","text":"TemporaryFile(/tmp/multipartBody1199878435936653736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081263415,"filename":"image_19042025_15_57_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e393507f61b4422fbf6f941b6e0574c.jpg","text":"TemporaryFile(/tmp/multipartBody7432706524910146778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081263415,"filename":"image_19042025_15_56_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/19/652440d26ac677b119e78782042604fc.jpg","text":"TemporaryFile(/tmp/multipartBody2606334161606115177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081263415,"filename":"image_19042025_15_56_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/955936e5aa354146e74dbbe55cf6d04d.jpg","text":"TemporaryFile(/tmp/multipartBody5051260355351742465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081263415,"filename":"image_19042025_15_56_35_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959061","file1":"1351959013","file0":"1351958970","file4":"1351959090","file5":"1351959101","file3":"1351959064"},"map_files_photo_id_array":[{"photo_id":"1351959101","filename":"file5"},{"photo_id":"1351959061","filename":"file2"},{"photo_id":"1351959090","filename":"file4"},{"photo_id":"1351959013","filename":"file1"},{"photo_id":"1351958970","filename":"file0"},{"photo_id":"1351959064","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351959090":["hashtag1","hashtag2"]},{"1351958970":["hashtag1","hashtag2"]},{"1351959101":["hashtag1","hashtag2"]},{"1351959061":["hashtag1","hashtag2"]},{"1351959064":["hashtag1","hashtag2"]},{"1351959013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351959090, 1351958970, 1351959101, 1351959061, 1351959064, 1351959013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58777332305908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:47:33.136643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_25_9364.jpg', '/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_36_10362.jpg', '/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_46_10390.jpg', '/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_55_9366.jpg', '/home/pi/Desktop/images/19042025/15/57/image_19042025_15_58_06_10427.jpg', '/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_16_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_25_9364.jpg
/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_36_10362.jpg
/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_46_10390.jpg
/home/pi/Desktop/images/19042025/15/57/image_19042025_15_57_55_9366.jpg
/home/pi/Desktop/images/19042025/15/57/image_19042025_15_58_06_10427.jpg
/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_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":["1351959217","1351959246","1351959225","1351959204","1351959227","1351959223"],"photo_ids_order":["1351959204","1351959217","1351959223","1351959225","1351959227","1351959246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d0f3f5f91ba934bc5f78889cafa38a20.jpg","text":"TemporaryFile(/tmp/multipartBody4679276137061602699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081313592,"filename":"image_19042025_15_57_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/19/3b5b994fa8221a76633f1b99729b54c3.jpg","text":"TemporaryFile(/tmp/multipartBody5265051138270294595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081313592,"filename":"image_19042025_15_58_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39d779a34049c401583aeed63f9846ce.jpg","text":"TemporaryFile(/tmp/multipartBody7914681273188343165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081313592,"filename":"image_19042025_15_57_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b32c127ec5571fce3ddbd92e43a0cef9.jpg","text":"TemporaryFile(/tmp/multipartBody7671328586778268949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081313592,"filename":"image_19042025_15_57_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/19/65a04ab3fe6dab3142b6a2d60445e6cf.jpg","text":"TemporaryFile(/tmp/multipartBody2157347923009748464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081313592,"filename":"image_19042025_15_58_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/19/a9d0904d7b1e643f0888f61b58b083c6.jpg","text":"TemporaryFile(/tmp/multipartBody6677470528313893026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081313592,"filename":"image_19042025_15_57_46_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959223","file1":"1351959217","file0":"1351959204","file4":"1351959227","file5":"1351959246","file3":"1351959225"},"map_files_photo_id_array":[{"photo_id":"1351959246","filename":"file5"},{"photo_id":"1351959223","filename":"file2"},{"photo_id":"1351959227","filename":"file4"},{"photo_id":"1351959217","filename":"file1"},{"photo_id":"1351959204","filename":"file0"},{"photo_id":"1351959225","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351959217":["hashtag1","hashtag2"]},{"1351959246":["hashtag1","hashtag2"]},{"1351959225":["hashtag1","hashtag2"]},{"1351959204":["hashtag1","hashtag2"]},{"1351959227":["hashtag1","hashtag2"]},{"1351959223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351959217, 1351959246, 1351959225, 1351959204, 1351959227, 1351959223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6037654876709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:48:32.492153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_26_9368.jpg', '/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_36_10368.jpg', '/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_45_9357.jpg', '/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_56_10359.jpg', '/home/pi/Desktop/images/19042025/15/58/image_19042025_15_59_06_10460.jpg', '/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_15_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_26_9368.jpg
/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_36_10368.jpg
/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_45_9357.jpg
/home/pi/Desktop/images/19042025/15/58/image_19042025_15_58_56_10359.jpg
/home/pi/Desktop/images/19042025/15/58/image_19042025_15_59_06_10460.jpg
/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_15_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351959328","1351959384","1351959302","1351959355","1351959256","1351959265"],"photo_ids_order":["1351959256","1351959265","1351959302","1351959328","1351959355","1351959384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d618ed7580e5cfb30b6b7723f67f995.jpg","text":"TemporaryFile(/tmp/multipartBody5220707391367453892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081372951,"filename":"image_19042025_15_58_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/19/7481fdb6e221af0078d19540c0b9b72e.jpg","text":"TemporaryFile(/tmp/multipartBody4639537765538745576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081372951,"filename":"image_19042025_15_59_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/19/c0309be5cf908ecb397a5e0e769f7868.jpg","text":"TemporaryFile(/tmp/multipartBody7886955304105985993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081372951,"filename":"image_19042025_15_58_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/19/449190620a89cd5d1511d9005b6d1a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5455500766256094872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081372951,"filename":"image_19042025_15_59_06_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ff7c6789446dc6f4aaa7306a688782d3.jpg","text":"TemporaryFile(/tmp/multipartBody7494670772693855132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081372951,"filename":"image_19042025_15_58_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/19/e2f69ee2e6d166292cb8df00b32a7722.jpg","text":"TemporaryFile(/tmp/multipartBody3864058423524604286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081372951,"filename":"image_19042025_15_58_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959302","file1":"1351959265","file0":"1351959256","file4":"1351959355","file5":"1351959384","file3":"1351959328"},"map_files_photo_id_array":[{"photo_id":"1351959384","filename":"file5"},{"photo_id":"1351959302","filename":"file2"},{"photo_id":"1351959355","filename":"file4"},{"photo_id":"1351959265","filename":"file1"},{"photo_id":"1351959256","filename":"file0"},{"photo_id":"1351959328","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351959328":["hashtag1","hashtag2"]},{"1351959384":["hashtag1","hashtag2"]},{"1351959302":["hashtag1","hashtag2"]},{"1351959355":["hashtag1","hashtag2"]},{"1351959256":["hashtag1","hashtag2"]},{"1351959265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351959328, 1351959384, 1351959302, 1351959355, 1351959256, 1351959265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.986893892288208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:49:32.741086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_26_10472.jpg', '/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_35_9466.jpg', '/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_46_10439.jpg', '/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_56_10369.jpg', '/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_16_10082.jpg', '/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_26_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_26_10472.jpg
/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_35_9466.jpg
/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_46_10439.jpg
/home/pi/Desktop/images/19042025/15/59/image_19042025_15_59_56_10369.jpg
/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_16_10082.jpg
/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_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":["1351959771","1351959665","1351959701","1351959793","1351959790","1351959730"],"photo_ids_order":["1351959665","1351959701","1351959730","1351959771","1351959790","1351959793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a137b8bf1f0fbe0315396b58c21a4af.jpg","text":"TemporaryFile(/tmp/multipartBody5406474111396748545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081433223,"filename":"image_19042025_15_59_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/19/4b8d3496df9f34790b2186347569126e.jpg","text":"TemporaryFile(/tmp/multipartBody5736275707747959995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081433223,"filename":"image_19042025_15_59_26_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/27c8bda6cd54d6618f102052557caefe.jpg","text":"TemporaryFile(/tmp/multipartBody4804869397014987778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081433223,"filename":"image_19042025_15_59_35_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04741b42e75338fcfda0a4321acaa8fe.jpg","text":"TemporaryFile(/tmp/multipartBody8338998856211508065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081433223,"filename":"image_19042025_16_00_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/19/ff36b29f52f1ee591e5ec37ebd268167.jpg","text":"TemporaryFile(/tmp/multipartBody2742522808285728847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081433223,"filename":"image_19042025_16_00_16_10082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/28abdf59f77c1dfd2aa9bb4d447e554e.jpg","text":"TemporaryFile(/tmp/multipartBody609985151485833123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081433223,"filename":"image_19042025_15_59_46_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959730","file1":"1351959701","file0":"1351959665","file4":"1351959790","file5":"1351959793","file3":"1351959771"},"map_files_photo_id_array":[{"photo_id":"1351959793","filename":"file5"},{"photo_id":"1351959730","filename":"file2"},{"photo_id":"1351959790","filename":"file4"},{"photo_id":"1351959701","filename":"file1"},{"photo_id":"1351959665","filename":"file0"},{"photo_id":"1351959771","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351959771":["hashtag1","hashtag2"]},{"1351959665":["hashtag1","hashtag2"]},{"1351959701":["hashtag1","hashtag2"]},{"1351959793":["hashtag1","hashtag2"]},{"1351959790":["hashtag1","hashtag2"]},{"1351959730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351959771, 1351959665, 1351959701, 1351959793, 1351959790, 1351959730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42556285858154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:50:33.005826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_36_10370.jpg', '/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_46_9345.jpg', '/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_56_10370.jpg', '/home/pi/Desktop/images/19042025/16/00/image_19042025_16_01_06_10395.jpg', '/home/pi/Desktop/images/19042025/16/01/image_19042025_16_01_16_9394.jpg', '/home/pi/Desktop/images/19042025/16/01/image_19042025_16_01_26_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_36_10370.jpg
/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_46_9345.jpg
/home/pi/Desktop/images/19042025/16/00/image_19042025_16_00_56_10370.jpg
/home/pi/Desktop/images/19042025/16/00/image_19042025_16_01_06_10395.jpg
/home/pi/Desktop/images/19042025/16/01/image_19042025_16_01_16_9394.jpg
/home/pi/Desktop/images/19042025/16/01/image_19042025_16_01_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":["1351959822","1351959807","1351959848","1351959815","1351959809","1351959812"],"photo_ids_order":["1351959807","1351959809","1351959812","1351959815","1351959822","1351959848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99aec8e463735397de3f4e1d5f4e0e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4029669981922599237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081493469,"filename":"image_19042025_16_01_16_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/49b34fa2bbe975b12ca9beaf7ed5576f.jpg","text":"TemporaryFile(/tmp/multipartBody4555569395495264335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081493469,"filename":"image_19042025_16_00_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/19/2249887a74bab957176c36e70b4628b2.jpg","text":"TemporaryFile(/tmp/multipartBody918428636769867764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081493469,"filename":"image_19042025_16_01_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/79dbbfecdb8a880540c57d325ad42e39.jpg","text":"TemporaryFile(/tmp/multipartBody1326396039447827739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081493469,"filename":"image_19042025_16_01_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/19/5f024570cc497092c3ae4f12bb9fb1b4.jpg","text":"TemporaryFile(/tmp/multipartBody7818832104494369020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081493469,"filename":"image_19042025_16_00_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/19/a0d7af9480acf86a1d6a8ce8f9e43bc2.jpg","text":"TemporaryFile(/tmp/multipartBody9129346813446497222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081493469,"filename":"image_19042025_16_00_56_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959812","file1":"1351959809","file0":"1351959807","file4":"1351959822","file5":"1351959848","file3":"1351959815"},"map_files_photo_id_array":[{"photo_id":"1351959848","filename":"file5"},{"photo_id":"1351959812","filename":"file2"},{"photo_id":"1351959822","filename":"file4"},{"photo_id":"1351959809","filename":"file1"},{"photo_id":"1351959807","filename":"file0"},{"photo_id":"1351959815","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351959822":["hashtag1","hashtag2"]},{"1351959807":["hashtag1","hashtag2"]},{"1351959848":["hashtag1","hashtag2"]},{"1351959815":["hashtag1","hashtag2"]},{"1351959809":["hashtag1","hashtag2"]},{"1351959812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351959822, 1351959807, 1351959848, 1351959815, 1351959809, 1351959812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.85208821296692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:51:32.481275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/01/image_19042025_16_01_56_10379.jpg', '/home/pi/Desktop/images/19042025/16/01/image_19042025_16_02_06_9457.jpg', '/home/pi/Desktop/images/19042025/16/02/image_19042025_16_02_16_10354.jpg', '/home/pi/Desktop/images/19042025/16/02/image_19042025_16_02_56_9400.jpg', '/home/pi/Desktop/images/19042025/16/02/image_19042025_16_03_06_10343.jpg', '/home/pi/Desktop/images/19042025/16/03/image_19042025_16_03_56_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/01/image_19042025_16_01_56_10379.jpg
/home/pi/Desktop/images/19042025/16/01/image_19042025_16_02_06_9457.jpg
/home/pi/Desktop/images/19042025/16/02/image_19042025_16_02_16_10354.jpg
/home/pi/Desktop/images/19042025/16/02/image_19042025_16_02_56_9400.jpg
/home/pi/Desktop/images/19042025/16/02/image_19042025_16_03_06_10343.jpg
/home/pi/Desktop/images/19042025/16/03/image_19042025_16_03_56_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351960255","1351960177","1351960362","1351960335","1351960302","1351960205"],"photo_ids_order":["1351960177","1351960205","1351960255","1351960302","1351960335","1351960362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e1dcaa939525fe0585b9fd829c8b399.jpg","text":"TemporaryFile(/tmp/multipartBody3543531161564985165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081552956,"filename":"image_19042025_16_02_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/19/a91d9eb2f6261607269bd86c26eb5f2f.jpg","text":"TemporaryFile(/tmp/multipartBody8891786465720948847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081552956,"filename":"image_19042025_16_01_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/19/1258973ef91e0aab0c4556d27f71587c.jpg","text":"TemporaryFile(/tmp/multipartBody8353097981710453443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081552956,"filename":"image_19042025_16_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/19/701a501fa37d15272337abcbdbfd7639.jpg","text":"TemporaryFile(/tmp/multipartBody6734871664167706360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081552956,"filename":"image_19042025_16_03_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/19/547f91ebc894a5bb922b9a370603694f.jpg","text":"TemporaryFile(/tmp/multipartBody9089697342139627227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081552956,"filename":"image_19042025_16_02_56_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70a369e2ee2fe405d9ce2ba218b4cf32.jpg","text":"TemporaryFile(/tmp/multipartBody2732216864023151601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081552956,"filename":"image_19042025_16_02_06_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351960255","file1":"1351960205","file0":"1351960177","file4":"1351960335","file5":"1351960362","file3":"1351960302"},"map_files_photo_id_array":[{"photo_id":"1351960362","filename":"file5"},{"photo_id":"1351960255","filename":"file2"},{"photo_id":"1351960335","filename":"file4"},{"photo_id":"1351960205","filename":"file1"},{"photo_id":"1351960177","filename":"file0"},{"photo_id":"1351960302","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351960255":["hashtag1","hashtag2"]},{"1351960177":["hashtag1","hashtag2"]},{"1351960362":["hashtag1","hashtag2"]},{"1351960335":["hashtag1","hashtag2"]},{"1351960302":["hashtag1","hashtag2"]},{"1351960205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351960255, 1351960177, 1351960362, 1351960335, 1351960302, 1351960205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67881631851196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:52:32.749424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/03/image_19042025_16_04_06_10352.jpg', '/home/pi/Desktop/images/19042025/16/04/image_19042025_16_05_06_9337.jpg', '/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_16_10449.jpg', '/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_27_10442.jpg', '/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_36_9428.jpg', '/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/03/image_19042025_16_04_06_10352.jpg
/home/pi/Desktop/images/19042025/16/04/image_19042025_16_05_06_9337.jpg
/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_16_10449.jpg
/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_27_10442.jpg
/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_36_9428.jpg
/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_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":["1351960705","1351960708","1351960692","1351960548","1351960608","1351960706"],"photo_ids_order":["1351960548","1351960608","1351960692","1351960705","1351960706","1351960708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af6789508a15b9ddddae8a3e975b1144.jpg","text":"TemporaryFile(/tmp/multipartBody714210455519902184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081613207,"filename":"image_19042025_16_05_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6fb9a1a1d30d0295675978ff65cb9848.jpg","text":"TemporaryFile(/tmp/multipartBody3454969725380861388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081613207,"filename":"image_19042025_16_05_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8a4e2f72d4d2a4c827f57ca91c9f5b18.jpg","text":"TemporaryFile(/tmp/multipartBody932957181058389664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081613207,"filename":"image_19042025_16_05_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/19/86e363a0cca8be9500bc85264c607a09.jpg","text":"TemporaryFile(/tmp/multipartBody3573247116791502070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081613207,"filename":"image_19042025_16_04_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/19/148090caff6c75976cbf4cfa3ce366a1.jpg","text":"TemporaryFile(/tmp/multipartBody5003088693928857312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081613207,"filename":"image_19042025_16_05_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/daeab08a95df6bf67d5c22ac413138d6.jpg","text":"TemporaryFile(/tmp/multipartBody7654664986668184592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081613207,"filename":"image_19042025_16_05_36_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351960692","file1":"1351960608","file0":"1351960548","file4":"1351960706","file5":"1351960708","file3":"1351960705"},"map_files_photo_id_array":[{"photo_id":"1351960708","filename":"file5"},{"photo_id":"1351960692","filename":"file2"},{"photo_id":"1351960706","filename":"file4"},{"photo_id":"1351960608","filename":"file1"},{"photo_id":"1351960548","filename":"file0"},{"photo_id":"1351960705","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351960705":["hashtag1","hashtag2"]},{"1351960708":["hashtag1","hashtag2"]},{"1351960692":["hashtag1","hashtag2"]},{"1351960548":["hashtag1","hashtag2"]},{"1351960608":["hashtag1","hashtag2"]},{"1351960706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351960705, 1351960708, 1351960692, 1351960548, 1351960608, 1351960706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35837769508362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:53:32.936680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_56_9366.jpg', '/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_16_10362.jpg', '/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_26_9487.jpg', '/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_36_10354.jpg', '/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_46_9359.jpg', '/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_56_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/05/image_19042025_16_05_56_9366.jpg
/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_16_10362.jpg
/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_26_9487.jpg
/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_36_10354.jpg
/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_46_9359.jpg
/home/pi/Desktop/images/19042025/16/06/image_19042025_16_06_56_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":["1351960816","1351960821","1351960818","1351960812","1351960820","1351960814"],"photo_ids_order":["1351960812","1351960814","1351960816","1351960818","1351960820","1351960821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bfb69b2065db6d38e936dafb41f2d303.jpg","text":"TemporaryFile(/tmp/multipartBody1286947438445934255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081673422,"filename":"image_19042025_16_06_26_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4d7691f2bfb2a7a909d7c88db84f9a3.jpg","text":"TemporaryFile(/tmp/multipartBody6858090194908274776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081673422,"filename":"image_19042025_16_06_56_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a597b3e6461bef58eb0bd054e5ac522.jpg","text":"TemporaryFile(/tmp/multipartBody6169298721080127527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081673422,"filename":"image_19042025_16_06_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d02922591c47d7677359c750a865b51.jpg","text":"TemporaryFile(/tmp/multipartBody6672347323894037551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081673422,"filename":"image_19042025_16_05_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/19/78df1f426b1946daf4145c37c3e22ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7891616625164715683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081673422,"filename":"image_19042025_16_06_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/19/1ff45e8b05f8ff926964c25ea3d874de.jpg","text":"TemporaryFile(/tmp/multipartBody8804527085641058873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081673422,"filename":"image_19042025_16_06_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351960816","file1":"1351960814","file0":"1351960812","file4":"1351960820","file5":"1351960821","file3":"1351960818"},"map_files_photo_id_array":[{"photo_id":"1351960821","filename":"file5"},{"photo_id":"1351960816","filename":"file2"},{"photo_id":"1351960820","filename":"file4"},{"photo_id":"1351960814","filename":"file1"},{"photo_id":"1351960812","filename":"file0"},{"photo_id":"1351960818","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351960816":["hashtag1","hashtag2"]},{"1351960821":["hashtag1","hashtag2"]},{"1351960818":["hashtag1","hashtag2"]},{"1351960812":["hashtag1","hashtag2"]},{"1351960820":["hashtag1","hashtag2"]},{"1351960814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351960816, 1351960821, 1351960818, 1351960812, 1351960820, 1351960814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.43737554550171 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:54:33.103368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/06/image_19042025_16_07_06_10377.jpg', '/home/pi/Desktop/images/19042025/16/07/image_19042025_16_07_36_9397.jpg', '/home/pi/Desktop/images/19042025/16/07/image_19042025_16_07_46_10404.jpg', '/home/pi/Desktop/images/19042025/16/07/image_19042025_16_07_57_10391.jpg', '/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_16_10350.jpg', '/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_26_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/06/image_19042025_16_07_06_10377.jpg
/home/pi/Desktop/images/19042025/16/07/image_19042025_16_07_36_9397.jpg
/home/pi/Desktop/images/19042025/16/07/image_19042025_16_07_46_10404.jpg
/home/pi/Desktop/images/19042025/16/07/image_19042025_16_07_57_10391.jpg
/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_16_10350.jpg
/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_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":["1351961169","1351961090","1351961039","1351961114","1351961065","1351961143"],"photo_ids_order":["1351961039","1351961065","1351961090","1351961114","1351961143","1351961169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/46c7005c2e72e04aa5c4c5819f58a9e0.jpg","text":"TemporaryFile(/tmp/multipartBody8862526840559773239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081733569,"filename":"image_19042025_16_08_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/19/fdac89e5d73289f9fc65a79d49dc34b4.jpg","text":"TemporaryFile(/tmp/multipartBody8272598239743341216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081733569,"filename":"image_19042025_16_07_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da516944bd2b97cc5c692d91929a6757.jpg","text":"TemporaryFile(/tmp/multipartBody743796955409402230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081733569,"filename":"image_19042025_16_07_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/19/285f74e38cb45b0369cf553246af03c2.jpg","text":"TemporaryFile(/tmp/multipartBody8394595953671636349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081733569,"filename":"image_19042025_16_07_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/19/ea5bcce32ea62ebb361432d41dfb55b7.jpg","text":"TemporaryFile(/tmp/multipartBody2828394723621844900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081733569,"filename":"image_19042025_16_07_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/19/3bfb4fa57634ff3b16a8e684179edff7.jpg","text":"TemporaryFile(/tmp/multipartBody6492222006531962356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081733569,"filename":"image_19042025_16_08_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351961090","file1":"1351961065","file0":"1351961039","file4":"1351961143","file5":"1351961169","file3":"1351961114"},"map_files_photo_id_array":[{"photo_id":"1351961169","filename":"file5"},{"photo_id":"1351961090","filename":"file2"},{"photo_id":"1351961143","filename":"file4"},{"photo_id":"1351961065","filename":"file1"},{"photo_id":"1351961039","filename":"file0"},{"photo_id":"1351961114","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351961169":["hashtag1","hashtag2"]},{"1351961090":["hashtag1","hashtag2"]},{"1351961039":["hashtag1","hashtag2"]},{"1351961114":["hashtag1","hashtag2"]},{"1351961065":["hashtag1","hashtag2"]},{"1351961143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351961169, 1351961090, 1351961039, 1351961114, 1351961065, 1351961143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.79714035987854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:55:32.350000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_36_10466.jpg', '/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_47_10375.jpg', '/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_56_9383.jpg', '/home/pi/Desktop/images/19042025/16/09/image_19042025_16_09_26_10389.jpg', '/home/pi/Desktop/images/19042025/16/09/image_19042025_16_09_36_9409.jpg', '/home/pi/Desktop/images/19042025/16/09/image_19042025_16_09_56_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_36_10466.jpg
/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_47_10375.jpg
/home/pi/Desktop/images/19042025/16/08/image_19042025_16_08_56_9383.jpg
/home/pi/Desktop/images/19042025/16/09/image_19042025_16_09_26_10389.jpg
/home/pi/Desktop/images/19042025/16/09/image_19042025_16_09_36_9409.jpg
/home/pi/Desktop/images/19042025/16/09/image_19042025_16_09_56_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":["1351961500","1351961639","1351961453","1351961426","1351961590","1351961542"],"photo_ids_order":["1351961426","1351961453","1351961500","1351961542","1351961590","1351961639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b1e55c5ab3a6d0c689c29138a766b25.jpg","text":"TemporaryFile(/tmp/multipartBody6589113758096175252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081792827,"filename":"image_19042025_16_08_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/19/98a98415cedfe18ace3827fcb8bd7ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4503718151513651607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081792827,"filename":"image_19042025_16_09_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/19/fc0403e76db9d21b3303fb14f3bbe5bb.jpg","text":"TemporaryFile(/tmp/multipartBody2543981217180651230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081792827,"filename":"image_19042025_16_08_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/19/c81162692cc5eca0444c8a892de30a27.jpg","text":"TemporaryFile(/tmp/multipartBody1372840300351441501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081792827,"filename":"image_19042025_16_08_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/727ad9db961d8117745d0462a8d0db66.jpg","text":"TemporaryFile(/tmp/multipartBody6100170085823432677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081792827,"filename":"image_19042025_16_09_36_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37e713e2b941976e4e8c1b0208692e3b.jpg","text":"TemporaryFile(/tmp/multipartBody7543956468519441461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081792827,"filename":"image_19042025_16_09_26_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351961500","file1":"1351961453","file0":"1351961426","file4":"1351961590","file5":"1351961639","file3":"1351961542"},"map_files_photo_id_array":[{"photo_id":"1351961639","filename":"file5"},{"photo_id":"1351961500","filename":"file2"},{"photo_id":"1351961590","filename":"file4"},{"photo_id":"1351961453","filename":"file1"},{"photo_id":"1351961426","filename":"file0"},{"photo_id":"1351961542","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351961500":["hashtag1","hashtag2"]},{"1351961639":["hashtag1","hashtag2"]},{"1351961453":["hashtag1","hashtag2"]},{"1351961426":["hashtag1","hashtag2"]},{"1351961590":["hashtag1","hashtag2"]},{"1351961542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351961500, 1351961639, 1351961453, 1351961426, 1351961590, 1351961542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.39881706237793 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:56:32.590872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/09/image_19042025_16_10_06_9439.jpg', '/home/pi/Desktop/images/19042025/16/10/image_19042025_16_10_16_10376.jpg', '/home/pi/Desktop/images/19042025/16/10/image_19042025_16_10_26_9405.jpg', '/home/pi/Desktop/images/19042025/16/10/image_19042025_16_10_36_10454.jpg', '/home/pi/Desktop/images/19042025/16/11/image_19042025_16_11_16_9388.jpg', '/home/pi/Desktop/images/19042025/16/11/image_19042025_16_11_46_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/09/image_19042025_16_10_06_9439.jpg
/home/pi/Desktop/images/19042025/16/10/image_19042025_16_10_16_10376.jpg
/home/pi/Desktop/images/19042025/16/10/image_19042025_16_10_26_9405.jpg
/home/pi/Desktop/images/19042025/16/10/image_19042025_16_10_36_10454.jpg
/home/pi/Desktop/images/19042025/16/11/image_19042025_16_11_16_9388.jpg
/home/pi/Desktop/images/19042025/16/11/image_19042025_16_11_46_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":["1351962201","1351962143","1351962116","1351962091","1351962238","1351962174"],"photo_ids_order":["1351962091","1351962116","1351962143","1351962174","1351962201","1351962238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99131baaf1ef599a9171f4280a3d89b8.jpg","text":"TemporaryFile(/tmp/multipartBody77230644475768584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081853052,"filename":"image_19042025_16_11_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/19/4074f0c3ca8a3971912437e7702292b1.jpg","text":"TemporaryFile(/tmp/multipartBody3396396530946427255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081853052,"filename":"image_19042025_16_10_26_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20545bbb48a3856441564121b34cd6f0.jpg","text":"TemporaryFile(/tmp/multipartBody4996448691759207163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081853052,"filename":"image_19042025_16_10_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/19/0992f9302606cf5d4a3a021edf517a21.jpg","text":"TemporaryFile(/tmp/multipartBody6305214763141291502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081853052,"filename":"image_19042025_16_10_06_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15cd0f71a73b8de0a248b4ea3331e510.jpg","text":"TemporaryFile(/tmp/multipartBody4378324935643236232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081853052,"filename":"image_19042025_16_11_46_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af22559310ef4e3e7d9121022ab17c7e.jpg","text":"TemporaryFile(/tmp/multipartBody4682560839631865488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745081853052,"filename":"image_19042025_16_10_36_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351962143","file1":"1351962116","file0":"1351962091","file4":"1351962201","file5":"1351962238","file3":"1351962174"},"map_files_photo_id_array":[{"photo_id":"1351962238","filename":"file5"},{"photo_id":"1351962143","filename":"file2"},{"photo_id":"1351962201","filename":"file4"},{"photo_id":"1351962116","filename":"file1"},{"photo_id":"1351962091","filename":"file0"},{"photo_id":"1351962174","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351962201":["hashtag1","hashtag2"]},{"1351962143":["hashtag1","hashtag2"]},{"1351962116":["hashtag1","hashtag2"]},{"1351962091":["hashtag1","hashtag2"]},{"1351962238":["hashtag1","hashtag2"]},{"1351962174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351962201, 1351962143, 1351962116, 1351962091, 1351962238, 1351962174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.142884492874146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 18:57:32.905940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_16_10468.jpg', '/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_36_10402.jpg', '/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_46_10465.jpg', '/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_56_9419.jpg', '/home/pi/Desktop/images/19042025/16/12/image_19042025_16_13_06_10377.jpg', '/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_16_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_16_10468.jpg
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_36_10402.jpg
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_46_10465.jpg
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_56_9419.jpg
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_13_06_10377.jpg
/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_16_9384.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-19 18:59:04.201590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_16_10468.jpg', '/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_36_10402.jpg', '/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_46_10465.jpg', '/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_56_9419.jpg', '/home/pi/Desktop/images/19042025/16/12/image_19042025_16_13_06_10377.jpg', '/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_16_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_16_10468.jpg
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_36_10402.jpg
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_46_10465.jpg
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_12_56_9419.jpg
/home/pi/Desktop/images/19042025/16/12/image_19042025_16_13_06_10377.jpg
/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_16_9384.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351963664","1351963565","1351963489","1351963273","1351963330","1351963411"],"photo_ids_order":["1351963273","1351963330","1351963411","1351963489","1351963565","1351963664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/867986f0b3dbf434f67f50d94c78c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody5307819409648401597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082004844,"filename":"image_19042025_16_13_16_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/19/d21db8b128eadf5c80892983e8abad1a.jpg","text":"TemporaryFile(/tmp/multipartBody721961619973603538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082004844,"filename":"image_19042025_16_13_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/19/ceda1d5fc19e124af958013f5b4174f0.jpg","text":"TemporaryFile(/tmp/multipartBody6396647279181603247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082004844,"filename":"image_19042025_16_12_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f94632122124c2be9327e40dbb6299e6.jpg","text":"TemporaryFile(/tmp/multipartBody6279723543864975469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082004844,"filename":"image_19042025_16_12_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/19/ea5e874afdf647c85068c737de7e8e12.jpg","text":"TemporaryFile(/tmp/multipartBody2081657972271914699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082004844,"filename":"image_19042025_16_12_36_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/018b042071b3901e4f2f4144c7773bd8.jpg","text":"TemporaryFile(/tmp/multipartBody4566722205253548261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082004844,"filename":"image_19042025_16_12_46_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351963411","file1":"1351963330","file0":"1351963273","file4":"1351963565","file5":"1351963664","file3":"1351963489"},"map_files_photo_id_array":[{"photo_id":"1351963664","filename":"file5"},{"photo_id":"1351963411","filename":"file2"},{"photo_id":"1351963565","filename":"file4"},{"photo_id":"1351963330","filename":"file1"},{"photo_id":"1351963273","filename":"file0"},{"photo_id":"1351963489","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351963664":["hashtag1","hashtag2"]},{"1351963565":["hashtag1","hashtag2"]},{"1351963489":["hashtag1","hashtag2"]},{"1351963273":["hashtag1","hashtag2"]},{"1351963330":["hashtag1","hashtag2"]},{"1351963411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351963664, 1351963565, 1351963489, 1351963273, 1351963330, 1351963411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66647744178772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 18:59:42.728409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_36_10369.jpg', '/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_46_9424.jpg', '/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_56_10367.jpg', '/home/pi/Desktop/images/19042025/16/13/image_19042025_16_14_06_9458.jpg', '/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_16_10371.jpg', '/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_26_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_36_10369.jpg
/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_46_9424.jpg
/home/pi/Desktop/images/19042025/16/13/image_19042025_16_13_56_10367.jpg
/home/pi/Desktop/images/19042025/16/13/image_19042025_16_14_06_9458.jpg
/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_16_10371.jpg
/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_26_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351963994","1351964102","1351964154","1351963953","1351964066","1351963902"],"photo_ids_order":["1351963902","1351963953","1351963994","1351964066","1351964102","1351964154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c734e2496e1ecfd780f01ca998f45e99.jpg","text":"TemporaryFile(/tmp/multipartBody7228180244188349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082043206,"filename":"image_19042025_16_13_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/19/37208c699539834d6cebeb3bc9cb7467.jpg","text":"TemporaryFile(/tmp/multipartBody4095932829070389825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082043206,"filename":"image_19042025_16_14_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/19/a4cb4c727e5c40342c6e719ff854a301.jpg","text":"TemporaryFile(/tmp/multipartBody1086124443579754400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082043206,"filename":"image_19042025_16_14_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/19/e9fda4c819abf21021dc822bc902ea00.jpg","text":"TemporaryFile(/tmp/multipartBody2417024256256524600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082043206,"filename":"image_19042025_16_13_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/19/90aec322f2064628f87ff61222a0ef19.jpg","text":"TemporaryFile(/tmp/multipartBody1896759624115287030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082043206,"filename":"image_19042025_16_14_06_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9c1816556064dd882e37aa8e4bbc255c.jpg","text":"TemporaryFile(/tmp/multipartBody5716841491169292096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082043206,"filename":"image_19042025_16_13_36_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351963994","file1":"1351963953","file0":"1351963902","file4":"1351964102","file5":"1351964154","file3":"1351964066"},"map_files_photo_id_array":[{"photo_id":"1351964154","filename":"file5"},{"photo_id":"1351963994","filename":"file2"},{"photo_id":"1351964102","filename":"file4"},{"photo_id":"1351963953","filename":"file1"},{"photo_id":"1351963902","filename":"file0"},{"photo_id":"1351964066","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351963994":["hashtag1","hashtag2"]},{"1351964102":["hashtag1","hashtag2"]},{"1351964154":["hashtag1","hashtag2"]},{"1351963953":["hashtag1","hashtag2"]},{"1351964066":["hashtag1","hashtag2"]},{"1351963902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351963994, 1351964102, 1351964154, 1351963953, 1351964066, 1351963902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01382923126221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:00:32.824009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_36_9473.jpg', '/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_46_10380.jpg', '/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_56_9362.jpg', '/home/pi/Desktop/images/19042025/16/14/image_19042025_16_15_06_10436.jpg', '/home/pi/Desktop/images/19042025/16/15/image_19042025_16_15_16_10374.jpg', '/home/pi/Desktop/images/19042025/16/15/image_19042025_16_15_26_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_36_9473.jpg
/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_46_10380.jpg
/home/pi/Desktop/images/19042025/16/14/image_19042025_16_14_56_9362.jpg
/home/pi/Desktop/images/19042025/16/14/image_19042025_16_15_06_10436.jpg
/home/pi/Desktop/images/19042025/16/15/image_19042025_16_15_16_10374.jpg
/home/pi/Desktop/images/19042025/16/15/image_19042025_16_15_26_9458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351964917","1351964640","1351964820","1351965047","1351964555","1351964975"],"photo_ids_order":["1351964555","1351964640","1351964820","1351964917","1351964975","1351965047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e7864d7e6f4c913b3a2b7631d00a780.jpg","text":"TemporaryFile(/tmp/multipartBody1501093668614866199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082093284,"filename":"image_19042025_16_15_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/19/c2d53964cfbd38680109b9e0c1e87540.jpg","text":"TemporaryFile(/tmp/multipartBody4947944997591297703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082093284,"filename":"image_19042025_16_14_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/19/ddce6f335e01d9b8f8a52f11176fea7f.jpg","text":"TemporaryFile(/tmp/multipartBody6642640857856282909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082093284,"filename":"image_19042025_16_14_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/19/8297f5010fa01f42386cfe670cdedf5f.jpg","text":"TemporaryFile(/tmp/multipartBody5402027645953247511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082093284,"filename":"image_19042025_16_15_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/19/43074621426bab1a4a5bcc99f31566d2.jpg","text":"TemporaryFile(/tmp/multipartBody8102043249495906314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082093284,"filename":"image_19042025_16_14_36_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/345cb8b7e130e01d24f39ac856879377.jpg","text":"TemporaryFile(/tmp/multipartBody6591720716605907268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082093284,"filename":"image_19042025_16_15_16_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351964820","file1":"1351964640","file0":"1351964555","file4":"1351964975","file5":"1351965047","file3":"1351964917"},"map_files_photo_id_array":[{"photo_id":"1351965047","filename":"file5"},{"photo_id":"1351964820","filename":"file2"},{"photo_id":"1351964975","filename":"file4"},{"photo_id":"1351964640","filename":"file1"},{"photo_id":"1351964555","filename":"file0"},{"photo_id":"1351964917","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351964917":["hashtag1","hashtag2"]},{"1351964640":["hashtag1","hashtag2"]},{"1351964820":["hashtag1","hashtag2"]},{"1351965047":["hashtag1","hashtag2"]},{"1351964555":["hashtag1","hashtag2"]},{"1351964975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351964917, 1351964640, 1351964820, 1351965047, 1351964555, 1351964975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.800143718719482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:01:32.995559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/15/image_19042025_16_15_36_10372.jpg', '/home/pi/Desktop/images/19042025/16/15/image_19042025_16_15_46_9396.jpg', '/home/pi/Desktop/images/19042025/16/15/image_19042025_16_16_06_10338.jpg', '/home/pi/Desktop/images/19042025/16/16/image_19042025_16_16_26_10452.jpg', '/home/pi/Desktop/images/19042025/16/16/image_19042025_16_16_36_9426.jpg', '/home/pi/Desktop/images/19042025/16/16/image_19042025_16_16_46_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/15/image_19042025_16_15_36_10372.jpg
/home/pi/Desktop/images/19042025/16/15/image_19042025_16_15_46_9396.jpg
/home/pi/Desktop/images/19042025/16/15/image_19042025_16_16_06_10338.jpg
/home/pi/Desktop/images/19042025/16/16/image_19042025_16_16_26_10452.jpg
/home/pi/Desktop/images/19042025/16/16/image_19042025_16_16_36_9426.jpg
/home/pi/Desktop/images/19042025/16/16/image_19042025_16_16_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":["1351966164","1351966059","1351966464","1351966353","1351966254","1351965962"],"photo_ids_order":["1351965962","1351966059","1351966164","1351966254","1351966353","1351966464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/609a0335860127b6351febb315d840d4.jpg","text":"TemporaryFile(/tmp/multipartBody3250690199576294681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082153451,"filename":"image_19042025_16_16_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/19/e123aa00e248a27acca60e39102cd993.jpg","text":"TemporaryFile(/tmp/multipartBody4376058855301788223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082153451,"filename":"image_19042025_16_15_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/19/d6f09973e4ed2615bfa7c736ff0a884d.jpg","text":"TemporaryFile(/tmp/multipartBody6687840233695853272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082153451,"filename":"image_19042025_16_16_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/680d3d2c3a25999b492d56f67e0372b9.jpg","text":"TemporaryFile(/tmp/multipartBody567902756406055158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082153451,"filename":"image_19042025_16_16_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5929d166955507916b39ef0f378bd116.jpg","text":"TemporaryFile(/tmp/multipartBody5412222416362283608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082153451,"filename":"image_19042025_16_16_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c1d4509ce9f5b179202b78ca182a425d.jpg","text":"TemporaryFile(/tmp/multipartBody416802997016856612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082153451,"filename":"image_19042025_16_15_36_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351966164","file1":"1351966059","file0":"1351965962","file4":"1351966353","file5":"1351966464","file3":"1351966254"},"map_files_photo_id_array":[{"photo_id":"1351966464","filename":"file5"},{"photo_id":"1351966164","filename":"file2"},{"photo_id":"1351966353","filename":"file4"},{"photo_id":"1351966059","filename":"file1"},{"photo_id":"1351965962","filename":"file0"},{"photo_id":"1351966254","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351966164":["hashtag1","hashtag2"]},{"1351966059":["hashtag1","hashtag2"]},{"1351966464":["hashtag1","hashtag2"]},{"1351966353":["hashtag1","hashtag2"]},{"1351966254":["hashtag1","hashtag2"]},{"1351965962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351966164, 1351966059, 1351966464, 1351966353, 1351966254, 1351965962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.25562620162964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:02:32.268032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/16/image_19042025_16_16_56_10411.jpg', '/home/pi/Desktop/images/19042025/16/16/image_19042025_16_17_06_9456.jpg', '/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_16_10372.jpg', '/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_26_9376.jpg', '/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_36_10480.jpg', '/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_47_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/16/image_19042025_16_16_56_10411.jpg
/home/pi/Desktop/images/19042025/16/16/image_19042025_16_17_06_9456.jpg
/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_16_10372.jpg
/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_26_9376.jpg
/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_36_10480.jpg
/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_47_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351967205","1351967474","1351967360","1351967423","1351967275","1351967527"],"photo_ids_order":["1351967205","1351967275","1351967360","1351967423","1351967474","1351967527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/50606a4bb22456a5d2d12ae3e20662a5.jpg","text":"TemporaryFile(/tmp/multipartBody4495255895924057684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082212725,"filename":"image_19042025_16_16_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b1c33ed874395885cf1eb4e2e2eeda5b.jpg","text":"TemporaryFile(/tmp/multipartBody7133400909913886311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082212725,"filename":"image_19042025_16_17_36_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7774e2741c5c606286f95b45fab3e0cc.jpg","text":"TemporaryFile(/tmp/multipartBody3861236597655391531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082212725,"filename":"image_19042025_16_17_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/19/94fd8b49743d142d6cd0d523552f3bc5.jpg","text":"TemporaryFile(/tmp/multipartBody1308999475800310316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082212725,"filename":"image_19042025_16_17_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/19/2c09b9a34be977ff59eb4bb4ef0e9d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1733995283730777411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082212725,"filename":"image_19042025_16_17_06_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/08e46ce69683311d45441fdc01f681c5.jpg","text":"TemporaryFile(/tmp/multipartBody2733222667794153913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082212725,"filename":"image_19042025_16_17_47_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351967360","file1":"1351967275","file0":"1351967205","file4":"1351967474","file5":"1351967527","file3":"1351967423"},"map_files_photo_id_array":[{"photo_id":"1351967527","filename":"file5"},{"photo_id":"1351967360","filename":"file2"},{"photo_id":"1351967474","filename":"file4"},{"photo_id":"1351967275","filename":"file1"},{"photo_id":"1351967205","filename":"file0"},{"photo_id":"1351967423","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351967205":["hashtag1","hashtag2"]},{"1351967474":["hashtag1","hashtag2"]},{"1351967360":["hashtag1","hashtag2"]},{"1351967423":["hashtag1","hashtag2"]},{"1351967275":["hashtag1","hashtag2"]},{"1351967527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351967205, 1351967474, 1351967360, 1351967423, 1351967275, 1351967527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.019254446029663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:03:32.428527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_56_9372.jpg', '/home/pi/Desktop/images/19042025/16/17/image_19042025_16_18_06_10378.jpg', '/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_16_9360.jpg', '/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_26_10478.jpg', '/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_36_10376.jpg', '/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_56_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_56_9372.jpg
/home/pi/Desktop/images/19042025/16/17/image_19042025_16_18_06_10378.jpg
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_16_9360.jpg
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_26_10478.jpg
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_36_10376.jpg
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_56_10387.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38545894622802734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 19:03:42.516247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_56_9372.jpg', '/home/pi/Desktop/images/19042025/16/17/image_19042025_16_18_06_10378.jpg', '/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_16_9360.jpg', '/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_26_10478.jpg', '/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_36_10376.jpg', '/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_56_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/17/image_19042025_16_17_56_9372.jpg
/home/pi/Desktop/images/19042025/16/17/image_19042025_16_18_06_10378.jpg
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_16_9360.jpg
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_26_10478.jpg
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_36_10376.jpg
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_18_56_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351967859","1351967999","1351967813","1351967944","1351967908","1351968060"],"photo_ids_order":["1351967813","1351967859","1351967908","1351967944","1351967999","1351968060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90767c6cc5f76ef0c9a6ae7df7462d08.jpg","text":"TemporaryFile(/tmp/multipartBody1618170941142806553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082282996,"filename":"image_19042025_16_18_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/19/c56639f21a1c35408e3b5744fb805f99.jpg","text":"TemporaryFile(/tmp/multipartBody4287222865691401234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082282996,"filename":"image_19042025_16_18_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/19/5508cf54d4ce43fe285ef3316f8f0068.jpg","text":"TemporaryFile(/tmp/multipartBody3889961834051446396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082282996,"filename":"image_19042025_16_17_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/19/726541d5b10b129e04f0e83a877fe63d.jpg","text":"TemporaryFile(/tmp/multipartBody8405948705887848375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082282996,"filename":"image_19042025_16_18_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/19/3432d5a108848d6c54f7fab3c443d1fb.jpg","text":"TemporaryFile(/tmp/multipartBody8430821760072386651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082282996,"filename":"image_19042025_16_18_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/19/c2446f42132fb972211cfd02ce6a83a0.jpg","text":"TemporaryFile(/tmp/multipartBody7222913828008848374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082282996,"filename":"image_19042025_16_18_56_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351967908","file1":"1351967859","file0":"1351967813","file4":"1351967999","file5":"1351968060","file3":"1351967944"},"map_files_photo_id_array":[{"photo_id":"1351968060","filename":"file5"},{"photo_id":"1351967908","filename":"file2"},{"photo_id":"1351967999","filename":"file4"},{"photo_id":"1351967859","filename":"file1"},{"photo_id":"1351967813","filename":"file0"},{"photo_id":"1351967944","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351967859":["hashtag1","hashtag2"]},{"1351967999":["hashtag1","hashtag2"]},{"1351967813":["hashtag1","hashtag2"]},{"1351967944":["hashtag1","hashtag2"]},{"1351967908":["hashtag1","hashtag2"]},{"1351968060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351967859, 1351967999, 1351967813, 1351967944, 1351967908, 1351968060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14306879043579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:04:32.783118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/18/image_19042025_16_19_06_9342.jpg', '/home/pi/Desktop/images/19042025/16/19/image_19042025_16_19_36_10483.jpg', '/home/pi/Desktop/images/19042025/16/19/image_19042025_16_19_46_10368.jpg', '/home/pi/Desktop/images/19042025/16/20/image_19042025_16_20_16_9371.jpg', '/home/pi/Desktop/images/19042025/16/20/image_19042025_16_20_26_10467.jpg', '/home/pi/Desktop/images/19042025/16/20/image_19042025_16_20_36_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/18/image_19042025_16_19_06_9342.jpg
/home/pi/Desktop/images/19042025/16/19/image_19042025_16_19_36_10483.jpg
/home/pi/Desktop/images/19042025/16/19/image_19042025_16_19_46_10368.jpg
/home/pi/Desktop/images/19042025/16/20/image_19042025_16_20_16_9371.jpg
/home/pi/Desktop/images/19042025/16/20/image_19042025_16_20_26_10467.jpg
/home/pi/Desktop/images/19042025/16/20/image_19042025_16_20_36_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":["1351968507","1351968446","1351968407","1351968442","1351968436","1351968480"],"photo_ids_order":["1351968407","1351968436","1351968442","1351968446","1351968480","1351968507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fedfccc3e02267f6fe8508baed493e05.jpg","text":"TemporaryFile(/tmp/multipartBody8013677228954351531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082333244,"filename":"image_19042025_16_20_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/19/164dde9bf02fd1048ace736be3911e28.jpg","text":"TemporaryFile(/tmp/multipartBody2490579111213164924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082333244,"filename":"image_19042025_16_20_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/19/df98ff523d9bd92fd72bd826cce47e1f.jpg","text":"TemporaryFile(/tmp/multipartBody1029460602392965792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082333244,"filename":"image_19042025_16_19_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/684fc91bd6e8916802536015f13ea66c.jpg","text":"TemporaryFile(/tmp/multipartBody610922587066068619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082333244,"filename":"image_19042025_16_19_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/19/0791e66e8a607a5ac82476dbc376536d.jpg","text":"TemporaryFile(/tmp/multipartBody1596086231164550628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082333244,"filename":"image_19042025_16_19_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/19/6d1cc3fd955a0227a65985a32689d8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4376627696486660635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082333244,"filename":"image_19042025_16_20_26_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351968442","file1":"1351968436","file0":"1351968407","file4":"1351968480","file5":"1351968507","file3":"1351968446"},"map_files_photo_id_array":[{"photo_id":"1351968507","filename":"file5"},{"photo_id":"1351968442","filename":"file2"},{"photo_id":"1351968480","filename":"file4"},{"photo_id":"1351968436","filename":"file1"},{"photo_id":"1351968407","filename":"file0"},{"photo_id":"1351968446","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351968507":["hashtag1","hashtag2"]},{"1351968446":["hashtag1","hashtag2"]},{"1351968407":["hashtag1","hashtag2"]},{"1351968442":["hashtag1","hashtag2"]},{"1351968436":["hashtag1","hashtag2"]},{"1351968480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351968507, 1351968446, 1351968407, 1351968442, 1351968436, 1351968480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12064480781555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:05:32.996923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/20/image_19042025_16_20_46_9468.jpg', '/home/pi/Desktop/images/19042025/16/20/image_19042025_16_21_06_9429.jpg', '/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_16_10370.jpg', '/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_26_9442.jpg', '/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_36_10402.jpg', '/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/20/image_19042025_16_20_46_9468.jpg
/home/pi/Desktop/images/19042025/16/20/image_19042025_16_21_06_9429.jpg
/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_16_10370.jpg
/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_26_9442.jpg
/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_36_10402.jpg
/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_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":["1351968590","1351968592","1351968649","1351968699","1351968622","1351968675"],"photo_ids_order":["1351968590","1351968592","1351968622","1351968649","1351968675","1351968699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a825831e160bd5abbb21d73064b4dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4065690900516756988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082393462,"filename":"image_19042025_16_20_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/19/45e52f8b523be5eb204d08948215d1b3.jpg","text":"TemporaryFile(/tmp/multipartBody8933146082924679142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082393462,"filename":"image_19042025_16_21_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/19/fc867cb8fc4eee585359a5c8b44a82c9.jpg","text":"TemporaryFile(/tmp/multipartBody661881661166653443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082393462,"filename":"image_19042025_16_21_26_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8bcee90fdf3b3516781dac5a7cda7b4d.jpg","text":"TemporaryFile(/tmp/multipartBody9053459669776370689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082393462,"filename":"image_19042025_16_21_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/19/061002afbeb61ca74f77df15a341944a.jpg","text":"TemporaryFile(/tmp/multipartBody7078783365806793553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082393462,"filename":"image_19042025_16_21_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/19/510bf7073915e3aba8228c54beaab2ee.jpg","text":"TemporaryFile(/tmp/multipartBody2726684163598409910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082393462,"filename":"image_19042025_16_21_36_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351968622","file1":"1351968592","file0":"1351968590","file4":"1351968675","file5":"1351968699","file3":"1351968649"},"map_files_photo_id_array":[{"photo_id":"1351968699","filename":"file5"},{"photo_id":"1351968622","filename":"file2"},{"photo_id":"1351968675","filename":"file4"},{"photo_id":"1351968592","filename":"file1"},{"photo_id":"1351968590","filename":"file0"},{"photo_id":"1351968649","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351968590":["hashtag1","hashtag2"]},{"1351968592":["hashtag1","hashtag2"]},{"1351968649":["hashtag1","hashtag2"]},{"1351968699":["hashtag1","hashtag2"]},{"1351968622":["hashtag1","hashtag2"]},{"1351968675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351968590, 1351968592, 1351968649, 1351968699, 1351968622, 1351968675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.626609563827515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:06:32.384413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_56_9355.jpg', '/home/pi/Desktop/images/19042025/16/21/image_19042025_16_22_06_10359.jpg', '/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_16_10355.jpg', '/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_26_9361.jpg', '/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_36_10458.jpg', '/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_46_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/21/image_19042025_16_21_56_9355.jpg
/home/pi/Desktop/images/19042025/16/21/image_19042025_16_22_06_10359.jpg
/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_16_10355.jpg
/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_26_9361.jpg
/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_36_10458.jpg
/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_46_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351968824","1351968787","1351968796","1351968784","1351968852","1351968780"],"photo_ids_order":["1351968780","1351968784","1351968787","1351968796","1351968824","1351968852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3fecb9a169d12c642943b65e9f50b91.jpg","text":"TemporaryFile(/tmp/multipartBody4349009890172052989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082452855,"filename":"image_19042025_16_22_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/19/b85503ef8376117c780144b99da6d8b8.jpg","text":"TemporaryFile(/tmp/multipartBody8628230007506783387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082452855,"filename":"image_19042025_16_22_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/82ae1177fb0c27c942ef333340717234.jpg","text":"TemporaryFile(/tmp/multipartBody8953885532991935614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082452855,"filename":"image_19042025_16_22_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/19/62ef64b6473fb0d08808d4f020f24a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2391082627678150341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082452855,"filename":"image_19042025_16_22_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ede642035b754bf133ea19d046351a9b.jpg","text":"TemporaryFile(/tmp/multipartBody334659506650855883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082452855,"filename":"image_19042025_16_22_46_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f3f05d3ac98ce8d8cd02edcf22f2aec8.jpg","text":"TemporaryFile(/tmp/multipartBody6339047552617015058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082452855,"filename":"image_19042025_16_21_56_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351968787","file1":"1351968784","file0":"1351968780","file4":"1351968824","file5":"1351968852","file3":"1351968796"},"map_files_photo_id_array":[{"photo_id":"1351968852","filename":"file5"},{"photo_id":"1351968787","filename":"file2"},{"photo_id":"1351968824","filename":"file4"},{"photo_id":"1351968784","filename":"file1"},{"photo_id":"1351968780","filename":"file0"},{"photo_id":"1351968796","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351968824":["hashtag1","hashtag2"]},{"1351968787":["hashtag1","hashtag2"]},{"1351968796":["hashtag1","hashtag2"]},{"1351968784":["hashtag1","hashtag2"]},{"1351968852":["hashtag1","hashtag2"]},{"1351968780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351968824, 1351968787, 1351968796, 1351968784, 1351968852, 1351968780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.51205086708069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:07:32.679852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_56_10487.jpg', '/home/pi/Desktop/images/19042025/16/22/image_19042025_16_23_06_10352.jpg', '/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_16_9458.jpg', '/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_26_10383.jpg', '/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_36_9365.jpg', '/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_46_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/22/image_19042025_16_22_56_10487.jpg
/home/pi/Desktop/images/19042025/16/22/image_19042025_16_23_06_10352.jpg
/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_16_9458.jpg
/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_26_10383.jpg
/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_36_9365.jpg
/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_46_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":["1351969169","1351969273","1351969120","1351969222","1351969077","1351969050"],"photo_ids_order":["1351969050","1351969077","1351969120","1351969169","1351969222","1351969273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f7fe5f59e67663e81ffc94be60ddc1e8.jpg","text":"TemporaryFile(/tmp/multipartBody9101187450335851267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082513150,"filename":"image_19042025_16_23_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/19/fb184df6cc2eb63d3c9ec08ad7bf7449.jpg","text":"TemporaryFile(/tmp/multipartBody3487068097542103030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082513150,"filename":"image_19042025_16_23_46_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14211f997bbb78aa93a598cb870e8691.jpg","text":"TemporaryFile(/tmp/multipartBody1626611504538539051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082513150,"filename":"image_19042025_16_23_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/19/877d15b1600e004af5aea16eab5c891b.jpg","text":"TemporaryFile(/tmp/multipartBody1722024673833928556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082513150,"filename":"image_19042025_16_23_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/19/2e63661d6a27ecf534e2000122842653.jpg","text":"TemporaryFile(/tmp/multipartBody4403390001084004849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082513150,"filename":"image_19042025_16_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/19/acad14c5676ad18f35444625f2e9df36.jpg","text":"TemporaryFile(/tmp/multipartBody4675530691556594124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082513150,"filename":"image_19042025_16_22_56_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351969120","file1":"1351969077","file0":"1351969050","file4":"1351969222","file5":"1351969273","file3":"1351969169"},"map_files_photo_id_array":[{"photo_id":"1351969273","filename":"file5"},{"photo_id":"1351969120","filename":"file2"},{"photo_id":"1351969222","filename":"file4"},{"photo_id":"1351969077","filename":"file1"},{"photo_id":"1351969050","filename":"file0"},{"photo_id":"1351969169","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351969169":["hashtag1","hashtag2"]},{"1351969273":["hashtag1","hashtag2"]},{"1351969120":["hashtag1","hashtag2"]},{"1351969222":["hashtag1","hashtag2"]},{"1351969077":["hashtag1","hashtag2"]},{"1351969050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351969169, 1351969273, 1351969120, 1351969222, 1351969077, 1351969050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.429320335388184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:08:32.950077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_56_9398.jpg', '/home/pi/Desktop/images/19042025/16/23/image_19042025_16_24_06_10439.jpg', '/home/pi/Desktop/images/19042025/16/24/image_19042025_16_24_16_10377.jpg', '/home/pi/Desktop/images/19042025/16/24/image_19042025_16_24_26_9379.jpg', '/home/pi/Desktop/images/19042025/16/24/image_19042025_16_24_36_10458.jpg', '/home/pi/Desktop/images/19042025/16/24/image_19042025_16_25_06_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/23/image_19042025_16_23_56_9398.jpg
/home/pi/Desktop/images/19042025/16/23/image_19042025_16_24_06_10439.jpg
/home/pi/Desktop/images/19042025/16/24/image_19042025_16_24_16_10377.jpg
/home/pi/Desktop/images/19042025/16/24/image_19042025_16_24_26_9379.jpg
/home/pi/Desktop/images/19042025/16/24/image_19042025_16_24_36_10458.jpg
/home/pi/Desktop/images/19042025/16/24/image_19042025_16_25_06_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":["1351969883","1351969975","1351969852","1351969756","1351969926","1351969806"],"photo_ids_order":["1351969756","1351969806","1351969852","1351969883","1351969926","1351969975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7bb1325904d58acf8371ed809d7a9949.jpg","text":"TemporaryFile(/tmp/multipartBody1615388829245520117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082573420,"filename":"image_19042025_16_24_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/19/b19cde0adb295dccf43b3afd57400bca.jpg","text":"TemporaryFile(/tmp/multipartBody5439008184238900413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082573420,"filename":"image_19042025_16_25_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/19/8f37c6d13e3eb20e7ad7cb504e6844bf.jpg","text":"TemporaryFile(/tmp/multipartBody5965533275212085537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082573420,"filename":"image_19042025_16_24_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5182687bf07c803daac4b8c886d64654.jpg","text":"TemporaryFile(/tmp/multipartBody3232207215659628202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082573420,"filename":"image_19042025_16_23_56_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/19/2be33ba42bea959305ef1d98250e3a4f.jpg","text":"TemporaryFile(/tmp/multipartBody8570129741418555826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082573420,"filename":"image_19042025_16_24_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/19/d24d920ea7d5891532161bfd650c35b8.jpg","text":"TemporaryFile(/tmp/multipartBody4063598665580882830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082573420,"filename":"image_19042025_16_24_06_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351969852","file1":"1351969806","file0":"1351969756","file4":"1351969926","file5":"1351969975","file3":"1351969883"},"map_files_photo_id_array":[{"photo_id":"1351969975","filename":"file5"},{"photo_id":"1351969852","filename":"file2"},{"photo_id":"1351969926","filename":"file4"},{"photo_id":"1351969806","filename":"file1"},{"photo_id":"1351969756","filename":"file0"},{"photo_id":"1351969883","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351969883":["hashtag1","hashtag2"]},{"1351969975":["hashtag1","hashtag2"]},{"1351969852":["hashtag1","hashtag2"]},{"1351969756":["hashtag1","hashtag2"]},{"1351969926":["hashtag1","hashtag2"]},{"1351969806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351969883, 1351969975, 1351969852, 1351969756, 1351969926, 1351969806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.908925533294678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:09:33.135700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_16_9456.jpg', '/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_26_10364.jpg', '/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_36_9467.jpg', '/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_46_10454.jpg', '/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_57_10388.jpg', '/home/pi/Desktop/images/19042025/16/25/image_19042025_16_26_06_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_16_9456.jpg
/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_26_10364.jpg
/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_36_9467.jpg
/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_46_10454.jpg
/home/pi/Desktop/images/19042025/16/25/image_19042025_16_25_57_10388.jpg
/home/pi/Desktop/images/19042025/16/25/image_19042025_16_26_06_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351970106","1351970103","1351970098","1351970131","1351970110","1351970136"],"photo_ids_order":["1351970098","1351970103","1351970106","1351970110","1351970131","1351970136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e9c5973270622110b47b5e0d415a7714.jpg","text":"TemporaryFile(/tmp/multipartBody512540779165244209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082633603,"filename":"image_19042025_16_25_36_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b7936108b180473d001f136a37ef43bb.jpg","text":"TemporaryFile(/tmp/multipartBody195540954778731692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082633603,"filename":"image_19042025_16_25_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/22ce3cde2a57531695079edce50e37b4.jpg","text":"TemporaryFile(/tmp/multipartBody3780634496647102829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082633603,"filename":"image_19042025_16_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/19/cca546f84c1b46932d62564f464d38a1.jpg","text":"TemporaryFile(/tmp/multipartBody8992226348918256257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082633603,"filename":"image_19042025_16_25_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/19/7f662c87090c7d71f22958de73413f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8864552585391421748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082633603,"filename":"image_19042025_16_25_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/19/bb7e948d19f80ea7d8e2318f98e37264.jpg","text":"TemporaryFile(/tmp/multipartBody1918622806294721735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082633603,"filename":"image_19042025_16_26_06_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970106","file1":"1351970103","file0":"1351970098","file4":"1351970131","file5":"1351970136","file3":"1351970110"},"map_files_photo_id_array":[{"photo_id":"1351970136","filename":"file5"},{"photo_id":"1351970106","filename":"file2"},{"photo_id":"1351970131","filename":"file4"},{"photo_id":"1351970103","filename":"file1"},{"photo_id":"1351970098","filename":"file0"},{"photo_id":"1351970110","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351970106":["hashtag1","hashtag2"]},{"1351970103":["hashtag1","hashtag2"]},{"1351970098":["hashtag1","hashtag2"]},{"1351970131":["hashtag1","hashtag2"]},{"1351970110":["hashtag1","hashtag2"]},{"1351970136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351970106, 1351970103, 1351970098, 1351970131, 1351970110, 1351970136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.433915853500366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:10:32.242948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/26/image_19042025_16_26_16_10359.jpg', '/home/pi/Desktop/images/19042025/16/26/image_19042025_16_26_26_9358.jpg', '/home/pi/Desktop/images/19042025/16/26/image_19042025_16_26_36_10416.jpg', '/home/pi/Desktop/images/19042025/16/26/image_19042025_16_26_47_10399.jpg', '/home/pi/Desktop/images/19042025/16/26/image_19042025_16_27_06_10391.jpg', '/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/26/image_19042025_16_26_16_10359.jpg
/home/pi/Desktop/images/19042025/16/26/image_19042025_16_26_26_9358.jpg
/home/pi/Desktop/images/19042025/16/26/image_19042025_16_26_36_10416.jpg
/home/pi/Desktop/images/19042025/16/26/image_19042025_16_26_47_10399.jpg
/home/pi/Desktop/images/19042025/16/26/image_19042025_16_27_06_10391.jpg
/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_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":["1351970166","1351970198","1351970285","1351970231","1351970318","1351970260"],"photo_ids_order":["1351970166","1351970198","1351970231","1351970260","1351970285","1351970318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad75e4876420e226de9813ea54b480d8.jpg","text":"TemporaryFile(/tmp/multipartBody2997933976103984035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082692710,"filename":"image_19042025_16_26_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/85cb6cd037a0c1acdec3596a448415ce.jpg","text":"TemporaryFile(/tmp/multipartBody316233260825545293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082692710,"filename":"image_19042025_16_26_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/19/ec0b759ea5d8bbec052461dc683d0c8c.jpg","text":"TemporaryFile(/tmp/multipartBody8533703355632533063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082692710,"filename":"image_19042025_16_27_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/19/91a49bddd2fd0ef19246c02b3102bf79.jpg","text":"TemporaryFile(/tmp/multipartBody8856569230587838464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082692710,"filename":"image_19042025_16_26_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/19/01c8519262d23e0139a7b9a0f8b56a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7010204324451481230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082692710,"filename":"image_19042025_16_27_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/19/1e8599675e9b8a71a66e1b15898d561a.jpg","text":"TemporaryFile(/tmp/multipartBody1845743019538904652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082692710,"filename":"image_19042025_16_26_47_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970231","file1":"1351970198","file0":"1351970166","file4":"1351970285","file5":"1351970318","file3":"1351970260"},"map_files_photo_id_array":[{"photo_id":"1351970318","filename":"file5"},{"photo_id":"1351970231","filename":"file2"},{"photo_id":"1351970285","filename":"file4"},{"photo_id":"1351970198","filename":"file1"},{"photo_id":"1351970166","filename":"file0"},{"photo_id":"1351970260","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351970166":["hashtag1","hashtag2"]},{"1351970198":["hashtag1","hashtag2"]},{"1351970285":["hashtag1","hashtag2"]},{"1351970231":["hashtag1","hashtag2"]},{"1351970318":["hashtag1","hashtag2"]},{"1351970260":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351970166, 1351970198, 1351970285, 1351970231, 1351970318, 1351970260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69905495643616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:11:32.514999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_26_10451.jpg', '/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_36_9385.jpg', '/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_46_10383.jpg', '/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_56_10389.jpg', '/home/pi/Desktop/images/19042025/16/27/image_19042025_16_28_06_9377.jpg', '/home/pi/Desktop/images/19042025/16/28/image_19042025_16_28_16_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_26_10451.jpg
/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_36_9385.jpg
/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_46_10383.jpg
/home/pi/Desktop/images/19042025/16/27/image_19042025_16_27_56_10389.jpg
/home/pi/Desktop/images/19042025/16/27/image_19042025_16_28_06_9377.jpg
/home/pi/Desktop/images/19042025/16/28/image_19042025_16_28_16_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351970616","1351970693","1351970698","1351970635","1351970598","1351970664"],"photo_ids_order":["1351970598","1351970616","1351970635","1351970664","1351970693","1351970698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ff9b0355656734c0755f20fd622438a.jpg","text":"TemporaryFile(/tmp/multipartBody7309962038058080813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082752985,"filename":"image_19042025_16_27_36_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/07164346c1fd8989e2ff84aefc86a2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5936014501994151348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082752985,"filename":"image_19042025_16_28_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/19/9393609132a813a6e7b37ebbfc7d4e93.jpg","text":"TemporaryFile(/tmp/multipartBody2566468555436025632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082752985,"filename":"image_19042025_16_28_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/19/7a09962c19d17115d6f5bf9aee43cebe.jpg","text":"TemporaryFile(/tmp/multipartBody5433374146675930239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082752985,"filename":"image_19042025_16_27_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e1de769cedaac7f2752c7691f0f6c791.jpg","text":"TemporaryFile(/tmp/multipartBody782802319754536001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082752985,"filename":"image_19042025_16_27_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/19/1154701ed6563a1b78b1aaaad8d055b5.jpg","text":"TemporaryFile(/tmp/multipartBody5448444292985826980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082752985,"filename":"image_19042025_16_27_56_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970635","file1":"1351970616","file0":"1351970598","file4":"1351970693","file5":"1351970698","file3":"1351970664"},"map_files_photo_id_array":[{"photo_id":"1351970698","filename":"file5"},{"photo_id":"1351970635","filename":"file2"},{"photo_id":"1351970693","filename":"file4"},{"photo_id":"1351970616","filename":"file1"},{"photo_id":"1351970598","filename":"file0"},{"photo_id":"1351970664","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351970616":["hashtag1","hashtag2"]},{"1351970693":["hashtag1","hashtag2"]},{"1351970698":["hashtag1","hashtag2"]},{"1351970635":["hashtag1","hashtag2"]},{"1351970598":["hashtag1","hashtag2"]},{"1351970664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351970616, 1351970693, 1351970698, 1351970635, 1351970598, 1351970664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.98746347427368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:12:32.651036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/28/image_19042025_16_28_36_10450.jpg', '/home/pi/Desktop/images/19042025/16/28/image_19042025_16_28_46_10396.jpg', '/home/pi/Desktop/images/19042025/16/28/image_19042025_16_28_56_9469.jpg', '/home/pi/Desktop/images/19042025/16/28/image_19042025_16_29_06_10387.jpg', '/home/pi/Desktop/images/19042025/16/29/image_19042025_16_29_16_9401.jpg', '/home/pi/Desktop/images/19042025/16/29/image_19042025_16_29_26_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/28/image_19042025_16_28_36_10450.jpg
/home/pi/Desktop/images/19042025/16/28/image_19042025_16_28_46_10396.jpg
/home/pi/Desktop/images/19042025/16/28/image_19042025_16_28_56_9469.jpg
/home/pi/Desktop/images/19042025/16/28/image_19042025_16_29_06_10387.jpg
/home/pi/Desktop/images/19042025/16/29/image_19042025_16_29_16_9401.jpg
/home/pi/Desktop/images/19042025/16/29/image_19042025_16_29_26_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":["1351970813","1351970863","1351970857","1351970758","1351970842","1351970865"],"photo_ids_order":["1351970758","1351970813","1351970842","1351970857","1351970863","1351970865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a307cc4db13a4da64dd57dd3e4092c36.jpg","text":"TemporaryFile(/tmp/multipartBody3262250497974334813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082813112,"filename":"image_19042025_16_28_46_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4e6b2c5daafc5b1486f82ebb3023824.jpg","text":"TemporaryFile(/tmp/multipartBody2584163328047683212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082813112,"filename":"image_19042025_16_29_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/19/51775fe54d964977e6c229674860da6d.jpg","text":"TemporaryFile(/tmp/multipartBody850777558280094453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082813112,"filename":"image_19042025_16_29_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/19/1d52d158b0c7a63ae5e2ec6d928233e5.jpg","text":"TemporaryFile(/tmp/multipartBody316512619780826368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082813112,"filename":"image_19042025_16_28_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/19/c8023fa2cdf24d91e3a9e0a5da2d7c34.jpg","text":"TemporaryFile(/tmp/multipartBody1160518124730598064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082813112,"filename":"image_19042025_16_28_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d1d81430c556e7cb0c5d3dc8144ac37c.jpg","text":"TemporaryFile(/tmp/multipartBody7378196449741839174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082813112,"filename":"image_19042025_16_29_26_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970842","file1":"1351970813","file0":"1351970758","file4":"1351970863","file5":"1351970865","file3":"1351970857"},"map_files_photo_id_array":[{"photo_id":"1351970865","filename":"file5"},{"photo_id":"1351970842","filename":"file2"},{"photo_id":"1351970863","filename":"file4"},{"photo_id":"1351970813","filename":"file1"},{"photo_id":"1351970758","filename":"file0"},{"photo_id":"1351970857","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351970813":["hashtag1","hashtag2"]},{"1351970863":["hashtag1","hashtag2"]},{"1351970857":["hashtag1","hashtag2"]},{"1351970758":["hashtag1","hashtag2"]},{"1351970842":["hashtag1","hashtag2"]},{"1351970865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351970813, 1351970863, 1351970857, 1351970758, 1351970842, 1351970865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0882408618927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:13:32.881616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/29/image_19042025_16_29_46_9426.jpg', '/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_16_10429.jpg', '/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_26_10473.jpg', '/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_36_9412.jpg', '/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_46_10368.jpg', '/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_56_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/29/image_19042025_16_29_46_9426.jpg
/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_16_10429.jpg
/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_26_10473.jpg
/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_36_9412.jpg
/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_46_10368.jpg
/home/pi/Desktop/images/19042025/16/30/image_19042025_16_30_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":["1351970891","1351970885","1351970881","1351970887","1351970889","1351970877"],"photo_ids_order":["1351970877","1351970881","1351970885","1351970887","1351970889","1351970891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f56a08d63ca1762579bcd49b190fdf9.jpg","text":"TemporaryFile(/tmp/multipartBody316603488617267059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082873338,"filename":"image_19042025_16_30_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/19/662dd4b68c513d7c473f1aa566a2efac.jpg","text":"TemporaryFile(/tmp/multipartBody1436959365632299136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082873338,"filename":"image_19042025_16_30_26_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/19/5cf26d3d0ca28ea91b26ef048491d5de.jpg","text":"TemporaryFile(/tmp/multipartBody5013733326643797034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082873338,"filename":"image_19042025_16_30_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a42e450aef216f1b3800a975154c18a.jpg","text":"TemporaryFile(/tmp/multipartBody1841677365690548001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082873338,"filename":"image_19042025_16_30_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/19/66a8296f737cf89624ce11909c40be9a.jpg","text":"TemporaryFile(/tmp/multipartBody3009420833643392719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082873338,"filename":"image_19042025_16_30_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/19/9501873ec058f29951d04f27711e1426.jpg","text":"TemporaryFile(/tmp/multipartBody3148032933886977474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082873338,"filename":"image_19042025_16_29_46_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970885","file1":"1351970881","file0":"1351970877","file4":"1351970889","file5":"1351970891","file3":"1351970887"},"map_files_photo_id_array":[{"photo_id":"1351970891","filename":"file5"},{"photo_id":"1351970885","filename":"file2"},{"photo_id":"1351970889","filename":"file4"},{"photo_id":"1351970881","filename":"file1"},{"photo_id":"1351970877","filename":"file0"},{"photo_id":"1351970887","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351970891":["hashtag1","hashtag2"]},{"1351970885":["hashtag1","hashtag2"]},{"1351970881":["hashtag1","hashtag2"]},{"1351970887":["hashtag1","hashtag2"]},{"1351970889":["hashtag1","hashtag2"]},{"1351970877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351970891, 1351970885, 1351970881, 1351970887, 1351970889, 1351970877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.925607919692993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:14:33.176123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/30/image_19042025_16_31_06_10458.jpg', '/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_16_10386.jpg', '/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_26_9516.jpg', '/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_36_10457.jpg', '/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_46_9504.jpg', '/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_56_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/30/image_19042025_16_31_06_10458.jpg
/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_16_10386.jpg
/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_26_9516.jpg
/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_36_10457.jpg
/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_46_9504.jpg
/home/pi/Desktop/images/19042025/16/31/image_19042025_16_31_56_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":["1351970907","1351970909","1351970903","1351970912","1351970914","1351970916"],"photo_ids_order":["1351970903","1351970907","1351970909","1351970912","1351970914","1351970916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3f3973b9dbd5ede0b6af43ac30a912ca.jpg","text":"TemporaryFile(/tmp/multipartBody6678423456779839668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082933638,"filename":"image_19042025_16_31_16_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c96de3325880e288044e9ca432dc0f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1863185839682023134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082933638,"filename":"image_19042025_16_31_26_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/19/7e8154e56fed82da64dbcd65227b8b56.jpg","text":"TemporaryFile(/tmp/multipartBody9193699571532798105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082933638,"filename":"image_19042025_16_31_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/19/068f2c207ea3cd6f13ecda7dc815e0fe.jpg","text":"TemporaryFile(/tmp/multipartBody5969721409557647774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082933638,"filename":"image_19042025_16_31_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/19/9e405363d62021110da82c9e03a9c863.jpg","text":"TemporaryFile(/tmp/multipartBody1386107042555806313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082933638,"filename":"image_19042025_16_31_46_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/19/c66c6e40d618f03474f44c152a32ce03.jpg","text":"TemporaryFile(/tmp/multipartBody7329690150660211633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082933638,"filename":"image_19042025_16_31_56_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970909","file1":"1351970907","file0":"1351970903","file4":"1351970914","file5":"1351970916","file3":"1351970912"},"map_files_photo_id_array":[{"photo_id":"1351970916","filename":"file5"},{"photo_id":"1351970909","filename":"file2"},{"photo_id":"1351970914","filename":"file4"},{"photo_id":"1351970907","filename":"file1"},{"photo_id":"1351970903","filename":"file0"},{"photo_id":"1351970912","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351970907":["hashtag1","hashtag2"]},{"1351970909":["hashtag1","hashtag2"]},{"1351970903":["hashtag1","hashtag2"]},{"1351970912":["hashtag1","hashtag2"]},{"1351970914":["hashtag1","hashtag2"]},{"1351970916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351970907, 1351970909, 1351970903, 1351970912, 1351970914, 1351970916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.318889141082764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:15:32.444947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/31/image_19042025_16_32_06_9349.jpg', '/home/pi/Desktop/images/19042025/16/32/image_19042025_16_32_27_10364.jpg', '/home/pi/Desktop/images/19042025/16/32/image_19042025_16_32_36_9451.jpg', '/home/pi/Desktop/images/19042025/16/32/image_19042025_16_32_46_10375.jpg', '/home/pi/Desktop/images/19042025/16/32/image_19042025_16_32_56_9478.jpg', '/home/pi/Desktop/images/19042025/16/32/image_19042025_16_33_06_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/31/image_19042025_16_32_06_9349.jpg
/home/pi/Desktop/images/19042025/16/32/image_19042025_16_32_27_10364.jpg
/home/pi/Desktop/images/19042025/16/32/image_19042025_16_32_36_9451.jpg
/home/pi/Desktop/images/19042025/16/32/image_19042025_16_32_46_10375.jpg
/home/pi/Desktop/images/19042025/16/32/image_19042025_16_32_56_9478.jpg
/home/pi/Desktop/images/19042025/16/32/image_19042025_16_33_06_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":["1351970931","1351970951","1351970933","1351970932","1351970929","1351970934"],"photo_ids_order":["1351970929","1351970931","1351970932","1351970933","1351970934","1351970951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f5b7cec23aed60993d98033c50ad785.jpg","text":"TemporaryFile(/tmp/multipartBody6185327474899460856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082992911,"filename":"image_19042025_16_32_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/19/e71a884c99896ae24bef2425a4d95687.jpg","text":"TemporaryFile(/tmp/multipartBody4419450168029345400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082992911,"filename":"image_19042025_16_33_06_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ee0b8c1e16d1f5c9f6ba91f629b6e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2585135554065126850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082992911,"filename":"image_19042025_16_32_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/19/55048693b7764531afd0e853884b6429.jpg","text":"TemporaryFile(/tmp/multipartBody7384245486453584481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082992911,"filename":"image_19042025_16_32_36_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9f9fe48777cfd80f392d7645ed3de9a.jpg","text":"TemporaryFile(/tmp/multipartBody4325203133621322841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082992911,"filename":"image_19042025_16_32_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/19/9a23405d485d22ca5a67ef76d1af4597.jpg","text":"TemporaryFile(/tmp/multipartBody8130522211895661014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745082992911,"filename":"image_19042025_16_32_56_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970932","file1":"1351970931","file0":"1351970929","file4":"1351970934","file5":"1351970951","file3":"1351970933"},"map_files_photo_id_array":[{"photo_id":"1351970951","filename":"file5"},{"photo_id":"1351970932","filename":"file2"},{"photo_id":"1351970934","filename":"file4"},{"photo_id":"1351970931","filename":"file1"},{"photo_id":"1351970929","filename":"file0"},{"photo_id":"1351970933","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351970931":["hashtag1","hashtag2"]},{"1351970951":["hashtag1","hashtag2"]},{"1351970933":["hashtag1","hashtag2"]},{"1351970932":["hashtag1","hashtag2"]},{"1351970929":["hashtag1","hashtag2"]},{"1351970934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351970931, 1351970951, 1351970933, 1351970932, 1351970929, 1351970934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81900644302368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:16:32.623807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_16_9382.jpg', '/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_26_10411.jpg', '/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_36_10368.jpg', '/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_46_9419.jpg', '/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_56_10380.jpg', '/home/pi/Desktop/images/19042025/16/33/image_19042025_16_34_06_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_16_9382.jpg
/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_26_10411.jpg
/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_36_10368.jpg
/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_46_9419.jpg
/home/pi/Desktop/images/19042025/16/33/image_19042025_16_33_56_10380.jpg
/home/pi/Desktop/images/19042025/16/33/image_19042025_16_34_06_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":["1351971686","1351971173","1351971199","1351971509","1351971317","1351971225"],"photo_ids_order":["1351971173","1351971199","1351971225","1351971317","1351971509","1351971686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e37cdc16889c24d9f70eaefe6df8e61d.jpg","text":"TemporaryFile(/tmp/multipartBody2848614279682206665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083053080,"filename":"image_19042025_16_34_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/19/effa315f2036c8794d6cfa4494a8c14a.jpg","text":"TemporaryFile(/tmp/multipartBody5143269661617512115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083053080,"filename":"image_19042025_16_33_16_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4efee5db0ab9db12851061b0112808b5.jpg","text":"TemporaryFile(/tmp/multipartBody2252191669018123831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083053080,"filename":"image_19042025_16_33_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/19/3aa2e110f71b23e4c849c3b64883fd02.jpg","text":"TemporaryFile(/tmp/multipartBody6721816845359488531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083053080,"filename":"image_19042025_16_33_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9d83209fae97358ad57f4c800fecc027.jpg","text":"TemporaryFile(/tmp/multipartBody7923967192569597635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083053080,"filename":"image_19042025_16_33_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/19/b9aab0c1a8abdc3f8574e534e3739377.jpg","text":"TemporaryFile(/tmp/multipartBody3967605341758930370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083053080,"filename":"image_19042025_16_33_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351971225","file1":"1351971199","file0":"1351971173","file4":"1351971509","file5":"1351971686","file3":"1351971317"},"map_files_photo_id_array":[{"photo_id":"1351971686","filename":"file5"},{"photo_id":"1351971225","filename":"file2"},{"photo_id":"1351971509","filename":"file4"},{"photo_id":"1351971199","filename":"file1"},{"photo_id":"1351971173","filename":"file0"},{"photo_id":"1351971317","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351971686":["hashtag1","hashtag2"]},{"1351971173":["hashtag1","hashtag2"]},{"1351971199":["hashtag1","hashtag2"]},{"1351971509":["hashtag1","hashtag2"]},{"1351971317":["hashtag1","hashtag2"]},{"1351971225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351971686, 1351971173, 1351971199, 1351971509, 1351971317, 1351971225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.165163040161133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:17:32.967385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/34/image_19042025_16_34_36_9500.jpg', '/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_16_10366.jpg', '/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_26_9478.jpg', '/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_36_10407.jpg', '/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_46_9357.jpg', '/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_56_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/34/image_19042025_16_34_36_9500.jpg
/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_16_10366.jpg
/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_26_9478.jpg
/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_36_10407.jpg
/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_46_9357.jpg
/home/pi/Desktop/images/19042025/16/35/image_19042025_16_35_56_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351972301","1351972369","1351972426","1351972513","1351972341","1351972397"],"photo_ids_order":["1351972301","1351972341","1351972369","1351972397","1351972426","1351972513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c199280276f7bc046b4447db13e7a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4670675776444575179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083113446,"filename":"image_19042025_16_34_36_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d5b1d46009b779a6eb84921d5538d0e.jpg","text":"TemporaryFile(/tmp/multipartBody1631527347145594094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083113446,"filename":"image_19042025_16_35_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/19/10e084a1896cff1e1d085bd8e590748a.jpg","text":"TemporaryFile(/tmp/multipartBody2743895971141488169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083113446,"filename":"image_19042025_16_35_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/19/db74c8f8138299f7983e0ee06dfe416a.jpg","text":"TemporaryFile(/tmp/multipartBody7372903528738819855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083113446,"filename":"image_19042025_16_35_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/19/5c5cf80ca486c8afa42c6672686e5c8b.jpg","text":"TemporaryFile(/tmp/multipartBody8545080415891656022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083113446,"filename":"image_19042025_16_35_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/19/61ae20c7ff33bd7b62496e4b5d3b0f77.jpg","text":"TemporaryFile(/tmp/multipartBody2836452133627268570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083113446,"filename":"image_19042025_16_35_36_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351972369","file1":"1351972341","file0":"1351972301","file4":"1351972426","file5":"1351972513","file3":"1351972397"},"map_files_photo_id_array":[{"photo_id":"1351972513","filename":"file5"},{"photo_id":"1351972369","filename":"file2"},{"photo_id":"1351972426","filename":"file4"},{"photo_id":"1351972341","filename":"file1"},{"photo_id":"1351972301","filename":"file0"},{"photo_id":"1351972397","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351972301":["hashtag1","hashtag2"]},{"1351972369":["hashtag1","hashtag2"]},{"1351972426":["hashtag1","hashtag2"]},{"1351972513":["hashtag1","hashtag2"]},{"1351972341":["hashtag1","hashtag2"]},{"1351972397":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351972301, 1351972369, 1351972426, 1351972513, 1351972341, 1351972397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.49492383003235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:18:33.124466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/35/image_19042025_16_36_06_10356.jpg', '/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_16_9464.jpg', '/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_26_10388.jpg', '/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_36_9352.jpg', '/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_46_10464.jpg', '/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_56_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/35/image_19042025_16_36_06_10356.jpg
/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_16_9464.jpg
/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_26_10388.jpg
/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_36_9352.jpg
/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_46_10464.jpg
/home/pi/Desktop/images/19042025/16/36/image_19042025_16_36_56_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":["1351973200","1351973226","1351973090","1351973252","1351973135","1351973173"],"photo_ids_order":["1351973090","1351973135","1351973173","1351973200","1351973226","1351973252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9381f49ee9cfa8c2b98fec39996ea335.jpg","text":"TemporaryFile(/tmp/multipartBody8939937188573363584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083173622,"filename":"image_19042025_16_36_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/19/9fe429bcf75f4fbdb7bebc6032eaf057.jpg","text":"TemporaryFile(/tmp/multipartBody7484824348378115542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083173622,"filename":"image_19042025_16_36_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3a0f065ade2e338fa9cb5988d5b1a4e5.jpg","text":"TemporaryFile(/tmp/multipartBody6927182445864224775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083173622,"filename":"image_19042025_16_36_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/19/765b7f16fd068ecbdcc12f8ef4171511.jpg","text":"TemporaryFile(/tmp/multipartBody161432655313449857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083173622,"filename":"image_19042025_16_36_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/19/fdcd8ceb3c6dda008c5cdf526a7e5eef.jpg","text":"TemporaryFile(/tmp/multipartBody1948050167170987563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083173622,"filename":"image_19042025_16_36_16_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b74e8db4f01c096fb602661eac95057c.jpg","text":"TemporaryFile(/tmp/multipartBody1995140229710872422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083173622,"filename":"image_19042025_16_36_26_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351973173","file1":"1351973135","file0":"1351973090","file4":"1351973226","file5":"1351973252","file3":"1351973200"},"map_files_photo_id_array":[{"photo_id":"1351973252","filename":"file5"},{"photo_id":"1351973173","filename":"file2"},{"photo_id":"1351973226","filename":"file4"},{"photo_id":"1351973135","filename":"file1"},{"photo_id":"1351973090","filename":"file0"},{"photo_id":"1351973200","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351973200":["hashtag1","hashtag2"]},{"1351973226":["hashtag1","hashtag2"]},{"1351973090":["hashtag1","hashtag2"]},{"1351973252":["hashtag1","hashtag2"]},{"1351973135":["hashtag1","hashtag2"]},{"1351973173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351973200, 1351973226, 1351973090, 1351973252, 1351973135, 1351973173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87552070617676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:19:32.356372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/36/image_19042025_16_37_06_10385.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_16_10378.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_26_9376.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_36_10428.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_47_10371.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_56_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/36/image_19042025_16_37_06_10385.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_16_10378.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_26_9376.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_36_10428.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_47_10371.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_56_9435.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3948361873626709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 19:19:42.361721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/36/image_19042025_16_37_06_10385.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_16_10378.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_26_9376.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_36_10428.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_47_10371.jpg', '/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_56_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/36/image_19042025_16_37_06_10385.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_16_10378.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_26_9376.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_36_10428.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_47_10371.jpg
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_37_56_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351973923","1351973746","1351974078","1351974000","1351973808","1351973860"],"photo_ids_order":["1351973746","1351973808","1351973860","1351973923","1351974000","1351974078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bad47aa9f7e494ad4d3491cbf1bae089.jpg","text":"TemporaryFile(/tmp/multipartBody1330425522658631702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083242826,"filename":"image_19042025_16_37_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/19/f6cf03d22e277d34e20aea7bd8ed91be.jpg","text":"TemporaryFile(/tmp/multipartBody5846828637290587102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083242826,"filename":"image_19042025_16_37_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/19/df226d6d859a6c479c40bb719ed1f84a.jpg","text":"TemporaryFile(/tmp/multipartBody363873934587569305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083242826,"filename":"image_19042025_16_37_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/19/4d866aa504b2e3550e4b35fbf0338267.jpg","text":"TemporaryFile(/tmp/multipartBody8267936830015687731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083242826,"filename":"image_19042025_16_37_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/19/360d683abed0f37a4e4289ec8877f768.jpg","text":"TemporaryFile(/tmp/multipartBody1065965456906357288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083242826,"filename":"image_19042025_16_37_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/19/a0e61d87f242ecb0737050cb0cdae21e.jpg","text":"TemporaryFile(/tmp/multipartBody474867759159449769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083242826,"filename":"image_19042025_16_37_26_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351973860","file1":"1351973808","file0":"1351973746","file4":"1351974000","file5":"1351974078","file3":"1351973923"},"map_files_photo_id_array":[{"photo_id":"1351974078","filename":"file5"},{"photo_id":"1351973860","filename":"file2"},{"photo_id":"1351974000","filename":"file4"},{"photo_id":"1351973808","filename":"file1"},{"photo_id":"1351973746","filename":"file0"},{"photo_id":"1351973923","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351973923":["hashtag1","hashtag2"]},{"1351973746":["hashtag1","hashtag2"]},{"1351974078":["hashtag1","hashtag2"]},{"1351974000":["hashtag1","hashtag2"]},{"1351973808":["hashtag1","hashtag2"]},{"1351973860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351973923, 1351973746, 1351974078, 1351974000, 1351973808, 1351973860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.180743932724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:20:32.707630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/37/image_19042025_16_38_06_10362.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_16_9343.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_26_10443.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_36_10361.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_46_9522.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_56_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_38_06_10362.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_16_9343.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_26_10443.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_36_10361.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_46_9522.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_56_10393.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3885178565979004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 19:20:42.648571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/37/image_19042025_16_38_06_10362.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_16_9343.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_26_10443.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_36_10361.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_46_9522.jpg', '/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_56_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/37/image_19042025_16_38_06_10362.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_16_9343.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_26_10443.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_36_10361.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_46_9522.jpg
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_38_56_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351974700","1351974588","1351974531","1351974647","1351974617","1351974670"],"photo_ids_order":["1351974531","1351974588","1351974617","1351974647","1351974670","1351974700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dbbc0a36806ecad660e5d3aba54d076c.jpg","text":"TemporaryFile(/tmp/multipartBody2554714596180012735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083303106,"filename":"image_19042025_16_38_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/19/c5056e5f5ba64e5b2e85a8c7f8590c04.jpg","text":"TemporaryFile(/tmp/multipartBody5815444338825880324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083303106,"filename":"image_19042025_16_38_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/19/0e94793777cb6260bae399001148a729.jpg","text":"TemporaryFile(/tmp/multipartBody2302117754269010505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083303106,"filename":"image_19042025_16_38_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/19/52bcd86ce32cdb3c7f31d7a61a073762.jpg","text":"TemporaryFile(/tmp/multipartBody487002628359954846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083303106,"filename":"image_19042025_16_38_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/19/9cbaa73b21ba30816f6767abd5303f93.jpg","text":"TemporaryFile(/tmp/multipartBody553665542867516999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083303106,"filename":"image_19042025_16_38_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/19/f11fc3854f69ea5beef9e2972dc67c67.jpg","text":"TemporaryFile(/tmp/multipartBody7572004006108614241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083303106,"filename":"image_19042025_16_38_46_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351974617","file1":"1351974588","file0":"1351974531","file4":"1351974670","file5":"1351974700","file3":"1351974647"},"map_files_photo_id_array":[{"photo_id":"1351974700","filename":"file5"},{"photo_id":"1351974617","filename":"file2"},{"photo_id":"1351974670","filename":"file4"},{"photo_id":"1351974588","filename":"file1"},{"photo_id":"1351974531","filename":"file0"},{"photo_id":"1351974647","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351974700":["hashtag1","hashtag2"]},{"1351974588":["hashtag1","hashtag2"]},{"1351974531":["hashtag1","hashtag2"]},{"1351974647":["hashtag1","hashtag2"]},{"1351974617":["hashtag1","hashtag2"]},{"1351974670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351974700, 1351974588, 1351974531, 1351974647, 1351974617, 1351974670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46012997627258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:21:32.844436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/38/image_19042025_16_39_06_9518.jpg', '/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_16_10362.jpg', '/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_26_9356.jpg', '/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_36_10372.jpg', '/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_46_10376.jpg', '/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_56_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/38/image_19042025_16_39_06_9518.jpg
/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_16_10362.jpg
/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_26_9356.jpg
/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_36_10372.jpg
/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_46_10376.jpg
/home/pi/Desktop/images/19042025/16/39/image_19042025_16_39_56_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351975107","1351975023","1351974983","1351975133","1351975078","1351975051"],"photo_ids_order":["1351974983","1351975023","1351975051","1351975078","1351975107","1351975133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/40aa30beed573adb33f48be3011aac67.jpg","text":"TemporaryFile(/tmp/multipartBody5404350897318449604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083353316,"filename":"image_19042025_16_39_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7038d0e6bf94e671f57fa3799788d5fe.jpg","text":"TemporaryFile(/tmp/multipartBody7360616171409107986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083353316,"filename":"image_19042025_16_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/19/e726db488465f487d719db41bdbe5d3f.jpg","text":"TemporaryFile(/tmp/multipartBody660340680895566939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083353316,"filename":"image_19042025_16_39_06_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7b4ef34f570e004bcdfa33423d4f3260.jpg","text":"TemporaryFile(/tmp/multipartBody969358410034061799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083353316,"filename":"image_19042025_16_39_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/19/9c6557e154e8253542a878da51d73e2b.jpg","text":"TemporaryFile(/tmp/multipartBody85423530084285623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083353316,"filename":"image_19042025_16_39_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/19/363d99ab086d0a3e37c44976cd446b20.jpg","text":"TemporaryFile(/tmp/multipartBody5987902675759356035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083353316,"filename":"image_19042025_16_39_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351975051","file1":"1351975023","file0":"1351974983","file4":"1351975107","file5":"1351975133","file3":"1351975078"},"map_files_photo_id_array":[{"photo_id":"1351975133","filename":"file5"},{"photo_id":"1351975051","filename":"file2"},{"photo_id":"1351975107","filename":"file4"},{"photo_id":"1351975023","filename":"file1"},{"photo_id":"1351974983","filename":"file0"},{"photo_id":"1351975078","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351975107":["hashtag1","hashtag2"]},{"1351975023":["hashtag1","hashtag2"]},{"1351974983":["hashtag1","hashtag2"]},{"1351975133":["hashtag1","hashtag2"]},{"1351975078":["hashtag1","hashtag2"]},{"1351975051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351975107, 1351975023, 1351974983, 1351975133, 1351975078, 1351975051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7283878326416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:22:33.094940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/39/image_19042025_16_40_06_10349.jpg', '/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_16_10366.jpg', '/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_26_9458.jpg', '/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_36_10369.jpg', '/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_46_9431.jpg', '/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_56_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/39/image_19042025_16_40_06_10349.jpg
/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_16_10366.jpg
/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_26_9458.jpg
/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_36_10369.jpg
/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_46_9431.jpg
/home/pi/Desktop/images/19042025/16/40/image_19042025_16_40_56_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351975440","1351975484","1351975379","1351975553","1351975412","1351975616"],"photo_ids_order":["1351975379","1351975412","1351975440","1351975484","1351975553","1351975616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d755b2e49201805aa48f186e017611f7.jpg","text":"TemporaryFile(/tmp/multipartBody6325042656454595208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083413565,"filename":"image_19042025_16_40_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/19/1c7c0f33739782fbfcc664d5f3a620f9.jpg","text":"TemporaryFile(/tmp/multipartBody4500451985237059700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083413565,"filename":"image_19042025_16_40_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/19/15a5c17fd462957f244e70176eed85b2.jpg","text":"TemporaryFile(/tmp/multipartBody1353778473784329286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083413565,"filename":"image_19042025_16_40_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/19/19b4c3877d997e5bfaabc57bbd45d980.jpg","text":"TemporaryFile(/tmp/multipartBody4318018998908861029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083413565,"filename":"image_19042025_16_40_46_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a7f0714a4ab838be00929e5256174bc.jpg","text":"TemporaryFile(/tmp/multipartBody1418049966631496684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083413565,"filename":"image_19042025_16_40_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/19/20398d845c051e5ec591df0f1f65beae.jpg","text":"TemporaryFile(/tmp/multipartBody1091394788067952979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083413565,"filename":"image_19042025_16_40_56_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351975440","file1":"1351975412","file0":"1351975379","file4":"1351975553","file5":"1351975616","file3":"1351975484"},"map_files_photo_id_array":[{"photo_id":"1351975616","filename":"file5"},{"photo_id":"1351975440","filename":"file2"},{"photo_id":"1351975553","filename":"file4"},{"photo_id":"1351975412","filename":"file1"},{"photo_id":"1351975379","filename":"file0"},{"photo_id":"1351975484","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351975440":["hashtag1","hashtag2"]},{"1351975484":["hashtag1","hashtag2"]},{"1351975379":["hashtag1","hashtag2"]},{"1351975553":["hashtag1","hashtag2"]},{"1351975412":["hashtag1","hashtag2"]},{"1351975616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351975440, 1351975484, 1351975379, 1351975553, 1351975412, 1351975616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.730873346328735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:23:32.290649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/40/image_19042025_16_41_06_10369.jpg', '/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_16_9487.jpg', '/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_26_10402.jpg', '/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_36_9349.jpg', '/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_46_10457.jpg', '/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_56_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/40/image_19042025_16_41_06_10369.jpg
/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_16_9487.jpg
/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_26_10402.jpg
/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_36_9349.jpg
/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_46_10457.jpg
/home/pi/Desktop/images/19042025/16/41/image_19042025_16_41_56_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351976139","1351976288","1351976261","1351976231","1351976204","1351976169"],"photo_ids_order":["1351976139","1351976169","1351976204","1351976231","1351976261","1351976288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aec8ad9002c61be61c54356d4e98a9fd.jpg","text":"TemporaryFile(/tmp/multipartBody3976254081881825463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083472775,"filename":"image_19042025_16_41_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/19/c943a83a39aaee351a460964a46fefdc.jpg","text":"TemporaryFile(/tmp/multipartBody1204773948967883683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083472775,"filename":"image_19042025_16_41_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/19/834a4ce53a234fe85239d95ca23d922d.jpg","text":"TemporaryFile(/tmp/multipartBody1171584596954164325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083472775,"filename":"image_19042025_16_41_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/19/a1650cbde65fb7abb16abe489387c90a.jpg","text":"TemporaryFile(/tmp/multipartBody1914196115783765703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083472775,"filename":"image_19042025_16_41_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/19/4a38c4f939c9e6012e8c22cc4412eaec.jpg","text":"TemporaryFile(/tmp/multipartBody4862319618635641203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083472775,"filename":"image_19042025_16_41_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/19/2694ca21ea49c729a200ae7357a3125b.jpg","text":"TemporaryFile(/tmp/multipartBody8811219249114974824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083472775,"filename":"image_19042025_16_41_16_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351976204","file1":"1351976169","file0":"1351976139","file4":"1351976261","file5":"1351976288","file3":"1351976231"},"map_files_photo_id_array":[{"photo_id":"1351976288","filename":"file5"},{"photo_id":"1351976204","filename":"file2"},{"photo_id":"1351976261","filename":"file4"},{"photo_id":"1351976169","filename":"file1"},{"photo_id":"1351976139","filename":"file0"},{"photo_id":"1351976231","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351976139":["hashtag1","hashtag2"]},{"1351976288":["hashtag1","hashtag2"]},{"1351976261":["hashtag1","hashtag2"]},{"1351976231":["hashtag1","hashtag2"]},{"1351976204":["hashtag1","hashtag2"]},{"1351976169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351976139, 1351976288, 1351976261, 1351976231, 1351976204, 1351976169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.62723469734192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:24:32.484685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/41/image_19042025_16_42_06_10431.jpg', '/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_16_10349.jpg', '/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_26_9359.jpg', '/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_36_10425.jpg', '/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_46_9441.jpg', '/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_56_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/41/image_19042025_16_42_06_10431.jpg
/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_16_10349.jpg
/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_26_9359.jpg
/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_36_10425.jpg
/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_46_9441.jpg
/home/pi/Desktop/images/19042025/16/42/image_19042025_16_42_56_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351976502","1351976471","1351976519","1351976507","1351976494","1351976499"],"photo_ids_order":["1351976471","1351976494","1351976499","1351976502","1351976507","1351976519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8009937c3b946eb90cd6b7823f75530c.jpg","text":"TemporaryFile(/tmp/multipartBody5197106669206648117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083532971,"filename":"image_19042025_16_42_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/19/1a416b5ab0a8539f28d4107b080e5003.jpg","text":"TemporaryFile(/tmp/multipartBody6447143289350211877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083532971,"filename":"image_19042025_16_42_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a8b9d9a8f0db0018116d52bf571936b.jpg","text":"TemporaryFile(/tmp/multipartBody7035271720093836581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083532971,"filename":"image_19042025_16_42_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/19/be3eb056cbb36c0e429e6a62aa38e7e7.jpg","text":"TemporaryFile(/tmp/multipartBody3769318753130440054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083532971,"filename":"image_19042025_16_42_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/19/99cda9c832723d5b492ce8971e324f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4059765875874716010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083532971,"filename":"image_19042025_16_42_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/19/d8aebdef0417e2d0996eceb929ccd4aa.jpg","text":"TemporaryFile(/tmp/multipartBody5501226406265862564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083532971,"filename":"image_19042025_16_42_26_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351976499","file1":"1351976494","file0":"1351976471","file4":"1351976507","file5":"1351976519","file3":"1351976502"},"map_files_photo_id_array":[{"photo_id":"1351976519","filename":"file5"},{"photo_id":"1351976499","filename":"file2"},{"photo_id":"1351976507","filename":"file4"},{"photo_id":"1351976494","filename":"file1"},{"photo_id":"1351976471","filename":"file0"},{"photo_id":"1351976502","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351976502":["hashtag1","hashtag2"]},{"1351976471":["hashtag1","hashtag2"]},{"1351976519":["hashtag1","hashtag2"]},{"1351976507":["hashtag1","hashtag2"]},{"1351976494":["hashtag1","hashtag2"]},{"1351976499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351976502, 1351976471, 1351976519, 1351976507, 1351976494, 1351976499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17615723609924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:25:32.655439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/42/image_19042025_16_43_06_10406.jpg', '/home/pi/Desktop/images/19042025/16/43/image_19042025_16_43_16_9472.jpg', '/home/pi/Desktop/images/19042025/16/43/image_19042025_16_43_26_10382.jpg', '/home/pi/Desktop/images/19042025/16/43/image_19042025_16_43_46_10455.jpg', '/home/pi/Desktop/images/19042025/16/43/image_19042025_16_43_56_10383.jpg', '/home/pi/Desktop/images/19042025/16/43/image_19042025_16_44_06_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/42/image_19042025_16_43_06_10406.jpg
/home/pi/Desktop/images/19042025/16/43/image_19042025_16_43_16_9472.jpg
/home/pi/Desktop/images/19042025/16/43/image_19042025_16_43_26_10382.jpg
/home/pi/Desktop/images/19042025/16/43/image_19042025_16_43_46_10455.jpg
/home/pi/Desktop/images/19042025/16/43/image_19042025_16_43_56_10383.jpg
/home/pi/Desktop/images/19042025/16/43/image_19042025_16_44_06_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":["1351976805","1351976831","1351976860","1351976698","1351976769","1351976739"],"photo_ids_order":["1351976698","1351976739","1351976769","1351976805","1351976831","1351976860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19a0e0fadb6cd1168cb4ddf26c4e65e4.jpg","text":"TemporaryFile(/tmp/multipartBody8820088151728355889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083593137,"filename":"image_19042025_16_43_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/19/4685ab4aa7bb879cdac46dc91f22d81e.jpg","text":"TemporaryFile(/tmp/multipartBody2918528956342309119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083593137,"filename":"image_19042025_16_43_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/19/90c9417bd275926d35552eaa9984f8ee.jpg","text":"TemporaryFile(/tmp/multipartBody310889894338874672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083593137,"filename":"image_19042025_16_44_06_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/76bb114b07cb76cc8935a3fba08f851e.jpg","text":"TemporaryFile(/tmp/multipartBody8013139566104299716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083593137,"filename":"image_19042025_16_43_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6003cb2d0e909cd3bbfd38e25687f951.jpg","text":"TemporaryFile(/tmp/multipartBody3618356902860103668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083593137,"filename":"image_19042025_16_43_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/19/2cd6d9312f589b95f0f14a1703389326.jpg","text":"TemporaryFile(/tmp/multipartBody425895607403825198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083593137,"filename":"image_19042025_16_43_16_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351976769","file1":"1351976739","file0":"1351976698","file4":"1351976831","file5":"1351976860","file3":"1351976805"},"map_files_photo_id_array":[{"photo_id":"1351976860","filename":"file5"},{"photo_id":"1351976769","filename":"file2"},{"photo_id":"1351976831","filename":"file4"},{"photo_id":"1351976739","filename":"file1"},{"photo_id":"1351976698","filename":"file0"},{"photo_id":"1351976805","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351976805":["hashtag1","hashtag2"]},{"1351976831":["hashtag1","hashtag2"]},{"1351976860":["hashtag1","hashtag2"]},{"1351976698":["hashtag1","hashtag2"]},{"1351976769":["hashtag1","hashtag2"]},{"1351976739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351976805, 1351976831, 1351976860, 1351976698, 1351976769, 1351976739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.923221111297607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:26:32.839772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/44/image_19042025_16_44_16_10358.jpg', '/home/pi/Desktop/images/19042025/16/44/image_19042025_16_44_26_9373.jpg', '/home/pi/Desktop/images/19042025/16/44/image_19042025_16_44_47_10385.jpg', '/home/pi/Desktop/images/19042025/16/44/image_19042025_16_44_56_9406.jpg', '/home/pi/Desktop/images/19042025/16/44/image_19042025_16_45_06_10379.jpg', '/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_16_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/44/image_19042025_16_44_16_10358.jpg
/home/pi/Desktop/images/19042025/16/44/image_19042025_16_44_26_9373.jpg
/home/pi/Desktop/images/19042025/16/44/image_19042025_16_44_47_10385.jpg
/home/pi/Desktop/images/19042025/16/44/image_19042025_16_44_56_9406.jpg
/home/pi/Desktop/images/19042025/16/44/image_19042025_16_45_06_10379.jpg
/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_16_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":["1351977149","1351977166","1351977103","1351977162","1351977165","1351977191"],"photo_ids_order":["1351977103","1351977149","1351977162","1351977165","1351977166","1351977191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/80d5ef898fa06a7966edc04bdf748640.jpg","text":"TemporaryFile(/tmp/multipartBody4093762883218633416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083653309,"filename":"image_19042025_16_44_26_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0c6678752683395d8bb9a27d8fc2ed84.jpg","text":"TemporaryFile(/tmp/multipartBody2796386696796721743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083653309,"filename":"image_19042025_16_45_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/19/f06d8aea9bdeae851209ed5da212a7cf.jpg","text":"TemporaryFile(/tmp/multipartBody677659864406631992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083653309,"filename":"image_19042025_16_44_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/19/7f03712a59809d5de8904084060fbb48.jpg","text":"TemporaryFile(/tmp/multipartBody8551408613536706876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083653309,"filename":"image_19042025_16_44_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/19/23dd29e946bb8002b9ae4b521d9a329e.jpg","text":"TemporaryFile(/tmp/multipartBody5322418446238640335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083653309,"filename":"image_19042025_16_44_56_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/19/04417b7ab16330166cf15ba36a16e2f0.jpg","text":"TemporaryFile(/tmp/multipartBody2477972955853405261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083653309,"filename":"image_19042025_16_45_16_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351977162","file1":"1351977149","file0":"1351977103","file4":"1351977166","file5":"1351977191","file3":"1351977165"},"map_files_photo_id_array":[{"photo_id":"1351977191","filename":"file5"},{"photo_id":"1351977162","filename":"file2"},{"photo_id":"1351977166","filename":"file4"},{"photo_id":"1351977149","filename":"file1"},{"photo_id":"1351977103","filename":"file0"},{"photo_id":"1351977165","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351977149":["hashtag1","hashtag2"]},{"1351977166":["hashtag1","hashtag2"]},{"1351977103":["hashtag1","hashtag2"]},{"1351977162":["hashtag1","hashtag2"]},{"1351977165":["hashtag1","hashtag2"]},{"1351977191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351977149, 1351977166, 1351977103, 1351977162, 1351977165, 1351977191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78120803833008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:27:33.016729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_26_10485.jpg', '/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_37_10367.jpg', '/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_46_9466.jpg', '/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_56_10384.jpg', '/home/pi/Desktop/images/19042025/16/45/image_19042025_16_46_06_9357.jpg', '/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_16_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_26_10485.jpg
/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_37_10367.jpg
/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_46_9466.jpg
/home/pi/Desktop/images/19042025/16/45/image_19042025_16_45_56_10384.jpg
/home/pi/Desktop/images/19042025/16/45/image_19042025_16_46_06_9357.jpg
/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_16_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":["1351977593","1351977515","1351977475","1351977619","1351977564","1351977537"],"photo_ids_order":["1351977475","1351977515","1351977537","1351977564","1351977593","1351977619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f6fbe7e4facddf5d8230098407e5319b.jpg","text":"TemporaryFile(/tmp/multipartBody7423113006037909651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083713487,"filename":"image_19042025_16_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/19/04fe7e643c16bd5b7808610241eb926c.jpg","text":"TemporaryFile(/tmp/multipartBody814176689879169231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083713487,"filename":"image_19042025_16_45_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/19/0bc7bf4a26868ccc7b1d8b06131876d6.jpg","text":"TemporaryFile(/tmp/multipartBody4856634618446844909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083713487,"filename":"image_19042025_16_45_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/19/edb0a6917ef3de22ff4f0658a0dc24b0.jpg","text":"TemporaryFile(/tmp/multipartBody1529495675650012962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083713487,"filename":"image_19042025_16_46_16_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af3369b3c29b8d26fbf1949a87bb0e46.jpg","text":"TemporaryFile(/tmp/multipartBody5980631190045552828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083713487,"filename":"image_19042025_16_45_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fbb892b39f218dc412b29b363e0a0101.jpg","text":"TemporaryFile(/tmp/multipartBody8860396327943262429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083713487,"filename":"image_19042025_16_45_46_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351977537","file1":"1351977515","file0":"1351977475","file4":"1351977593","file5":"1351977619","file3":"1351977564"},"map_files_photo_id_array":[{"photo_id":"1351977619","filename":"file5"},{"photo_id":"1351977537","filename":"file2"},{"photo_id":"1351977593","filename":"file4"},{"photo_id":"1351977515","filename":"file1"},{"photo_id":"1351977475","filename":"file0"},{"photo_id":"1351977564","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351977593":["hashtag1","hashtag2"]},{"1351977515":["hashtag1","hashtag2"]},{"1351977475":["hashtag1","hashtag2"]},{"1351977619":["hashtag1","hashtag2"]},{"1351977564":["hashtag1","hashtag2"]},{"1351977537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351977593, 1351977515, 1351977475, 1351977619, 1351977564, 1351977537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91331458091736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:28:32.190931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_26_9369.jpg', '/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_36_10429.jpg', '/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_46_10400.jpg', '/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_56_9481.jpg', '/home/pi/Desktop/images/19042025/16/46/image_19042025_16_47_06_10414.jpg', '/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_16_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_26_9369.jpg
/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_36_10429.jpg
/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_46_10400.jpg
/home/pi/Desktop/images/19042025/16/46/image_19042025_16_46_56_9481.jpg
/home/pi/Desktop/images/19042025/16/46/image_19042025_16_47_06_10414.jpg
/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_16_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351977671","1351977668","1351977661","1351977666","1351977663","1351977674"],"photo_ids_order":["1351977661","1351977663","1351977666","1351977668","1351977671","1351977674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/80449bd7d8169d9860a61f6dcb0edef6.jpg","text":"TemporaryFile(/tmp/multipartBody109290220532154280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083772668,"filename":"image_19042025_16_47_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/19/5260dfda2c54a60d9ab62ee3d9f580c9.jpg","text":"TemporaryFile(/tmp/multipartBody194841793215846566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083772668,"filename":"image_19042025_16_46_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/19/fa5175425b159be8ac5e3d6506e1089f.jpg","text":"TemporaryFile(/tmp/multipartBody5161637939710733654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083772668,"filename":"image_19042025_16_46_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/19/0d995fcb9767d604d3398e69337b0190.jpg","text":"TemporaryFile(/tmp/multipartBody8988330346976348917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083772668,"filename":"image_19042025_16_46_46_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f8e965d9192cefe912ae0976a3dc5a39.jpg","text":"TemporaryFile(/tmp/multipartBody1765127955155884687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083772668,"filename":"image_19042025_16_46_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/19/35d273bed95c20492e1a46dde0e4d9f6.jpg","text":"TemporaryFile(/tmp/multipartBody414672156378879685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083772668,"filename":"image_19042025_16_47_16_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351977666","file1":"1351977663","file0":"1351977661","file4":"1351977671","file5":"1351977674","file3":"1351977668"},"map_files_photo_id_array":[{"photo_id":"1351977674","filename":"file5"},{"photo_id":"1351977666","filename":"file2"},{"photo_id":"1351977671","filename":"file4"},{"photo_id":"1351977663","filename":"file1"},{"photo_id":"1351977661","filename":"file0"},{"photo_id":"1351977668","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351977671":["hashtag1","hashtag2"]},{"1351977668":["hashtag1","hashtag2"]},{"1351977661":["hashtag1","hashtag2"]},{"1351977666":["hashtag1","hashtag2"]},{"1351977663":["hashtag1","hashtag2"]},{"1351977674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351977671, 1351977668, 1351977661, 1351977666, 1351977663, 1351977674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.586084842681885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:29:32.458684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_26_10462.jpg', '/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_37_10384.jpg', '/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_46_9456.jpg', '/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_56_10464.jpg', '/home/pi/Desktop/images/19042025/16/47/image_19042025_16_48_06_9470.jpg', '/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_16_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_26_10462.jpg
/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_37_10384.jpg
/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_46_9456.jpg
/home/pi/Desktop/images/19042025/16/47/image_19042025_16_47_56_10464.jpg
/home/pi/Desktop/images/19042025/16/47/image_19042025_16_48_06_9470.jpg
/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_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":["1351977956","1351977982","1351977929","1351977871","1351977901","1351978008"],"photo_ids_order":["1351977871","1351977901","1351977929","1351977956","1351977982","1351978008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0b9e07bd4a1516ed97a1902b0ff3b9d0.jpg","text":"TemporaryFile(/tmp/multipartBody1191660753689207743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083832920,"filename":"image_19042025_16_47_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/19/9a3d72ad1ef673d2edfdf51c75b0de97.jpg","text":"TemporaryFile(/tmp/multipartBody4197555031533816501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083832920,"filename":"image_19042025_16_48_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/19/790903bab7a4073e757980e3cf9b4d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7257244807646320560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083832920,"filename":"image_19042025_16_47_46_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af22c7dfb0141c02425704447a5790a4.jpg","text":"TemporaryFile(/tmp/multipartBody566251386406987260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083832920,"filename":"image_19042025_16_47_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/19/76d9bbada3364223140687cd920d0ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3894609847678227381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083832920,"filename":"image_19042025_16_47_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/19/3a7f777a5eb2ca816badbe6a70a151c3.jpg","text":"TemporaryFile(/tmp/multipartBody2494013947571166302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083832920,"filename":"image_19042025_16_48_16_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351977929","file1":"1351977901","file0":"1351977871","file4":"1351977982","file5":"1351978008","file3":"1351977956"},"map_files_photo_id_array":[{"photo_id":"1351978008","filename":"file5"},{"photo_id":"1351977929","filename":"file2"},{"photo_id":"1351977982","filename":"file4"},{"photo_id":"1351977901","filename":"file1"},{"photo_id":"1351977871","filename":"file0"},{"photo_id":"1351977956","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351977956":["hashtag1","hashtag2"]},{"1351977982":["hashtag1","hashtag2"]},{"1351977929":["hashtag1","hashtag2"]},{"1351977871":["hashtag1","hashtag2"]},{"1351977901":["hashtag1","hashtag2"]},{"1351978008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351977956, 1351977982, 1351977929, 1351977871, 1351977901, 1351978008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.563836336135864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:30:32.570526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_26_9377.jpg', '/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_36_10428.jpg', '/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_46_10392.jpg', '/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_56_9457.jpg', '/home/pi/Desktop/images/19042025/16/48/image_19042025_16_49_06_10377.jpg', '/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_16_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_26_9377.jpg
/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_36_10428.jpg
/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_46_10392.jpg
/home/pi/Desktop/images/19042025/16/48/image_19042025_16_48_56_9457.jpg
/home/pi/Desktop/images/19042025/16/48/image_19042025_16_49_06_10377.jpg
/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_16_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":["1351978118","1351978120","1351978114","1351978119","1351978110","1351978115"],"photo_ids_order":["1351978110","1351978114","1351978115","1351978118","1351978119","1351978120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e2aff3e6aaf53385457ce26558914c9.jpg","text":"TemporaryFile(/tmp/multipartBody4504293894137715480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083893045,"filename":"image_19042025_16_48_56_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89ff950fea5a16a90889758f22715f42.jpg","text":"TemporaryFile(/tmp/multipartBody6054578586905176025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083893045,"filename":"image_19042025_16_49_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/19/d8fe97d3185f3c85fc1c561676f0854d.jpg","text":"TemporaryFile(/tmp/multipartBody4751535979418061941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083893045,"filename":"image_19042025_16_48_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37efe9b1b85307a1398557682e591a35.jpg","text":"TemporaryFile(/tmp/multipartBody5391546256549347188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083893045,"filename":"image_19042025_16_49_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/19/86b5f3f59adbda612c74cb3dd86f53d2.jpg","text":"TemporaryFile(/tmp/multipartBody5893917990064151402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083893045,"filename":"image_19042025_16_48_26_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae8fff5e280451d2d01a919ca20c9584.jpg","text":"TemporaryFile(/tmp/multipartBody2972924421422530927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083893045,"filename":"image_19042025_16_48_46_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978115","file1":"1351978114","file0":"1351978110","file4":"1351978119","file5":"1351978120","file3":"1351978118"},"map_files_photo_id_array":[{"photo_id":"1351978120","filename":"file5"},{"photo_id":"1351978115","filename":"file2"},{"photo_id":"1351978119","filename":"file4"},{"photo_id":"1351978114","filename":"file1"},{"photo_id":"1351978110","filename":"file0"},{"photo_id":"1351978118","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978118":["hashtag1","hashtag2"]},{"1351978120":["hashtag1","hashtag2"]},{"1351978114":["hashtag1","hashtag2"]},{"1351978119":["hashtag1","hashtag2"]},{"1351978110":["hashtag1","hashtag2"]},{"1351978115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978118, 1351978120, 1351978114, 1351978119, 1351978110, 1351978115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.135467767715454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:31:32.809924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_26_10148.jpg', '/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_36_10427.jpg', '/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_46_9372.jpg', '/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_56_10362.jpg', '/home/pi/Desktop/images/19042025/16/49/image_19042025_16_50_06_10345.jpg', '/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_16_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_26_10148.jpg
/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_36_10427.jpg
/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_46_9372.jpg
/home/pi/Desktop/images/19042025/16/49/image_19042025_16_49_56_10362.jpg
/home/pi/Desktop/images/19042025/16/49/image_19042025_16_50_06_10345.jpg
/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_16_9372.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":["1351978279","1351978290","1351978275","1351978277","1351978286","1351978274"],"photo_ids_order":["1351978274","1351978275","1351978277","1351978279","1351978286","1351978290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7870225f3a78d1b5803622c21e5c8290.jpg","text":"TemporaryFile(/tmp/multipartBody1507259112435507289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083953289,"filename":"image_19042025_16_49_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/19/30d5d6c8fc94fc43a73e40e34a09577d.jpg","text":"TemporaryFile(/tmp/multipartBody1330763213442921319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083953289,"filename":"image_19042025_16_50_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/19/8d476d02bf47ad8e8564800dec00da64.jpg","text":"TemporaryFile(/tmp/multipartBody4950195624030938219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083953289,"filename":"image_19042025_16_49_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0444618349f39c109910d41e54e57b55.jpg","text":"TemporaryFile(/tmp/multipartBody2444037946511724735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083953289,"filename":"image_19042025_16_49_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/19/dd39f6e666a81f42274c01b4cda52560.jpg","text":"TemporaryFile(/tmp/multipartBody6440704723999965599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083953289,"filename":"image_19042025_16_50_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/59152702ba24139d79458687f21a11f8.jpg","text":"TemporaryFile(/tmp/multipartBody4470007246226879286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745083953289,"filename":"image_19042025_16_49_26_10148.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978277","file1":"1351978275","file0":"1351978274","file4":"1351978286","file5":"1351978290","file3":"1351978279"},"map_files_photo_id_array":[{"photo_id":"1351978290","filename":"file5"},{"photo_id":"1351978277","filename":"file2"},{"photo_id":"1351978286","filename":"file4"},{"photo_id":"1351978275","filename":"file1"},{"photo_id":"1351978274","filename":"file0"},{"photo_id":"1351978279","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978279":["hashtag1","hashtag2"]},{"1351978290":["hashtag1","hashtag2"]},{"1351978275":["hashtag1","hashtag2"]},{"1351978277":["hashtag1","hashtag2"]},{"1351978286":["hashtag1","hashtag2"]},{"1351978274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978279, 1351978290, 1351978275, 1351978277, 1351978286, 1351978274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.49550151824951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 19:32:43.097359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_26_10385.jpg', '/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_36_10375.jpg', '/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_46_9466.jpg', '/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_56_10381.jpg', '/home/pi/Desktop/images/19042025/16/50/image_19042025_16_51_06_9352.jpg', '/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_16_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_26_10385.jpg
/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_36_10375.jpg
/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_46_9466.jpg
/home/pi/Desktop/images/19042025/16/50/image_19042025_16_50_56_10381.jpg
/home/pi/Desktop/images/19042025/16/50/image_19042025_16_51_06_9352.jpg
/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_16_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351978297","1351978306","1351978309","1351978302","1351978295","1351978298"],"photo_ids_order":["1351978295","1351978297","1351978298","1351978302","1351978306","1351978309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/526beb2f51efb1ee398137b43b1d5153.jpg","text":"TemporaryFile(/tmp/multipartBody6694899941281891184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084023559,"filename":"image_19042025_16_50_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/19/460d748d09cd30662a7a4e4d1151fc13.jpg","text":"TemporaryFile(/tmp/multipartBody3325297764442884277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084023559,"filename":"image_19042025_16_51_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/19/76b22ff768188570826e7885b2f56dff.jpg","text":"TemporaryFile(/tmp/multipartBody3525157229992385210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084023559,"filename":"image_19042025_16_51_16_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a1fca3069bac90381fe396143978d165.jpg","text":"TemporaryFile(/tmp/multipartBody3855114624359831451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084023559,"filename":"image_19042025_16_50_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4576899bbea200980a63c8a387000d6a.jpg","text":"TemporaryFile(/tmp/multipartBody1527148266245338022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084023559,"filename":"image_19042025_16_50_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a47f041f0d87feca61bbcf20926038d2.jpg","text":"TemporaryFile(/tmp/multipartBody8827079673490684670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084023559,"filename":"image_19042025_16_50_46_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978298","file1":"1351978297","file0":"1351978295","file4":"1351978306","file5":"1351978309","file3":"1351978302"},"map_files_photo_id_array":[{"photo_id":"1351978309","filename":"file5"},{"photo_id":"1351978298","filename":"file2"},{"photo_id":"1351978306","filename":"file4"},{"photo_id":"1351978297","filename":"file1"},{"photo_id":"1351978295","filename":"file0"},{"photo_id":"1351978302","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978297":["hashtag1","hashtag2"]},{"1351978306":["hashtag1","hashtag2"]},{"1351978309":["hashtag1","hashtag2"]},{"1351978302":["hashtag1","hashtag2"]},{"1351978295":["hashtag1","hashtag2"]},{"1351978298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978297, 1351978306, 1351978309, 1351978302, 1351978295, 1351978298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.543973445892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:33:32.464215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_26_10369.jpg', '/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_36_9410.jpg', '/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_46_10373.jpg', '/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_56_9358.jpg', '/home/pi/Desktop/images/19042025/16/51/image_19042025_16_52_06_10373.jpg', '/home/pi/Desktop/images/19042025/16/52/image_19042025_16_52_16_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_26_10369.jpg
/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_36_9410.jpg
/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_46_10373.jpg
/home/pi/Desktop/images/19042025/16/51/image_19042025_16_51_56_9358.jpg
/home/pi/Desktop/images/19042025/16/51/image_19042025_16_52_06_10373.jpg
/home/pi/Desktop/images/19042025/16/52/image_19042025_16_52_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":["1351978324","1351978318","1351978321","1351978315","1351978328","1351978313"],"photo_ids_order":["1351978313","1351978315","1351978318","1351978321","1351978324","1351978328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e5a30deaf22c9e1f648edf4f86737cb.jpg","text":"TemporaryFile(/tmp/multipartBody3175921820916301087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084072926,"filename":"image_19042025_16_52_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/19/e244a5288fa384ff83d0c0cb6e067287.jpg","text":"TemporaryFile(/tmp/multipartBody2521471852649591290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084072926,"filename":"image_19042025_16_51_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/19/fc050346f5f043888b0c7172bed9fc15.jpg","text":"TemporaryFile(/tmp/multipartBody7276537102870381993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084072926,"filename":"image_19042025_16_51_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/19/ddd8d74e9a05d4170dd03d01368fd370.jpg","text":"TemporaryFile(/tmp/multipartBody4592440811550022369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084072926,"filename":"image_19042025_16_51_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/19/ad1911c3828a66a0698835c9c3eb2550.jpg","text":"TemporaryFile(/tmp/multipartBody8813962665529443645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084072926,"filename":"image_19042025_16_52_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/19/39bf1e2b7e11a877a5b0b111ec3b36b5.jpg","text":"TemporaryFile(/tmp/multipartBody6943578121515163030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084072926,"filename":"image_19042025_16_51_26_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978318","file1":"1351978315","file0":"1351978313","file4":"1351978324","file5":"1351978328","file3":"1351978321"},"map_files_photo_id_array":[{"photo_id":"1351978328","filename":"file5"},{"photo_id":"1351978318","filename":"file2"},{"photo_id":"1351978324","filename":"file4"},{"photo_id":"1351978315","filename":"file1"},{"photo_id":"1351978313","filename":"file0"},{"photo_id":"1351978321","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978324":["hashtag1","hashtag2"]},{"1351978318":["hashtag1","hashtag2"]},{"1351978321":["hashtag1","hashtag2"]},{"1351978315":["hashtag1","hashtag2"]},{"1351978328":["hashtag1","hashtag2"]},{"1351978313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978324, 1351978318, 1351978321, 1351978315, 1351978328, 1351978313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.38756489753723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:34:32.528676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/52/image_19042025_16_52_26_9484.jpg', '/home/pi/Desktop/images/19042025/16/52/image_19042025_16_52_36_10441.jpg', '/home/pi/Desktop/images/19042025/16/52/image_19042025_16_52_46_9365.jpg', '/home/pi/Desktop/images/19042025/16/52/image_19042025_16_53_06_10366.jpg', '/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_16_9486.jpg', '/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/52/image_19042025_16_52_26_9484.jpg
/home/pi/Desktop/images/19042025/16/52/image_19042025_16_52_36_10441.jpg
/home/pi/Desktop/images/19042025/16/52/image_19042025_16_52_46_9365.jpg
/home/pi/Desktop/images/19042025/16/52/image_19042025_16_53_06_10366.jpg
/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_16_9486.jpg
/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_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":["1351978363","1351978351","1351978347","1351978359","1351978344","1351978340"],"photo_ids_order":["1351978340","1351978344","1351978347","1351978351","1351978359","1351978363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba5f7101e72198cd3d29ea1b48fb42cf.jpg","text":"TemporaryFile(/tmp/multipartBody2704292141864205081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084132991,"filename":"image_19042025_16_53_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/19/2ba038620f60e15153fcb2728080fba4.jpg","text":"TemporaryFile(/tmp/multipartBody4660197664373602620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084132991,"filename":"image_19042025_16_53_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/19/a51ad24e0ae6d7f53fb16a4dc627e325.jpg","text":"TemporaryFile(/tmp/multipartBody445233404542353117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084132991,"filename":"image_19042025_16_52_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/19/47851a5dff73e3a43d8be484a7ebf419.jpg","text":"TemporaryFile(/tmp/multipartBody9175630721855160268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084132991,"filename":"image_19042025_16_53_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/19/474031c8f2a0b6c92f47119d54322a6a.jpg","text":"TemporaryFile(/tmp/multipartBody4179693511970035568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084132991,"filename":"image_19042025_16_52_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/19/34f9b0eae41ed4923cf8f84c9d2d34b6.jpg","text":"TemporaryFile(/tmp/multipartBody5953283940412535316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084132991,"filename":"image_19042025_16_52_26_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978347","file1":"1351978344","file0":"1351978340","file4":"1351978359","file5":"1351978363","file3":"1351978351"},"map_files_photo_id_array":[{"photo_id":"1351978363","filename":"file5"},{"photo_id":"1351978347","filename":"file2"},{"photo_id":"1351978359","filename":"file4"},{"photo_id":"1351978344","filename":"file1"},{"photo_id":"1351978340","filename":"file0"},{"photo_id":"1351978351","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978363":["hashtag1","hashtag2"]},{"1351978351":["hashtag1","hashtag2"]},{"1351978347":["hashtag1","hashtag2"]},{"1351978359":["hashtag1","hashtag2"]},{"1351978344":["hashtag1","hashtag2"]},{"1351978340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978363, 1351978351, 1351978347, 1351978359, 1351978344, 1351978340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99386286735535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:35:32.884992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_36_9365.jpg', '/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_46_10456.jpg', '/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_56_10371.jpg', '/home/pi/Desktop/images/19042025/16/53/image_19042025_16_54_06_9417.jpg', '/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_16_10342.jpg', '/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_26_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_36_9365.jpg
/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_46_10456.jpg
/home/pi/Desktop/images/19042025/16/53/image_19042025_16_53_56_10371.jpg
/home/pi/Desktop/images/19042025/16/53/image_19042025_16_54_06_9417.jpg
/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_16_10342.jpg
/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_26_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351978403","1351978405","1351978408","1351978410","1351978412","1351978406"],"photo_ids_order":["1351978403","1351978405","1351978406","1351978408","1351978410","1351978412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9924d8e245d7d12a6edde208b4fa8b8f.jpg","text":"TemporaryFile(/tmp/multipartBody862157499475700303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084193359,"filename":"image_19042025_16_53_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/19/acda7a9a83da42233bf2ba59a023dc42.jpg","text":"TemporaryFile(/tmp/multipartBody2043354466382945736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084193359,"filename":"image_19042025_16_53_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a153287e226e09b349fd948d5f55a46.jpg","text":"TemporaryFile(/tmp/multipartBody3655560304235738157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084193359,"filename":"image_19042025_16_54_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/19/0cc12dd538964cabcc0dd2b8feca9474.jpg","text":"TemporaryFile(/tmp/multipartBody640028643289276510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084193359,"filename":"image_19042025_16_54_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/19/b65e147dea68b0974170ab9eb29a70ee.jpg","text":"TemporaryFile(/tmp/multipartBody8840445314506345276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084193359,"filename":"image_19042025_16_54_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/425131c18ddbe978633c44e23ca936ca.jpg","text":"TemporaryFile(/tmp/multipartBody4286592373631394926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084193359,"filename":"image_19042025_16_53_56_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978406","file1":"1351978405","file0":"1351978403","file4":"1351978410","file5":"1351978412","file3":"1351978408"},"map_files_photo_id_array":[{"photo_id":"1351978412","filename":"file5"},{"photo_id":"1351978406","filename":"file2"},{"photo_id":"1351978410","filename":"file4"},{"photo_id":"1351978405","filename":"file1"},{"photo_id":"1351978403","filename":"file0"},{"photo_id":"1351978408","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978403":["hashtag1","hashtag2"]},{"1351978405":["hashtag1","hashtag2"]},{"1351978408":["hashtag1","hashtag2"]},{"1351978410":["hashtag1","hashtag2"]},{"1351978412":["hashtag1","hashtag2"]},{"1351978406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978403, 1351978405, 1351978408, 1351978410, 1351978412, 1351978406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.56216549873352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 19:36:03.558039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_36_10368.jpg', '/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_46_10358.jpg', '/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_56_9380.jpg', '/home/pi/Desktop/images/19042025/16/54/image_19042025_16_55_06_10440.jpg', '/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_16_10380.jpg', '/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_26_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_36_10368.jpg
/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_46_10358.jpg
/home/pi/Desktop/images/19042025/16/54/image_19042025_16_54_56_9380.jpg
/home/pi/Desktop/images/19042025/16/54/image_19042025_16_55_06_10440.jpg
/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_16_10380.jpg
/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_26_9473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351978415","1351978423","1351978417","1351978420","1351978416","1351978419"],"photo_ids_order":["1351978415","1351978416","1351978417","1351978419","1351978420","1351978423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f49f13f37d8b0137f68d2c051019b806.jpg","text":"TemporaryFile(/tmp/multipartBody2860774541849118961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084224066,"filename":"image_19042025_16_54_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/19/c0d5c9ba933a8bcc344846090ef4448e.jpg","text":"TemporaryFile(/tmp/multipartBody3000692561618812904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084224066,"filename":"image_19042025_16_55_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/19/c60b9a528bdac90055d1dd8e96674e87.jpg","text":"TemporaryFile(/tmp/multipartBody622296958595412628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084224066,"filename":"image_19042025_16_54_56_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70c3eedb59bf4e095dcf6e03b3f56a67.jpg","text":"TemporaryFile(/tmp/multipartBody1051313469956558228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084224066,"filename":"image_19042025_16_55_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/19/145ea7666dc1b50955dce0dbc1ab2595.jpg","text":"TemporaryFile(/tmp/multipartBody7722045352899968237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084224066,"filename":"image_19042025_16_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/19/c87f595c183abadc95083ce0cfe5208f.jpg","text":"TemporaryFile(/tmp/multipartBody5553391590757480367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084224066,"filename":"image_19042025_16_55_06_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978417","file1":"1351978416","file0":"1351978415","file4":"1351978420","file5":"1351978423","file3":"1351978419"},"map_files_photo_id_array":[{"photo_id":"1351978423","filename":"file5"},{"photo_id":"1351978417","filename":"file2"},{"photo_id":"1351978420","filename":"file4"},{"photo_id":"1351978416","filename":"file1"},{"photo_id":"1351978415","filename":"file0"},{"photo_id":"1351978419","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978415":["hashtag1","hashtag2"]},{"1351978423":["hashtag1","hashtag2"]},{"1351978417":["hashtag1","hashtag2"]},{"1351978420":["hashtag1","hashtag2"]},{"1351978416":["hashtag1","hashtag2"]},{"1351978419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978415, 1351978423, 1351978417, 1351978420, 1351978416, 1351978419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33920502662659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 19:36:42.971830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_36_10357.jpg', '/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_46_9429.jpg', '/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_56_10413.jpg', '/home/pi/Desktop/images/19042025/16/55/image_19042025_16_56_06_9500.jpg', '/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_16_10452.jpg', '/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_26_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_36_10357.jpg
/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_46_9429.jpg
/home/pi/Desktop/images/19042025/16/55/image_19042025_16_55_56_10413.jpg
/home/pi/Desktop/images/19042025/16/55/image_19042025_16_56_06_9500.jpg
/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_16_10452.jpg
/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_26_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351978435","1351978444","1351978440","1351978443","1351978437","1351978442"],"photo_ids_order":["1351978435","1351978437","1351978440","1351978442","1351978443","1351978444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb38fb49acb6238bdaddfb4dd0d70e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1839828243366544101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084263467,"filename":"image_19042025_16_55_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/19/12c6192975a3203612f957d5d3e42bf4.jpg","text":"TemporaryFile(/tmp/multipartBody1992410007698484670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084263467,"filename":"image_19042025_16_56_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/19/5a7a1c12cb763b629ba9a21e52b4bccc.jpg","text":"TemporaryFile(/tmp/multipartBody7518996548886167913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084263467,"filename":"image_19042025_16_55_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/19/923fb019921c345f7c2bf3c70926e6da.jpg","text":"TemporaryFile(/tmp/multipartBody483627846169499409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084263467,"filename":"image_19042025_16_56_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/19/35f9ae3f26410bcf2726d94c64e8e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2962948268223215202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084263467,"filename":"image_19042025_16_55_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/19/8d222cfe1bf2f1b222799fc40def883b.jpg","text":"TemporaryFile(/tmp/multipartBody4612044498615421995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084263467,"filename":"image_19042025_16_56_06_9500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978440","file1":"1351978437","file0":"1351978435","file4":"1351978443","file5":"1351978444","file3":"1351978442"},"map_files_photo_id_array":[{"photo_id":"1351978444","filename":"file5"},{"photo_id":"1351978440","filename":"file2"},{"photo_id":"1351978443","filename":"file4"},{"photo_id":"1351978437","filename":"file1"},{"photo_id":"1351978435","filename":"file0"},{"photo_id":"1351978442","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978435":["hashtag1","hashtag2"]},{"1351978444":["hashtag1","hashtag2"]},{"1351978440":["hashtag1","hashtag2"]},{"1351978443":["hashtag1","hashtag2"]},{"1351978437":["hashtag1","hashtag2"]},{"1351978442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978435, 1351978444, 1351978440, 1351978443, 1351978437, 1351978442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36387324333191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:37:32.220625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_36_10369.jpg', '/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_46_10444.jpg', '/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_56_9482.jpg', '/home/pi/Desktop/images/19042025/16/56/image_19042025_16_57_06_10362.jpg', '/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_16_9358.jpg', '/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_26_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_36_10369.jpg
/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_46_10444.jpg
/home/pi/Desktop/images/19042025/16/56/image_19042025_16_56_56_9482.jpg
/home/pi/Desktop/images/19042025/16/56/image_19042025_16_57_06_10362.jpg
/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_16_9358.jpg
/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_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":["1351978462","1351978464","1351978461","1351978451","1351978454","1351978448"],"photo_ids_order":["1351978448","1351978451","1351978454","1351978461","1351978462","1351978464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e0c7a5181066c1f8bfeeda4b9718685.jpg","text":"TemporaryFile(/tmp/multipartBody8476100307566036038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084312694,"filename":"image_19042025_16_57_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/19/bf6f8922f0a52aa611fad4d063351684.jpg","text":"TemporaryFile(/tmp/multipartBody6570193356628853690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084312694,"filename":"image_19042025_16_57_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0316b464d50ac843c2cb98dfbc70069e.jpg","text":"TemporaryFile(/tmp/multipartBody8718716277974420449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084312694,"filename":"image_19042025_16_57_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/19/d00cf9df9918b67eea38d7a0f2f11ca3.jpg","text":"TemporaryFile(/tmp/multipartBody6378301498579073240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084312694,"filename":"image_19042025_16_56_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/19/a190a30ab6946c64d1f23e19a82572fb.jpg","text":"TemporaryFile(/tmp/multipartBody2258863606297446170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084312694,"filename":"image_19042025_16_56_56_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/19/a6bc6f1748c62e78a0935f1abbe80842.jpg","text":"TemporaryFile(/tmp/multipartBody5025164281533093237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084312694,"filename":"image_19042025_16_56_36_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978454","file1":"1351978451","file0":"1351978448","file4":"1351978462","file5":"1351978464","file3":"1351978461"},"map_files_photo_id_array":[{"photo_id":"1351978464","filename":"file5"},{"photo_id":"1351978454","filename":"file2"},{"photo_id":"1351978462","filename":"file4"},{"photo_id":"1351978451","filename":"file1"},{"photo_id":"1351978448","filename":"file0"},{"photo_id":"1351978461","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978462":["hashtag1","hashtag2"]},{"1351978464":["hashtag1","hashtag2"]},{"1351978461":["hashtag1","hashtag2"]},{"1351978451":["hashtag1","hashtag2"]},{"1351978454":["hashtag1","hashtag2"]},{"1351978448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978462, 1351978464, 1351978461, 1351978451, 1351978454, 1351978448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.62191843986511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:38:32.385554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_36_10480.jpg', '/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_46_9464.jpg', '/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_56_10367.jpg', '/home/pi/Desktop/images/19042025/16/57/image_19042025_16_58_06_9346.jpg', '/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_16_10447.jpg', '/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_26_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_36_10480.jpg
/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_46_9464.jpg
/home/pi/Desktop/images/19042025/16/57/image_19042025_16_57_56_10367.jpg
/home/pi/Desktop/images/19042025/16/57/image_19042025_16_58_06_9346.jpg
/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_16_10447.jpg
/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_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":["1351978486","1351978482","1351978476","1351978479","1351978487","1351978484"],"photo_ids_order":["1351978476","1351978479","1351978482","1351978484","1351978486","1351978487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/807a28b73434ed20b8660a19a5aa6b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5921009912345317013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084372861,"filename":"image_19042025_16_58_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/19/7c5b337a61cfdca3b22847b0276398d9.jpg","text":"TemporaryFile(/tmp/multipartBody7791506515747118641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084372861,"filename":"image_19042025_16_57_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/19/827b240354846f072fa701d131a33aaf.jpg","text":"TemporaryFile(/tmp/multipartBody872894101260450565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084372861,"filename":"image_19042025_16_57_36_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/895fd3fce0e5b2712ed2bbc485b6788d.jpg","text":"TemporaryFile(/tmp/multipartBody3016723713930725556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084372861,"filename":"image_19042025_16_57_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/19/18a243ddcfe46c20fc5f1d412e261091.jpg","text":"TemporaryFile(/tmp/multipartBody5556679577973003011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084372861,"filename":"image_19042025_16_58_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/19/bbeec48418f420eff522733f028a2396.jpg","text":"TemporaryFile(/tmp/multipartBody5052419326895854318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084372861,"filename":"image_19042025_16_58_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978482","file1":"1351978479","file0":"1351978476","file4":"1351978486","file5":"1351978487","file3":"1351978484"},"map_files_photo_id_array":[{"photo_id":"1351978487","filename":"file5"},{"photo_id":"1351978482","filename":"file2"},{"photo_id":"1351978486","filename":"file4"},{"photo_id":"1351978479","filename":"file1"},{"photo_id":"1351978476","filename":"file0"},{"photo_id":"1351978484","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978486":["hashtag1","hashtag2"]},{"1351978482":["hashtag1","hashtag2"]},{"1351978476":["hashtag1","hashtag2"]},{"1351978479":["hashtag1","hashtag2"]},{"1351978487":["hashtag1","hashtag2"]},{"1351978484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978486, 1351978482, 1351978476, 1351978479, 1351978487, 1351978484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.93778085708618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:39:32.665543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_36_9401.jpg', '/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_46_10435.jpg', '/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_56_9355.jpg', '/home/pi/Desktop/images/19042025/16/58/image_19042025_16_59_06_10381.jpg', '/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_16_10379.jpg', '/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_26_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_36_9401.jpg
/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_46_10435.jpg
/home/pi/Desktop/images/19042025/16/58/image_19042025_16_58_56_9355.jpg
/home/pi/Desktop/images/19042025/16/58/image_19042025_16_59_06_10381.jpg
/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_16_10379.jpg
/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_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":["1351978529","1351978512","1351978506","1351978499","1351978532","1351978526"],"photo_ids_order":["1351978499","1351978506","1351978512","1351978526","1351978529","1351978532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e1bd41e41acc3eb87aab250e5886ab16.jpg","text":"TemporaryFile(/tmp/multipartBody4323411182204731470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084433124,"filename":"image_19042025_16_59_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/19/d4e20735b69c7f48eb158aef25eec051.jpg","text":"TemporaryFile(/tmp/multipartBody1425039097361294588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084433124,"filename":"image_19042025_16_58_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/19/3e5f898da97c1b53af7e4890862de4c4.jpg","text":"TemporaryFile(/tmp/multipartBody4452313380777171880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084433124,"filename":"image_19042025_16_58_46_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eeb892054ff8b0f01d3e398afd61c53d.jpg","text":"TemporaryFile(/tmp/multipartBody4011666294963897336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084433124,"filename":"image_19042025_16_58_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2d451f84eef8e55e11bb996352c093ce.jpg","text":"TemporaryFile(/tmp/multipartBody6927821454665252089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084433124,"filename":"image_19042025_16_59_26_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35279d415b0ca92246d4bade0f85d8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7200273554978947869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084433124,"filename":"image_19042025_16_59_06_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978512","file1":"1351978506","file0":"1351978499","file4":"1351978529","file5":"1351978532","file3":"1351978526"},"map_files_photo_id_array":[{"photo_id":"1351978532","filename":"file5"},{"photo_id":"1351978512","filename":"file2"},{"photo_id":"1351978529","filename":"file4"},{"photo_id":"1351978506","filename":"file1"},{"photo_id":"1351978499","filename":"file0"},{"photo_id":"1351978526","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978529":["hashtag1","hashtag2"]},{"1351978512":["hashtag1","hashtag2"]},{"1351978506":["hashtag1","hashtag2"]},{"1351978499":["hashtag1","hashtag2"]},{"1351978532":["hashtag1","hashtag2"]},{"1351978526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978529, 1351978512, 1351978506, 1351978499, 1351978532, 1351978526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.889621257781982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:40:33.024226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_36_10412.jpg', '/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_46_9380.jpg', '/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_56_10378.jpg', '/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_15_10079.jpg', '/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_26_10381.jpg', '/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_36_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_36_10412.jpg
/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_46_9380.jpg
/home/pi/Desktop/images/19042025/16/59/image_19042025_16_59_56_10378.jpg
/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_15_10079.jpg
/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_26_10381.jpg
/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_36_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":["1351978651","1351978648","1351978630","1351978644","1351978622","1351978610"],"photo_ids_order":["1351978610","1351978622","1351978630","1351978644","1351978648","1351978651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/68eb72a0081eeed5896a03326ffbf46d.jpg","text":"TemporaryFile(/tmp/multipartBody7614700738326914124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084493480,"filename":"image_19042025_17_00_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/19/3b7b21e333c145a2f84433341ae28f81.jpg","text":"TemporaryFile(/tmp/multipartBody7259369538073924977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084493480,"filename":"image_19042025_17_00_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/19/17c88f24115d621a00d1d0f73c530c1f.jpg","text":"TemporaryFile(/tmp/multipartBody644414473967861078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084493480,"filename":"image_19042025_16_59_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/19/296b7153f7c61d7d39a3b3cf35558c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7501988909444838836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084493480,"filename":"image_19042025_17_00_15_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c5341cc67df376d19b5b7c8641a7b9b9.jpg","text":"TemporaryFile(/tmp/multipartBody1691160344888994609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084493480,"filename":"image_19042025_16_59_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/19/eb2c3f437170b603d51bda06d38cce77.jpg","text":"TemporaryFile(/tmp/multipartBody3464118718750228854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084493480,"filename":"image_19042025_16_59_36_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978630","file1":"1351978622","file0":"1351978610","file4":"1351978648","file5":"1351978651","file3":"1351978644"},"map_files_photo_id_array":[{"photo_id":"1351978651","filename":"file5"},{"photo_id":"1351978630","filename":"file2"},{"photo_id":"1351978648","filename":"file4"},{"photo_id":"1351978622","filename":"file1"},{"photo_id":"1351978610","filename":"file0"},{"photo_id":"1351978644","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978651":["hashtag1","hashtag2"]},{"1351978648":["hashtag1","hashtag2"]},{"1351978630":["hashtag1","hashtag2"]},{"1351978644":["hashtag1","hashtag2"]},{"1351978622":["hashtag1","hashtag2"]},{"1351978610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978651, 1351978648, 1351978630, 1351978644, 1351978622, 1351978610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.65007472038269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:41:33.099048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_45_9403.jpg', '/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_56_10418.jpg', '/home/pi/Desktop/images/19042025/17/00/image_19042025_17_01_05_9416.jpg', '/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_16_10396.jpg', '/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_26_10380.jpg', '/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_36_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_45_9403.jpg
/home/pi/Desktop/images/19042025/17/00/image_19042025_17_00_56_10418.jpg
/home/pi/Desktop/images/19042025/17/00/image_19042025_17_01_05_9416.jpg
/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_16_10396.jpg
/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_26_10380.jpg
/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_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":["1351978672","1351978675","1351978662","1351978665","1351978659","1351978668"],"photo_ids_order":["1351978659","1351978662","1351978665","1351978668","1351978672","1351978675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32eb893c00190575ac3afba69ea9d030.jpg","text":"TemporaryFile(/tmp/multipartBody3198975428032889362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084553574,"filename":"image_19042025_17_01_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/19/8b11eaf65f5b247d060a39a00550d208.jpg","text":"TemporaryFile(/tmp/multipartBody3589259851367984916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084553574,"filename":"image_19042025_17_01_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/19/232933b8641fe9bd9e5a7800525d21f7.jpg","text":"TemporaryFile(/tmp/multipartBody3879331165471464103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084553574,"filename":"image_19042025_17_00_56_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a07f226f7411d7dc1ab1179c579454d1.jpg","text":"TemporaryFile(/tmp/multipartBody4948590419539966085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084553574,"filename":"image_19042025_17_01_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/19/b8839ddd999314d5fb6ca93ca14a4ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7183162828843191872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084553574,"filename":"image_19042025_17_00_45_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9d219e5d56c5846177ddb528e87df777.jpg","text":"TemporaryFile(/tmp/multipartBody7512661355174456497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084553574,"filename":"image_19042025_17_01_16_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978665","file1":"1351978662","file0":"1351978659","file4":"1351978672","file5":"1351978675","file3":"1351978668"},"map_files_photo_id_array":[{"photo_id":"1351978675","filename":"file5"},{"photo_id":"1351978665","filename":"file2"},{"photo_id":"1351978672","filename":"file4"},{"photo_id":"1351978662","filename":"file1"},{"photo_id":"1351978659","filename":"file0"},{"photo_id":"1351978668","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978672":["hashtag1","hashtag2"]},{"1351978675":["hashtag1","hashtag2"]},{"1351978662":["hashtag1","hashtag2"]},{"1351978665":["hashtag1","hashtag2"]},{"1351978659":["hashtag1","hashtag2"]},{"1351978668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978672, 1351978675, 1351978662, 1351978665, 1351978659, 1351978668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.397028923034668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:42:32.451163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_46_10471.jpg', '/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_55_9393.jpg', '/home/pi/Desktop/images/19042025/17/01/image_19042025_17_02_06_10432.jpg', '/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_15_9348.jpg', '/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_26_10383.jpg', '/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_36_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_46_10471.jpg
/home/pi/Desktop/images/19042025/17/01/image_19042025_17_01_55_9393.jpg
/home/pi/Desktop/images/19042025/17/01/image_19042025_17_02_06_10432.jpg
/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_15_9348.jpg
/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_26_10383.jpg
/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_36_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":["1351978696","1351978699","1351978702","1351978689","1351978691","1351978694"],"photo_ids_order":["1351978689","1351978691","1351978694","1351978696","1351978699","1351978702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a0665d0d88dd658c39297a63b481c90d.jpg","text":"TemporaryFile(/tmp/multipartBody5113610931509509877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084612919,"filename":"image_19042025_17_02_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5716bef1c7588389864ea559e48cc102.jpg","text":"TemporaryFile(/tmp/multipartBody2180720945833153249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084612919,"filename":"image_19042025_17_02_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/19/9d911b0ac37fe499963d353aa6a14a52.jpg","text":"TemporaryFile(/tmp/multipartBody2720333616026902320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084612919,"filename":"image_19042025_17_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/19/3c6518410e0e2b728b0fc70b13028599.jpg","text":"TemporaryFile(/tmp/multipartBody2014717942825110148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084612919,"filename":"image_19042025_17_01_46_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b1b59b6d01528ab85b5916e7bd91b77d.jpg","text":"TemporaryFile(/tmp/multipartBody5526098495464118296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084612919,"filename":"image_19042025_17_01_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/19/bf62190b9bae9d40b910153622728aba.jpg","text":"TemporaryFile(/tmp/multipartBody5331625078119173000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084612919,"filename":"image_19042025_17_02_06_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978694","file1":"1351978691","file0":"1351978689","file4":"1351978699","file5":"1351978702","file3":"1351978696"},"map_files_photo_id_array":[{"photo_id":"1351978702","filename":"file5"},{"photo_id":"1351978694","filename":"file2"},{"photo_id":"1351978699","filename":"file4"},{"photo_id":"1351978691","filename":"file1"},{"photo_id":"1351978689","filename":"file0"},{"photo_id":"1351978696","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978696":["hashtag1","hashtag2"]},{"1351978699":["hashtag1","hashtag2"]},{"1351978702":["hashtag1","hashtag2"]},{"1351978689":["hashtag1","hashtag2"]},{"1351978691":["hashtag1","hashtag2"]},{"1351978694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978696, 1351978699, 1351978702, 1351978689, 1351978691, 1351978694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44134283065796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:43:32.728229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_45_9380.jpg', '/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_56_10454.jpg', '/home/pi/Desktop/images/19042025/17/02/image_19042025_17_03_05_9393.jpg', '/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_16_10369.jpg', '/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_26_10460.jpg', '/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_35_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_45_9380.jpg
/home/pi/Desktop/images/19042025/17/02/image_19042025_17_02_56_10454.jpg
/home/pi/Desktop/images/19042025/17/02/image_19042025_17_03_05_9393.jpg
/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_16_10369.jpg
/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_26_10460.jpg
/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_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":["1351978712","1351978715","1351978720","1351978710","1351978721","1351978718"],"photo_ids_order":["1351978710","1351978712","1351978715","1351978718","1351978720","1351978721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4242f3026c78a1a05667cf4bf4a1cfa8.jpg","text":"TemporaryFile(/tmp/multipartBody1498586728657142179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084673186,"filename":"image_19042025_17_02_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/19/c527d91527d0fcf680f684b3df664614.jpg","text":"TemporaryFile(/tmp/multipartBody5121731692501478395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084673186,"filename":"image_19042025_17_03_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/42939a267b8d00d4a6b59381b02b4fd5.jpg","text":"TemporaryFile(/tmp/multipartBody2180173149222214326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084673186,"filename":"image_19042025_17_03_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/19/6e2648a51313bd0575d740a4099881d4.jpg","text":"TemporaryFile(/tmp/multipartBody2669086456204569099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084673186,"filename":"image_19042025_17_02_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/19/cb1a0cbfa206ed03cf229e1cc18c91f1.jpg","text":"TemporaryFile(/tmp/multipartBody3898706152026517655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084673186,"filename":"image_19042025_17_03_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/19/81d38c3c07962a632b10d0bd7524f7db.jpg","text":"TemporaryFile(/tmp/multipartBody8024966817687498697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084673186,"filename":"image_19042025_17_03_16_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978715","file1":"1351978712","file0":"1351978710","file4":"1351978720","file5":"1351978721","file3":"1351978718"},"map_files_photo_id_array":[{"photo_id":"1351978721","filename":"file5"},{"photo_id":"1351978715","filename":"file2"},{"photo_id":"1351978720","filename":"file4"},{"photo_id":"1351978712","filename":"file1"},{"photo_id":"1351978710","filename":"file0"},{"photo_id":"1351978718","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978712":["hashtag1","hashtag2"]},{"1351978715":["hashtag1","hashtag2"]},{"1351978720":["hashtag1","hashtag2"]},{"1351978710":["hashtag1","hashtag2"]},{"1351978721":["hashtag1","hashtag2"]},{"1351978718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978712, 1351978715, 1351978720, 1351978710, 1351978721, 1351978718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.065577268600464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:44:32.980955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_46_10418.jpg', '/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_55_9372.jpg', '/home/pi/Desktop/images/19042025/17/03/image_19042025_17_04_06_10380.jpg', '/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_16_10464.jpg', '/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_26_9440.jpg', '/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_36_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_46_10418.jpg
/home/pi/Desktop/images/19042025/17/03/image_19042025_17_03_55_9372.jpg
/home/pi/Desktop/images/19042025/17/03/image_19042025_17_04_06_10380.jpg
/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_16_10464.jpg
/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_26_9440.jpg
/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_36_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":["1351978747","1351978738","1351978743","1351978752","1351978749","1351978754"],"photo_ids_order":["1351978738","1351978743","1351978747","1351978749","1351978752","1351978754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d1a085a83a65352ba20291b41afc65f2.jpg","text":"TemporaryFile(/tmp/multipartBody5465148841894710976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084733439,"filename":"image_19042025_17_04_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/19/132f98755198adc17891aaa1960b478b.jpg","text":"TemporaryFile(/tmp/multipartBody8768624131169574929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084733439,"filename":"image_19042025_17_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/19/90ca9f21dcfd720cf5101d588ebf651e.jpg","text":"TemporaryFile(/tmp/multipartBody148179411141909390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084733439,"filename":"image_19042025_17_03_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f00ff76590fab47f7dec78ed9c7a430c.jpg","text":"TemporaryFile(/tmp/multipartBody4318495208760035695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084733439,"filename":"image_19042025_17_04_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eec833b807d141ebd7a7b312dde7d93e.jpg","text":"TemporaryFile(/tmp/multipartBody7876050611730088468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084733439,"filename":"image_19042025_17_04_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/19/b9d96960f9f7a54d701d7a47db02be75.jpg","text":"TemporaryFile(/tmp/multipartBody143465799628107519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084733439,"filename":"image_19042025_17_04_36_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978747","file1":"1351978743","file0":"1351978738","file4":"1351978752","file5":"1351978754","file3":"1351978749"},"map_files_photo_id_array":[{"photo_id":"1351978754","filename":"file5"},{"photo_id":"1351978747","filename":"file2"},{"photo_id":"1351978752","filename":"file4"},{"photo_id":"1351978743","filename":"file1"},{"photo_id":"1351978738","filename":"file0"},{"photo_id":"1351978749","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978747":["hashtag1","hashtag2"]},{"1351978738":["hashtag1","hashtag2"]},{"1351978743":["hashtag1","hashtag2"]},{"1351978752":["hashtag1","hashtag2"]},{"1351978749":["hashtag1","hashtag2"]},{"1351978754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978747, 1351978738, 1351978743, 1351978752, 1351978749, 1351978754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.76419687271118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:45:32.257859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_45_9367.jpg', '/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_56_10374.jpg', '/home/pi/Desktop/images/19042025/17/04/image_19042025_17_05_06_10408.jpg', '/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_16_9363.jpg', '/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_26_10422.jpg', '/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_35_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_45_9367.jpg
/home/pi/Desktop/images/19042025/17/04/image_19042025_17_04_56_10374.jpg
/home/pi/Desktop/images/19042025/17/04/image_19042025_17_05_06_10408.jpg
/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_16_9363.jpg
/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_26_10422.jpg
/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_35_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351978771","1351978774","1351978776","1351978772","1351978766","1351978778"],"photo_ids_order":["1351978766","1351978771","1351978772","1351978774","1351978776","1351978778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37744259de2814330a7e8599e33505c8.jpg","text":"TemporaryFile(/tmp/multipartBody3487239567834076720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084792721,"filename":"image_19042025_17_04_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/19/3999ff5ed598f514b663137dd001956f.jpg","text":"TemporaryFile(/tmp/multipartBody1952331354320750429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084792721,"filename":"image_19042025_17_05_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/feeb0b5c4e73e23f253919ae3d262c42.jpg","text":"TemporaryFile(/tmp/multipartBody5836589955069934292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084792721,"filename":"image_19042025_17_05_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd81ec5a9c4b484f5a6f85b0c302b269.jpg","text":"TemporaryFile(/tmp/multipartBody3270522833222932157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084792721,"filename":"image_19042025_17_05_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/19/a5111c56e11dee07c9c58a7535075b47.jpg","text":"TemporaryFile(/tmp/multipartBody1715903102308150300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084792721,"filename":"image_19042025_17_04_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/19/9ce08553d1377f3e87ac25e334576dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7081882183489449620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084792721,"filename":"image_19042025_17_05_35_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978772","file1":"1351978771","file0":"1351978766","file4":"1351978776","file5":"1351978778","file3":"1351978774"},"map_files_photo_id_array":[{"photo_id":"1351978778","filename":"file5"},{"photo_id":"1351978772","filename":"file2"},{"photo_id":"1351978776","filename":"file4"},{"photo_id":"1351978771","filename":"file1"},{"photo_id":"1351978766","filename":"file0"},{"photo_id":"1351978774","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978771":["hashtag1","hashtag2"]},{"1351978774":["hashtag1","hashtag2"]},{"1351978776":["hashtag1","hashtag2"]},{"1351978772":["hashtag1","hashtag2"]},{"1351978766":["hashtag1","hashtag2"]},{"1351978778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978771, 1351978774, 1351978776, 1351978772, 1351978766, 1351978778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.724562406539917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:46:32.399958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_46_10451.jpg', '/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_56_10374.jpg', '/home/pi/Desktop/images/19042025/17/05/image_19042025_17_06_06_9424.jpg', '/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_16_10369.jpg', '/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_25_9350.jpg', '/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_36_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_46_10451.jpg
/home/pi/Desktop/images/19042025/17/05/image_19042025_17_05_56_10374.jpg
/home/pi/Desktop/images/19042025/17/05/image_19042025_17_06_06_9424.jpg
/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_16_10369.jpg
/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_25_9350.jpg
/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_36_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":["1351978789","1351978798","1351978792","1351978786","1351978801","1351978796"],"photo_ids_order":["1351978786","1351978789","1351978792","1351978796","1351978798","1351978801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4fd1ba4ac6e4e332db4aad68f78e9450.jpg","text":"TemporaryFile(/tmp/multipartBody7636619783719132471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084852857,"filename":"image_19042025_17_05_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/19/a8784741cec3259850ed92a738f64211.jpg","text":"TemporaryFile(/tmp/multipartBody8172745137670129714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084852857,"filename":"image_19042025_17_06_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f69c9562962a5fd490e0c295b14b20c.jpg","text":"TemporaryFile(/tmp/multipartBody7430664305652039790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084852857,"filename":"image_19042025_17_06_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/19/35376e76f7ada53824df818641e5e6f4.jpg","text":"TemporaryFile(/tmp/multipartBody6480885835247992161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084852857,"filename":"image_19042025_17_05_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/19/0a3a7b6dfb759f635e8d2cbf659a999c.jpg","text":"TemporaryFile(/tmp/multipartBody4931591647760251131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084852857,"filename":"image_19042025_17_06_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/19/21de3a9925bec530638ee9ae33cf1d42.jpg","text":"TemporaryFile(/tmp/multipartBody1123892442576568835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084852857,"filename":"image_19042025_17_06_16_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978792","file1":"1351978789","file0":"1351978786","file4":"1351978798","file5":"1351978801","file3":"1351978796"},"map_files_photo_id_array":[{"photo_id":"1351978801","filename":"file5"},{"photo_id":"1351978792","filename":"file2"},{"photo_id":"1351978798","filename":"file4"},{"photo_id":"1351978789","filename":"file1"},{"photo_id":"1351978786","filename":"file0"},{"photo_id":"1351978796","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978789":["hashtag1","hashtag2"]},{"1351978798":["hashtag1","hashtag2"]},{"1351978792":["hashtag1","hashtag2"]},{"1351978786":["hashtag1","hashtag2"]},{"1351978801":["hashtag1","hashtag2"]},{"1351978796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978789, 1351978798, 1351978792, 1351978786, 1351978801, 1351978796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.10084819793701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:47:32.600550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_46_10389.jpg', '/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_55_9392.jpg', '/home/pi/Desktop/images/19042025/17/06/image_19042025_17_07_06_10405.jpg', '/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_15_9373.jpg', '/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_26_10361.jpg', '/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_36_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_46_10389.jpg
/home/pi/Desktop/images/19042025/17/06/image_19042025_17_06_55_9392.jpg
/home/pi/Desktop/images/19042025/17/06/image_19042025_17_07_06_10405.jpg
/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_15_9373.jpg
/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_26_10361.jpg
/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_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":["1351978811","1351978825","1351978813","1351978822","1351978816","1351978819"],"photo_ids_order":["1351978811","1351978813","1351978816","1351978819","1351978822","1351978825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2f4f7028e07fca0f4622b59cb1100320.jpg","text":"TemporaryFile(/tmp/multipartBody5284727882617454123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084913067,"filename":"image_19042025_17_06_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/19/713dec20cb66dd75da9559e96c2bb4a4.jpg","text":"TemporaryFile(/tmp/multipartBody8343422368799512500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084913067,"filename":"image_19042025_17_07_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/19/0829753f118a9cd99062847fe61f0a79.jpg","text":"TemporaryFile(/tmp/multipartBody1053620025382840489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084913067,"filename":"image_19042025_17_06_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/19/807605bbffea3ea4c34b5ee29a44e673.jpg","text":"TemporaryFile(/tmp/multipartBody1532376672355506777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084913067,"filename":"image_19042025_17_07_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5a7a9d93aca3b2b6af28802d2ef3abf.jpg","text":"TemporaryFile(/tmp/multipartBody8470329937069843366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084913067,"filename":"image_19042025_17_07_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/19/8a921f895d0ca6318bcd4dec8b01b51c.jpg","text":"TemporaryFile(/tmp/multipartBody3376446842691631423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084913067,"filename":"image_19042025_17_07_15_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978816","file1":"1351978813","file0":"1351978811","file4":"1351978822","file5":"1351978825","file3":"1351978819"},"map_files_photo_id_array":[{"photo_id":"1351978825","filename":"file5"},{"photo_id":"1351978816","filename":"file2"},{"photo_id":"1351978822","filename":"file4"},{"photo_id":"1351978813","filename":"file1"},{"photo_id":"1351978811","filename":"file0"},{"photo_id":"1351978819","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978811":["hashtag1","hashtag2"]},{"1351978825":["hashtag1","hashtag2"]},{"1351978813":["hashtag1","hashtag2"]},{"1351978822":["hashtag1","hashtag2"]},{"1351978816":["hashtag1","hashtag2"]},{"1351978819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978811, 1351978825, 1351978813, 1351978822, 1351978816, 1351978819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.94193458557129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:48:32.882103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_45_9355.jpg', '/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_56_10363.jpg', '/home/pi/Desktop/images/19042025/17/07/image_19042025_17_08_06_10378.jpg', '/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_15_9377.jpg', '/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_26_10483.jpg', '/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_35_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_45_9355.jpg
/home/pi/Desktop/images/19042025/17/07/image_19042025_17_07_56_10363.jpg
/home/pi/Desktop/images/19042025/17/07/image_19042025_17_08_06_10378.jpg
/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_15_9377.jpg
/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_26_10483.jpg
/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_35_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":["1351978843","1351978837","1351978854","1351978851","1351978839","1351978848"],"photo_ids_order":["1351978837","1351978839","1351978843","1351978848","1351978851","1351978854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c025ff514044b0c3579a729f6d2cf979.jpg","text":"TemporaryFile(/tmp/multipartBody4776994395251287701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084973337,"filename":"image_19042025_17_08_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/19/cee0a1534e621f5738d6db6d9f9f6127.jpg","text":"TemporaryFile(/tmp/multipartBody3021026529335351520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084973337,"filename":"image_19042025_17_07_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34d64cd0a4f68036be420ccf48aadfe6.jpg","text":"TemporaryFile(/tmp/multipartBody3060736293417412436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084973337,"filename":"image_19042025_17_08_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/19/582bdeffdbe5284ce3639b43db3d5814.jpg","text":"TemporaryFile(/tmp/multipartBody8831436334820620602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084973337,"filename":"image_19042025_17_08_26_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b337aadaa20b1879cbed07191b2e8642.jpg","text":"TemporaryFile(/tmp/multipartBody8505742851878454745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084973337,"filename":"image_19042025_17_07_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/19/ca4f64dc02c68367bbc43f4e36fc7670.jpg","text":"TemporaryFile(/tmp/multipartBody959475543139336135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745084973337,"filename":"image_19042025_17_08_15_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978843","file1":"1351978839","file0":"1351978837","file4":"1351978851","file5":"1351978854","file3":"1351978848"},"map_files_photo_id_array":[{"photo_id":"1351978854","filename":"file5"},{"photo_id":"1351978843","filename":"file2"},{"photo_id":"1351978851","filename":"file4"},{"photo_id":"1351978839","filename":"file1"},{"photo_id":"1351978837","filename":"file0"},{"photo_id":"1351978848","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978843":["hashtag1","hashtag2"]},{"1351978837":["hashtag1","hashtag2"]},{"1351978854":["hashtag1","hashtag2"]},{"1351978851":["hashtag1","hashtag2"]},{"1351978839":["hashtag1","hashtag2"]},{"1351978848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978843, 1351978837, 1351978854, 1351978851, 1351978839, 1351978848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.100980043411255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:49:32.167391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_46_10389.jpg', '/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_56_10366.jpg', '/home/pi/Desktop/images/19042025/17/08/image_19042025_17_09_05_9384.jpg', '/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_16_10443.jpg', '/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_25_9393.jpg', '/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_36_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_46_10389.jpg
/home/pi/Desktop/images/19042025/17/08/image_19042025_17_08_56_10366.jpg
/home/pi/Desktop/images/19042025/17/08/image_19042025_17_09_05_9384.jpg
/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_16_10443.jpg
/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_25_9393.jpg
/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_36_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351978888","1351978875","1351978869","1351978892","1351978871","1351978862"],"photo_ids_order":["1351978862","1351978869","1351978871","1351978875","1351978888","1351978892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f9e070ca392dd4f373f35af7b5c1ede6.jpg","text":"TemporaryFile(/tmp/multipartBody9206308015951272653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085032635,"filename":"image_19042025_17_09_25_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d006f9630f97d1547d33e1ef3f441131.jpg","text":"TemporaryFile(/tmp/multipartBody7805357814716699120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085032635,"filename":"image_19042025_17_09_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/19/be92b54a00d9ab4dee5ed3b8931d1559.jpg","text":"TemporaryFile(/tmp/multipartBody3826145870185729554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085032635,"filename":"image_19042025_17_08_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/19/b569aaa796037a6b5a06f258a567a3b1.jpg","text":"TemporaryFile(/tmp/multipartBody9027223164894592534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085032635,"filename":"image_19042025_17_09_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/19/6865c44809e964dac1d44793c202b647.jpg","text":"TemporaryFile(/tmp/multipartBody8090536260578137086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085032635,"filename":"image_19042025_17_09_05_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/19/b8ae405f2bd120e9278d54afdb78cc3d.jpg","text":"TemporaryFile(/tmp/multipartBody8792380110824499844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085032635,"filename":"image_19042025_17_08_46_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978871","file1":"1351978869","file0":"1351978862","file4":"1351978888","file5":"1351978892","file3":"1351978875"},"map_files_photo_id_array":[{"photo_id":"1351978892","filename":"file5"},{"photo_id":"1351978871","filename":"file2"},{"photo_id":"1351978888","filename":"file4"},{"photo_id":"1351978869","filename":"file1"},{"photo_id":"1351978862","filename":"file0"},{"photo_id":"1351978875","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978888":["hashtag1","hashtag2"]},{"1351978875":["hashtag1","hashtag2"]},{"1351978869":["hashtag1","hashtag2"]},{"1351978892":["hashtag1","hashtag2"]},{"1351978871":["hashtag1","hashtag2"]},{"1351978862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978888, 1351978875, 1351978869, 1351978892, 1351978871, 1351978862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.56755352020264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:50:32.355708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_46_10381.jpg', '/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_56_9426.jpg', '/home/pi/Desktop/images/19042025/17/09/image_19042025_17_10_06_10384.jpg', '/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_15_9360.jpg', '/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_26_10388.jpg', '/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_36_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_46_10381.jpg
/home/pi/Desktop/images/19042025/17/09/image_19042025_17_09_56_9426.jpg
/home/pi/Desktop/images/19042025/17/09/image_19042025_17_10_06_10384.jpg
/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_15_9360.jpg
/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_26_10388.jpg
/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_36_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":["1351978910","1351978904","1351978907","1351978912","1351978898","1351978902"],"photo_ids_order":["1351978898","1351978902","1351978904","1351978907","1351978910","1351978912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f92a1494a47e1abf54f7cc9e4f7f7d46.jpg","text":"TemporaryFile(/tmp/multipartBody7487210368482356745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085092819,"filename":"image_19042025_17_10_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/13654f7b505bfff11b7570095ea0c5da.jpg","text":"TemporaryFile(/tmp/multipartBody6709117055462291991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085092819,"filename":"image_19042025_17_10_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a72aeec99d9509be910db9f5e45ec0c4.jpg","text":"TemporaryFile(/tmp/multipartBody6280755424946575429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085092819,"filename":"image_19042025_17_10_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37d3bcaf58d978c74dd7af713e4d7295.jpg","text":"TemporaryFile(/tmp/multipartBody4397850040770407657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085092819,"filename":"image_19042025_17_10_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/19/2e838c83f4755ab6210f79e1ad5ac046.jpg","text":"TemporaryFile(/tmp/multipartBody2044994115832453899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085092819,"filename":"image_19042025_17_09_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/19/72c1764629dec42effcac57ea6af4670.jpg","text":"TemporaryFile(/tmp/multipartBody5085713561488265454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085092819,"filename":"image_19042025_17_09_56_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978904","file1":"1351978902","file0":"1351978898","file4":"1351978910","file5":"1351978912","file3":"1351978907"},"map_files_photo_id_array":[{"photo_id":"1351978912","filename":"file5"},{"photo_id":"1351978904","filename":"file2"},{"photo_id":"1351978910","filename":"file4"},{"photo_id":"1351978902","filename":"file1"},{"photo_id":"1351978898","filename":"file0"},{"photo_id":"1351978907","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351978910":["hashtag1","hashtag2"]},{"1351978904":["hashtag1","hashtag2"]},{"1351978907":["hashtag1","hashtag2"]},{"1351978912":["hashtag1","hashtag2"]},{"1351978898":["hashtag1","hashtag2"]},{"1351978902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351978910, 1351978904, 1351978907, 1351978912, 1351978898, 1351978902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.501096487045288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:51:32.616403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_45_9384.jpg', '/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_56_10439.jpg', '/home/pi/Desktop/images/19042025/17/10/image_19042025_17_11_05_9363.jpg', '/home/pi/Desktop/images/19042025/17/11/image_19042025_17_11_16_10377.jpg', '/home/pi/Desktop/images/19042025/17/11/image_19042025_17_11_26_10452.jpg', '/home/pi/Desktop/images/19042025/17/11/image_19042025_17_11_35_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_45_9384.jpg
/home/pi/Desktop/images/19042025/17/10/image_19042025_17_10_56_10439.jpg
/home/pi/Desktop/images/19042025/17/10/image_19042025_17_11_05_9363.jpg
/home/pi/Desktop/images/19042025/17/11/image_19042025_17_11_16_10377.jpg
/home/pi/Desktop/images/19042025/17/11/image_19042025_17_11_26_10452.jpg
/home/pi/Desktop/images/19042025/17/11/image_19042025_17_11_35_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":["1351979077","1351979065","1351979070","1351979075","1351979072","1351979060"],"photo_ids_order":["1351979060","1351979065","1351979070","1351979072","1351979075","1351979077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9335eb13eafb3d7367ccbb2614084849.jpg","text":"TemporaryFile(/tmp/multipartBody7971483190357655317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085153078,"filename":"image_19042025_17_11_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/19/5bde53f88e7cc39d16cadbfeaa5fefee.jpg","text":"TemporaryFile(/tmp/multipartBody3706176406542721440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085153078,"filename":"image_19042025_17_10_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/19/9ea295b5e928c8f058b54c4483b33445.jpg","text":"TemporaryFile(/tmp/multipartBody9143364914612043732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085153078,"filename":"image_19042025_17_11_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5bf9575e3e3adc0e032920727076a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody8254249295670562126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085153078,"filename":"image_19042025_17_11_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e151f885a918ae9f45200f3278e48fbe.jpg","text":"TemporaryFile(/tmp/multipartBody6984732778955336794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085153078,"filename":"image_19042025_17_11_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/632a0c9b0c6d5ca8120ccf961885d989.jpg","text":"TemporaryFile(/tmp/multipartBody5799067587885320020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085153078,"filename":"image_19042025_17_10_45_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979070","file1":"1351979065","file0":"1351979060","file4":"1351979075","file5":"1351979077","file3":"1351979072"},"map_files_photo_id_array":[{"photo_id":"1351979077","filename":"file5"},{"photo_id":"1351979070","filename":"file2"},{"photo_id":"1351979075","filename":"file4"},{"photo_id":"1351979065","filename":"file1"},{"photo_id":"1351979060","filename":"file0"},{"photo_id":"1351979072","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351979077":["hashtag1","hashtag2"]},{"1351979065":["hashtag1","hashtag2"]},{"1351979070":["hashtag1","hashtag2"]},{"1351979075":["hashtag1","hashtag2"]},{"1351979072":["hashtag1","hashtag2"]},{"1351979060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351979077, 1351979065, 1351979070, 1351979075, 1351979072, 1351979060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.697265625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:52:32.860035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/11/image_19042025_17_11_46_10502.jpg', '/home/pi/Desktop/images/19042025/17/11/image_19042025_17_12_06_10490.jpg', '/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_15_9333.jpg', '/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_26_10443.jpg', '/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_36_10367.jpg', '/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_45_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/11/image_19042025_17_11_46_10502.jpg
/home/pi/Desktop/images/19042025/17/11/image_19042025_17_12_06_10490.jpg
/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_15_9333.jpg
/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_26_10443.jpg
/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_36_10367.jpg
/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_45_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351979107","1351979091","1351979085","1351979103","1351979099","1351979095"],"photo_ids_order":["1351979085","1351979091","1351979095","1351979099","1351979103","1351979107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a10baf0d646b16407ef47e48f242bf06.jpg","text":"TemporaryFile(/tmp/multipartBody3133676662410625632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085213321,"filename":"image_19042025_17_12_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/19/115b8a4ca0b0731b862327c63199c689.jpg","text":"TemporaryFile(/tmp/multipartBody2278756661704107293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085213321,"filename":"image_19042025_17_12_06_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/19/4d46abaab3d09438f7e529c435a6a2d5.jpg","text":"TemporaryFile(/tmp/multipartBody4561578552964066964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085213321,"filename":"image_19042025_17_11_46_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/19/fbc036dd92249fc20111d1493e298aa5.jpg","text":"TemporaryFile(/tmp/multipartBody3476458260014281510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085213321,"filename":"image_19042025_17_12_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/19/dcf197955802247a4a7c89eef85b1cf5.jpg","text":"TemporaryFile(/tmp/multipartBody1437123047738192630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085213321,"filename":"image_19042025_17_12_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/19/af3db0b01cf9841fa119080c8e99e549.jpg","text":"TemporaryFile(/tmp/multipartBody6065175391783876324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085213321,"filename":"image_19042025_17_12_15_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979095","file1":"1351979091","file0":"1351979085","file4":"1351979103","file5":"1351979107","file3":"1351979099"},"map_files_photo_id_array":[{"photo_id":"1351979107","filename":"file5"},{"photo_id":"1351979095","filename":"file2"},{"photo_id":"1351979103","filename":"file4"},{"photo_id":"1351979091","filename":"file1"},{"photo_id":"1351979085","filename":"file0"},{"photo_id":"1351979099","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351979107":["hashtag1","hashtag2"]},{"1351979091":["hashtag1","hashtag2"]},{"1351979085":["hashtag1","hashtag2"]},{"1351979103":["hashtag1","hashtag2"]},{"1351979099":["hashtag1","hashtag2"]},{"1351979095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351979107, 1351979091, 1351979085, 1351979103, 1351979099, 1351979095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.616785287857056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:53:33.225089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_56_10491.jpg', '/home/pi/Desktop/images/19042025/17/12/image_19042025_17_13_05_9355.jpg', '/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_16_10361.jpg', '/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_26_10444.jpg', '/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_35_9354.jpg', '/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/12/image_19042025_17_12_56_10491.jpg
/home/pi/Desktop/images/19042025/17/12/image_19042025_17_13_05_9355.jpg
/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_16_10361.jpg
/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_26_10444.jpg
/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_35_9354.jpg
/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_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":["1351979116","1351979121","1351979124","1351979132","1351979135","1351979129"],"photo_ids_order":["1351979116","1351979121","1351979124","1351979129","1351979132","1351979135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f6532fbc01f6b8ecf9ee7ad807252d3e.jpg","text":"TemporaryFile(/tmp/multipartBody4733860821523553193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085273685,"filename":"image_19042025_17_12_56_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/19/131e152e3a231e31ac764ade186aa9ac.jpg","text":"TemporaryFile(/tmp/multipartBody3521072212370879602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085273685,"filename":"image_19042025_17_13_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/19/16dd991bb8579dea1c9db0b17316847d.jpg","text":"TemporaryFile(/tmp/multipartBody4595939193681144952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085273685,"filename":"image_19042025_17_13_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/19/651a09a39d13ef64c3cae281b31db9ad.jpg","text":"TemporaryFile(/tmp/multipartBody3883553178283620164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085273685,"filename":"image_19042025_17_13_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/473d8da7f26c1d49a58a624013d87b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3527574322243284352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085273685,"filename":"image_19042025_17_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/19/6d31877c7b51e593f167695856ac5b49.jpg","text":"TemporaryFile(/tmp/multipartBody9194432198866110837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085273685,"filename":"image_19042025_17_13_26_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979124","file1":"1351979121","file0":"1351979116","file4":"1351979132","file5":"1351979135","file3":"1351979129"},"map_files_photo_id_array":[{"photo_id":"1351979135","filename":"file5"},{"photo_id":"1351979124","filename":"file2"},{"photo_id":"1351979132","filename":"file4"},{"photo_id":"1351979121","filename":"file1"},{"photo_id":"1351979116","filename":"file0"},{"photo_id":"1351979129","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351979116":["hashtag1","hashtag2"]},{"1351979121":["hashtag1","hashtag2"]},{"1351979124":["hashtag1","hashtag2"]},{"1351979132":["hashtag1","hashtag2"]},{"1351979135":["hashtag1","hashtag2"]},{"1351979129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351979116, 1351979121, 1351979124, 1351979132, 1351979135, 1351979129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.350624084472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:54:32.406993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_55_9443.jpg', '/home/pi/Desktop/images/19042025/17/13/image_19042025_17_14_06_10428.jpg', '/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_16_10365.jpg', '/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_25_9362.jpg', '/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_36_10374.jpg', '/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_46_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/13/image_19042025_17_13_55_9443.jpg
/home/pi/Desktop/images/19042025/17/13/image_19042025_17_14_06_10428.jpg
/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_16_10365.jpg
/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_25_9362.jpg
/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_36_10374.jpg
/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_46_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351979149","1351979152","1351979146","1351979154","1351979142","1351979156"],"photo_ids_order":["1351979142","1351979146","1351979149","1351979152","1351979154","1351979156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/97e4eb49948f6cbfed10e33f291f3e26.jpg","text":"TemporaryFile(/tmp/multipartBody996832881791846145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085332893,"filename":"image_19042025_17_14_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/93edcfa9db6fa732c24b6a7c1ee81bf5.jpg","text":"TemporaryFile(/tmp/multipartBody8359322214456439936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085332893,"filename":"image_19042025_17_14_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f92fe862cb32fc41b9de38619617ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8044532806422312608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085332893,"filename":"image_19042025_17_14_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/19/5a56f527d003c2be2192bc37f49b7bf2.jpg","text":"TemporaryFile(/tmp/multipartBody5231758190867116853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085332893,"filename":"image_19042025_17_14_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/19/5e74abcd320baeb165325c7a4a409117.jpg","text":"TemporaryFile(/tmp/multipartBody3750623372421986862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085332893,"filename":"image_19042025_17_13_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/19/32874fc27749c22361b98dc6fabddbe9.jpg","text":"TemporaryFile(/tmp/multipartBody3129579776444954081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085332893,"filename":"image_19042025_17_14_46_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979149","file1":"1351979146","file0":"1351979142","file4":"1351979154","file5":"1351979156","file3":"1351979152"},"map_files_photo_id_array":[{"photo_id":"1351979156","filename":"file5"},{"photo_id":"1351979149","filename":"file2"},{"photo_id":"1351979154","filename":"file4"},{"photo_id":"1351979146","filename":"file1"},{"photo_id":"1351979142","filename":"file0"},{"photo_id":"1351979152","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351979149":["hashtag1","hashtag2"]},{"1351979152":["hashtag1","hashtag2"]},{"1351979146":["hashtag1","hashtag2"]},{"1351979154":["hashtag1","hashtag2"]},{"1351979142":["hashtag1","hashtag2"]},{"1351979156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351979149, 1351979152, 1351979146, 1351979154, 1351979142, 1351979156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.787646293640137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:55:32.601562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_56_9439.jpg', '/home/pi/Desktop/images/19042025/17/14/image_19042025_17_15_06_10444.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_15_9394.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_26_10460.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_35_9355.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_46_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_56_9439.jpg
/home/pi/Desktop/images/19042025/17/14/image_19042025_17_15_06_10444.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_15_9394.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_26_10460.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_35_9355.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_46_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.39182162284851074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 19:55:42.692325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_56_9439.jpg', '/home/pi/Desktop/images/19042025/17/14/image_19042025_17_15_06_10444.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_15_9394.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_26_10460.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_35_9355.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_46_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/14/image_19042025_17_14_56_9439.jpg
/home/pi/Desktop/images/19042025/17/14/image_19042025_17_15_06_10444.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_15_9394.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_26_10460.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_35_9355.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_46_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":["1351979182","1351979176","1351979179","1351979181","1351979183","1351979173"],"photo_ids_order":["1351979173","1351979176","1351979179","1351979181","1351979182","1351979183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/699aa9c5b0bdba2ac1711fe43260dff0.jpg","text":"TemporaryFile(/tmp/multipartBody445641466906539394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085403174,"filename":"image_19042025_17_15_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/19/af3b152157ab56a2aaffee0579504486.jpg","text":"TemporaryFile(/tmp/multipartBody1906154892730807856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085403174,"filename":"image_19042025_17_15_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2e8736d35fbb641fe69f5098d6f4939c.jpg","text":"TemporaryFile(/tmp/multipartBody6890119268428918139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085403174,"filename":"image_19042025_17_15_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f097e277e1c7a934c8f1df642b9c6beb.jpg","text":"TemporaryFile(/tmp/multipartBody1446887554541134529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085403174,"filename":"image_19042025_17_15_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/19/2e78d646874825cc37191242601ed03e.jpg","text":"TemporaryFile(/tmp/multipartBody4117130857707146662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085403174,"filename":"image_19042025_17_15_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/19/ef52b93e0a423fb8a03db19a507553a2.jpg","text":"TemporaryFile(/tmp/multipartBody4533909542049914247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085403174,"filename":"image_19042025_17_14_56_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979179","file1":"1351979176","file0":"1351979173","file4":"1351979182","file5":"1351979183","file3":"1351979181"},"map_files_photo_id_array":[{"photo_id":"1351979183","filename":"file5"},{"photo_id":"1351979179","filename":"file2"},{"photo_id":"1351979182","filename":"file4"},{"photo_id":"1351979176","filename":"file1"},{"photo_id":"1351979173","filename":"file0"},{"photo_id":"1351979181","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351979182":["hashtag1","hashtag2"]},{"1351979176":["hashtag1","hashtag2"]},{"1351979179":["hashtag1","hashtag2"]},{"1351979181":["hashtag1","hashtag2"]},{"1351979183":["hashtag1","hashtag2"]},{"1351979173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351979182, 1351979176, 1351979179, 1351979181, 1351979183, 1351979173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.508973121643066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:56:32.797187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_56_10375.jpg', '/home/pi/Desktop/images/19042025/17/15/image_19042025_17_16_05_9349.jpg', '/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_16_10351.jpg', '/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_26_10445.jpg', '/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_35_9372.jpg', '/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_46_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_15_56_10375.jpg
/home/pi/Desktop/images/19042025/17/15/image_19042025_17_16_05_9349.jpg
/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_16_10351.jpg
/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_26_10445.jpg
/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_35_9372.jpg
/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_46_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":["1351979196","1351979199","1351979193","1351979202","1351979205","1351979204"],"photo_ids_order":["1351979193","1351979196","1351979199","1351979202","1351979204","1351979205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd6ab07d0e606e59d9b9923d82bed7a7.jpg","text":"TemporaryFile(/tmp/multipartBody715193981742769574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085453269,"filename":"image_19042025_17_16_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/19/c02c48b90c99f41b165486c9e2c11158.jpg","text":"TemporaryFile(/tmp/multipartBody5806539527240811194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085453269,"filename":"image_19042025_17_16_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/19/112ed5d49007bbeab3fc09c1387e7fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5433915999105512025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085453269,"filename":"image_19042025_17_15_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/19/e9c5f7628c8278b90153644babceb3b6.jpg","text":"TemporaryFile(/tmp/multipartBody2180698207751356496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085453269,"filename":"image_19042025_17_16_26_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b951610d0e4373c3cd91972ce004c966.jpg","text":"TemporaryFile(/tmp/multipartBody4792389606088232382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085453269,"filename":"image_19042025_17_16_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/11e5ebf9eb5809ef4d42d1ada0f82d3c.jpg","text":"TemporaryFile(/tmp/multipartBody9203143684062333511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085453269,"filename":"image_19042025_17_16_35_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979199","file1":"1351979196","file0":"1351979193","file4":"1351979204","file5":"1351979205","file3":"1351979202"},"map_files_photo_id_array":[{"photo_id":"1351979205","filename":"file5"},{"photo_id":"1351979199","filename":"file2"},{"photo_id":"1351979204","filename":"file4"},{"photo_id":"1351979196","filename":"file1"},{"photo_id":"1351979193","filename":"file0"},{"photo_id":"1351979202","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351979196":["hashtag1","hashtag2"]},{"1351979199":["hashtag1","hashtag2"]},{"1351979193":["hashtag1","hashtag2"]},{"1351979202":["hashtag1","hashtag2"]},{"1351979205":["hashtag1","hashtag2"]},{"1351979204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351979196, 1351979199, 1351979193, 1351979202, 1351979205, 1351979204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.575592279434204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 19:57:33.117298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_55_9367.jpg', '/home/pi/Desktop/images/19042025/17/16/image_19042025_17_17_06_10361.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_16_10470.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_26_9366.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_36_10357.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_45_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_55_9367.jpg
/home/pi/Desktop/images/19042025/17/16/image_19042025_17_17_06_10361.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_16_10470.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_26_9366.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_36_10357.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_45_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-19 19:59:03.916087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_55_9367.jpg', '/home/pi/Desktop/images/19042025/17/16/image_19042025_17_17_06_10361.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_16_10470.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_26_9366.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_36_10357.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_45_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/16/image_19042025_17_16_55_9367.jpg
/home/pi/Desktop/images/19042025/17/16/image_19042025_17_17_06_10361.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_16_10470.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_26_9366.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_36_10357.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_45_9357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351979626","1351979685","1351979595","1351979658","1351979747","1351979711"],"photo_ids_order":["1351979595","1351979626","1351979658","1351979685","1351979711","1351979747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/42ade93e7216a1b4c6b5e04038bb2d89.jpg","text":"TemporaryFile(/tmp/multipartBody3420403084210226237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085606066,"filename":"image_19042025_17_17_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/19/9cfa551b857a93a1adfed4c84187e778.jpg","text":"TemporaryFile(/tmp/multipartBody1717554254260424864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085606066,"filename":"image_19042025_17_17_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/19/d0748a4a4e399e3385b16a6f8881f7f9.jpg","text":"TemporaryFile(/tmp/multipartBody8556861894631656346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085606066,"filename":"image_19042025_17_16_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71f087638a72f3545b9ed91743df835e.jpg","text":"TemporaryFile(/tmp/multipartBody2384146291686499737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085606066,"filename":"image_19042025_17_17_16_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/19/6ca1591c91d1661bdecfa2b963d47a27.jpg","text":"TemporaryFile(/tmp/multipartBody1115485349367513727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085606066,"filename":"image_19042025_17_17_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b822df4c3f424a443255267e36500b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7840111543396625380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085606066,"filename":"image_19042025_17_17_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979658","file1":"1351979626","file0":"1351979595","file4":"1351979711","file5":"1351979747","file3":"1351979685"},"map_files_photo_id_array":[{"photo_id":"1351979747","filename":"file5"},{"photo_id":"1351979658","filename":"file2"},{"photo_id":"1351979711","filename":"file4"},{"photo_id":"1351979626","filename":"file1"},{"photo_id":"1351979595","filename":"file0"},{"photo_id":"1351979685","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351979626":["hashtag1","hashtag2"]},{"1351979685":["hashtag1","hashtag2"]},{"1351979595":["hashtag1","hashtag2"]},{"1351979658":["hashtag1","hashtag2"]},{"1351979747":["hashtag1","hashtag2"]},{"1351979711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351979626, 1351979685, 1351979595, 1351979658, 1351979747, 1351979711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.170546531677246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 19:59:42.785401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_56_10761.jpg', '/home/pi/Desktop/images/19042025/17/17/image_19042025_17_18_06_9539.jpg', '/home/pi/Desktop/images/19042025/17/18/image_19042025_17_18_16_10435.jpg', '/home/pi/Desktop/images/19042025/17/18/image_19042025_17_18_25_9385.jpg', '/home/pi/Desktop/images/19042025/17/18/image_19042025_17_18_36_10528.jpg', '/home/pi/Desktop/images/19042025/17/18/image_19042025_17_18_56_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_17_56_10761.jpg
/home/pi/Desktop/images/19042025/17/17/image_19042025_17_18_06_9539.jpg
/home/pi/Desktop/images/19042025/17/18/image_19042025_17_18_16_10435.jpg
/home/pi/Desktop/images/19042025/17/18/image_19042025_17_18_25_9385.jpg
/home/pi/Desktop/images/19042025/17/18/image_19042025_17_18_36_10528.jpg
/home/pi/Desktop/images/19042025/17/18/image_19042025_17_18_56_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351979863","1351979850","1351979862","1351979861","1351979864","1351979849"],"photo_ids_order":["1351979849","1351979850","1351979861","1351979862","1351979863","1351979864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b3ed85498b550b33493b58ac03d4a1e.jpg","text":"TemporaryFile(/tmp/multipartBody6007170185908114719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085643259,"filename":"image_19042025_17_18_36_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/19/fe95e4f02e7978558fb6b09c176a0265.jpg","text":"TemporaryFile(/tmp/multipartBody8528009890319877313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085643259,"filename":"image_19042025_17_18_06_9539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/47c030fc191894855f3e90ea808abdda.jpg","text":"TemporaryFile(/tmp/multipartBody2033541891797124033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085643259,"filename":"image_19042025_17_18_25_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4d8752699345b89c9f9471d3e135a0f5.jpg","text":"TemporaryFile(/tmp/multipartBody5401503030717087436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085643259,"filename":"image_19042025_17_18_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/19/d456511669b80d4dcc61b08bca9a957c.jpg","text":"TemporaryFile(/tmp/multipartBody7727063474307736829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085643259,"filename":"image_19042025_17_18_56_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/19/ea38cc2e3528ceb545594c40eb405556.jpg","text":"TemporaryFile(/tmp/multipartBody7887192168665555631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085643259,"filename":"image_19042025_17_17_56_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979861","file1":"1351979850","file0":"1351979849","file4":"1351979863","file5":"1351979864","file3":"1351979862"},"map_files_photo_id_array":[{"photo_id":"1351979864","filename":"file5"},{"photo_id":"1351979861","filename":"file2"},{"photo_id":"1351979863","filename":"file4"},{"photo_id":"1351979850","filename":"file1"},{"photo_id":"1351979849","filename":"file0"},{"photo_id":"1351979862","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351979863":["hashtag1","hashtag2"]},{"1351979850":["hashtag1","hashtag2"]},{"1351979862":["hashtag1","hashtag2"]},{"1351979861":["hashtag1","hashtag2"]},{"1351979864":["hashtag1","hashtag2"]},{"1351979849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351979863, 1351979850, 1351979862, 1351979861, 1351979864, 1351979849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.144352197647095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:00:33.006065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/18/image_19042025_17_19_06_10435.jpg', '/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_16_9384.jpg', '/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_26_10492.jpg', '/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_35_9359.jpg', '/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_46_10493.jpg', '/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_55_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/18/image_19042025_17_19_06_10435.jpg
/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_16_9384.jpg
/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_26_10492.jpg
/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_35_9359.jpg
/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_46_10493.jpg
/home/pi/Desktop/images/19042025/17/19/image_19042025_17_19_55_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351980104","1351980057","1351980030","1351980056","1351980071","1351980038"],"photo_ids_order":["1351980030","1351980038","1351980056","1351980057","1351980071","1351980104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d2cde5d49530ca2a545751f5bbf7a6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5917752852667481448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085693470,"filename":"image_19042025_17_19_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/19/eccb3cf25916b979285b55e2f1a91f18.jpg","text":"TemporaryFile(/tmp/multipartBody4245706243958226053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085693470,"filename":"image_19042025_17_19_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/19/3fd9a860d07b46170c84637066929e34.jpg","text":"TemporaryFile(/tmp/multipartBody2035125444286303830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085693470,"filename":"image_19042025_17_19_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/19/d25a7c666c5ed5fdeafd4987b634389f.jpg","text":"TemporaryFile(/tmp/multipartBody7535479736492792965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085693470,"filename":"image_19042025_17_19_26_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ed2b9fc6e3088c34526c670ef396bb66.jpg","text":"TemporaryFile(/tmp/multipartBody7259183549897185720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085693470,"filename":"image_19042025_17_19_46_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce9550030ca777340612f399c68e9cde.jpg","text":"TemporaryFile(/tmp/multipartBody5311727297187114081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085693470,"filename":"image_19042025_17_19_16_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351980056","file1":"1351980038","file0":"1351980030","file4":"1351980071","file5":"1351980104","file3":"1351980057"},"map_files_photo_id_array":[{"photo_id":"1351980104","filename":"file5"},{"photo_id":"1351980056","filename":"file2"},{"photo_id":"1351980071","filename":"file4"},{"photo_id":"1351980038","filename":"file1"},{"photo_id":"1351980030","filename":"file0"},{"photo_id":"1351980057","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351980104":["hashtag1","hashtag2"]},{"1351980057":["hashtag1","hashtag2"]},{"1351980030":["hashtag1","hashtag2"]},{"1351980056":["hashtag1","hashtag2"]},{"1351980071":["hashtag1","hashtag2"]},{"1351980038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351980104, 1351980057, 1351980030, 1351980056, 1351980071, 1351980038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.090362310409546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:01:32.270712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/19/image_19042025_17_20_06_10374.jpg', '/home/pi/Desktop/images/19042025/17/20/image_19042025_17_20_25_9369.jpg', '/home/pi/Desktop/images/19042025/17/20/image_19042025_17_20_36_10411.jpg', '/home/pi/Desktop/images/19042025/17/20/image_19042025_17_20_45_9400.jpg', '/home/pi/Desktop/images/19042025/17/20/image_19042025_17_20_56_10362.jpg', '/home/pi/Desktop/images/19042025/17/20/image_19042025_17_21_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/19/image_19042025_17_20_06_10374.jpg
/home/pi/Desktop/images/19042025/17/20/image_19042025_17_20_25_9369.jpg
/home/pi/Desktop/images/19042025/17/20/image_19042025_17_20_36_10411.jpg
/home/pi/Desktop/images/19042025/17/20/image_19042025_17_20_45_9400.jpg
/home/pi/Desktop/images/19042025/17/20/image_19042025_17_20_56_10362.jpg
/home/pi/Desktop/images/19042025/17/20/image_19042025_17_21_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351980499","1351980451","1351980352","1351980405","1351980596","1351980548"],"photo_ids_order":["1351980352","1351980405","1351980451","1351980499","1351980548","1351980596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6381fde96050f24d18822d99429650b4.jpg","text":"TemporaryFile(/tmp/multipartBody4930458988521976264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085752730,"filename":"image_19042025_17_20_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/19/ba9006f33b2010bea06feaab10a16bbe.jpg","text":"TemporaryFile(/tmp/multipartBody6694221182820881665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085752730,"filename":"image_19042025_17_20_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/19/e6d5c98678855f3e0ab33c4918c10882.jpg","text":"TemporaryFile(/tmp/multipartBody861945375796694930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085752730,"filename":"image_19042025_17_20_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c2abe00d2bace92e07654439c6dd578a.jpg","text":"TemporaryFile(/tmp/multipartBody7352549213798321941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085752730,"filename":"image_19042025_17_20_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/19/53efaab85b18b38bba73554804478ee3.jpg","text":"TemporaryFile(/tmp/multipartBody4132137034386921209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085752730,"filename":"image_19042025_17_21_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6d5b1daf4fa24b919c1d1912a3daf74e.jpg","text":"TemporaryFile(/tmp/multipartBody860493650136374579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085752730,"filename":"image_19042025_17_20_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351980451","file1":"1351980405","file0":"1351980352","file4":"1351980548","file5":"1351980596","file3":"1351980499"},"map_files_photo_id_array":[{"photo_id":"1351980596","filename":"file5"},{"photo_id":"1351980451","filename":"file2"},{"photo_id":"1351980548","filename":"file4"},{"photo_id":"1351980405","filename":"file1"},{"photo_id":"1351980352","filename":"file0"},{"photo_id":"1351980499","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351980499":["hashtag1","hashtag2"]},{"1351980451":["hashtag1","hashtag2"]},{"1351980352":["hashtag1","hashtag2"]},{"1351980405":["hashtag1","hashtag2"]},{"1351980596":["hashtag1","hashtag2"]},{"1351980548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351980499, 1351980451, 1351980352, 1351980405, 1351980596, 1351980548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.147015810012817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:02:32.634206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_15_9358.jpg', '/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_26_10409.jpg', '/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_36_10357.jpg', '/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_46_9477.jpg', '/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_56_10385.jpg', '/home/pi/Desktop/images/19042025/17/21/image_19042025_17_22_05_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_15_9358.jpg
/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_26_10409.jpg
/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_36_10357.jpg
/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_46_9477.jpg
/home/pi/Desktop/images/19042025/17/21/image_19042025_17_21_56_10385.jpg
/home/pi/Desktop/images/19042025/17/21/image_19042025_17_22_05_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351981441","1351981287","1351981128","1351981175","1351981337","1351981387"],"photo_ids_order":["1351981128","1351981175","1351981287","1351981337","1351981387","1351981441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da9be79cfd44e59671d2696f8d5315f0.jpg","text":"TemporaryFile(/tmp/multipartBody2876368825001672247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085813105,"filename":"image_19042025_17_22_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dc1270951661b80e6d5093fc3ca205e6.jpg","text":"TemporaryFile(/tmp/multipartBody5464370649861899405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085813105,"filename":"image_19042025_17_21_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/19/ed16988620ac18ed2f0e43077978d7da.jpg","text":"TemporaryFile(/tmp/multipartBody7788851506470044537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085813105,"filename":"image_19042025_17_21_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/19/dd77c8d579511aee4302c973cc81f851.jpg","text":"TemporaryFile(/tmp/multipartBody316611973316583815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085813105,"filename":"image_19042025_17_21_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/19/05d1fac07cab5264766ee675c618192d.jpg","text":"TemporaryFile(/tmp/multipartBody7278879711979098605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085813105,"filename":"image_19042025_17_21_46_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/19/89c5efb5c93909cda9425cd07fa467f6.jpg","text":"TemporaryFile(/tmp/multipartBody2800042082940093317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085813105,"filename":"image_19042025_17_21_56_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351981287","file1":"1351981175","file0":"1351981128","file4":"1351981387","file5":"1351981441","file3":"1351981337"},"map_files_photo_id_array":[{"photo_id":"1351981441","filename":"file5"},{"photo_id":"1351981287","filename":"file2"},{"photo_id":"1351981387","filename":"file4"},{"photo_id":"1351981175","filename":"file1"},{"photo_id":"1351981128","filename":"file0"},{"photo_id":"1351981337","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351981441":["hashtag1","hashtag2"]},{"1351981287":["hashtag1","hashtag2"]},{"1351981128":["hashtag1","hashtag2"]},{"1351981175":["hashtag1","hashtag2"]},{"1351981337":["hashtag1","hashtag2"]},{"1351981387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351981441, 1351981287, 1351981128, 1351981175, 1351981337, 1351981387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.566529512405396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:03:32.779289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_16_10365.jpg', '/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_26_10422.jpg', '/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_35_9378.jpg', '/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_46_10412.jpg', '/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_55_9352.jpg', '/home/pi/Desktop/images/19042025/17/22/image_19042025_17_23_06_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_16_10365.jpg
/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_26_10422.jpg
/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_35_9378.jpg
/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_46_10412.jpg
/home/pi/Desktop/images/19042025/17/22/image_19042025_17_22_55_9352.jpg
/home/pi/Desktop/images/19042025/17/22/image_19042025_17_23_06_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":["1351981927","1351981872","1351981980","1351982028","1351982095","1351982143"],"photo_ids_order":["1351981872","1351981927","1351981980","1351982028","1351982095","1351982143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/263d6c71bd705dd0f64d8d5143e02210.jpg","text":"TemporaryFile(/tmp/multipartBody4034418366888814887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085873249,"filename":"image_19042025_17_22_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dafc226289ea5469fe29e10a5b1e8493.jpg","text":"TemporaryFile(/tmp/multipartBody5297479687801678817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085873249,"filename":"image_19042025_17_22_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/19/c86d38893f2eefaa2525acaf9d437d5f.jpg","text":"TemporaryFile(/tmp/multipartBody414681638382545192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085873249,"filename":"image_19042025_17_22_35_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3659b110cbbfc1d3c16ee643df1c5a23.jpg","text":"TemporaryFile(/tmp/multipartBody2488004654957042148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085873249,"filename":"image_19042025_17_22_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/19/96bf037eb1d1f51f3b9193294d5d1ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7548842254342794812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085873249,"filename":"image_19042025_17_22_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/19/6ee6a4cb902eee2705f5674d68dc8ab3.jpg","text":"TemporaryFile(/tmp/multipartBody5629911213976878955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085873249,"filename":"image_19042025_17_23_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351981980","file1":"1351981927","file0":"1351981872","file4":"1351982095","file5":"1351982143","file3":"1351982028"},"map_files_photo_id_array":[{"photo_id":"1351982143","filename":"file5"},{"photo_id":"1351981980","filename":"file2"},{"photo_id":"1351982095","filename":"file4"},{"photo_id":"1351981927","filename":"file1"},{"photo_id":"1351981872","filename":"file0"},{"photo_id":"1351982028","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351981927":["hashtag1","hashtag2"]},{"1351981872":["hashtag1","hashtag2"]},{"1351981980":["hashtag1","hashtag2"]},{"1351982028":["hashtag1","hashtag2"]},{"1351982095":["hashtag1","hashtag2"]},{"1351982143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351981927, 1351981872, 1351981980, 1351982028, 1351982095, 1351982143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.793477058410645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:04:32.968575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/23/image_19042025_17_23_16_10443.jpg', '/home/pi/Desktop/images/19042025/17/23/image_19042025_17_23_25_9366.jpg', '/home/pi/Desktop/images/19042025/17/23/image_19042025_17_23_45_9361.jpg', '/home/pi/Desktop/images/19042025/17/23/image_19042025_17_23_56_10439.jpg', '/home/pi/Desktop/images/19042025/17/23/image_19042025_17_24_06_10426.jpg', '/home/pi/Desktop/images/19042025/17/24/image_19042025_17_24_26_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/23/image_19042025_17_23_16_10443.jpg
/home/pi/Desktop/images/19042025/17/23/image_19042025_17_23_25_9366.jpg
/home/pi/Desktop/images/19042025/17/23/image_19042025_17_23_45_9361.jpg
/home/pi/Desktop/images/19042025/17/23/image_19042025_17_23_56_10439.jpg
/home/pi/Desktop/images/19042025/17/23/image_19042025_17_24_06_10426.jpg
/home/pi/Desktop/images/19042025/17/24/image_19042025_17_24_26_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351982670","1351982622","1351982832","1351982882","1351982720","1351982776"],"photo_ids_order":["1351982622","1351982670","1351982720","1351982776","1351982832","1351982882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cebb035abc33fdd44c26fee1f00fc25b.jpg","text":"TemporaryFile(/tmp/multipartBody5812278065075936849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085933428,"filename":"image_19042025_17_23_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/19/3a696717041d54bad9f8e7b84ecb92f2.jpg","text":"TemporaryFile(/tmp/multipartBody874306032301201223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085933428,"filename":"image_19042025_17_23_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/19/c874ad865e21ba6e5f242957efc27b12.jpg","text":"TemporaryFile(/tmp/multipartBody1579700323963949024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085933428,"filename":"image_19042025_17_24_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/19/f362595de22ed07b6bde88628b17756f.jpg","text":"TemporaryFile(/tmp/multipartBody1392069037259813221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085933428,"filename":"image_19042025_17_24_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/90d0cfabe3707223bf0f8762ff820a09.jpg","text":"TemporaryFile(/tmp/multipartBody7956436749654608465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085933428,"filename":"image_19042025_17_23_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/19/2011323376cab1fcbc1b7fc449fbe95c.jpg","text":"TemporaryFile(/tmp/multipartBody858041171920993615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085933428,"filename":"image_19042025_17_23_56_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351982720","file1":"1351982670","file0":"1351982622","file4":"1351982832","file5":"1351982882","file3":"1351982776"},"map_files_photo_id_array":[{"photo_id":"1351982882","filename":"file5"},{"photo_id":"1351982720","filename":"file2"},{"photo_id":"1351982832","filename":"file4"},{"photo_id":"1351982670","filename":"file1"},{"photo_id":"1351982622","filename":"file0"},{"photo_id":"1351982776","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351982670":["hashtag1","hashtag2"]},{"1351982622":["hashtag1","hashtag2"]},{"1351982832":["hashtag1","hashtag2"]},{"1351982882":["hashtag1","hashtag2"]},{"1351982720":["hashtag1","hashtag2"]},{"1351982776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351982670, 1351982622, 1351982832, 1351982882, 1351982720, 1351982776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.237372875213623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:05:32.206728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/24/image_19042025_17_24_35_9346.jpg', '/home/pi/Desktop/images/19042025/17/24/image_19042025_17_24_46_10376.jpg', '/home/pi/Desktop/images/19042025/17/24/image_19042025_17_24_56_10460.jpg', '/home/pi/Desktop/images/19042025/17/24/image_19042025_17_25_05_9370.jpg', '/home/pi/Desktop/images/19042025/17/25/image_19042025_17_25_26_10376.jpg', '/home/pi/Desktop/images/19042025/17/25/image_19042025_17_25_35_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/24/image_19042025_17_24_35_9346.jpg
/home/pi/Desktop/images/19042025/17/24/image_19042025_17_24_46_10376.jpg
/home/pi/Desktop/images/19042025/17/24/image_19042025_17_24_56_10460.jpg
/home/pi/Desktop/images/19042025/17/24/image_19042025_17_25_05_9370.jpg
/home/pi/Desktop/images/19042025/17/25/image_19042025_17_25_26_10376.jpg
/home/pi/Desktop/images/19042025/17/25/image_19042025_17_25_35_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351983228","1351983232","1351983226","1351983229","1351983220","1351983223"],"photo_ids_order":["1351983220","1351983223","1351983226","1351983228","1351983229","1351983232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00444216cfae9ab277cabfb027efc523.jpg","text":"TemporaryFile(/tmp/multipartBody4160573513551755537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085992675,"filename":"image_19042025_17_25_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/19/347c916f6ac6b9d3467d7b508945dae6.jpg","text":"TemporaryFile(/tmp/multipartBody4695648536905710291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085992675,"filename":"image_19042025_17_25_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/19/1440770d983e89c7c9ca67c29559f295.jpg","text":"TemporaryFile(/tmp/multipartBody8461475162888545171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085992675,"filename":"image_19042025_17_24_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/19/705bd74971418da7e45e17adee548278.jpg","text":"TemporaryFile(/tmp/multipartBody5864182987633781202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085992675,"filename":"image_19042025_17_25_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/19/369124e07b9577e3d4ad965b165b2380.jpg","text":"TemporaryFile(/tmp/multipartBody1610565786619027630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085992675,"filename":"image_19042025_17_24_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/19/6e1b28c387ff1cb6c1cbbd456834b44d.jpg","text":"TemporaryFile(/tmp/multipartBody6850398926056692161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745085992675,"filename":"image_19042025_17_24_46_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351983226","file1":"1351983223","file0":"1351983220","file4":"1351983229","file5":"1351983232","file3":"1351983228"},"map_files_photo_id_array":[{"photo_id":"1351983232","filename":"file5"},{"photo_id":"1351983226","filename":"file2"},{"photo_id":"1351983229","filename":"file4"},{"photo_id":"1351983223","filename":"file1"},{"photo_id":"1351983220","filename":"file0"},{"photo_id":"1351983228","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351983228":["hashtag1","hashtag2"]},{"1351983232":["hashtag1","hashtag2"]},{"1351983226":["hashtag1","hashtag2"]},{"1351983229":["hashtag1","hashtag2"]},{"1351983220":["hashtag1","hashtag2"]},{"1351983223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351983228, 1351983232, 1351983226, 1351983229, 1351983220, 1351983223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.879506587982178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:06:32.577178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/25/image_19042025_17_25_46_10488.jpg', '/home/pi/Desktop/images/19042025/17/25/image_19042025_17_25_55_9364.jpg', '/home/pi/Desktop/images/19042025/17/25/image_19042025_17_26_06_10387.jpg', '/home/pi/Desktop/images/19042025/17/26/image_19042025_17_26_16_10408.jpg', '/home/pi/Desktop/images/19042025/17/26/image_19042025_17_26_25_9351.jpg', '/home/pi/Desktop/images/19042025/17/26/image_19042025_17_26_36_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/25/image_19042025_17_25_46_10488.jpg
/home/pi/Desktop/images/19042025/17/25/image_19042025_17_25_55_9364.jpg
/home/pi/Desktop/images/19042025/17/25/image_19042025_17_26_06_10387.jpg
/home/pi/Desktop/images/19042025/17/26/image_19042025_17_26_16_10408.jpg
/home/pi/Desktop/images/19042025/17/26/image_19042025_17_26_25_9351.jpg
/home/pi/Desktop/images/19042025/17/26/image_19042025_17_26_36_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351983368","1351983329","1351983425","1351983397","1351983451","1351983352"],"photo_ids_order":["1351983329","1351983352","1351983368","1351983397","1351983425","1351983451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/09ed3d65a457e4eafa2b9871c06c0038.jpg","text":"TemporaryFile(/tmp/multipartBody1586770614969734368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086053041,"filename":"image_19042025_17_26_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/19/5c9cfe912cdb46956be2b5050bf7f71f.jpg","text":"TemporaryFile(/tmp/multipartBody8865445141397519127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086053041,"filename":"image_19042025_17_25_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/19/f7ecda5275cb11cbbb412f3284961a39.jpg","text":"TemporaryFile(/tmp/multipartBody2796441184422433966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086053041,"filename":"image_19042025_17_26_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/713eafc6ea6201aabe6317d7c07ae083.jpg","text":"TemporaryFile(/tmp/multipartBody5454206945960364101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086053041,"filename":"image_19042025_17_26_16_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/22664315b69364390c71c0121bd5c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody4373453202789561438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086053041,"filename":"image_19042025_17_26_36_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5f4fca70f6e0e7c5bb387ed38df279d.jpg","text":"TemporaryFile(/tmp/multipartBody7069022977207861086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086053041,"filename":"image_19042025_17_25_55_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351983368","file1":"1351983352","file0":"1351983329","file4":"1351983425","file5":"1351983451","file3":"1351983397"},"map_files_photo_id_array":[{"photo_id":"1351983451","filename":"file5"},{"photo_id":"1351983368","filename":"file2"},{"photo_id":"1351983425","filename":"file4"},{"photo_id":"1351983352","filename":"file1"},{"photo_id":"1351983329","filename":"file0"},{"photo_id":"1351983397","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351983368":["hashtag1","hashtag2"]},{"1351983329":["hashtag1","hashtag2"]},{"1351983425":["hashtag1","hashtag2"]},{"1351983397":["hashtag1","hashtag2"]},{"1351983451":["hashtag1","hashtag2"]},{"1351983352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351983368, 1351983329, 1351983425, 1351983397, 1351983451, 1351983352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.012927532196045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:07:32.855688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_15_9359.jpg', '/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_26_10491.jpg', '/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_35_9338.jpg', '/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_46_10371.jpg', '/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_56_10445.jpg', '/home/pi/Desktop/images/19042025/17/27/image_19042025_17_28_06_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_15_9359.jpg
/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_26_10491.jpg
/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_35_9338.jpg
/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_46_10371.jpg
/home/pi/Desktop/images/19042025/17/27/image_19042025_17_27_56_10445.jpg
/home/pi/Desktop/images/19042025/17/27/image_19042025_17_28_06_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":["1351983753","1351983933","1351983720","1351983839","1351983897","1351983792"],"photo_ids_order":["1351983720","1351983753","1351983792","1351983839","1351983897","1351983933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dcb46f2cdabff8d7bc8a0db9ee8f29d0.jpg","text":"TemporaryFile(/tmp/multipartBody1220306382216094178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086113318,"filename":"image_19042025_17_27_26_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/19/442516bd6ea631094ba01f9868467c75.jpg","text":"TemporaryFile(/tmp/multipartBody4328244104556623021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086113318,"filename":"image_19042025_17_28_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/19/72850be768bb1e4f7b79a162f498abdc.jpg","text":"TemporaryFile(/tmp/multipartBody5303341965608203051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086113318,"filename":"image_19042025_17_27_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/19/29bf5bac5b27bf1ce24f09928e5ef7f9.jpg","text":"TemporaryFile(/tmp/multipartBody1670528610225663067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086113318,"filename":"image_19042025_17_27_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/19/ac412f6dc9b302a1de309bafdfc3e21f.jpg","text":"TemporaryFile(/tmp/multipartBody2846302556085587490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086113318,"filename":"image_19042025_17_27_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/19/a5dd382a96bf4825e466d940176a0ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1967804831568749297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086113318,"filename":"image_19042025_17_27_35_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351983792","file1":"1351983753","file0":"1351983720","file4":"1351983897","file5":"1351983933","file3":"1351983839"},"map_files_photo_id_array":[{"photo_id":"1351983933","filename":"file5"},{"photo_id":"1351983792","filename":"file2"},{"photo_id":"1351983897","filename":"file4"},{"photo_id":"1351983753","filename":"file1"},{"photo_id":"1351983720","filename":"file0"},{"photo_id":"1351983839","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351983753":["hashtag1","hashtag2"]},{"1351983933":["hashtag1","hashtag2"]},{"1351983720":["hashtag1","hashtag2"]},{"1351983839":["hashtag1","hashtag2"]},{"1351983897":["hashtag1","hashtag2"]},{"1351983792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351983753, 1351983933, 1351983720, 1351983839, 1351983897, 1351983792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.344937562942505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:08:33.156259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_16_10424.jpg', '/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_25_9473.jpg', '/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_36_10352.jpg', '/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_45_9458.jpg', '/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_56_10380.jpg', '/home/pi/Desktop/images/19042025/17/28/image_19042025_17_29_06_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_16_10424.jpg
/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_25_9473.jpg
/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_36_10352.jpg
/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_45_9458.jpg
/home/pi/Desktop/images/19042025/17/28/image_19042025_17_28_56_10380.jpg
/home/pi/Desktop/images/19042025/17/28/image_19042025_17_29_06_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351984421","1351984418","1351984393","1351984366","1351984339","1351984299"],"photo_ids_order":["1351984299","1351984339","1351984366","1351984393","1351984418","1351984421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ce85ae60ed4d3f66abc8e3e997d19609.jpg","text":"TemporaryFile(/tmp/multipartBody7954358233445050803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086173630,"filename":"image_19042025_17_29_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/19/43f224c3e47b76a0fc4ebff23845c034.jpg","text":"TemporaryFile(/tmp/multipartBody5643359253034642904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086173630,"filename":"image_19042025_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/19/a23095bb87308b7ec1df3aa7e225c463.jpg","text":"TemporaryFile(/tmp/multipartBody4536196566991147576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086173630,"filename":"image_19042025_17_28_45_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b6c321220dd2dabf2f329cf4cd4324e1.jpg","text":"TemporaryFile(/tmp/multipartBody3958891651402150826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086173630,"filename":"image_19042025_17_28_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/19/dd56688469054dc564ecf8c72327ff4b.jpg","text":"TemporaryFile(/tmp/multipartBody3235479850886538053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086173630,"filename":"image_19042025_17_28_25_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/19/22f28f5719160e546ba7e7510ae40640.jpg","text":"TemporaryFile(/tmp/multipartBody7691332905598076035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086173630,"filename":"image_19042025_17_28_16_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351984366","file1":"1351984339","file0":"1351984299","file4":"1351984418","file5":"1351984421","file3":"1351984393"},"map_files_photo_id_array":[{"photo_id":"1351984421","filename":"file5"},{"photo_id":"1351984366","filename":"file2"},{"photo_id":"1351984418","filename":"file4"},{"photo_id":"1351984339","filename":"file1"},{"photo_id":"1351984299","filename":"file0"},{"photo_id":"1351984393","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351984421":["hashtag1","hashtag2"]},{"1351984418":["hashtag1","hashtag2"]},{"1351984393":["hashtag1","hashtag2"]},{"1351984366":["hashtag1","hashtag2"]},{"1351984339":["hashtag1","hashtag2"]},{"1351984299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351984421, 1351984418, 1351984393, 1351984366, 1351984339, 1351984299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83995699882507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:09:32.393109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_15_9346.jpg', '/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_35_9432.jpg', '/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_46_10439.jpg', '/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_56_10486.jpg', '/home/pi/Desktop/images/19042025/17/29/image_19042025_17_30_05_9346.jpg', '/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_16_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_15_9346.jpg
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_35_9432.jpg
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_46_10439.jpg
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_56_10486.jpg
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_30_05_9346.jpg
/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_16_10478.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38744473457336426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 20:09:42.303925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_15_9346.jpg', '/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_35_9432.jpg', '/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_46_10439.jpg', '/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_56_10486.jpg', '/home/pi/Desktop/images/19042025/17/29/image_19042025_17_30_05_9346.jpg', '/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_16_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_15_9346.jpg
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_35_9432.jpg
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_46_10439.jpg
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_29_56_10486.jpg
/home/pi/Desktop/images/19042025/17/29/image_19042025_17_30_05_9346.jpg
/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_16_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351984589","1351984573","1351984576","1351984575","1351984569","1351984560"],"photo_ids_order":["1351984560","1351984569","1351984573","1351984575","1351984576","1351984589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/49d0d628d98dc408773679cf419d308c.jpg","text":"TemporaryFile(/tmp/multipartBody7103863320376605681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086242764,"filename":"image_19042025_17_30_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/19/0169d1392780bf21f51523197551c64d.jpg","text":"TemporaryFile(/tmp/multipartBody8195933274032454450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086242764,"filename":"image_19042025_17_29_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/19/eda1d0c1e7b0277584a397ea295cfb11.jpg","text":"TemporaryFile(/tmp/multipartBody268985738073121913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086242764,"filename":"image_19042025_17_30_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/19/2638707870cfc3715e0038fcc2b5f65e.jpg","text":"TemporaryFile(/tmp/multipartBody5187587325833457338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086242764,"filename":"image_19042025_17_29_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/19/348732c105fa526b7e189f1906610d08.jpg","text":"TemporaryFile(/tmp/multipartBody1557271990741177539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086242764,"filename":"image_19042025_17_29_35_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/58f96e03cb36f52bab1281a56ee41c82.jpg","text":"TemporaryFile(/tmp/multipartBody3355445858652936962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086242764,"filename":"image_19042025_17_29_15_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351984573","file1":"1351984569","file0":"1351984560","file4":"1351984576","file5":"1351984589","file3":"1351984575"},"map_files_photo_id_array":[{"photo_id":"1351984589","filename":"file5"},{"photo_id":"1351984573","filename":"file2"},{"photo_id":"1351984576","filename":"file4"},{"photo_id":"1351984569","filename":"file1"},{"photo_id":"1351984560","filename":"file0"},{"photo_id":"1351984575","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351984589":["hashtag1","hashtag2"]},{"1351984573":["hashtag1","hashtag2"]},{"1351984576":["hashtag1","hashtag2"]},{"1351984575":["hashtag1","hashtag2"]},{"1351984569":["hashtag1","hashtag2"]},{"1351984560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351984589, 1351984573, 1351984576, 1351984575, 1351984569, 1351984560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64081954956055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:10:32.471592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_25_9379.jpg', '/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_36_10371.jpg', '/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_46_10443.jpg', '/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_55_9364.jpg', '/home/pi/Desktop/images/19042025/17/30/image_19042025_17_31_06_10399.jpg', '/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_15_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_25_9379.jpg
/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_36_10371.jpg
/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_46_10443.jpg
/home/pi/Desktop/images/19042025/17/30/image_19042025_17_30_55_9364.jpg
/home/pi/Desktop/images/19042025/17/30/image_19042025_17_31_06_10399.jpg
/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_15_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":["1351984610","1351984601","1351984603","1351984612","1351984606","1351984598"],"photo_ids_order":["1351984598","1351984601","1351984603","1351984606","1351984610","1351984612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4aff44ec75c677a137b08b6118a249a8.jpg","text":"TemporaryFile(/tmp/multipartBody8399011117551770179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086292949,"filename":"image_19042025_17_31_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/19/13349c18a432ac1944f92db09496f3b7.jpg","text":"TemporaryFile(/tmp/multipartBody1930108556749039441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086292949,"filename":"image_19042025_17_30_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/19/a6cb8776ef21eb0b7e97719d3d6409b9.jpg","text":"TemporaryFile(/tmp/multipartBody6577125998394531871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086292949,"filename":"image_19042025_17_30_46_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91e85dc4a9cc31983cb3535cb574f3cc.jpg","text":"TemporaryFile(/tmp/multipartBody5051656748929962325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086292949,"filename":"image_19042025_17_31_15_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/36dc3020d4e9f53c170543c19ed76662.jpg","text":"TemporaryFile(/tmp/multipartBody8062912419822852472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086292949,"filename":"image_19042025_17_30_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/19/62833b54c44b5f4439f0158b7cbd0147.jpg","text":"TemporaryFile(/tmp/multipartBody3131533486085739769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086292949,"filename":"image_19042025_17_30_25_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351984603","file1":"1351984601","file0":"1351984598","file4":"1351984610","file5":"1351984612","file3":"1351984606"},"map_files_photo_id_array":[{"photo_id":"1351984612","filename":"file5"},{"photo_id":"1351984603","filename":"file2"},{"photo_id":"1351984610","filename":"file4"},{"photo_id":"1351984601","filename":"file1"},{"photo_id":"1351984598","filename":"file0"},{"photo_id":"1351984606","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351984610":["hashtag1","hashtag2"]},{"1351984601":["hashtag1","hashtag2"]},{"1351984603":["hashtag1","hashtag2"]},{"1351984612":["hashtag1","hashtag2"]},{"1351984606":["hashtag1","hashtag2"]},{"1351984598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351984610, 1351984601, 1351984603, 1351984612, 1351984606, 1351984598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76467180252075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:11:32.710883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_26_10374.jpg', '/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_36_10407.jpg', '/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_45_9347.jpg', '/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_56_10471.jpg', '/home/pi/Desktop/images/19042025/17/31/image_19042025_17_32_05_9363.jpg', '/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_16_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_26_10374.jpg
/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_36_10407.jpg
/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_45_9347.jpg
/home/pi/Desktop/images/19042025/17/31/image_19042025_17_31_56_10471.jpg
/home/pi/Desktop/images/19042025/17/31/image_19042025_17_32_05_9363.jpg
/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_16_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351984868","1351984922","1351984844","1351984817","1351984894","1351984948"],"photo_ids_order":["1351984817","1351984844","1351984868","1351984894","1351984922","1351984948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f1a55fe009e84e7c86a247511b1a5ba8.jpg","text":"TemporaryFile(/tmp/multipartBody8040231785576525264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086353170,"filename":"image_19042025_17_31_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/19/c9779f197872d73aeb58fb20b06285c0.jpg","text":"TemporaryFile(/tmp/multipartBody7022566758191380782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086353170,"filename":"image_19042025_17_32_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b9c45d43611de7bfd8e046a9e79510cc.jpg","text":"TemporaryFile(/tmp/multipartBody3252280371622215327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086353170,"filename":"image_19042025_17_31_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/19/b5baac4bf95143b982d3eaa8ff505f53.jpg","text":"TemporaryFile(/tmp/multipartBody3679711574374829119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086353170,"filename":"image_19042025_17_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/19/9f861f9e8b9b6bfaab7eb6657cdfff3c.jpg","text":"TemporaryFile(/tmp/multipartBody8865527369358517874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086353170,"filename":"image_19042025_17_31_56_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3d9cb9614de11ff8626e042ee1a3d17.jpg","text":"TemporaryFile(/tmp/multipartBody4397596577663701694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086353170,"filename":"image_19042025_17_32_16_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351984868","file1":"1351984844","file0":"1351984817","file4":"1351984922","file5":"1351984948","file3":"1351984894"},"map_files_photo_id_array":[{"photo_id":"1351984948","filename":"file5"},{"photo_id":"1351984868","filename":"file2"},{"photo_id":"1351984922","filename":"file4"},{"photo_id":"1351984844","filename":"file1"},{"photo_id":"1351984817","filename":"file0"},{"photo_id":"1351984894","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351984868":["hashtag1","hashtag2"]},{"1351984922":["hashtag1","hashtag2"]},{"1351984844":["hashtag1","hashtag2"]},{"1351984817":["hashtag1","hashtag2"]},{"1351984894":["hashtag1","hashtag2"]},{"1351984948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351984868, 1351984922, 1351984844, 1351984817, 1351984894, 1351984948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.569075345993042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:12:33.018612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_26_10446.jpg', '/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_35_9430.jpg', '/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_46_10449.jpg', '/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_55_9380.jpg', '/home/pi/Desktop/images/19042025/17/32/image_19042025_17_33_06_10352.jpg', '/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_16_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_26_10446.jpg
/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_35_9430.jpg
/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_46_10449.jpg
/home/pi/Desktop/images/19042025/17/32/image_19042025_17_32_55_9380.jpg
/home/pi/Desktop/images/19042025/17/32/image_19042025_17_33_06_10352.jpg
/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_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":["1351985042","1351985036","1351985044","1351985038","1351985040","1351985034"],"photo_ids_order":["1351985034","1351985036","1351985038","1351985040","1351985042","1351985044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64a588af2e05139970bd711b7a41ef5a.jpg","text":"TemporaryFile(/tmp/multipartBody1170108954730903709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086413479,"filename":"image_19042025_17_33_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/19/c636cc52027c1b0a9828fee27eff3207.jpg","text":"TemporaryFile(/tmp/multipartBody3381719768632799422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086413479,"filename":"image_19042025_17_32_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/07c29643453991d07a917a94bd7bf8da.jpg","text":"TemporaryFile(/tmp/multipartBody7345781813156019854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086413479,"filename":"image_19042025_17_33_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/19/4eeebe534cfde5eab9a03b38f2f31b88.jpg","text":"TemporaryFile(/tmp/multipartBody8837153877632620572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086413479,"filename":"image_19042025_17_32_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/19/686bf17cbfc01bf1b8b4e0922253cf92.jpg","text":"TemporaryFile(/tmp/multipartBody4296313827809632896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086413479,"filename":"image_19042025_17_32_55_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c45c05f4390b2179b134d9d0f2caa65f.jpg","text":"TemporaryFile(/tmp/multipartBody1593559037629982935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086413479,"filename":"image_19042025_17_32_26_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985038","file1":"1351985036","file0":"1351985034","file4":"1351985042","file5":"1351985044","file3":"1351985040"},"map_files_photo_id_array":[{"photo_id":"1351985044","filename":"file5"},{"photo_id":"1351985038","filename":"file2"},{"photo_id":"1351985042","filename":"file4"},{"photo_id":"1351985036","filename":"file1"},{"photo_id":"1351985034","filename":"file0"},{"photo_id":"1351985040","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985042":["hashtag1","hashtag2"]},{"1351985036":["hashtag1","hashtag2"]},{"1351985044":["hashtag1","hashtag2"]},{"1351985038":["hashtag1","hashtag2"]},{"1351985040":["hashtag1","hashtag2"]},{"1351985034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985042, 1351985036, 1351985044, 1351985038, 1351985040, 1351985034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.406815767288208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:13:33.225405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_26_9440.jpg', '/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_36_10358.jpg', '/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_45_9363.jpg', '/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_56_10362.jpg', '/home/pi/Desktop/images/19042025/17/33/image_19042025_17_34_06_10363.jpg', '/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_15_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_26_9440.jpg
/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_36_10358.jpg
/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_45_9363.jpg
/home/pi/Desktop/images/19042025/17/33/image_19042025_17_33_56_10362.jpg
/home/pi/Desktop/images/19042025/17/33/image_19042025_17_34_06_10363.jpg
/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_15_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351985066","1351985060","1351985062","1351985064","1351985067","1351985057"],"photo_ids_order":["1351985057","1351985060","1351985062","1351985064","1351985066","1351985067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1d065f4248bcc36853e8098fb088e912.jpg","text":"TemporaryFile(/tmp/multipartBody45411105453838780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086473707,"filename":"image_19042025_17_34_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/19/a925ad06ead74ea2731fd9ea4c94bad4.jpg","text":"TemporaryFile(/tmp/multipartBody882238219990169105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086473707,"filename":"image_19042025_17_33_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/870ea983ca62c6479793726b263b74c7.jpg","text":"TemporaryFile(/tmp/multipartBody5797274622960607001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086473707,"filename":"image_19042025_17_33_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/19/d8c1c7c83fe9d50fe9db9e8297f01271.jpg","text":"TemporaryFile(/tmp/multipartBody2229123478774292318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086473707,"filename":"image_19042025_17_33_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/19/f9d535f8eefceaf7107561666108e86a.jpg","text":"TemporaryFile(/tmp/multipartBody2047765832284529671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086473707,"filename":"image_19042025_17_34_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/770cc9cf75508c4c23bb1a24637eee8b.jpg","text":"TemporaryFile(/tmp/multipartBody1483623028912118484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086473707,"filename":"image_19042025_17_33_26_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985062","file1":"1351985060","file0":"1351985057","file4":"1351985066","file5":"1351985067","file3":"1351985064"},"map_files_photo_id_array":[{"photo_id":"1351985067","filename":"file5"},{"photo_id":"1351985062","filename":"file2"},{"photo_id":"1351985066","filename":"file4"},{"photo_id":"1351985060","filename":"file1"},{"photo_id":"1351985057","filename":"file0"},{"photo_id":"1351985064","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985066":["hashtag1","hashtag2"]},{"1351985060":["hashtag1","hashtag2"]},{"1351985062":["hashtag1","hashtag2"]},{"1351985064":["hashtag1","hashtag2"]},{"1351985067":["hashtag1","hashtag2"]},{"1351985057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985066, 1351985060, 1351985062, 1351985064, 1351985067, 1351985057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.968823432922363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:14:32.401986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_26_10384.jpg', '/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_35_9458.jpg', '/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_46_10380.jpg', '/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_56_10430.jpg', '/home/pi/Desktop/images/19042025/17/34/image_19042025_17_35_05_9421.jpg', '/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_16_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_26_10384.jpg
/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_35_9458.jpg
/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_46_10380.jpg
/home/pi/Desktop/images/19042025/17/34/image_19042025_17_34_56_10430.jpg
/home/pi/Desktop/images/19042025/17/34/image_19042025_17_35_05_9421.jpg
/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_16_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351985092","1351985086","1351985089","1351985094","1351985081","1351985084"],"photo_ids_order":["1351985081","1351985084","1351985086","1351985089","1351985092","1351985094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dbb5cc60a43774a5643238ce9f53ae03.jpg","text":"TemporaryFile(/tmp/multipartBody9178746859823713635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086532889,"filename":"image_19042025_17_35_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5fc3ffe94789430872ddde9c41f8775b.jpg","text":"TemporaryFile(/tmp/multipartBody2029551444377039495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086532889,"filename":"image_19042025_17_34_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/19/4ae3910e2de8d72aa5c12bb69c81f4e3.jpg","text":"TemporaryFile(/tmp/multipartBody6972956047561169894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086532889,"filename":"image_19042025_17_34_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/19/30335bb35615603f42a507a8cc71f571.jpg","text":"TemporaryFile(/tmp/multipartBody5332065461486419419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086532889,"filename":"image_19042025_17_35_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/19/8ff81ae3f49ff96eeb1bad6ff948c062.jpg","text":"TemporaryFile(/tmp/multipartBody6205905894405325576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086532889,"filename":"image_19042025_17_34_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/166cc6ae1e280fbb930eb9470b37f396.jpg","text":"TemporaryFile(/tmp/multipartBody4530059216312262667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086532889,"filename":"image_19042025_17_34_35_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985086","file1":"1351985084","file0":"1351985081","file4":"1351985092","file5":"1351985094","file3":"1351985089"},"map_files_photo_id_array":[{"photo_id":"1351985094","filename":"file5"},{"photo_id":"1351985086","filename":"file2"},{"photo_id":"1351985092","filename":"file4"},{"photo_id":"1351985084","filename":"file1"},{"photo_id":"1351985081","filename":"file0"},{"photo_id":"1351985089","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985092":["hashtag1","hashtag2"]},{"1351985086":["hashtag1","hashtag2"]},{"1351985089":["hashtag1","hashtag2"]},{"1351985094":["hashtag1","hashtag2"]},{"1351985081":["hashtag1","hashtag2"]},{"1351985084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985092, 1351985086, 1351985089, 1351985094, 1351985081, 1351985084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.94205904006958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:15:32.657934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_25_9366.jpg', '/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_36_10359.jpg', '/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_46_10441.jpg', '/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_55_9370.jpg', '/home/pi/Desktop/images/19042025/17/35/image_19042025_17_36_06_10459.jpg', '/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_15_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_25_9366.jpg
/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_36_10359.jpg
/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_46_10441.jpg
/home/pi/Desktop/images/19042025/17/35/image_19042025_17_35_55_9370.jpg
/home/pi/Desktop/images/19042025/17/35/image_19042025_17_36_06_10459.jpg
/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_15_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":["1351985108","1351985110","1351985104","1351985113","1351985115","1351985106"],"photo_ids_order":["1351985104","1351985106","1351985108","1351985110","1351985113","1351985115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2315b56ad81f5779160f244d9d12b60.jpg","text":"TemporaryFile(/tmp/multipartBody7638022251697757089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086593130,"filename":"image_19042025_17_35_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/19/0d199acf6aeb6400fa2f808f4fc70f00.jpg","text":"TemporaryFile(/tmp/multipartBody5385512083234040982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086593130,"filename":"image_19042025_17_35_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/19/bb85ac7e854977653602756e91e75d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8345194562931949503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086593130,"filename":"image_19042025_17_35_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/19/9ad2819bc1acd0b59a61d5042f162cab.jpg","text":"TemporaryFile(/tmp/multipartBody4632069492017003543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086593130,"filename":"image_19042025_17_36_06_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4267757ee18671b999e1631956f29da9.jpg","text":"TemporaryFile(/tmp/multipartBody2372754363301936985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086593130,"filename":"image_19042025_17_36_15_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c843348f8de23dc55cc4056520537a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7070390238169612404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086593130,"filename":"image_19042025_17_35_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985108","file1":"1351985106","file0":"1351985104","file4":"1351985113","file5":"1351985115","file3":"1351985110"},"map_files_photo_id_array":[{"photo_id":"1351985115","filename":"file5"},{"photo_id":"1351985108","filename":"file2"},{"photo_id":"1351985113","filename":"file4"},{"photo_id":"1351985106","filename":"file1"},{"photo_id":"1351985104","filename":"file0"},{"photo_id":"1351985110","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985108":["hashtag1","hashtag2"]},{"1351985110":["hashtag1","hashtag2"]},{"1351985104":["hashtag1","hashtag2"]},{"1351985113":["hashtag1","hashtag2"]},{"1351985115":["hashtag1","hashtag2"]},{"1351985106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985108, 1351985110, 1351985104, 1351985113, 1351985115, 1351985106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.091107845306396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:16:32.887363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_26_10372.jpg', '/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_36_10403.jpg', '/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_46_9442.jpg', '/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_56_10512.jpg', '/home/pi/Desktop/images/19042025/17/36/image_19042025_17_37_05_9418.jpg', '/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_16_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_26_10372.jpg
/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_36_10403.jpg
/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_46_9442.jpg
/home/pi/Desktop/images/19042025/17/36/image_19042025_17_36_56_10512.jpg
/home/pi/Desktop/images/19042025/17/36/image_19042025_17_37_05_9418.jpg
/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_16_10553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351985138","1351985135","1351985131","1351985128","1351985133","1351985136"],"photo_ids_order":["1351985128","1351985131","1351985133","1351985135","1351985136","1351985138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4083e964b4bd4f6523f83b8c4de32dcc.jpg","text":"TemporaryFile(/tmp/multipartBody7027121100916423950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086653354,"filename":"image_19042025_17_37_16_10553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/feafa8637d67f218a32c4f9234c19d5c.jpg","text":"TemporaryFile(/tmp/multipartBody222450545390390381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086653354,"filename":"image_19042025_17_36_56_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/19/e716aadc95ac24465cb3b8afe9a140af.jpg","text":"TemporaryFile(/tmp/multipartBody168973943642259354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086653354,"filename":"image_19042025_17_36_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/19/e593c7c75318fdb7d200701a77a115c8.jpg","text":"TemporaryFile(/tmp/multipartBody130305828423340870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086653354,"filename":"image_19042025_17_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/19/4c778c818846fe8aaf266056ec681101.jpg","text":"TemporaryFile(/tmp/multipartBody5987513638034266485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086653354,"filename":"image_19042025_17_36_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/603dd1bd80b96b3581ed106494130b26.jpg","text":"TemporaryFile(/tmp/multipartBody8444998804179815248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086653354,"filename":"image_19042025_17_37_05_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985133","file1":"1351985131","file0":"1351985128","file4":"1351985136","file5":"1351985138","file3":"1351985135"},"map_files_photo_id_array":[{"photo_id":"1351985138","filename":"file5"},{"photo_id":"1351985133","filename":"file2"},{"photo_id":"1351985136","filename":"file4"},{"photo_id":"1351985131","filename":"file1"},{"photo_id":"1351985128","filename":"file0"},{"photo_id":"1351985135","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985138":["hashtag1","hashtag2"]},{"1351985135":["hashtag1","hashtag2"]},{"1351985131":["hashtag1","hashtag2"]},{"1351985128":["hashtag1","hashtag2"]},{"1351985133":["hashtag1","hashtag2"]},{"1351985136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985138, 1351985135, 1351985131, 1351985128, 1351985133, 1351985136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.76318049430847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:17:33.097182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_25_9370.jpg', '/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_36_10380.jpg', '/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_45_9415.jpg', '/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_56_10408.jpg', '/home/pi/Desktop/images/19042025/17/37/image_19042025_17_38_06_10456.jpg', '/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_15_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_25_9370.jpg
/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_36_10380.jpg
/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_45_9415.jpg
/home/pi/Desktop/images/19042025/17/37/image_19042025_17_37_56_10408.jpg
/home/pi/Desktop/images/19042025/17/37/image_19042025_17_38_06_10456.jpg
/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_15_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351985279","1351985272","1351985200","1351985285","1351985205","1351985282"],"photo_ids_order":["1351985200","1351985205","1351985272","1351985279","1351985282","1351985285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6b3ef958c7fe94aa6f87de8d0e0764a8.jpg","text":"TemporaryFile(/tmp/multipartBody1714474472236147331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086713576,"filename":"image_19042025_17_37_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f10000545d15b4807d1fe826728c2cce.jpg","text":"TemporaryFile(/tmp/multipartBody2449432002904764692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086713576,"filename":"image_19042025_17_37_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/19/86ce534ad16024d21bd68edf56726370.jpg","text":"TemporaryFile(/tmp/multipartBody4405733005052692629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086713576,"filename":"image_19042025_17_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/19/81226980c9b91127aef618d2b0c1fefa.jpg","text":"TemporaryFile(/tmp/multipartBody8193194688908728682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086713576,"filename":"image_19042025_17_38_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/19/4068035584919d98283dd490523aee74.jpg","text":"TemporaryFile(/tmp/multipartBody3691263908778133849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086713576,"filename":"image_19042025_17_37_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/19/6ccf06241fc227784265fcd4e6ffc666.jpg","text":"TemporaryFile(/tmp/multipartBody5981732140458624383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086713576,"filename":"image_19042025_17_38_06_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985272","file1":"1351985205","file0":"1351985200","file4":"1351985282","file5":"1351985285","file3":"1351985279"},"map_files_photo_id_array":[{"photo_id":"1351985285","filename":"file5"},{"photo_id":"1351985272","filename":"file2"},{"photo_id":"1351985282","filename":"file4"},{"photo_id":"1351985205","filename":"file1"},{"photo_id":"1351985200","filename":"file0"},{"photo_id":"1351985279","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985279":["hashtag1","hashtag2"]},{"1351985272":["hashtag1","hashtag2"]},{"1351985200":["hashtag1","hashtag2"]},{"1351985285":["hashtag1","hashtag2"]},{"1351985205":["hashtag1","hashtag2"]},{"1351985282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985279, 1351985272, 1351985200, 1351985285, 1351985205, 1351985282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12243938446045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:18:32.247510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_26_10386.jpg', '/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_36_10398.jpg', '/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_46_9362.jpg', '/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_56_10453.jpg', '/home/pi/Desktop/images/19042025/17/38/image_19042025_17_39_05_9350.jpg', '/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_26_10386.jpg
/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_36_10398.jpg
/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_46_9362.jpg
/home/pi/Desktop/images/19042025/17/38/image_19042025_17_38_56_10453.jpg
/home/pi/Desktop/images/19042025/17/38/image_19042025_17_39_05_9350.jpg
/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_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":["1351985450","1351985411","1351985391","1351985430","1351985453","1351985447"],"photo_ids_order":["1351985391","1351985411","1351985430","1351985447","1351985450","1351985453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/33735341f988b1b6932f1834da46a6be.jpg","text":"TemporaryFile(/tmp/multipartBody4879668558559391271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086772714,"filename":"image_19042025_17_39_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f3c1b188b0eab1a5001f6cf400b6b1a.jpg","text":"TemporaryFile(/tmp/multipartBody7794538545666547732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086772714,"filename":"image_19042025_17_38_36_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8797af15ce24743f10169f25554166a4.jpg","text":"TemporaryFile(/tmp/multipartBody4740601336960517293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086772714,"filename":"image_19042025_17_38_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/19/b48a9222c2d52344a1b8214b51e6ab44.jpg","text":"TemporaryFile(/tmp/multipartBody7923924215093117802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086772714,"filename":"image_19042025_17_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/19/af5f7f4fe0bd252e9f6e5483c688dce5.jpg","text":"TemporaryFile(/tmp/multipartBody473021005186146073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086772714,"filename":"image_19042025_17_39_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/877c85a63b2776829b5fae0de46da5a7.jpg","text":"TemporaryFile(/tmp/multipartBody3756842744193105688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086772714,"filename":"image_19042025_17_38_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985430","file1":"1351985411","file0":"1351985391","file4":"1351985450","file5":"1351985453","file3":"1351985447"},"map_files_photo_id_array":[{"photo_id":"1351985453","filename":"file5"},{"photo_id":"1351985430","filename":"file2"},{"photo_id":"1351985450","filename":"file4"},{"photo_id":"1351985411","filename":"file1"},{"photo_id":"1351985391","filename":"file0"},{"photo_id":"1351985447","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985450":["hashtag1","hashtag2"]},{"1351985411":["hashtag1","hashtag2"]},{"1351985391":["hashtag1","hashtag2"]},{"1351985430":["hashtag1","hashtag2"]},{"1351985453":["hashtag1","hashtag2"]},{"1351985447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985450, 1351985411, 1351985391, 1351985430, 1351985453, 1351985447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.622764348983765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:19:32.546584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_26_10466.jpg', '/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_36_9395.jpg', '/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_46_10399.jpg', '/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_55_9436.jpg', '/home/pi/Desktop/images/19042025/17/39/image_19042025_17_40_06_10368.jpg', '/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_16_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_26_10466.jpg
/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_36_9395.jpg
/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_46_10399.jpg
/home/pi/Desktop/images/19042025/17/39/image_19042025_17_39_55_9436.jpg
/home/pi/Desktop/images/19042025/17/39/image_19042025_17_40_06_10368.jpg
/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_16_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351985476","1351985464","1351985458","1351985473","1351985469","1351985460"],"photo_ids_order":["1351985458","1351985460","1351985464","1351985469","1351985473","1351985476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/780b31e77f41409304c179ee6fea447a.jpg","text":"TemporaryFile(/tmp/multipartBody2115200550041562220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086833007,"filename":"image_19042025_17_40_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad788600b104639bc3ac69f48bfaf697.jpg","text":"TemporaryFile(/tmp/multipartBody7682990010528217963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086833007,"filename":"image_19042025_17_39_46_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6e1d1c0dc3be43e89ad240bc94592114.jpg","text":"TemporaryFile(/tmp/multipartBody6152509259532308463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086833007,"filename":"image_19042025_17_39_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/19/8fdfb5d9acbb5becfaf346b8b66334c3.jpg","text":"TemporaryFile(/tmp/multipartBody6071887402167937082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086833007,"filename":"image_19042025_17_40_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/19/49db11826102cabcb3dbba5524cb2162.jpg","text":"TemporaryFile(/tmp/multipartBody6245125789816239694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086833007,"filename":"image_19042025_17_39_55_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c06c2f16945299e43a226056a1c00c3d.jpg","text":"TemporaryFile(/tmp/multipartBody2592035950702135637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086833007,"filename":"image_19042025_17_39_36_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985464","file1":"1351985460","file0":"1351985458","file4":"1351985473","file5":"1351985476","file3":"1351985469"},"map_files_photo_id_array":[{"photo_id":"1351985476","filename":"file5"},{"photo_id":"1351985464","filename":"file2"},{"photo_id":"1351985473","filename":"file4"},{"photo_id":"1351985460","filename":"file1"},{"photo_id":"1351985458","filename":"file0"},{"photo_id":"1351985469","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985476":["hashtag1","hashtag2"]},{"1351985464":["hashtag1","hashtag2"]},{"1351985458":["hashtag1","hashtag2"]},{"1351985473":["hashtag1","hashtag2"]},{"1351985469":["hashtag1","hashtag2"]},{"1351985460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985476, 1351985464, 1351985458, 1351985473, 1351985469, 1351985460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.30161762237549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:20:32.802111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_25_9372.jpg', '/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_36_10481.jpg', '/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_45_9353.jpg', '/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_56_10372.jpg', '/home/pi/Desktop/images/19042025/17/40/image_19042025_17_41_06_10371.jpg', '/home/pi/Desktop/images/19042025/17/41/image_19042025_17_41_15_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_25_9372.jpg
/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_36_10481.jpg
/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_45_9353.jpg
/home/pi/Desktop/images/19042025/17/40/image_19042025_17_40_56_10372.jpg
/home/pi/Desktop/images/19042025/17/40/image_19042025_17_41_06_10371.jpg
/home/pi/Desktop/images/19042025/17/41/image_19042025_17_41_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":["1351985516","1351985501","1351985510","1351985513","1351985503","1351985506"],"photo_ids_order":["1351985501","1351985503","1351985506","1351985510","1351985513","1351985516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b9b5bd56248f9a69d08258bafde759ca.jpg","text":"TemporaryFile(/tmp/multipartBody1213384019658151598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086893296,"filename":"image_19042025_17_41_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/19/24488d2faad1ce2d9c313168e0204c01.jpg","text":"TemporaryFile(/tmp/multipartBody2348476891986069863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086893296,"filename":"image_19042025_17_40_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/19/4aaf2b3c1b8050d10ebab1b491ccfc51.jpg","text":"TemporaryFile(/tmp/multipartBody8237651502202206858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086893296,"filename":"image_19042025_17_40_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/19/5a4aa174a766f6dd6a1059eaf4f88c08.jpg","text":"TemporaryFile(/tmp/multipartBody3971457982194168648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086893296,"filename":"image_19042025_17_41_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/19/9ac7c773c27cfbbd8bf212ce63b6b2a0.jpg","text":"TemporaryFile(/tmp/multipartBody7957327009415891740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086893296,"filename":"image_19042025_17_40_36_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/19/ec4bd59015be0d6054d20fc6d003564f.jpg","text":"TemporaryFile(/tmp/multipartBody5487696696398260647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086893296,"filename":"image_19042025_17_40_45_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985506","file1":"1351985503","file0":"1351985501","file4":"1351985513","file5":"1351985516","file3":"1351985510"},"map_files_photo_id_array":[{"photo_id":"1351985516","filename":"file5"},{"photo_id":"1351985506","filename":"file2"},{"photo_id":"1351985513","filename":"file4"},{"photo_id":"1351985503","filename":"file1"},{"photo_id":"1351985501","filename":"file0"},{"photo_id":"1351985510","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985516":["hashtag1","hashtag2"]},{"1351985501":["hashtag1","hashtag2"]},{"1351985510":["hashtag1","hashtag2"]},{"1351985513":["hashtag1","hashtag2"]},{"1351985503":["hashtag1","hashtag2"]},{"1351985506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985516, 1351985501, 1351985510, 1351985513, 1351985503, 1351985506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.478607177734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:21:32.982344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/41/image_19042025_17_41_35_9372.jpg', '/home/pi/Desktop/images/19042025/17/41/image_19042025_17_41_46_10429.jpg', '/home/pi/Desktop/images/19042025/17/41/image_19042025_17_41_56_10385.jpg', '/home/pi/Desktop/images/19042025/17/41/image_19042025_17_42_05_9373.jpg', '/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_16_10448.jpg', '/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_25_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/41/image_19042025_17_41_35_9372.jpg
/home/pi/Desktop/images/19042025/17/41/image_19042025_17_41_46_10429.jpg
/home/pi/Desktop/images/19042025/17/41/image_19042025_17_41_56_10385.jpg
/home/pi/Desktop/images/19042025/17/41/image_19042025_17_42_05_9373.jpg
/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_16_10448.jpg
/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_25_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":["1351985596","1351985599","1351985626","1351985598","1351985617","1351985592"],"photo_ids_order":["1351985592","1351985596","1351985598","1351985599","1351985617","1351985626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b76476b33fc758f07238be9a33252de4.jpg","text":"TemporaryFile(/tmp/multipartBody6201021271669210982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086953459,"filename":"image_19042025_17_41_46_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a249e64a3cab786651be23c4da2fd4d3.jpg","text":"TemporaryFile(/tmp/multipartBody5213950276108565848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086953459,"filename":"image_19042025_17_42_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/19/ade0b1a191aadea13bae5c4d733ae85c.jpg","text":"TemporaryFile(/tmp/multipartBody4889577787866199085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086953459,"filename":"image_19042025_17_42_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/19/4a24c38a36ad40b66287d52af57bd751.jpg","text":"TemporaryFile(/tmp/multipartBody8153584010781941136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086953459,"filename":"image_19042025_17_41_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/19/21ca6f1d13cba27fc112332adad5e647.jpg","text":"TemporaryFile(/tmp/multipartBody5889715378929863296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086953459,"filename":"image_19042025_17_42_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/19/de37b54d771e25ba2ce8b044a114cd87.jpg","text":"TemporaryFile(/tmp/multipartBody3429499761702700953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745086953459,"filename":"image_19042025_17_41_35_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985598","file1":"1351985596","file0":"1351985592","file4":"1351985617","file5":"1351985626","file3":"1351985599"},"map_files_photo_id_array":[{"photo_id":"1351985626","filename":"file5"},{"photo_id":"1351985598","filename":"file2"},{"photo_id":"1351985617","filename":"file4"},{"photo_id":"1351985596","filename":"file1"},{"photo_id":"1351985592","filename":"file0"},{"photo_id":"1351985599","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985596":["hashtag1","hashtag2"]},{"1351985599":["hashtag1","hashtag2"]},{"1351985626":["hashtag1","hashtag2"]},{"1351985598":["hashtag1","hashtag2"]},{"1351985617":["hashtag1","hashtag2"]},{"1351985592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985596, 1351985599, 1351985626, 1351985598, 1351985617, 1351985592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.169093370437622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:22:32.221530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_36_10376.jpg', '/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_46_10444.jpg', '/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_56_9382.jpg', '/home/pi/Desktop/images/19042025/17/42/image_19042025_17_43_06_10417.jpg', '/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_15_9378.jpg', '/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_26_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_36_10376.jpg
/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_46_10444.jpg
/home/pi/Desktop/images/19042025/17/42/image_19042025_17_42_56_9382.jpg
/home/pi/Desktop/images/19042025/17/42/image_19042025_17_43_06_10417.jpg
/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_15_9378.jpg
/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_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":["1351985675","1351985668","1351985677","1351985671","1351985673","1351985666"],"photo_ids_order":["1351985666","1351985668","1351985671","1351985673","1351985675","1351985677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d84c7042cd629580c73f1cf16199297c.jpg","text":"TemporaryFile(/tmp/multipartBody4983773090933072209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087012694,"filename":"image_19042025_17_43_15_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e384455a224a4571f4263f4f194bdb1.jpg","text":"TemporaryFile(/tmp/multipartBody2775050973516750399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087012694,"filename":"image_19042025_17_42_46_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e186d75436d36459846f12e31f66834b.jpg","text":"TemporaryFile(/tmp/multipartBody7507784214093759214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087012694,"filename":"image_19042025_17_43_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/19/42d3244e31813f86e9169f75f7d197c8.jpg","text":"TemporaryFile(/tmp/multipartBody4374117489508554942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087012694,"filename":"image_19042025_17_42_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/19/4766d790e5245a2ad40cea03c83f6c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5777981520108145015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087012694,"filename":"image_19042025_17_43_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/19/3ebf5e4f8a154a8616825970042231f6.jpg","text":"TemporaryFile(/tmp/multipartBody8092435391696635680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087012694,"filename":"image_19042025_17_42_36_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985671","file1":"1351985668","file0":"1351985666","file4":"1351985675","file5":"1351985677","file3":"1351985673"},"map_files_photo_id_array":[{"photo_id":"1351985677","filename":"file5"},{"photo_id":"1351985671","filename":"file2"},{"photo_id":"1351985675","filename":"file4"},{"photo_id":"1351985668","filename":"file1"},{"photo_id":"1351985666","filename":"file0"},{"photo_id":"1351985673","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985675":["hashtag1","hashtag2"]},{"1351985668":["hashtag1","hashtag2"]},{"1351985677":["hashtag1","hashtag2"]},{"1351985671":["hashtag1","hashtag2"]},{"1351985673":["hashtag1","hashtag2"]},{"1351985666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985675, 1351985668, 1351985677, 1351985671, 1351985673, 1351985666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.660425662994385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:23:32.472261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_36_10383.jpg', '/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_45_9367.jpg', '/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_56_10440.jpg', '/home/pi/Desktop/images/19042025/17/43/image_19042025_17_44_05_9353.jpg', '/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_16_10370.jpg', '/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_26_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_36_10383.jpg
/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_45_9367.jpg
/home/pi/Desktop/images/19042025/17/43/image_19042025_17_43_56_10440.jpg
/home/pi/Desktop/images/19042025/17/43/image_19042025_17_44_05_9353.jpg
/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_16_10370.jpg
/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_26_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":["1351985726","1351985764","1351985728","1351985739","1351985730","1351985795"],"photo_ids_order":["1351985726","1351985728","1351985730","1351985739","1351985764","1351985795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ac076372479ba0080884a06efeebe54.jpg","text":"TemporaryFile(/tmp/multipartBody7168357738170332723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087072944,"filename":"image_19042025_17_43_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/19/f193225ca4a3e2fec56953e1d3b7bdd3.jpg","text":"TemporaryFile(/tmp/multipartBody7582169791884833796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087072944,"filename":"image_19042025_17_44_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/19/a37bb29f085cf985f1cb4ab7b40be307.jpg","text":"TemporaryFile(/tmp/multipartBody8811924239682720936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087072944,"filename":"image_19042025_17_43_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/19/85290e7553065404ff149a075f692572.jpg","text":"TemporaryFile(/tmp/multipartBody5698058086046323678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087072944,"filename":"image_19042025_17_44_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/19/1321d007a4951dc00a9886df452e108c.jpg","text":"TemporaryFile(/tmp/multipartBody4314972180509105527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087072944,"filename":"image_19042025_17_43_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/19/96486cce8eff87f52c93462bfc7674e2.jpg","text":"TemporaryFile(/tmp/multipartBody3239632919220046106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087072944,"filename":"image_19042025_17_44_26_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985730","file1":"1351985728","file0":"1351985726","file4":"1351985764","file5":"1351985795","file3":"1351985739"},"map_files_photo_id_array":[{"photo_id":"1351985795","filename":"file5"},{"photo_id":"1351985730","filename":"file2"},{"photo_id":"1351985764","filename":"file4"},{"photo_id":"1351985728","filename":"file1"},{"photo_id":"1351985726","filename":"file0"},{"photo_id":"1351985739","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985726":["hashtag1","hashtag2"]},{"1351985764":["hashtag1","hashtag2"]},{"1351985728":["hashtag1","hashtag2"]},{"1351985739":["hashtag1","hashtag2"]},{"1351985730":["hashtag1","hashtag2"]},{"1351985795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985726, 1351985764, 1351985728, 1351985739, 1351985730, 1351985795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.403796434402466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:24:32.631584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_35_9386.jpg', '/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_46_10528.jpg', '/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_55_9422.jpg', '/home/pi/Desktop/images/19042025/17/44/image_19042025_17_45_06_10493.jpg', '/home/pi/Desktop/images/19042025/17/45/image_19042025_17_45_15_9341.jpg', '/home/pi/Desktop/images/19042025/17/45/image_19042025_17_45_26_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_35_9386.jpg
/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_46_10528.jpg
/home/pi/Desktop/images/19042025/17/44/image_19042025_17_44_55_9422.jpg
/home/pi/Desktop/images/19042025/17/44/image_19042025_17_45_06_10493.jpg
/home/pi/Desktop/images/19042025/17/45/image_19042025_17_45_15_9341.jpg
/home/pi/Desktop/images/19042025/17/45/image_19042025_17_45_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":["1351985857","1351985877","1351985865","1351985868","1351985861","1351985870"],"photo_ids_order":["1351985857","1351985861","1351985865","1351985868","1351985870","1351985877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86360f8306f820f3d318e2a43b1005f9.jpg","text":"TemporaryFile(/tmp/multipartBody4712065939862784514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087133110,"filename":"image_19042025_17_44_35_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b485ba63534b0e963e1e5378637e5d01.jpg","text":"TemporaryFile(/tmp/multipartBody7442131686729923141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087133110,"filename":"image_19042025_17_45_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/19/c054ae6fab2d11ac03de71b185377b42.jpg","text":"TemporaryFile(/tmp/multipartBody8109185077736805380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087133110,"filename":"image_19042025_17_44_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/19/f96762ea6d0933ce5fdca177217e679e.jpg","text":"TemporaryFile(/tmp/multipartBody212135788684110659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087133110,"filename":"image_19042025_17_45_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/19/e91a821f8259ae84be65cb6e99cefa95.jpg","text":"TemporaryFile(/tmp/multipartBody1495327924797322169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087133110,"filename":"image_19042025_17_44_46_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/19/f2f22bec95632fbb31d7f7c32a8b6a87.jpg","text":"TemporaryFile(/tmp/multipartBody7120940273815790179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087133110,"filename":"image_19042025_17_45_15_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985865","file1":"1351985861","file0":"1351985857","file4":"1351985870","file5":"1351985877","file3":"1351985868"},"map_files_photo_id_array":[{"photo_id":"1351985877","filename":"file5"},{"photo_id":"1351985865","filename":"file2"},{"photo_id":"1351985870","filename":"file4"},{"photo_id":"1351985861","filename":"file1"},{"photo_id":"1351985857","filename":"file0"},{"photo_id":"1351985868","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985857":["hashtag1","hashtag2"]},{"1351985877":["hashtag1","hashtag2"]},{"1351985865":["hashtag1","hashtag2"]},{"1351985868":["hashtag1","hashtag2"]},{"1351985861":["hashtag1","hashtag2"]},{"1351985870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985857, 1351985877, 1351985865, 1351985868, 1351985861, 1351985870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02381873130798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:25:33.085520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/45/image_19042025_17_45_36_10429.jpg', '/home/pi/Desktop/images/19042025/17/45/image_19042025_17_45_56_10428.jpg', '/home/pi/Desktop/images/19042025/17/45/image_19042025_17_46_05_9410.jpg', '/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_16_10356.jpg', '/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_26_10381.jpg', '/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_35_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/45/image_19042025_17_45_36_10429.jpg
/home/pi/Desktop/images/19042025/17/45/image_19042025_17_45_56_10428.jpg
/home/pi/Desktop/images/19042025/17/45/image_19042025_17_46_05_9410.jpg
/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_16_10356.jpg
/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_26_10381.jpg
/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_35_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":["1351985939","1351985976","1351985967","1351985943","1351985954","1351985957"],"photo_ids_order":["1351985939","1351985943","1351985954","1351985957","1351985967","1351985976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/31c9044f6b4b831ddd2d41f5d221be2d.jpg","text":"TemporaryFile(/tmp/multipartBody7653282056278707213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087193563,"filename":"image_19042025_17_45_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/19/9770e5c7af438f2c84c985029eee73ee.jpg","text":"TemporaryFile(/tmp/multipartBody8304747850666057041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087193563,"filename":"image_19042025_17_46_35_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7ef310938394529fa6923904ad51e866.jpg","text":"TemporaryFile(/tmp/multipartBody1714434771971278915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087193563,"filename":"image_19042025_17_46_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/19/4d594349ffa98a8691ca3fd64bcea6cc.jpg","text":"TemporaryFile(/tmp/multipartBody7765939701105547535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087193563,"filename":"image_19042025_17_45_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/19/0dac049ead1b23655e38b26b3e12891a.jpg","text":"TemporaryFile(/tmp/multipartBody7271019942277815951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087193563,"filename":"image_19042025_17_46_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61c5028800c25f91b7729f7302a66caa.jpg","text":"TemporaryFile(/tmp/multipartBody8283266282193844250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087193563,"filename":"image_19042025_17_46_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985954","file1":"1351985943","file0":"1351985939","file4":"1351985967","file5":"1351985976","file3":"1351985957"},"map_files_photo_id_array":[{"photo_id":"1351985976","filename":"file5"},{"photo_id":"1351985954","filename":"file2"},{"photo_id":"1351985967","filename":"file4"},{"photo_id":"1351985943","filename":"file1"},{"photo_id":"1351985939","filename":"file0"},{"photo_id":"1351985957","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985939":["hashtag1","hashtag2"]},{"1351985976":["hashtag1","hashtag2"]},{"1351985967":["hashtag1","hashtag2"]},{"1351985943":["hashtag1","hashtag2"]},{"1351985954":["hashtag1","hashtag2"]},{"1351985957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985939, 1351985976, 1351985967, 1351985943, 1351985954, 1351985957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7060809135437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:26:33.157807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_46_10443.jpg', '/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_55_9374.jpg', '/home/pi/Desktop/images/19042025/17/46/image_19042025_17_47_06_10383.jpg', '/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_16_10443.jpg', '/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_25_9369.jpg', '/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_36_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_46_10443.jpg
/home/pi/Desktop/images/19042025/17/46/image_19042025_17_46_55_9374.jpg
/home/pi/Desktop/images/19042025/17/46/image_19042025_17_47_06_10383.jpg
/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_16_10443.jpg
/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_25_9369.jpg
/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_36_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351985992","1351985994","1351985997","1351986000","1351985990","1351985987"],"photo_ids_order":["1351985987","1351985990","1351985992","1351985994","1351985997","1351986000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15c827943e46084133cf0cf7fb39275e.jpg","text":"TemporaryFile(/tmp/multipartBody8239643002456876772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087253628,"filename":"image_19042025_17_47_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/19/f40e2a6c049e7ad1f679cd37e83f7d7d.jpg","text":"TemporaryFile(/tmp/multipartBody4863894505818405215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087253628,"filename":"image_19042025_17_47_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/19/fdab04e1a5bcb05c0a563d7f8a291d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2895813805307681590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087253628,"filename":"image_19042025_17_47_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/19/12889ad51046a47da191939a454f9d14.jpg","text":"TemporaryFile(/tmp/multipartBody7313620035851796984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087253628,"filename":"image_19042025_17_47_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/19/a022f5de23f820b2f698bec9ac1a388e.jpg","text":"TemporaryFile(/tmp/multipartBody2156727597602224430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087253628,"filename":"image_19042025_17_46_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cee55d70e3f7e44a816763f111c102a6.jpg","text":"TemporaryFile(/tmp/multipartBody5788282576508550335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087253628,"filename":"image_19042025_17_46_46_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985992","file1":"1351985990","file0":"1351985987","file4":"1351985997","file5":"1351986000","file3":"1351985994"},"map_files_photo_id_array":[{"photo_id":"1351986000","filename":"file5"},{"photo_id":"1351985992","filename":"file2"},{"photo_id":"1351985997","filename":"file4"},{"photo_id":"1351985990","filename":"file1"},{"photo_id":"1351985987","filename":"file0"},{"photo_id":"1351985994","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351985992":["hashtag1","hashtag2"]},{"1351985994":["hashtag1","hashtag2"]},{"1351985997":["hashtag1","hashtag2"]},{"1351986000":["hashtag1","hashtag2"]},{"1351985990":["hashtag1","hashtag2"]},{"1351985987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351985992, 1351985994, 1351985997, 1351986000, 1351985990, 1351985987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70042419433594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:27:32.344181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_45_9352.jpg', '/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_56_10408.jpg', '/home/pi/Desktop/images/19042025/17/47/image_19042025_17_48_06_10462.jpg', '/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_15_9349.jpg', '/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_26_10446.jpg', '/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_45_9352.jpg
/home/pi/Desktop/images/19042025/17/47/image_19042025_17_47_56_10408.jpg
/home/pi/Desktop/images/19042025/17/47/image_19042025_17_48_06_10462.jpg
/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_15_9349.jpg
/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_26_10446.jpg
/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986019","1351986012","1351986021","1351986015","1351986009","1351986024"],"photo_ids_order":["1351986009","1351986012","1351986015","1351986019","1351986021","1351986024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d89cee24f1b3db11c23f58904898c92.jpg","text":"TemporaryFile(/tmp/multipartBody3284903099094654237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087312817,"filename":"image_19042025_17_48_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/19/d17420fccfffd46a9f7039cc08d114da.jpg","text":"TemporaryFile(/tmp/multipartBody3226146897997658004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087312817,"filename":"image_19042025_17_47_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4e01112ee5610ab43fb8b1210d99622.jpg","text":"TemporaryFile(/tmp/multipartBody8771383711682828651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087312817,"filename":"image_19042025_17_48_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61c5c1d4cc3b297b20e015755aa51d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4354544682852095786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087312817,"filename":"image_19042025_17_48_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/19/68a67151bc02c9e6e1d876a47e5939fc.jpg","text":"TemporaryFile(/tmp/multipartBody2158900294628458966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087312817,"filename":"image_19042025_17_47_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/19/b8cd4c2f9ff8055c08e1c09726c7245e.jpg","text":"TemporaryFile(/tmp/multipartBody5957748951504460638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087312817,"filename":"image_19042025_17_48_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986015","file1":"1351986012","file0":"1351986009","file4":"1351986021","file5":"1351986024","file3":"1351986019"},"map_files_photo_id_array":[{"photo_id":"1351986024","filename":"file5"},{"photo_id":"1351986015","filename":"file2"},{"photo_id":"1351986021","filename":"file4"},{"photo_id":"1351986012","filename":"file1"},{"photo_id":"1351986009","filename":"file0"},{"photo_id":"1351986019","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986019":["hashtag1","hashtag2"]},{"1351986012":["hashtag1","hashtag2"]},{"1351986021":["hashtag1","hashtag2"]},{"1351986015":["hashtag1","hashtag2"]},{"1351986009":["hashtag1","hashtag2"]},{"1351986024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986019, 1351986012, 1351986021, 1351986015, 1351986009, 1351986024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.709361791610718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:28:32.558380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_46_10360.jpg', '/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_56_10375.jpg', '/home/pi/Desktop/images/19042025/17/48/image_19042025_17_49_05_9357.jpg', '/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_16_10249.jpg', '/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_26_10478.jpg', '/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_35_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_46_10360.jpg
/home/pi/Desktop/images/19042025/17/48/image_19042025_17_48_56_10375.jpg
/home/pi/Desktop/images/19042025/17/48/image_19042025_17_49_05_9357.jpg
/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_16_10249.jpg
/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_26_10478.jpg
/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_35_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":["1351986040","1351986034","1351986043","1351986037","1351986045","1351986030"],"photo_ids_order":["1351986030","1351986034","1351986037","1351986040","1351986043","1351986045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4c0015bc18e21502bb4451a2bf981df.jpg","text":"TemporaryFile(/tmp/multipartBody2132807391311991052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087373036,"filename":"image_19042025_17_49_16_10249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d4943b691d548d003a73d0d8f758eaa.jpg","text":"TemporaryFile(/tmp/multipartBody3432305345028482597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087373036,"filename":"image_19042025_17_48_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/19/57b1723a6ccf7dc1c918db45f45b0c86.jpg","text":"TemporaryFile(/tmp/multipartBody2793053656532923593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087373036,"filename":"image_19042025_17_49_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/19/1938c59316269e98b49003088bc391f3.jpg","text":"TemporaryFile(/tmp/multipartBody3025704441455994622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087373036,"filename":"image_19042025_17_49_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/19/4f8b5fb508716d260d7c4093ce582b95.jpg","text":"TemporaryFile(/tmp/multipartBody3871329007280022637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087373036,"filename":"image_19042025_17_49_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12b6e01b81e7b906fafc0519dda29327.jpg","text":"TemporaryFile(/tmp/multipartBody7161022026924045177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087373036,"filename":"image_19042025_17_48_46_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986037","file1":"1351986034","file0":"1351986030","file4":"1351986043","file5":"1351986045","file3":"1351986040"},"map_files_photo_id_array":[{"photo_id":"1351986045","filename":"file5"},{"photo_id":"1351986037","filename":"file2"},{"photo_id":"1351986043","filename":"file4"},{"photo_id":"1351986034","filename":"file1"},{"photo_id":"1351986030","filename":"file0"},{"photo_id":"1351986040","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986040":["hashtag1","hashtag2"]},{"1351986034":["hashtag1","hashtag2"]},{"1351986043":["hashtag1","hashtag2"]},{"1351986037":["hashtag1","hashtag2"]},{"1351986045":["hashtag1","hashtag2"]},{"1351986030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986040, 1351986034, 1351986043, 1351986037, 1351986045, 1351986030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.411749601364136 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:29:32.764383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_46_10444.jpg', '/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_55_9359.jpg', '/home/pi/Desktop/images/19042025/17/49/image_19042025_17_50_06_10468.jpg', '/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_16_10400.jpg', '/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_26_9435.jpg', '/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_36_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_46_10444.jpg
/home/pi/Desktop/images/19042025/17/49/image_19042025_17_49_55_9359.jpg
/home/pi/Desktop/images/19042025/17/49/image_19042025_17_50_06_10468.jpg
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_16_10400.jpg
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_26_9435.jpg
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_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":["1351986070","1351986064","1351986060","1351986086","1351986068","1351986083"],"photo_ids_order":["1351986060","1351986064","1351986068","1351986070","1351986083","1351986086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/224fb549e000dd5efd3fce92b36f50ef.jpg","text":"TemporaryFile(/tmp/multipartBody1697708668010577672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087433240,"filename":"image_19042025_17_50_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/73aef8f1efa78e15ca2eed1e55cc3714.jpg","text":"TemporaryFile(/tmp/multipartBody4583472477648270183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087433240,"filename":"image_19042025_17_49_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1912cf54f09073608ca82e60470ac06d.jpg","text":"TemporaryFile(/tmp/multipartBody3737253978085725261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087433240,"filename":"image_19042025_17_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/19/c206d9f38fe57e4189a891a4e387be87.jpg","text":"TemporaryFile(/tmp/multipartBody8411973685733881959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087433240,"filename":"image_19042025_17_50_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/19/0f8fa119cbbae11e5fbb1a34d94417cc.jpg","text":"TemporaryFile(/tmp/multipartBody1297825084193900755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087433240,"filename":"image_19042025_17_50_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/19/944e0666b77c64e371fbd8ebd0fc1e61.jpg","text":"TemporaryFile(/tmp/multipartBody3148383916846815893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087433240,"filename":"image_19042025_17_50_26_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986068","file1":"1351986064","file0":"1351986060","file4":"1351986083","file5":"1351986086","file3":"1351986070"},"map_files_photo_id_array":[{"photo_id":"1351986086","filename":"file5"},{"photo_id":"1351986068","filename":"file2"},{"photo_id":"1351986083","filename":"file4"},{"photo_id":"1351986064","filename":"file1"},{"photo_id":"1351986060","filename":"file0"},{"photo_id":"1351986070","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986070":["hashtag1","hashtag2"]},{"1351986064":["hashtag1","hashtag2"]},{"1351986060":["hashtag1","hashtag2"]},{"1351986086":["hashtag1","hashtag2"]},{"1351986068":["hashtag1","hashtag2"]},{"1351986083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986070, 1351986064, 1351986060, 1351986086, 1351986068, 1351986083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17174220085144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:30:32.986655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_46_9547.jpg', '/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_56_10371.jpg', '/home/pi/Desktop/images/19042025/17/50/image_19042025_17_51_05_9361.jpg', '/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_16_10425.jpg', '/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_26_10386.jpg', '/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_35_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_46_9547.jpg
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_56_10371.jpg
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_51_05_9361.jpg
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_16_10425.jpg
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_26_10386.jpg
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_35_9352.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3817565441131592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 20:30:43.065443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_46_9547.jpg', '/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_56_10371.jpg', '/home/pi/Desktop/images/19042025/17/50/image_19042025_17_51_05_9361.jpg', '/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_16_10425.jpg', '/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_26_10386.jpg', '/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_35_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_46_9547.jpg
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_50_56_10371.jpg
/home/pi/Desktop/images/19042025/17/50/image_19042025_17_51_05_9361.jpg
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_16_10425.jpg
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_26_10386.jpg
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_35_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986115","1351986124","1351986111","1351986123","1351986125","1351986119"],"photo_ids_order":["1351986111","1351986115","1351986119","1351986123","1351986124","1351986125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/58d098b0cbe7ea3ef8291ccf32a4b818.jpg","text":"TemporaryFile(/tmp/multipartBody4000530652247647652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087503528,"filename":"image_19042025_17_50_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/19/d64c720f18617df643d7de70deda8403.jpg","text":"TemporaryFile(/tmp/multipartBody5252804844368120552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087503528,"filename":"image_19042025_17_51_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/19/bc5aff6d2df31a40e37592b39ddb031f.jpg","text":"TemporaryFile(/tmp/multipartBody9026534869825361690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087503528,"filename":"image_19042025_17_50_46_9547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f5792b8dee40d917c9dbedc7ddd061bc.jpg","text":"TemporaryFile(/tmp/multipartBody754182700804357760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087503528,"filename":"image_19042025_17_51_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/19/713a10ffe12cc0bed44f48b7b02eeed5.jpg","text":"TemporaryFile(/tmp/multipartBody1301899392870516252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087503528,"filename":"image_19042025_17_51_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/19/851e4810e0aeaf0e711065ecde20401b.jpg","text":"TemporaryFile(/tmp/multipartBody8320402680533014921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087503528,"filename":"image_19042025_17_51_05_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986119","file1":"1351986115","file0":"1351986111","file4":"1351986124","file5":"1351986125","file3":"1351986123"},"map_files_photo_id_array":[{"photo_id":"1351986125","filename":"file5"},{"photo_id":"1351986119","filename":"file2"},{"photo_id":"1351986124","filename":"file4"},{"photo_id":"1351986115","filename":"file1"},{"photo_id":"1351986111","filename":"file0"},{"photo_id":"1351986123","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986115":["hashtag1","hashtag2"]},{"1351986124":["hashtag1","hashtag2"]},{"1351986111":["hashtag1","hashtag2"]},{"1351986123":["hashtag1","hashtag2"]},{"1351986125":["hashtag1","hashtag2"]},{"1351986119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986115, 1351986124, 1351986111, 1351986123, 1351986125, 1351986119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.942241668701172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:31:32.231577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_46_10440.jpg', '/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_55_9454.jpg', '/home/pi/Desktop/images/19042025/17/51/image_19042025_17_52_06_10365.jpg', '/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_16_10353.jpg', '/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_25_9401.jpg', '/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_36_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_46_10440.jpg
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_51_55_9454.jpg
/home/pi/Desktop/images/19042025/17/51/image_19042025_17_52_06_10365.jpg
/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_16_10353.jpg
/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_25_9401.jpg
/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_36_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":["1351986142","1351986139","1351986141","1351986134","1351986137","1351986131"],"photo_ids_order":["1351986131","1351986134","1351986137","1351986139","1351986141","1351986142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9eef357eb0622913a0b2d068b0373d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4496789803984081345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087552694,"filename":"image_19042025_17_52_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/19/efffe1b014d3ca569df2752b8e3a7918.jpg","text":"TemporaryFile(/tmp/multipartBody3882423419765463049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087552694,"filename":"image_19042025_17_52_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/19/36de67037565aa59036d2d8d514e3059.jpg","text":"TemporaryFile(/tmp/multipartBody2866997233727104311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087552694,"filename":"image_19042025_17_52_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a9e53636019174da51e9d15ec058ba0d.jpg","text":"TemporaryFile(/tmp/multipartBody1101504689441306544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087552694,"filename":"image_19042025_17_51_55_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e232128da38abeae6f04f55a52a39f30.jpg","text":"TemporaryFile(/tmp/multipartBody1981210856775577108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087552694,"filename":"image_19042025_17_52_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/19/e2a96242359927d379f9a41124558b69.jpg","text":"TemporaryFile(/tmp/multipartBody5414618240186661852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087552694,"filename":"image_19042025_17_51_46_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986137","file1":"1351986134","file0":"1351986131","file4":"1351986141","file5":"1351986142","file3":"1351986139"},"map_files_photo_id_array":[{"photo_id":"1351986142","filename":"file5"},{"photo_id":"1351986137","filename":"file2"},{"photo_id":"1351986141","filename":"file4"},{"photo_id":"1351986134","filename":"file1"},{"photo_id":"1351986131","filename":"file0"},{"photo_id":"1351986139","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986142":["hashtag1","hashtag2"]},{"1351986139":["hashtag1","hashtag2"]},{"1351986141":["hashtag1","hashtag2"]},{"1351986134":["hashtag1","hashtag2"]},{"1351986137":["hashtag1","hashtag2"]},{"1351986131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986142, 1351986139, 1351986141, 1351986134, 1351986137, 1351986131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97406983375549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:32:32.499004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_45_9372.jpg', '/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_56_10365.jpg', '/home/pi/Desktop/images/19042025/17/52/image_19042025_17_53_06_10431.jpg', '/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_15_9354.jpg', '/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_26_10556.jpg', '/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_35_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_45_9372.jpg
/home/pi/Desktop/images/19042025/17/52/image_19042025_17_52_56_10365.jpg
/home/pi/Desktop/images/19042025/17/52/image_19042025_17_53_06_10431.jpg
/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_15_9354.jpg
/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_26_10556.jpg
/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_35_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986145","1351986156","1351986159","1351986150","1351986153","1351986147"],"photo_ids_order":["1351986145","1351986147","1351986150","1351986153","1351986156","1351986159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bb419267fd7a1c7af231a9910744c4e3.jpg","text":"TemporaryFile(/tmp/multipartBody8713718737292607040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087612970,"filename":"image_19042025_17_52_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/19/60bab0ac168e2b11297ef69746745583.jpg","text":"TemporaryFile(/tmp/multipartBody2229900945126450537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087612970,"filename":"image_19042025_17_53_26_10556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ea479bf602d03845b5ab5d606cd4bf0f.jpg","text":"TemporaryFile(/tmp/multipartBody1005659427580332703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087612970,"filename":"image_19042025_17_53_35_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/19/3b6f142b77d091d80180c26a8f75542a.jpg","text":"TemporaryFile(/tmp/multipartBody5718671552916589462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087612970,"filename":"image_19042025_17_53_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/00cbb42af8289f399f7bec2c5b5cab1a.jpg","text":"TemporaryFile(/tmp/multipartBody4792968202210025329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087612970,"filename":"image_19042025_17_53_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e48d8ec9056bb1e4224b014d508a3b4.jpg","text":"TemporaryFile(/tmp/multipartBody8762654540565334560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087612970,"filename":"image_19042025_17_52_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986150","file1":"1351986147","file0":"1351986145","file4":"1351986156","file5":"1351986159","file3":"1351986153"},"map_files_photo_id_array":[{"photo_id":"1351986159","filename":"file5"},{"photo_id":"1351986150","filename":"file2"},{"photo_id":"1351986156","filename":"file4"},{"photo_id":"1351986147","filename":"file1"},{"photo_id":"1351986145","filename":"file0"},{"photo_id":"1351986153","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986145":["hashtag1","hashtag2"]},{"1351986156":["hashtag1","hashtag2"]},{"1351986159":["hashtag1","hashtag2"]},{"1351986150":["hashtag1","hashtag2"]},{"1351986153":["hashtag1","hashtag2"]},{"1351986147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986145, 1351986156, 1351986159, 1351986150, 1351986153, 1351986147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.671589612960815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:33:32.628921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_46_10370.jpg', '/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_56_10393.jpg', '/home/pi/Desktop/images/19042025/17/53/image_19042025_17_54_05_9359.jpg', '/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_16_10405.jpg', '/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_25_9377.jpg', '/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_36_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_46_10370.jpg
/home/pi/Desktop/images/19042025/17/53/image_19042025_17_53_56_10393.jpg
/home/pi/Desktop/images/19042025/17/53/image_19042025_17_54_05_9359.jpg
/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_16_10405.jpg
/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_25_9377.jpg
/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_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":["1351986183","1351986170","1351986173","1351986167","1351986182","1351986176"],"photo_ids_order":["1351986167","1351986170","1351986173","1351986176","1351986182","1351986183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/41fcb0888018be5be05c0aa768c062fb.jpg","text":"TemporaryFile(/tmp/multipartBody7749540822129617534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087673101,"filename":"image_19042025_17_54_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/19/2cfe847aaa8c8730e143770c52af5eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2163617136121029641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087673101,"filename":"image_19042025_17_53_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/19/4c6fef5e39d05d37cacd328f71e57824.jpg","text":"TemporaryFile(/tmp/multipartBody5176402637012724122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087673101,"filename":"image_19042025_17_54_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/19/2afdb977820f7c843878f73a27c4652d.jpg","text":"TemporaryFile(/tmp/multipartBody4888865241310293510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087673101,"filename":"image_19042025_17_53_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/19/351e286fba3fb602da52e6c015b16886.jpg","text":"TemporaryFile(/tmp/multipartBody7489893673143311680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087673101,"filename":"image_19042025_17_54_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/627b287309c44e5805f4d4419986ca87.jpg","text":"TemporaryFile(/tmp/multipartBody7078794516923995285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087673101,"filename":"image_19042025_17_54_16_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986173","file1":"1351986170","file0":"1351986167","file4":"1351986182","file5":"1351986183","file3":"1351986176"},"map_files_photo_id_array":[{"photo_id":"1351986183","filename":"file5"},{"photo_id":"1351986173","filename":"file2"},{"photo_id":"1351986182","filename":"file4"},{"photo_id":"1351986170","filename":"file1"},{"photo_id":"1351986167","filename":"file0"},{"photo_id":"1351986176","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986183":["hashtag1","hashtag2"]},{"1351986170":["hashtag1","hashtag2"]},{"1351986173":["hashtag1","hashtag2"]},{"1351986167":["hashtag1","hashtag2"]},{"1351986182":["hashtag1","hashtag2"]},{"1351986176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986183, 1351986170, 1351986173, 1351986167, 1351986182, 1351986176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.288835763931274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:34:32.942952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_46_10431.jpg', '/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_55_9358.jpg', '/home/pi/Desktop/images/19042025/17/54/image_19042025_17_55_06_10491.jpg', '/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_15_9338.jpg', '/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_26_10407.jpg', '/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_35_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_46_10431.jpg
/home/pi/Desktop/images/19042025/17/54/image_19042025_17_54_55_9358.jpg
/home/pi/Desktop/images/19042025/17/54/image_19042025_17_55_06_10491.jpg
/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_15_9338.jpg
/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_26_10407.jpg
/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_35_9547.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":["1351986202","1351986205","1351986213","1351986207","1351986197","1351986194"],"photo_ids_order":["1351986194","1351986197","1351986202","1351986205","1351986207","1351986213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9e67d5fde0770cc4b8b1885849719466.jpg","text":"TemporaryFile(/tmp/multipartBody2336758489074914306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087733412,"filename":"image_19042025_17_55_06_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/19/6799beb51bf8dfeace32a2c0aabaf5cb.jpg","text":"TemporaryFile(/tmp/multipartBody7261830008826404203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087733412,"filename":"image_19042025_17_55_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/19/388a98dc48f7432631407eb691125d08.jpg","text":"TemporaryFile(/tmp/multipartBody4142536954720697150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087733412,"filename":"image_19042025_17_55_35_9547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bd80e87a88915a2202143dfd1d9c13d0.jpg","text":"TemporaryFile(/tmp/multipartBody277367990522332193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087733412,"filename":"image_19042025_17_55_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/19/5f0ed7fda2f3370c3c63a12c68c8120e.jpg","text":"TemporaryFile(/tmp/multipartBody1135231410826222786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087733412,"filename":"image_19042025_17_54_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/19/48791bd7adf3e63ccf9dcc78739f90bc.jpg","text":"TemporaryFile(/tmp/multipartBody1536310800440178406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087733412,"filename":"image_19042025_17_54_46_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986202","file1":"1351986197","file0":"1351986194","file4":"1351986207","file5":"1351986213","file3":"1351986205"},"map_files_photo_id_array":[{"photo_id":"1351986213","filename":"file5"},{"photo_id":"1351986202","filename":"file2"},{"photo_id":"1351986207","filename":"file4"},{"photo_id":"1351986197","filename":"file1"},{"photo_id":"1351986194","filename":"file0"},{"photo_id":"1351986205","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986202":["hashtag1","hashtag2"]},{"1351986205":["hashtag1","hashtag2"]},{"1351986213":["hashtag1","hashtag2"]},{"1351986207":["hashtag1","hashtag2"]},{"1351986197":["hashtag1","hashtag2"]},{"1351986194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986202, 1351986205, 1351986213, 1351986207, 1351986197, 1351986194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.883580923080444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 20:35:43.185438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_46_10429.jpg', '/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_56_10376.jpg', '/home/pi/Desktop/images/19042025/17/55/image_19042025_17_56_05_9403.jpg', '/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_16_10489.jpg', '/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_25_9367.jpg', '/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_36_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_46_10429.jpg
/home/pi/Desktop/images/19042025/17/55/image_19042025_17_55_56_10376.jpg
/home/pi/Desktop/images/19042025/17/55/image_19042025_17_56_05_9403.jpg
/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_16_10489.jpg
/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_25_9367.jpg
/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_36_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986226","1351986220","1351986223","1351986222","1351986221","1351986224"],"photo_ids_order":["1351986220","1351986221","1351986222","1351986223","1351986224","1351986226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5172985aa512a34c6d96e6f119889694.jpg","text":"TemporaryFile(/tmp/multipartBody6831130381001078257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087803651,"filename":"image_19042025_17_56_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/19/fb2b5910a7beb6e0b0980cabd385116f.jpg","text":"TemporaryFile(/tmp/multipartBody1644901077765628938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087803651,"filename":"image_19042025_17_55_46_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a66b9cffa2bed429cfbdd9e45a3631d3.jpg","text":"TemporaryFile(/tmp/multipartBody2830807217425227223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087803651,"filename":"image_19042025_17_56_16_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fa1db595432e7afc0c5fe7dd4bd30a38.jpg","text":"TemporaryFile(/tmp/multipartBody6308741536776365369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087803651,"filename":"image_19042025_17_56_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/19/bb676da98d9065826bae20d746d8ec07.jpg","text":"TemporaryFile(/tmp/multipartBody4401729109198843979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087803651,"filename":"image_19042025_17_55_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/19/231d03d94f84eb8582a4f65dcadd6160.jpg","text":"TemporaryFile(/tmp/multipartBody1403949711441211529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087803651,"filename":"image_19042025_17_56_25_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986222","file1":"1351986221","file0":"1351986220","file4":"1351986224","file5":"1351986226","file3":"1351986223"},"map_files_photo_id_array":[{"photo_id":"1351986226","filename":"file5"},{"photo_id":"1351986222","filename":"file2"},{"photo_id":"1351986224","filename":"file4"},{"photo_id":"1351986221","filename":"file1"},{"photo_id":"1351986220","filename":"file0"},{"photo_id":"1351986223","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986226":["hashtag1","hashtag2"]},{"1351986220":["hashtag1","hashtag2"]},{"1351986223":["hashtag1","hashtag2"]},{"1351986222":["hashtag1","hashtag2"]},{"1351986221":["hashtag1","hashtag2"]},{"1351986224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986226, 1351986220, 1351986223, 1351986222, 1351986221, 1351986224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.414733171463013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:36:32.307990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_46_10407.jpg', '/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_55_9376.jpg', '/home/pi/Desktop/images/19042025/17/56/image_19042025_17_57_06_10415.jpg', '/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_15_9431.jpg', '/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_26_10385.jpg', '/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_46_10407.jpg
/home/pi/Desktop/images/19042025/17/56/image_19042025_17_56_55_9376.jpg
/home/pi/Desktop/images/19042025/17/56/image_19042025_17_57_06_10415.jpg
/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_15_9431.jpg
/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_26_10385.jpg
/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_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":["1351986244","1351986240","1351986237","1351986234","1351986242","1351986239"],"photo_ids_order":["1351986234","1351986237","1351986239","1351986240","1351986242","1351986244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bdc315171125665fa5e2f499cb0cea12.jpg","text":"TemporaryFile(/tmp/multipartBody9159205443304032749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087852783,"filename":"image_19042025_17_57_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f7c51ed8575c3a15095c1e37f562a795.jpg","text":"TemporaryFile(/tmp/multipartBody2124833819130108726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087852783,"filename":"image_19042025_17_57_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/19/7400cf7472cc806c97b1e974ea74419a.jpg","text":"TemporaryFile(/tmp/multipartBody1753393330814922867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087852783,"filename":"image_19042025_17_56_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f6d29bf29ef9bc351046ff4668321e9.jpg","text":"TemporaryFile(/tmp/multipartBody6039763317706265260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087852783,"filename":"image_19042025_17_56_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/19/f1698a93ba385175d24b9e6e8c55cf8f.jpg","text":"TemporaryFile(/tmp/multipartBody8303059940004818517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087852783,"filename":"image_19042025_17_57_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/70635733390c2d5842add5f78089d047.jpg","text":"TemporaryFile(/tmp/multipartBody748132546683913952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087852783,"filename":"image_19042025_17_57_06_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986239","file1":"1351986237","file0":"1351986234","file4":"1351986242","file5":"1351986244","file3":"1351986240"},"map_files_photo_id_array":[{"photo_id":"1351986244","filename":"file5"},{"photo_id":"1351986239","filename":"file2"},{"photo_id":"1351986242","filename":"file4"},{"photo_id":"1351986237","filename":"file1"},{"photo_id":"1351986234","filename":"file0"},{"photo_id":"1351986240","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986244":["hashtag1","hashtag2"]},{"1351986240":["hashtag1","hashtag2"]},{"1351986237":["hashtag1","hashtag2"]},{"1351986234":["hashtag1","hashtag2"]},{"1351986242":["hashtag1","hashtag2"]},{"1351986239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986244, 1351986240, 1351986237, 1351986234, 1351986242, 1351986239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.870270252227783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:37:32.570931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_45_9369.jpg', '/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_56_10425.jpg', '/home/pi/Desktop/images/19042025/17/57/image_19042025_17_58_05_9373.jpg', '/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_16_10343.jpg', '/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_26_10369.jpg', '/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_35_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_45_9369.jpg
/home/pi/Desktop/images/19042025/17/57/image_19042025_17_57_56_10425.jpg
/home/pi/Desktop/images/19042025/17/57/image_19042025_17_58_05_9373.jpg
/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_16_10343.jpg
/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_26_10369.jpg
/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_35_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986262","1351986261","1351986264","1351986258","1351986266","1351986257"],"photo_ids_order":["1351986257","1351986258","1351986261","1351986262","1351986264","1351986266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de7bf7151124d9a24c7d3b108426dd69.jpg","text":"TemporaryFile(/tmp/multipartBody5113904198981536747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087913043,"filename":"image_19042025_17_58_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e0f21ac1993368bfda54a9a56916f6b.jpg","text":"TemporaryFile(/tmp/multipartBody7694435659519348003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087913043,"filename":"image_19042025_17_58_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/19/887602c37aca6dda83a4284311ed295e.jpg","text":"TemporaryFile(/tmp/multipartBody7616919169449423335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087913043,"filename":"image_19042025_17_58_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/19/0665f8326f957861e6cd3cd0a4efeb76.jpg","text":"TemporaryFile(/tmp/multipartBody6317559170932405259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087913043,"filename":"image_19042025_17_57_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/19/83659fbe258514d6df599c43104eb5a7.jpg","text":"TemporaryFile(/tmp/multipartBody361449379993121298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087913043,"filename":"image_19042025_17_58_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/19/1aef578665e00a298fdc7f9434b4d004.jpg","text":"TemporaryFile(/tmp/multipartBody7175141715385279772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087913043,"filename":"image_19042025_17_57_45_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986261","file1":"1351986258","file0":"1351986257","file4":"1351986264","file5":"1351986266","file3":"1351986262"},"map_files_photo_id_array":[{"photo_id":"1351986266","filename":"file5"},{"photo_id":"1351986261","filename":"file2"},{"photo_id":"1351986264","filename":"file4"},{"photo_id":"1351986258","filename":"file1"},{"photo_id":"1351986257","filename":"file0"},{"photo_id":"1351986262","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986262":["hashtag1","hashtag2"]},{"1351986261":["hashtag1","hashtag2"]},{"1351986264":["hashtag1","hashtag2"]},{"1351986258":["hashtag1","hashtag2"]},{"1351986266":["hashtag1","hashtag2"]},{"1351986257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986262, 1351986261, 1351986264, 1351986258, 1351986266, 1351986257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.964775562286377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 20:38:03.334621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_46_10356.jpg', '/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_56_10445.jpg', '/home/pi/Desktop/images/19042025/17/58/image_19042025_17_59_05_9358.jpg', '/home/pi/Desktop/images/19042025/17/59/image_19042025_17_59_16_10455.jpg', '/home/pi/Desktop/images/19042025/17/59/image_19042025_17_59_26_10135.jpg', '/home/pi/Desktop/images/19042025/17/59/image_19042025_17_59_46_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_46_10356.jpg
/home/pi/Desktop/images/19042025/17/58/image_19042025_17_58_56_10445.jpg
/home/pi/Desktop/images/19042025/17/58/image_19042025_17_59_05_9358.jpg
/home/pi/Desktop/images/19042025/17/59/image_19042025_17_59_16_10455.jpg
/home/pi/Desktop/images/19042025/17/59/image_19042025_17_59_26_10135.jpg
/home/pi/Desktop/images/19042025/17/59/image_19042025_17_59_46_10365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986280","1351986271","1351986268","1351986273","1351986276","1351986275"],"photo_ids_order":["1351986268","1351986271","1351986273","1351986275","1351986276","1351986280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/886bfbb966b07225f824e71de3665f20.jpg","text":"TemporaryFile(/tmp/multipartBody7968882861940936849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087943875,"filename":"image_19042025_17_59_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/19/912337facc8ebc34dfac9afbd9809dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7507069263940097973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087943875,"filename":"image_19042025_17_58_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/19/4ed8c4449abd88d8e365e693b4591f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5360428221734513849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087943875,"filename":"image_19042025_17_58_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/19/0340954105bf1a496476c66b412029ab.jpg","text":"TemporaryFile(/tmp/multipartBody5292207049579261168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087943875,"filename":"image_19042025_17_59_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dadd9f5241b7f262efe5d964e4c05394.jpg","text":"TemporaryFile(/tmp/multipartBody3517763422957237326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087943875,"filename":"image_19042025_17_59_26_10135.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5d2f193ee914b17da0416b00daa3576e.jpg","text":"TemporaryFile(/tmp/multipartBody5066257183957848560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087943875,"filename":"image_19042025_17_59_16_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986273","file1":"1351986271","file0":"1351986268","file4":"1351986276","file5":"1351986280","file3":"1351986275"},"map_files_photo_id_array":[{"photo_id":"1351986280","filename":"file5"},{"photo_id":"1351986273","filename":"file2"},{"photo_id":"1351986276","filename":"file4"},{"photo_id":"1351986271","filename":"file1"},{"photo_id":"1351986268","filename":"file0"},{"photo_id":"1351986275","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986280":["hashtag1","hashtag2"]},{"1351986271":["hashtag1","hashtag2"]},{"1351986268":["hashtag1","hashtag2"]},{"1351986273":["hashtag1","hashtag2"]},{"1351986276":["hashtag1","hashtag2"]},{"1351986275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986280, 1351986271, 1351986268, 1351986273, 1351986276, 1351986275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.462599992752075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 20:38:42.857643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/17/59/image_19042025_17_59_56_10365.jpg', '/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_15_10081.jpg', '/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_25_10379.jpg', '/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_36_10379.jpg', '/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_45_9482.jpg', '/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_55_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/17/59/image_19042025_17_59_56_10365.jpg
/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_15_10081.jpg
/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_25_10379.jpg
/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_36_10379.jpg
/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_45_9482.jpg
/home/pi/Desktop/images/19042025/18/01/image_19042025_18_01_55_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986305","1351986352","1351986319","1351986357","1351986330","1351986327"],"photo_ids_order":["1351986305","1351986319","1351986327","1351986330","1351986352","1351986357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/276e221bb59925d11fcb949e3b39414e.jpg","text":"TemporaryFile(/tmp/multipartBody3864034325273348837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087983330,"filename":"image_19042025_17_59_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/19/33832ab9d4786bdc94a12aea7373d44b.jpg","text":"TemporaryFile(/tmp/multipartBody5147114628199313360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087983330,"filename":"image_19042025_18_01_45_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/57832fe983644636cd96ad0ecb4f9b14.jpg","text":"TemporaryFile(/tmp/multipartBody2796875342853181217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087983330,"filename":"image_19042025_18_01_15_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/20bfb928dec0f18b0f3510ca372ba804.jpg","text":"TemporaryFile(/tmp/multipartBody2937939739471621979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087983330,"filename":"image_19042025_18_01_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/996a1f6fffec8fe9bc88583fd451a6bb.jpg","text":"TemporaryFile(/tmp/multipartBody4207603578712512038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087983330,"filename":"image_19042025_18_01_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/19/4b74627bd69cb3157ded640536854cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5867307607173048296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745087983330,"filename":"image_19042025_18_01_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986327","file1":"1351986319","file0":"1351986305","file4":"1351986352","file5":"1351986357","file3":"1351986330"},"map_files_photo_id_array":[{"photo_id":"1351986357","filename":"file5"},{"photo_id":"1351986327","filename":"file2"},{"photo_id":"1351986352","filename":"file4"},{"photo_id":"1351986319","filename":"file1"},{"photo_id":"1351986305","filename":"file0"},{"photo_id":"1351986330","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986305":["hashtag1","hashtag2"]},{"1351986352":["hashtag1","hashtag2"]},{"1351986319":["hashtag1","hashtag2"]},{"1351986357":["hashtag1","hashtag2"]},{"1351986330":["hashtag1","hashtag2"]},{"1351986327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986305, 1351986352, 1351986319, 1351986357, 1351986330, 1351986327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75895881652832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:39:32.939090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/01/image_19042025_18_02_05_9414.jpg', '/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_15_10372.jpg', '/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_26_10406.jpg', '/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_35_9341.jpg', '/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_45_10394.jpg', '/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_56_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/01/image_19042025_18_02_05_9414.jpg
/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_15_10372.jpg
/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_26_10406.jpg
/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_35_9341.jpg
/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_45_10394.jpg
/home/pi/Desktop/images/19042025/18/02/image_19042025_18_02_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":["1351986394","1351986388","1351986407","1351986385","1351986409","1351986391"],"photo_ids_order":["1351986385","1351986388","1351986391","1351986394","1351986407","1351986409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8ea3cfb25dd26f006cf0034ebd64baad.jpg","text":"TemporaryFile(/tmp/multipartBody7839862118763943678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088033414,"filename":"image_19042025_18_02_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ed2825bf711a769046e5931a7edf61fe.jpg","text":"TemporaryFile(/tmp/multipartBody7668622788853750603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088033414,"filename":"image_19042025_18_02_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/19/1fa99b7460fae000b436b009cf67f394.jpg","text":"TemporaryFile(/tmp/multipartBody2626397042562578996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088033414,"filename":"image_19042025_18_02_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/577add0047d9cef09be5b74f3efec664.jpg","text":"TemporaryFile(/tmp/multipartBody5293317961774949995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088033414,"filename":"image_19042025_18_02_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/19/a0cf558de91dc94d893febf38b8c97df.jpg","text":"TemporaryFile(/tmp/multipartBody8011387241017370585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088033414,"filename":"image_19042025_18_02_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/19/06b8b39c6c3104a31d7e643db8d0260f.jpg","text":"TemporaryFile(/tmp/multipartBody3518180730622957316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088033414,"filename":"image_19042025_18_02_26_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986391","file1":"1351986388","file0":"1351986385","file4":"1351986407","file5":"1351986409","file3":"1351986394"},"map_files_photo_id_array":[{"photo_id":"1351986409","filename":"file5"},{"photo_id":"1351986391","filename":"file2"},{"photo_id":"1351986407","filename":"file4"},{"photo_id":"1351986388","filename":"file1"},{"photo_id":"1351986385","filename":"file0"},{"photo_id":"1351986394","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986394":["hashtag1","hashtag2"]},{"1351986388":["hashtag1","hashtag2"]},{"1351986407":["hashtag1","hashtag2"]},{"1351986385":["hashtag1","hashtag2"]},{"1351986409":["hashtag1","hashtag2"]},{"1351986391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986394, 1351986388, 1351986407, 1351986385, 1351986409, 1351986391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.943049907684326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:40:32.261923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/02/image_19042025_18_03_05_9348.jpg', '/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_16_10449.jpg', '/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_25_9433.jpg', '/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_35_10374.jpg', '/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_46_10384.jpg', '/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_55_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/02/image_19042025_18_03_05_9348.jpg
/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_16_10449.jpg
/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_25_9433.jpg
/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_35_10374.jpg
/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_46_10384.jpg
/home/pi/Desktop/images/19042025/18/03/image_19042025_18_03_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":["1351986436","1351986430","1351986441","1351986438","1351986432","1351986434"],"photo_ids_order":["1351986430","1351986432","1351986434","1351986436","1351986438","1351986441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/443ecd1239dd81957c17eab46e413947.jpg","text":"TemporaryFile(/tmp/multipartBody7349078974603859937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088092791,"filename":"image_19042025_18_03_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/19/2158e2b3edf77fc97f95f21ea8953cdd.jpg","text":"TemporaryFile(/tmp/multipartBody240594894367208842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088092791,"filename":"image_19042025_18_03_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/579052646033c8a0f64caffa36c9f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody7911612244103014237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088092791,"filename":"image_19042025_18_03_55_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/582b934125dcfc92262c663ec0cc6150.jpg","text":"TemporaryFile(/tmp/multipartBody6201582937175818001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088092791,"filename":"image_19042025_18_03_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/19/2a2b68ac4a9c9fc1da1eddc92f0bd523.jpg","text":"TemporaryFile(/tmp/multipartBody2430336004990365293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088092791,"filename":"image_19042025_18_03_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/19/9500909756e754ee5454c586c406fa9f.jpg","text":"TemporaryFile(/tmp/multipartBody3341538964178006792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088092791,"filename":"image_19042025_18_03_25_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986434","file1":"1351986432","file0":"1351986430","file4":"1351986438","file5":"1351986441","file3":"1351986436"},"map_files_photo_id_array":[{"photo_id":"1351986441","filename":"file5"},{"photo_id":"1351986434","filename":"file2"},{"photo_id":"1351986438","filename":"file4"},{"photo_id":"1351986432","filename":"file1"},{"photo_id":"1351986430","filename":"file0"},{"photo_id":"1351986436","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986436":["hashtag1","hashtag2"]},{"1351986430":["hashtag1","hashtag2"]},{"1351986441":["hashtag1","hashtag2"]},{"1351986438":["hashtag1","hashtag2"]},{"1351986432":["hashtag1","hashtag2"]},{"1351986434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986436, 1351986430, 1351986441, 1351986438, 1351986432, 1351986434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.842913150787354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:41:32.548092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/03/image_19042025_18_04_06_10360.jpg', '/home/pi/Desktop/images/19042025/18/04/image_19042025_18_04_15_9438.jpg', '/home/pi/Desktop/images/19042025/18/04/image_19042025_18_04_36_10428.jpg', '/home/pi/Desktop/images/19042025/18/04/image_19042025_18_04_45_9390.jpg', '/home/pi/Desktop/images/19042025/18/04/image_19042025_18_04_56_10373.jpg', '/home/pi/Desktop/images/19042025/18/04/image_19042025_18_05_05_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/03/image_19042025_18_04_06_10360.jpg
/home/pi/Desktop/images/19042025/18/04/image_19042025_18_04_15_9438.jpg
/home/pi/Desktop/images/19042025/18/04/image_19042025_18_04_36_10428.jpg
/home/pi/Desktop/images/19042025/18/04/image_19042025_18_04_45_9390.jpg
/home/pi/Desktop/images/19042025/18/04/image_19042025_18_04_56_10373.jpg
/home/pi/Desktop/images/19042025/18/04/image_19042025_18_05_05_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":["1351986475","1351986511","1351986489","1351986501","1351986513","1351986515"],"photo_ids_order":["1351986475","1351986489","1351986501","1351986511","1351986513","1351986515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fefaaa166c3cf16aefe983c2e3b8369a.jpg","text":"TemporaryFile(/tmp/multipartBody7618437109185187273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088153007,"filename":"image_19042025_18_04_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/19/4006b2c36412d1dc7d2e19408998dc3a.jpg","text":"TemporaryFile(/tmp/multipartBody7029656489204977212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088153007,"filename":"image_19042025_18_04_45_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/19/66e0cfd7900c2b352b0f3106695e9441.jpg","text":"TemporaryFile(/tmp/multipartBody3295914518378768677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088153007,"filename":"image_19042025_18_04_15_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/17dcf3a0697dc44570497b6b38dc6b56.jpg","text":"TemporaryFile(/tmp/multipartBody5317835907888691347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088153007,"filename":"image_19042025_18_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/19/6cc14a783efce22d01e5f8f5038c7b97.jpg","text":"TemporaryFile(/tmp/multipartBody811278048288552212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088153007,"filename":"image_19042025_18_04_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/19/8b3c7f20e52e0ab73250063c89dff60d.jpg","text":"TemporaryFile(/tmp/multipartBody9053993341767889018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088153007,"filename":"image_19042025_18_05_05_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986501","file1":"1351986489","file0":"1351986475","file4":"1351986513","file5":"1351986515","file3":"1351986511"},"map_files_photo_id_array":[{"photo_id":"1351986515","filename":"file5"},{"photo_id":"1351986501","filename":"file2"},{"photo_id":"1351986513","filename":"file4"},{"photo_id":"1351986489","filename":"file1"},{"photo_id":"1351986475","filename":"file0"},{"photo_id":"1351986511","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986475":["hashtag1","hashtag2"]},{"1351986511":["hashtag1","hashtag2"]},{"1351986489":["hashtag1","hashtag2"]},{"1351986501":["hashtag1","hashtag2"]},{"1351986513":["hashtag1","hashtag2"]},{"1351986515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986475, 1351986511, 1351986489, 1351986501, 1351986513, 1351986515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.74993062019348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:42:32.724702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/05/image_19042025_18_05_15_10353.jpg', '/home/pi/Desktop/images/19042025/18/05/image_19042025_18_05_35_9367.jpg', '/home/pi/Desktop/images/19042025/18/05/image_19042025_18_05_45_10385.jpg', '/home/pi/Desktop/images/19042025/18/05/image_19042025_18_05_55_9475.jpg', '/home/pi/Desktop/images/19042025/18/05/image_19042025_18_06_05_10373.jpg', '/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_16_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/05/image_19042025_18_05_15_10353.jpg
/home/pi/Desktop/images/19042025/18/05/image_19042025_18_05_35_9367.jpg
/home/pi/Desktop/images/19042025/18/05/image_19042025_18_05_45_10385.jpg
/home/pi/Desktop/images/19042025/18/05/image_19042025_18_05_55_9475.jpg
/home/pi/Desktop/images/19042025/18/05/image_19042025_18_06_05_10373.jpg
/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_16_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":["1351986529","1351986531","1351986525","1351986524","1351986533","1351986527"],"photo_ids_order":["1351986524","1351986525","1351986527","1351986529","1351986531","1351986533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6afc7e7416a1300a804c5b34c16a09af.jpg","text":"TemporaryFile(/tmp/multipartBody3539091659915254412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088213278,"filename":"image_19042025_18_05_55_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/371498a5219cca0984ff10f0a78d6bd9.jpg","text":"TemporaryFile(/tmp/multipartBody1210104753817547590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088213278,"filename":"image_19042025_18_06_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e8a95c96741be7b036f4c5c2bf9f1bf4.jpg","text":"TemporaryFile(/tmp/multipartBody4651688062888480209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088213278,"filename":"image_19042025_18_05_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/83c7710619a6c84bf102ed51227fe574.jpg","text":"TemporaryFile(/tmp/multipartBody2054971880872918321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088213278,"filename":"image_19042025_18_05_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/73e5efc86d9767337efc3c2b10296077.jpg","text":"TemporaryFile(/tmp/multipartBody3064791276042886857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088213278,"filename":"image_19042025_18_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/19/cad232235b07f25764535b9005002e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8853276300852532093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088213278,"filename":"image_19042025_18_05_45_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986527","file1":"1351986525","file0":"1351986524","file4":"1351986531","file5":"1351986533","file3":"1351986529"},"map_files_photo_id_array":[{"photo_id":"1351986533","filename":"file5"},{"photo_id":"1351986527","filename":"file2"},{"photo_id":"1351986531","filename":"file4"},{"photo_id":"1351986525","filename":"file1"},{"photo_id":"1351986524","filename":"file0"},{"photo_id":"1351986529","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986529":["hashtag1","hashtag2"]},{"1351986531":["hashtag1","hashtag2"]},{"1351986525":["hashtag1","hashtag2"]},{"1351986524":["hashtag1","hashtag2"]},{"1351986533":["hashtag1","hashtag2"]},{"1351986527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986529, 1351986531, 1351986525, 1351986524, 1351986533, 1351986527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.456435203552246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:43:32.842836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_25_9449.jpg', '/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_35_10377.jpg', '/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_45_9424.jpg', '/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_55_10457.jpg', '/home/pi/Desktop/images/19042025/18/06/image_19042025_18_07_06_10366.jpg', '/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_15_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_25_9449.jpg
/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_35_10377.jpg
/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_45_9424.jpg
/home/pi/Desktop/images/19042025/18/06/image_19042025_18_06_55_10457.jpg
/home/pi/Desktop/images/19042025/18/06/image_19042025_18_07_06_10366.jpg
/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_15_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":["1351986553","1351986550","1351986544","1351986547","1351986555","1351986551"],"photo_ids_order":["1351986544","1351986547","1351986550","1351986551","1351986553","1351986555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/73ef9095efbb4a46d1e76388df7601ee.jpg","text":"TemporaryFile(/tmp/multipartBody6905016950023267481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088273315,"filename":"image_19042025_18_07_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/19/4e151c7f6a6d6d3e140631443a201d58.jpg","text":"TemporaryFile(/tmp/multipartBody6545330508166095764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088273315,"filename":"image_19042025_18_06_45_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/19/a0544db94b064b85a356a24f70a977c8.jpg","text":"TemporaryFile(/tmp/multipartBody5164491494885274424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088273315,"filename":"image_19042025_18_06_25_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/357c6774ceae5086ce8f396b6cf1063b.jpg","text":"TemporaryFile(/tmp/multipartBody2419727930139657049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088273315,"filename":"image_19042025_18_06_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/19/877201a442d72c94d5287494aa966946.jpg","text":"TemporaryFile(/tmp/multipartBody5645421235682078633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088273315,"filename":"image_19042025_18_07_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/19/ed9cb5f86ac2367067fece1c996747b7.jpg","text":"TemporaryFile(/tmp/multipartBody865483893991944848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088273315,"filename":"image_19042025_18_06_55_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986550","file1":"1351986547","file0":"1351986544","file4":"1351986553","file5":"1351986555","file3":"1351986551"},"map_files_photo_id_array":[{"photo_id":"1351986555","filename":"file5"},{"photo_id":"1351986550","filename":"file2"},{"photo_id":"1351986553","filename":"file4"},{"photo_id":"1351986547","filename":"file1"},{"photo_id":"1351986544","filename":"file0"},{"photo_id":"1351986551","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986553":["hashtag1","hashtag2"]},{"1351986550":["hashtag1","hashtag2"]},{"1351986544":["hashtag1","hashtag2"]},{"1351986547":["hashtag1","hashtag2"]},{"1351986555":["hashtag1","hashtag2"]},{"1351986551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986553, 1351986550, 1351986544, 1351986547, 1351986555, 1351986551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.168822526931763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:44:33.097004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_25_10368.jpg', '/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_35_9492.jpg', '/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_45_10373.jpg', '/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_56_10374.jpg', '/home/pi/Desktop/images/19042025/18/07/image_19042025_18_08_05_9376.jpg', '/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_15_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_25_10368.jpg
/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_35_9492.jpg
/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_45_10373.jpg
/home/pi/Desktop/images/19042025/18/07/image_19042025_18_07_56_10374.jpg
/home/pi/Desktop/images/19042025/18/07/image_19042025_18_08_05_9376.jpg
/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_15_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":["1351986580","1351986583","1351986582","1351986575","1351986578","1351986572"],"photo_ids_order":["1351986572","1351986575","1351986578","1351986580","1351986582","1351986583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99b2d560bf5d90fd32c3d76e4c3732ba.jpg","text":"TemporaryFile(/tmp/multipartBody6389686260298547938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088333669,"filename":"image_19042025_18_07_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/74de74c7aa7be74ddee47b63ed6cd9bc.jpg","text":"TemporaryFile(/tmp/multipartBody2170296555514671508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088333669,"filename":"image_19042025_18_08_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7388807c92f3f113ee6bf39b4b4c9c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2728675936428690556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088333669,"filename":"image_19042025_18_08_05_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4dd69f61d7a74fee1bab8e451f130f43.jpg","text":"TemporaryFile(/tmp/multipartBody2470357864243428363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088333669,"filename":"image_19042025_18_07_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/19/fcbcb2e58231e97c2f852d74657d2121.jpg","text":"TemporaryFile(/tmp/multipartBody1611665498178091590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088333669,"filename":"image_19042025_18_07_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf131523f2c4821a8c1d527890d7150d.jpg","text":"TemporaryFile(/tmp/multipartBody5316328369125557271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088333669,"filename":"image_19042025_18_07_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986578","file1":"1351986575","file0":"1351986572","file4":"1351986582","file5":"1351986583","file3":"1351986580"},"map_files_photo_id_array":[{"photo_id":"1351986583","filename":"file5"},{"photo_id":"1351986578","filename":"file2"},{"photo_id":"1351986582","filename":"file4"},{"photo_id":"1351986575","filename":"file1"},{"photo_id":"1351986572","filename":"file0"},{"photo_id":"1351986580","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986580":["hashtag1","hashtag2"]},{"1351986583":["hashtag1","hashtag2"]},{"1351986582":["hashtag1","hashtag2"]},{"1351986575":["hashtag1","hashtag2"]},{"1351986578":["hashtag1","hashtag2"]},{"1351986572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986580, 1351986583, 1351986582, 1351986575, 1351986578, 1351986572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27820301055908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:45:32.449330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_25_9418.jpg', '/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_35_10388.jpg', '/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_46_10459.jpg', '/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_55_9394.jpg', '/home/pi/Desktop/images/19042025/18/08/image_19042025_18_09_06_10366.jpg', '/home/pi/Desktop/images/19042025/18/09/image_19042025_18_09_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_25_9418.jpg
/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_35_10388.jpg
/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_46_10459.jpg
/home/pi/Desktop/images/19042025/18/08/image_19042025_18_08_55_9394.jpg
/home/pi/Desktop/images/19042025/18/08/image_19042025_18_09_06_10366.jpg
/home/pi/Desktop/images/19042025/18/09/image_19042025_18_09_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":["1351986643","1351986646","1351986619","1351986642","1351986618","1351986647"],"photo_ids_order":["1351986618","1351986619","1351986642","1351986643","1351986646","1351986647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/63d097d01cb29701cedd52cdf5b08457.jpg","text":"TemporaryFile(/tmp/multipartBody7971817410774724344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088392947,"filename":"image_19042025_18_08_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/19/57f9b7eb00cc819ef9805554bd1bc462.jpg","text":"TemporaryFile(/tmp/multipartBody2681278156018758683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088392947,"filename":"image_19042025_18_09_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/19/12f0c097008879f5a72ea8a007edf974.jpg","text":"TemporaryFile(/tmp/multipartBody6395191636804164129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088392947,"filename":"image_19042025_18_08_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/53ac23a48317a4f847ed1c7ce3225f4c.jpg","text":"TemporaryFile(/tmp/multipartBody8890769843881842491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088392947,"filename":"image_19042025_18_08_46_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b85958cecc023139ae8cbe9f3675a76.jpg","text":"TemporaryFile(/tmp/multipartBody5983691288796329663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088392947,"filename":"image_19042025_18_08_25_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/10ff2cadbd120f2a03ec8b28a1bb84a4.jpg","text":"TemporaryFile(/tmp/multipartBody2562359266946161646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088392947,"filename":"image_19042025_18_09_25_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986642","file1":"1351986619","file0":"1351986618","file4":"1351986646","file5":"1351986647","file3":"1351986643"},"map_files_photo_id_array":[{"photo_id":"1351986647","filename":"file5"},{"photo_id":"1351986642","filename":"file2"},{"photo_id":"1351986646","filename":"file4"},{"photo_id":"1351986619","filename":"file1"},{"photo_id":"1351986618","filename":"file0"},{"photo_id":"1351986643","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986643":["hashtag1","hashtag2"]},{"1351986646":["hashtag1","hashtag2"]},{"1351986619":["hashtag1","hashtag2"]},{"1351986642":["hashtag1","hashtag2"]},{"1351986618":["hashtag1","hashtag2"]},{"1351986647":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986643, 1351986646, 1351986619, 1351986642, 1351986618, 1351986647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.816564321517944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:46:32.748967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/09/image_19042025_18_09_36_10388.jpg', '/home/pi/Desktop/images/19042025/18/09/image_19042025_18_09_45_9486.jpg', '/home/pi/Desktop/images/19042025/18/09/image_19042025_18_09_56_10360.jpg', '/home/pi/Desktop/images/19042025/18/09/image_19042025_18_10_05_9393.jpg', '/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_15_10357.jpg', '/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_26_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/09/image_19042025_18_09_36_10388.jpg
/home/pi/Desktop/images/19042025/18/09/image_19042025_18_09_45_9486.jpg
/home/pi/Desktop/images/19042025/18/09/image_19042025_18_09_56_10360.jpg
/home/pi/Desktop/images/19042025/18/09/image_19042025_18_10_05_9393.jpg
/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_15_10357.jpg
/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_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":["1351986667","1351986664","1351986658","1351986668","1351986662","1351986665"],"photo_ids_order":["1351986658","1351986662","1351986664","1351986665","1351986667","1351986668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d4b1f2bfc6cad3f7c54b8a25ee94868d.jpg","text":"TemporaryFile(/tmp/multipartBody985231849355209540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088453233,"filename":"image_19042025_18_10_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/19/a67b37287208647d90c09a0049a0a802.jpg","text":"TemporaryFile(/tmp/multipartBody7287489555013464549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088453233,"filename":"image_19042025_18_09_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/19/f7e6a294b4b82ec58f6961dd212d69e9.jpg","text":"TemporaryFile(/tmp/multipartBody4013027586120452427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088453233,"filename":"image_19042025_18_09_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b6391e395b40121e4fee223d92acb46.jpg","text":"TemporaryFile(/tmp/multipartBody2678412829589187114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088453233,"filename":"image_19042025_18_10_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/19/ff7d5aefb9cd1dcee72a2a86e1433186.jpg","text":"TemporaryFile(/tmp/multipartBody210601278952470176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088453233,"filename":"image_19042025_18_09_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/19/f901f886fccb60e1d330f63f86d7ddf7.jpg","text":"TemporaryFile(/tmp/multipartBody8907418105546337802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088453233,"filename":"image_19042025_18_10_05_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986664","file1":"1351986662","file0":"1351986658","file4":"1351986667","file5":"1351986668","file3":"1351986665"},"map_files_photo_id_array":[{"photo_id":"1351986668","filename":"file5"},{"photo_id":"1351986664","filename":"file2"},{"photo_id":"1351986667","filename":"file4"},{"photo_id":"1351986662","filename":"file1"},{"photo_id":"1351986658","filename":"file0"},{"photo_id":"1351986665","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986667":["hashtag1","hashtag2"]},{"1351986664":["hashtag1","hashtag2"]},{"1351986658":["hashtag1","hashtag2"]},{"1351986668":["hashtag1","hashtag2"]},{"1351986662":["hashtag1","hashtag2"]},{"1351986665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986667, 1351986664, 1351986658, 1351986668, 1351986662, 1351986665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.570601224899292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:47:32.985443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_35_9352.jpg', '/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_45_10384.jpg', '/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_55_9485.jpg', '/home/pi/Desktop/images/19042025/18/10/image_19042025_18_11_05_10417.jpg', '/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_16_10346.jpg', '/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_25_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_35_9352.jpg
/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_45_10384.jpg
/home/pi/Desktop/images/19042025/18/10/image_19042025_18_10_55_9485.jpg
/home/pi/Desktop/images/19042025/18/10/image_19042025_18_11_05_10417.jpg
/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_16_10346.jpg
/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_25_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":["1351986685","1351986681","1351986687","1351986686","1351986689","1351986683"],"photo_ids_order":["1351986681","1351986683","1351986685","1351986686","1351986687","1351986689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b98cec114d4ca6617db17cc08c0fc520.jpg","text":"TemporaryFile(/tmp/multipartBody7067807145742913779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088513450,"filename":"image_19042025_18_10_55_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/91f386d2dd522f46c58da71cf0396460.jpg","text":"TemporaryFile(/tmp/multipartBody3154913499083294922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088513450,"filename":"image_19042025_18_10_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/19/e28fb5766ed29605b1dccfcaacce318a.jpg","text":"TemporaryFile(/tmp/multipartBody7556540336856972492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088513450,"filename":"image_19042025_18_11_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/19/10cfe4af75cb91b588fa5c128f415099.jpg","text":"TemporaryFile(/tmp/multipartBody8736528432387697172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088513450,"filename":"image_19042025_18_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/19/0e0eb3434dd9d91ad069f544363811da.jpg","text":"TemporaryFile(/tmp/multipartBody6492184772782815415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088513450,"filename":"image_19042025_18_11_25_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/96c9471cd18f6fd35f3abf82a30e5a57.jpg","text":"TemporaryFile(/tmp/multipartBody8176306913577520365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088513450,"filename":"image_19042025_18_10_45_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986685","file1":"1351986683","file0":"1351986681","file4":"1351986687","file5":"1351986689","file3":"1351986686"},"map_files_photo_id_array":[{"photo_id":"1351986689","filename":"file5"},{"photo_id":"1351986685","filename":"file2"},{"photo_id":"1351986687","filename":"file4"},{"photo_id":"1351986683","filename":"file1"},{"photo_id":"1351986681","filename":"file0"},{"photo_id":"1351986686","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986685":["hashtag1","hashtag2"]},{"1351986681":["hashtag1","hashtag2"]},{"1351986687":["hashtag1","hashtag2"]},{"1351986686":["hashtag1","hashtag2"]},{"1351986689":["hashtag1","hashtag2"]},{"1351986683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986685, 1351986681, 1351986687, 1351986686, 1351986689, 1351986683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.505645990371704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:48:32.263073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_36_10382.jpg', '/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_45_9429.jpg', '/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_55_10368.jpg', '/home/pi/Desktop/images/19042025/18/11/image_19042025_18_12_06_10354.jpg', '/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_15_9427.jpg', '/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_36_10382.jpg
/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_45_9429.jpg
/home/pi/Desktop/images/19042025/18/11/image_19042025_18_11_55_10368.jpg
/home/pi/Desktop/images/19042025/18/11/image_19042025_18_12_06_10354.jpg
/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_15_9427.jpg
/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_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":["1351986952","1351986841","1351986924","1351986867","1351986813","1351986896"],"photo_ids_order":["1351986813","1351986841","1351986867","1351986896","1351986924","1351986952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f3ca0b2f8a359d8b1dc5c8bb487224b4.jpg","text":"TemporaryFile(/tmp/multipartBody448458301222994352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088572738,"filename":"image_19042025_18_12_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/19/ddf7a4a57bd8d0a7ae2c6a295be9fb37.jpg","text":"TemporaryFile(/tmp/multipartBody2632131018740416611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088572738,"filename":"image_19042025_18_11_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/19/286ef606796489bcd06b9edfed13fc84.jpg","text":"TemporaryFile(/tmp/multipartBody6941832295357171247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088572738,"filename":"image_19042025_18_12_15_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/538bcab54e76dfbc3c9cefe0f89b1f21.jpg","text":"TemporaryFile(/tmp/multipartBody99249137856629817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088572738,"filename":"image_19042025_18_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/19/f77397544f071a3257dc0167a10d887d.jpg","text":"TemporaryFile(/tmp/multipartBody8353904746498260694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088572738,"filename":"image_19042025_18_11_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/19/6502baf3f8784d7d882930d93eae65cc.jpg","text":"TemporaryFile(/tmp/multipartBody7293233438171892099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088572738,"filename":"image_19042025_18_12_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986867","file1":"1351986841","file0":"1351986813","file4":"1351986924","file5":"1351986952","file3":"1351986896"},"map_files_photo_id_array":[{"photo_id":"1351986952","filename":"file5"},{"photo_id":"1351986867","filename":"file2"},{"photo_id":"1351986924","filename":"file4"},{"photo_id":"1351986841","filename":"file1"},{"photo_id":"1351986813","filename":"file0"},{"photo_id":"1351986896","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351986952":["hashtag1","hashtag2"]},{"1351986841":["hashtag1","hashtag2"]},{"1351986924":["hashtag1","hashtag2"]},{"1351986867":["hashtag1","hashtag2"]},{"1351986813":["hashtag1","hashtag2"]},{"1351986896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351986952, 1351986841, 1351986924, 1351986867, 1351986813, 1351986896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0821590423584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:49:32.558602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_35_9418.jpg', '/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_45_10383.jpg', '/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_56_10363.jpg', '/home/pi/Desktop/images/19042025/18/12/image_19042025_18_13_05_9422.jpg', '/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_15_10386.jpg', '/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_25_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_35_9418.jpg
/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_45_10383.jpg
/home/pi/Desktop/images/19042025/18/12/image_19042025_18_12_56_10363.jpg
/home/pi/Desktop/images/19042025/18/12/image_19042025_18_13_05_9422.jpg
/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_15_10386.jpg
/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_25_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":["1351987251","1351987347","1351987281","1351987442","1351987319","1351987220"],"photo_ids_order":["1351987220","1351987251","1351987281","1351987319","1351987347","1351987442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/676c10cfc1ba863382e5198f0d274abf.jpg","text":"TemporaryFile(/tmp/multipartBody2496487453492571896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088633027,"filename":"image_19042025_18_12_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/19/5e785631b9216531b7cb0a19cf7961d4.jpg","text":"TemporaryFile(/tmp/multipartBody7197061454736681196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088633027,"filename":"image_19042025_18_13_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/19/4550d3a4082b86769f942d27f6c3175d.jpg","text":"TemporaryFile(/tmp/multipartBody7915805019141442888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088633027,"filename":"image_19042025_18_12_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/19/8e4eed30e1cdff4a760f52ec599e2495.jpg","text":"TemporaryFile(/tmp/multipartBody2467052380664828395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088633027,"filename":"image_19042025_18_13_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/19/45a07fdddef90ea6ba80700df5b0b579.jpg","text":"TemporaryFile(/tmp/multipartBody5149519681937670815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088633027,"filename":"image_19042025_18_13_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/19/f82fb61d4a305bd4c1197a75b07e6218.jpg","text":"TemporaryFile(/tmp/multipartBody3976901987599789116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088633027,"filename":"image_19042025_18_12_35_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351987281","file1":"1351987251","file0":"1351987220","file4":"1351987347","file5":"1351987442","file3":"1351987319"},"map_files_photo_id_array":[{"photo_id":"1351987442","filename":"file5"},{"photo_id":"1351987281","filename":"file2"},{"photo_id":"1351987347","filename":"file4"},{"photo_id":"1351987251","filename":"file1"},{"photo_id":"1351987220","filename":"file0"},{"photo_id":"1351987319","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351987251":["hashtag1","hashtag2"]},{"1351987347":["hashtag1","hashtag2"]},{"1351987281":["hashtag1","hashtag2"]},{"1351987442":["hashtag1","hashtag2"]},{"1351987319":["hashtag1","hashtag2"]},{"1351987220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351987251, 1351987347, 1351987281, 1351987442, 1351987319, 1351987220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57977747917175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:50:32.805405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_35_10467.jpg', '/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_46_10387.jpg', '/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_55_9429.jpg', '/home/pi/Desktop/images/19042025/18/13/image_19042025_18_14_06_10357.jpg', '/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_15_9376.jpg', '/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_35_10467.jpg
/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_46_10387.jpg
/home/pi/Desktop/images/19042025/18/13/image_19042025_18_13_55_9429.jpg
/home/pi/Desktop/images/19042025/18/13/image_19042025_18_14_06_10357.jpg
/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_15_9376.jpg
/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_25_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351987702","1351987788","1351987758","1351987673","1351987838","1351987730"],"photo_ids_order":["1351987673","1351987702","1351987730","1351987758","1351987788","1351987838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f429c58c158ddd49f5a6b404aba0329e.jpg","text":"TemporaryFile(/tmp/multipartBody6250800860389557719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088693300,"filename":"image_19042025_18_13_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3890d577e36bb74d2fc82e7632bbea8a.jpg","text":"TemporaryFile(/tmp/multipartBody1719535545796244527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088693300,"filename":"image_19042025_18_14_15_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/820269dea4c8be09c1a5cb46fb77b558.jpg","text":"TemporaryFile(/tmp/multipartBody5508511193656017902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088693300,"filename":"image_19042025_18_14_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/19/ca4891cb73d7711baa49174a09eff64f.jpg","text":"TemporaryFile(/tmp/multipartBody159870355038093976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088693300,"filename":"image_19042025_18_13_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/19/9cd3ce2d78e03ccab62720f961b63fab.jpg","text":"TemporaryFile(/tmp/multipartBody3905198376753735673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088693300,"filename":"image_19042025_18_14_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/19/2305d1e528bf75a9d4f56cf64f6dbb96.jpg","text":"TemporaryFile(/tmp/multipartBody3926544392118362608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088693300,"filename":"image_19042025_18_13_55_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351987730","file1":"1351987702","file0":"1351987673","file4":"1351987788","file5":"1351987838","file3":"1351987758"},"map_files_photo_id_array":[{"photo_id":"1351987838","filename":"file5"},{"photo_id":"1351987730","filename":"file2"},{"photo_id":"1351987788","filename":"file4"},{"photo_id":"1351987702","filename":"file1"},{"photo_id":"1351987673","filename":"file0"},{"photo_id":"1351987758","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351987702":["hashtag1","hashtag2"]},{"1351987788":["hashtag1","hashtag2"]},{"1351987758":["hashtag1","hashtag2"]},{"1351987673":["hashtag1","hashtag2"]},{"1351987838":["hashtag1","hashtag2"]},{"1351987730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351987702, 1351987788, 1351987758, 1351987673, 1351987838, 1351987730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.808533668518066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:51:33.161360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_36_10379.jpg', '/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_45_9397.jpg', '/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_55_10378.jpg', '/home/pi/Desktop/images/19042025/18/14/image_19042025_18_15_05_9449.jpg', '/home/pi/Desktop/images/19042025/18/15/image_19042025_18_15_15_10357.jpg', '/home/pi/Desktop/images/19042025/18/15/image_19042025_18_15_35_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_36_10379.jpg
/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_45_9397.jpg
/home/pi/Desktop/images/19042025/18/14/image_19042025_18_14_55_10378.jpg
/home/pi/Desktop/images/19042025/18/14/image_19042025_18_15_05_9449.jpg
/home/pi/Desktop/images/19042025/18/15/image_19042025_18_15_15_10357.jpg
/home/pi/Desktop/images/19042025/18/15/image_19042025_18_15_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":["1351988206","1351988235","1351988136","1351988109","1351988273","1351988161"],"photo_ids_order":["1351988109","1351988136","1351988161","1351988206","1351988235","1351988273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3d7ea1cfe7ab27328d7fc6d328817da8.jpg","text":"TemporaryFile(/tmp/multipartBody7476646542967922807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088753624,"filename":"image_19042025_18_15_05_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/76cb845e876099b515122c7a800e7cad.jpg","text":"TemporaryFile(/tmp/multipartBody8532109231796471549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088753624,"filename":"image_19042025_18_15_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/19/e9393de72dda4042f0bbd61573595e39.jpg","text":"TemporaryFile(/tmp/multipartBody2123729327501593972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088753624,"filename":"image_19042025_18_14_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/19/0456a8e3a5b5f4cc56053531d8f9afb8.jpg","text":"TemporaryFile(/tmp/multipartBody1416506576811896111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088753624,"filename":"image_19042025_18_14_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/19/b651a08303c6cb10b223164a0b84a657.jpg","text":"TemporaryFile(/tmp/multipartBody1662472181344281461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088753624,"filename":"image_19042025_18_15_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/19/80da42b8b13fa31d70620011690f6601.jpg","text":"TemporaryFile(/tmp/multipartBody892294328285941345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088753624,"filename":"image_19042025_18_14_55_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351988161","file1":"1351988136","file0":"1351988109","file4":"1351988235","file5":"1351988273","file3":"1351988206"},"map_files_photo_id_array":[{"photo_id":"1351988273","filename":"file5"},{"photo_id":"1351988161","filename":"file2"},{"photo_id":"1351988235","filename":"file4"},{"photo_id":"1351988136","filename":"file1"},{"photo_id":"1351988109","filename":"file0"},{"photo_id":"1351988206","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351988206":["hashtag1","hashtag2"]},{"1351988235":["hashtag1","hashtag2"]},{"1351988136":["hashtag1","hashtag2"]},{"1351988109":["hashtag1","hashtag2"]},{"1351988273":["hashtag1","hashtag2"]},{"1351988161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351988206, 1351988235, 1351988136, 1351988109, 1351988273, 1351988161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06519150733948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:52:32.359322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/15/image_19042025_18_15_45_10379.jpg', '/home/pi/Desktop/images/19042025/18/15/image_19042025_18_15_56_10362.jpg', '/home/pi/Desktop/images/19042025/18/15/image_19042025_18_16_05_9447.jpg', '/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_16_10362.jpg', '/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_25_9445.jpg', '/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_35_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/15/image_19042025_18_15_45_10379.jpg
/home/pi/Desktop/images/19042025/18/15/image_19042025_18_15_56_10362.jpg
/home/pi/Desktop/images/19042025/18/15/image_19042025_18_16_05_9447.jpg
/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_16_10362.jpg
/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_25_9445.jpg
/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_35_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351988460","1351988462","1351988470","1351988464","1351988458","1351988467"],"photo_ids_order":["1351988458","1351988460","1351988462","1351988464","1351988467","1351988470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/15a28450cf9950edb134af0a0bbadfda.jpg","text":"TemporaryFile(/tmp/multipartBody2786108051498261356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088812827,"filename":"image_19042025_18_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/19/151f615eeb9343cf63bcb57ca7c03df6.jpg","text":"TemporaryFile(/tmp/multipartBody2401572801223320120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088812827,"filename":"image_19042025_18_16_05_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/83def088a160b59333d53d3ba5bacded.jpg","text":"TemporaryFile(/tmp/multipartBody8413347669514020045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088812827,"filename":"image_19042025_18_16_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee5219f2b93c77875d7cf02a61729583.jpg","text":"TemporaryFile(/tmp/multipartBody3863157460968499508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088812827,"filename":"image_19042025_18_16_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/19/2215f1cd9b27b593d4a9ecafd713204d.jpg","text":"TemporaryFile(/tmp/multipartBody396017374369630869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088812827,"filename":"image_19042025_18_15_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/19/16aba54ac0b60dcf45e924eb6cb581c7.jpg","text":"TemporaryFile(/tmp/multipartBody3136106823854786192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088812827,"filename":"image_19042025_18_16_25_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351988462","file1":"1351988460","file0":"1351988458","file4":"1351988467","file5":"1351988470","file3":"1351988464"},"map_files_photo_id_array":[{"photo_id":"1351988470","filename":"file5"},{"photo_id":"1351988462","filename":"file2"},{"photo_id":"1351988467","filename":"file4"},{"photo_id":"1351988460","filename":"file1"},{"photo_id":"1351988458","filename":"file0"},{"photo_id":"1351988464","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351988460":["hashtag1","hashtag2"]},{"1351988462":["hashtag1","hashtag2"]},{"1351988470":["hashtag1","hashtag2"]},{"1351988464":["hashtag1","hashtag2"]},{"1351988458":["hashtag1","hashtag2"]},{"1351988467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351988460, 1351988462, 1351988470, 1351988464, 1351988458, 1351988467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39995551109314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:53:32.602574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_45_9462.jpg', '/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_55_10383.jpg', '/home/pi/Desktop/images/19042025/18/16/image_19042025_18_17_06_10353.jpg', '/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_15_9457.jpg', '/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_25_10383.jpg', '/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_35_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_45_9462.jpg
/home/pi/Desktop/images/19042025/18/16/image_19042025_18_16_55_10383.jpg
/home/pi/Desktop/images/19042025/18/16/image_19042025_18_17_06_10353.jpg
/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_15_9457.jpg
/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_25_10383.jpg
/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_35_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":["1351988492","1351988489","1351988501","1351988494","1351988497","1351988499"],"photo_ids_order":["1351988489","1351988492","1351988494","1351988497","1351988499","1351988501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/65da8d147aa5bc83d6217e98340c8708.jpg","text":"TemporaryFile(/tmp/multipartBody6183541020138642052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088873072,"filename":"image_19042025_18_16_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/19/5b628f8c5ed74f015a63a2102596de8e.jpg","text":"TemporaryFile(/tmp/multipartBody5151453185404764750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088873072,"filename":"image_19042025_18_16_45_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fdc248b53c004c6e6377286f7c2f7977.jpg","text":"TemporaryFile(/tmp/multipartBody8394235406780004808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088873072,"filename":"image_19042025_18_17_35_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a708de3537488d7119c3f9b38a69544c.jpg","text":"TemporaryFile(/tmp/multipartBody3663980478472288932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088873072,"filename":"image_19042025_18_17_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/19/49bf027fe3744d166207a14a244a427e.jpg","text":"TemporaryFile(/tmp/multipartBody5562868091891514734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088873072,"filename":"image_19042025_18_17_15_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a9cb6d5fc0a168a7383887472e164a8.jpg","text":"TemporaryFile(/tmp/multipartBody8370419657150177784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088873072,"filename":"image_19042025_18_17_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351988494","file1":"1351988492","file0":"1351988489","file4":"1351988499","file5":"1351988501","file3":"1351988497"},"map_files_photo_id_array":[{"photo_id":"1351988501","filename":"file5"},{"photo_id":"1351988494","filename":"file2"},{"photo_id":"1351988499","filename":"file4"},{"photo_id":"1351988492","filename":"file1"},{"photo_id":"1351988489","filename":"file0"},{"photo_id":"1351988497","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351988492":["hashtag1","hashtag2"]},{"1351988489":["hashtag1","hashtag2"]},{"1351988501":["hashtag1","hashtag2"]},{"1351988494":["hashtag1","hashtag2"]},{"1351988497":["hashtag1","hashtag2"]},{"1351988499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351988492, 1351988489, 1351988501, 1351988494, 1351988497, 1351988499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.45518136024475 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:54:32.867009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_45_10378.jpg', '/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_56_10374.jpg', '/home/pi/Desktop/images/19042025/18/17/image_19042025_18_18_05_9419.jpg', '/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_15_10361.jpg', '/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_25_9368.jpg', '/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_35_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_45_10378.jpg
/home/pi/Desktop/images/19042025/18/17/image_19042025_18_17_56_10374.jpg
/home/pi/Desktop/images/19042025/18/17/image_19042025_18_18_05_9419.jpg
/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_15_10361.jpg
/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_25_9368.jpg
/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_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":["1351988625","1351988780","1351988717","1351988596","1351988755","1351988653"],"photo_ids_order":["1351988596","1351988625","1351988653","1351988717","1351988755","1351988780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4a684c240150b27ffbb45ab1f1608e20.jpg","text":"TemporaryFile(/tmp/multipartBody4398594937035007193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088933331,"filename":"image_19042025_18_17_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/19/f4f7f624543a2b95f0a61c8d4d5dde53.jpg","text":"TemporaryFile(/tmp/multipartBody8081724340282643412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088933331,"filename":"image_19042025_18_18_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/19/9c1a899c28f31503414ab66588dfd6f9.jpg","text":"TemporaryFile(/tmp/multipartBody7573377137608151826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088933331,"filename":"image_19042025_18_18_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/510ca86a35a3e54f42fa0bffa2c72331.jpg","text":"TemporaryFile(/tmp/multipartBody6336732281791237176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088933331,"filename":"image_19042025_18_17_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/19/83212eb930cd080a1c922f98d87f56c3.jpg","text":"TemporaryFile(/tmp/multipartBody4260133540905666713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088933331,"filename":"image_19042025_18_18_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/19/d90c21f036518acffe9a387046ed40c3.jpg","text":"TemporaryFile(/tmp/multipartBody5656781615103038625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088933331,"filename":"image_19042025_18_18_05_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351988653","file1":"1351988625","file0":"1351988596","file4":"1351988755","file5":"1351988780","file3":"1351988717"},"map_files_photo_id_array":[{"photo_id":"1351988780","filename":"file5"},{"photo_id":"1351988653","filename":"file2"},{"photo_id":"1351988755","filename":"file4"},{"photo_id":"1351988625","filename":"file1"},{"photo_id":"1351988596","filename":"file0"},{"photo_id":"1351988717","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351988625":["hashtag1","hashtag2"]},{"1351988780":["hashtag1","hashtag2"]},{"1351988717":["hashtag1","hashtag2"]},{"1351988596":["hashtag1","hashtag2"]},{"1351988755":["hashtag1","hashtag2"]},{"1351988653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351988625, 1351988780, 1351988717, 1351988596, 1351988755, 1351988653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19556498527527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:55:33.197054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_46_10359.jpg', '/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_55_9365.jpg', '/home/pi/Desktop/images/19042025/18/18/image_19042025_18_19_05_10360.jpg', '/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_16_10340.jpg', '/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_25_9399.jpg', '/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_35_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_46_10359.jpg
/home/pi/Desktop/images/19042025/18/18/image_19042025_18_18_55_9365.jpg
/home/pi/Desktop/images/19042025/18/18/image_19042025_18_19_05_10360.jpg
/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_16_10340.jpg
/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_25_9399.jpg
/home/pi/Desktop/images/19042025/18/19/image_19042025_18_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":["1351989030","1351988997","1351989032","1351988995","1351989028","1351989016"],"photo_ids_order":["1351988995","1351988997","1351989016","1351989028","1351989030","1351989032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/33da919d8d51918c75ae354f36c78a27.jpg","text":"TemporaryFile(/tmp/multipartBody653181785347780126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088993660,"filename":"image_19042025_18_19_25_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af6034a2d7402c806ab11549684c649b.jpg","text":"TemporaryFile(/tmp/multipartBody3643727511859769361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088993660,"filename":"image_19042025_18_18_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/19/0bd6b77c399ae25d707b88a43a2d778c.jpg","text":"TemporaryFile(/tmp/multipartBody6058161299551480225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088993660,"filename":"image_19042025_18_19_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/19/0cf9b720af5818f993b60932315cb1f0.jpg","text":"TemporaryFile(/tmp/multipartBody5190924246191395441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088993660,"filename":"image_19042025_18_18_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/19/345eca856c0991e388cbb49e6171bc47.jpg","text":"TemporaryFile(/tmp/multipartBody6470858086186931721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088993660,"filename":"image_19042025_18_19_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dd2010a330ed87a93e0f874f082c3779.jpg","text":"TemporaryFile(/tmp/multipartBody6171271604412222884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745088993660,"filename":"image_19042025_18_19_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351989016","file1":"1351988997","file0":"1351988995","file4":"1351989030","file5":"1351989032","file3":"1351989028"},"map_files_photo_id_array":[{"photo_id":"1351989032","filename":"file5"},{"photo_id":"1351989016","filename":"file2"},{"photo_id":"1351989030","filename":"file4"},{"photo_id":"1351988997","filename":"file1"},{"photo_id":"1351988995","filename":"file0"},{"photo_id":"1351989028","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351989030":["hashtag1","hashtag2"]},{"1351988997":["hashtag1","hashtag2"]},{"1351989032":["hashtag1","hashtag2"]},{"1351988995":["hashtag1","hashtag2"]},{"1351989028":["hashtag1","hashtag2"]},{"1351989016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351989030, 1351988997, 1351989032, 1351988995, 1351989028, 1351989016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.072497844696045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:56:32.316252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_45_9423.jpg', '/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_55_10393.jpg', '/home/pi/Desktop/images/19042025/18/19/image_19042025_18_20_06_10361.jpg', '/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_15_9437.jpg', '/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_25_10378.jpg', '/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_35_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_45_9423.jpg
/home/pi/Desktop/images/19042025/18/19/image_19042025_18_19_55_10393.jpg
/home/pi/Desktop/images/19042025/18/19/image_19042025_18_20_06_10361.jpg
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_15_9437.jpg
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_25_10378.jpg
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_35_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351989130","1351989133","1351989127","1351989136","1351989121","1351989124"],"photo_ids_order":["1351989121","1351989124","1351989127","1351989130","1351989133","1351989136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b52e796fa1a56a25063103c286b24844.jpg","text":"TemporaryFile(/tmp/multipartBody1002787153800608509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089052777,"filename":"image_19042025_18_20_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/19/93f8b6a978b998df69ce2828696f184b.jpg","text":"TemporaryFile(/tmp/multipartBody4735412116631082407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089052777,"filename":"image_19042025_18_20_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/19/dc89a260c91e1ee0bc040fc529ad3f3d.jpg","text":"TemporaryFile(/tmp/multipartBody7044662037285074040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089052777,"filename":"image_19042025_18_20_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/19/e7b6e5aac96152c5c093881f3f965211.jpg","text":"TemporaryFile(/tmp/multipartBody8628000920513398129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089052777,"filename":"image_19042025_18_20_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ccb64ff959e5d1cf271d5fd7a9823bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7631288003423762193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089052777,"filename":"image_19042025_18_19_45_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d0c2281d81bf25df13918111ba538be.jpg","text":"TemporaryFile(/tmp/multipartBody2755343400390221252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089052777,"filename":"image_19042025_18_19_55_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351989127","file1":"1351989124","file0":"1351989121","file4":"1351989133","file5":"1351989136","file3":"1351989130"},"map_files_photo_id_array":[{"photo_id":"1351989136","filename":"file5"},{"photo_id":"1351989127","filename":"file2"},{"photo_id":"1351989133","filename":"file4"},{"photo_id":"1351989124","filename":"file1"},{"photo_id":"1351989121","filename":"file0"},{"photo_id":"1351989130","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351989130":["hashtag1","hashtag2"]},{"1351989133":["hashtag1","hashtag2"]},{"1351989127":["hashtag1","hashtag2"]},{"1351989136":["hashtag1","hashtag2"]},{"1351989121":["hashtag1","hashtag2"]},{"1351989124":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351989130, 1351989133, 1351989127, 1351989136, 1351989121, 1351989124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.5124671459198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 20:57:32.526704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_45_10377.jpg', '/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_56_10365.jpg', '/home/pi/Desktop/images/19042025/18/20/image_19042025_18_21_05_9475.jpg', '/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_15_10344.jpg', '/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_25_9481.jpg', '/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_35_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_45_10377.jpg
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_56_10365.jpg
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_21_05_9475.jpg
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_15_10344.jpg
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_25_9481.jpg
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_35_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 20:59:03.860265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_45_10377.jpg', '/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_56_10365.jpg', '/home/pi/Desktop/images/19042025/18/20/image_19042025_18_21_05_9475.jpg', '/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_15_10344.jpg', '/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_25_9481.jpg', '/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_35_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_45_10377.jpg
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_20_56_10365.jpg
/home/pi/Desktop/images/19042025/18/20/image_19042025_18_21_05_9475.jpg
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_15_10344.jpg
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_25_9481.jpg
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_35_10431.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351990053","1351990008","1351990346","1351990585","1351990645","1351990549"],"photo_ids_order":["1351990008","1351990053","1351990346","1351990549","1351990585","1351990645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf0cedabcade3ac3088a6943f601f2d8.jpg","text":"TemporaryFile(/tmp/multipartBody6577180270522806126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089204476,"filename":"image_19042025_18_20_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/19/12c764628211a44a115f582fdf111130.jpg","text":"TemporaryFile(/tmp/multipartBody8877682945982876265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089204476,"filename":"image_19042025_18_20_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/19/45b8ff89cf3731e3b07cc5a17b5ce600.jpg","text":"TemporaryFile(/tmp/multipartBody2044288450983240440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089204476,"filename":"image_19042025_18_21_05_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e49d659d07225d16d0d6ca8f2d608679.jpg","text":"TemporaryFile(/tmp/multipartBody1930241638387352163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089204476,"filename":"image_19042025_18_21_25_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/19/344029b84fb3da476ca04fd371a46205.jpg","text":"TemporaryFile(/tmp/multipartBody2818664689482441249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089204476,"filename":"image_19042025_18_21_35_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aaaecb911b25d056b79cab6ba370d17a.jpg","text":"TemporaryFile(/tmp/multipartBody8788906436453829411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089204476,"filename":"image_19042025_18_21_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351990346","file1":"1351990053","file0":"1351990008","file4":"1351990585","file5":"1351990645","file3":"1351990549"},"map_files_photo_id_array":[{"photo_id":"1351990645","filename":"file5"},{"photo_id":"1351990346","filename":"file2"},{"photo_id":"1351990585","filename":"file4"},{"photo_id":"1351990053","filename":"file1"},{"photo_id":"1351990008","filename":"file0"},{"photo_id":"1351990549","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351990053":["hashtag1","hashtag2"]},{"1351990008":["hashtag1","hashtag2"]},{"1351990346":["hashtag1","hashtag2"]},{"1351990585":["hashtag1","hashtag2"]},{"1351990645":["hashtag1","hashtag2"]},{"1351990549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351990053, 1351990008, 1351990346, 1351990585, 1351990645, 1351990549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.358531951904297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 20:59:42.209571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_46_10375.jpg', '/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_55_9407.jpg', '/home/pi/Desktop/images/19042025/18/21/image_19042025_18_22_05_10360.jpg', '/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_15_9469.jpg', '/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_25_10449.jpg', '/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_36_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_46_10375.jpg
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_21_55_9407.jpg
/home/pi/Desktop/images/19042025/18/21/image_19042025_18_22_05_10360.jpg
/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_15_9469.jpg
/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_25_10449.jpg
/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_36_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351991075","1351990988","1351991030","1351991108","1351990885","1351990948"],"photo_ids_order":["1351990885","1351990948","1351990988","1351991030","1351991075","1351991108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2aa6614b9db1740925186ff16367fdff.jpg","text":"TemporaryFile(/tmp/multipartBody4267351384980102607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089242691,"filename":"image_19042025_18_22_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/122c519c24c9ae717d1766a065869bab.jpg","text":"TemporaryFile(/tmp/multipartBody7284967990490385754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089242691,"filename":"image_19042025_18_22_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/19/2f7c08556a656d7af5eb7a4b13b07a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4467927039653602599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089242691,"filename":"image_19042025_18_22_15_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/19/79e5fe671a90c5b7c638120bea546817.jpg","text":"TemporaryFile(/tmp/multipartBody5887217664366002902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089242691,"filename":"image_19042025_18_22_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/19/6d5bd16d3fedde04e182e9629a7ee39e.jpg","text":"TemporaryFile(/tmp/multipartBody173766255690399320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089242691,"filename":"image_19042025_18_21_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/19/4fe39e6c3c7bbe6757d8015150214a15.jpg","text":"TemporaryFile(/tmp/multipartBody1130041936291119954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089242691,"filename":"image_19042025_18_21_55_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351990988","file1":"1351990948","file0":"1351990885","file4":"1351991075","file5":"1351991108","file3":"1351991030"},"map_files_photo_id_array":[{"photo_id":"1351991108","filename":"file5"},{"photo_id":"1351990988","filename":"file2"},{"photo_id":"1351991075","filename":"file4"},{"photo_id":"1351990948","filename":"file1"},{"photo_id":"1351990885","filename":"file0"},{"photo_id":"1351991030","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351991075":["hashtag1","hashtag2"]},{"1351990988":["hashtag1","hashtag2"]},{"1351991030":["hashtag1","hashtag2"]},{"1351991108":["hashtag1","hashtag2"]},{"1351990885":["hashtag1","hashtag2"]},{"1351990948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351991075, 1351990988, 1351991030, 1351991108, 1351990885, 1351990948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.116185426712036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:00:32.686759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_45_9436.jpg', '/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_56_10379.jpg', '/home/pi/Desktop/images/19042025/18/22/image_19042025_18_23_05_9501.jpg', '/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_15_10430.jpg', '/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_25_9484.jpg', '/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_35_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_45_9436.jpg
/home/pi/Desktop/images/19042025/18/22/image_19042025_18_22_56_10379.jpg
/home/pi/Desktop/images/19042025/18/22/image_19042025_18_23_05_9501.jpg
/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_15_10430.jpg
/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_25_9484.jpg
/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_35_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351991465","1351991440","1351991407","1351991257","1351991143","1351991404"],"photo_ids_order":["1351991143","1351991257","1351991404","1351991407","1351991440","1351991465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e060b218a84fea1533d8ff641587809e.jpg","text":"TemporaryFile(/tmp/multipartBody4934433429037388942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089293167,"filename":"image_19042025_18_23_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/317e5af18eb7fd6c803063a494d44853.jpg","text":"TemporaryFile(/tmp/multipartBody841014681135515252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089293167,"filename":"image_19042025_18_23_25_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/19/2ad76cbc46a8ac01f93a86e98c3bd955.jpg","text":"TemporaryFile(/tmp/multipartBody2247890946339318138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089293167,"filename":"image_19042025_18_23_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/19/bf9c76791f5d8c3d1e17ac3609515d93.jpg","text":"TemporaryFile(/tmp/multipartBody568509378759272466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089293167,"filename":"image_19042025_18_22_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/19/900c0102d7c8c716fddba30110d1985a.jpg","text":"TemporaryFile(/tmp/multipartBody5306830106549477746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089293167,"filename":"image_19042025_18_22_45_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f489171a604ccb2e9a324927b5292212.jpg","text":"TemporaryFile(/tmp/multipartBody786203122321082140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089293167,"filename":"image_19042025_18_23_05_9501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351991404","file1":"1351991257","file0":"1351991143","file4":"1351991440","file5":"1351991465","file3":"1351991407"},"map_files_photo_id_array":[{"photo_id":"1351991465","filename":"file5"},{"photo_id":"1351991404","filename":"file2"},{"photo_id":"1351991440","filename":"file4"},{"photo_id":"1351991257","filename":"file1"},{"photo_id":"1351991143","filename":"file0"},{"photo_id":"1351991407","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351991465":["hashtag1","hashtag2"]},{"1351991440":["hashtag1","hashtag2"]},{"1351991407":["hashtag1","hashtag2"]},{"1351991257":["hashtag1","hashtag2"]},{"1351991143":["hashtag1","hashtag2"]},{"1351991404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351991465, 1351991440, 1351991407, 1351991257, 1351991143, 1351991404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.07297682762146 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:01:32.958909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_46_10395.jpg', '/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_55_9344.jpg', '/home/pi/Desktop/images/19042025/18/23/image_19042025_18_24_05_10373.jpg', '/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_15_9436.jpg', '/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_25_10403.jpg', '/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_36_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_46_10395.jpg
/home/pi/Desktop/images/19042025/18/23/image_19042025_18_23_55_9344.jpg
/home/pi/Desktop/images/19042025/18/23/image_19042025_18_24_05_10373.jpg
/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_15_9436.jpg
/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_25_10403.jpg
/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_36_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351991951","1351991867","1351991813","1351991921","1351991839","1351991976"],"photo_ids_order":["1351991813","1351991839","1351991867","1351991921","1351991951","1351991976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7b57080a0b114a8a0106cdfbab00d55.jpg","text":"TemporaryFile(/tmp/multipartBody7554723287916333896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089353431,"filename":"image_19042025_18_24_25_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef61154073cb8ea38ce3fd63d2a39c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3170949464743615744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089353431,"filename":"image_19042025_18_24_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/19/03080bfda57645bc802318d574075eec.jpg","text":"TemporaryFile(/tmp/multipartBody1785674045675097436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089353431,"filename":"image_19042025_18_23_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/19/45297b801e4f8ffc72acf37cff1813b6.jpg","text":"TemporaryFile(/tmp/multipartBody6498776566211618118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089353431,"filename":"image_19042025_18_24_15_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/68977979d5083f433d75116a233615ba.jpg","text":"TemporaryFile(/tmp/multipartBody3445781364434240005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089353431,"filename":"image_19042025_18_23_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/19/52dd34cd3dbccb8e7ecb680b729c6d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3456427254516705853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089353431,"filename":"image_19042025_18_24_36_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351991867","file1":"1351991839","file0":"1351991813","file4":"1351991951","file5":"1351991976","file3":"1351991921"},"map_files_photo_id_array":[{"photo_id":"1351991976","filename":"file5"},{"photo_id":"1351991867","filename":"file2"},{"photo_id":"1351991951","filename":"file4"},{"photo_id":"1351991839","filename":"file1"},{"photo_id":"1351991813","filename":"file0"},{"photo_id":"1351991921","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351991951":["hashtag1","hashtag2"]},{"1351991867":["hashtag1","hashtag2"]},{"1351991813":["hashtag1","hashtag2"]},{"1351991921":["hashtag1","hashtag2"]},{"1351991839":["hashtag1","hashtag2"]},{"1351991976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351991951, 1351991867, 1351991813, 1351991921, 1351991839, 1351991976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.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-19 21:02:33.019848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_45_9428.jpg', '/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_55_10384.jpg', '/home/pi/Desktop/images/19042025/18/24/image_19042025_18_25_05_9403.jpg', '/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_15_10373.jpg', '/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_26_10388.jpg', '/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_35_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_45_9428.jpg
/home/pi/Desktop/images/19042025/18/24/image_19042025_18_24_55_10384.jpg
/home/pi/Desktop/images/19042025/18/24/image_19042025_18_25_05_9403.jpg
/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_15_10373.jpg
/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_26_10388.jpg
/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_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":["1351992300","1351992392","1351992244","1351992214","1351992369","1351992270"],"photo_ids_order":["1351992214","1351992244","1351992270","1351992300","1351992369","1351992392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dd4e09347a7dfe95bd43b6f62be6e6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1481453334989583142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089413491,"filename":"image_19042025_18_25_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/19/f6f72cbcd5f131bfe45187635d6262be.jpg","text":"TemporaryFile(/tmp/multipartBody5105833765651207966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089413491,"filename":"image_19042025_18_25_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/19/36292869f2f82bc5e019840972c69382.jpg","text":"TemporaryFile(/tmp/multipartBody2081797539090275606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089413491,"filename":"image_19042025_18_24_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/19/c9fa2daead3c9b90cde9819d90d8fa02.jpg","text":"TemporaryFile(/tmp/multipartBody1969183612500938044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089413491,"filename":"image_19042025_18_24_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cdca4c91f91a1729182c39ccd3c79629.jpg","text":"TemporaryFile(/tmp/multipartBody5636479300177303876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089413491,"filename":"image_19042025_18_25_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8c846ad52cb0b9d47066225c032d05bf.jpg","text":"TemporaryFile(/tmp/multipartBody4179067526495023272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089413491,"filename":"image_19042025_18_25_05_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351992270","file1":"1351992244","file0":"1351992214","file4":"1351992369","file5":"1351992392","file3":"1351992300"},"map_files_photo_id_array":[{"photo_id":"1351992392","filename":"file5"},{"photo_id":"1351992270","filename":"file2"},{"photo_id":"1351992369","filename":"file4"},{"photo_id":"1351992244","filename":"file1"},{"photo_id":"1351992214","filename":"file0"},{"photo_id":"1351992300","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351992300":["hashtag1","hashtag2"]},{"1351992392":["hashtag1","hashtag2"]},{"1351992244":["hashtag1","hashtag2"]},{"1351992214":["hashtag1","hashtag2"]},{"1351992369":["hashtag1","hashtag2"]},{"1351992270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351992300, 1351992392, 1351992244, 1351992214, 1351992369, 1351992270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62123394012451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:03:32.385309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_45_10368.jpg', '/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_55_9434.jpg', '/home/pi/Desktop/images/19042025/18/25/image_19042025_18_26_05_10382.jpg', '/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_16_10355.jpg', '/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_25_9578.jpg', '/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_45_10368.jpg
/home/pi/Desktop/images/19042025/18/25/image_19042025_18_25_55_9434.jpg
/home/pi/Desktop/images/19042025/18/25/image_19042025_18_26_05_10382.jpg
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_16_10355.jpg
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_25_9578.jpg
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_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":["1351992740","1351992662","1351992713","1351992635","1351992687","1351992609"],"photo_ids_order":["1351992609","1351992635","1351992662","1351992687","1351992713","1351992740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e929e30fc9df5edc7043387073d1db1d.jpg","text":"TemporaryFile(/tmp/multipartBody7768077024070454817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089472867,"filename":"image_19042025_18_26_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/19/94d6fdbe5d1832146ad122d67b433593.jpg","text":"TemporaryFile(/tmp/multipartBody2105346639748023636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089472867,"filename":"image_19042025_18_26_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/19/bc24c7e88af270bf20de69691d0540eb.jpg","text":"TemporaryFile(/tmp/multipartBody4191875737201166817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089472867,"filename":"image_19042025_18_26_25_9578.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e540330f40fec02e93ca556851a205b8.jpg","text":"TemporaryFile(/tmp/multipartBody3840635951976908208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089472867,"filename":"image_19042025_18_25_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/19/84251be6edd4d580c5b64bbd4d4e0f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6055097458672031123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089472867,"filename":"image_19042025_18_26_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/19/62265c060b0254f44d2362e5b14e01f9.jpg","text":"TemporaryFile(/tmp/multipartBody281095980929352191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089472867,"filename":"image_19042025_18_25_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351992662","file1":"1351992635","file0":"1351992609","file4":"1351992713","file5":"1351992740","file3":"1351992687"},"map_files_photo_id_array":[{"photo_id":"1351992740","filename":"file5"},{"photo_id":"1351992662","filename":"file2"},{"photo_id":"1351992713","filename":"file4"},{"photo_id":"1351992635","filename":"file1"},{"photo_id":"1351992609","filename":"file0"},{"photo_id":"1351992687","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351992740":["hashtag1","hashtag2"]},{"1351992662":["hashtag1","hashtag2"]},{"1351992713":["hashtag1","hashtag2"]},{"1351992635":["hashtag1","hashtag2"]},{"1351992687":["hashtag1","hashtag2"]},{"1351992609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351992740, 1351992662, 1351992713, 1351992635, 1351992687, 1351992609)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 30.726089477539062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:04:32.604674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_45_9394.jpg', '/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_55_10383.jpg', '/home/pi/Desktop/images/19042025/18/26/image_19042025_18_27_06_10344.jpg', '/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_15_9472.jpg', '/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_25_10376.jpg', '/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_35_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_45_9394.jpg
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_55_10383.jpg
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_27_06_10344.jpg
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_15_9472.jpg
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_25_10376.jpg
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_35_9462.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.39861488342285156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 21:04:42.648474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_45_9394.jpg', '/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_55_10383.jpg', '/home/pi/Desktop/images/19042025/18/26/image_19042025_18_27_06_10344.jpg', '/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_15_9472.jpg', '/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_25_10376.jpg', '/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_35_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_45_9394.jpg
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_26_55_10383.jpg
/home/pi/Desktop/images/19042025/18/26/image_19042025_18_27_06_10344.jpg
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_15_9472.jpg
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_25_10376.jpg
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_35_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993121","1351993081","1351993117","1351993122","1351993119","1351993113"],"photo_ids_order":["1351993081","1351993113","1351993117","1351993119","1351993121","1351993122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/da7fa9ba80805c81a9411c00e3be153b.jpg","text":"TemporaryFile(/tmp/multipartBody8038224591152506629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089543131,"filename":"image_19042025_18_27_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/19/c06ca1075a79933b9ee08b75f692d4c6.jpg","text":"TemporaryFile(/tmp/multipartBody6619228944387869177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089543131,"filename":"image_19042025_18_26_45_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55ce2294ab0f2d01cd2bd7fc062759fa.jpg","text":"TemporaryFile(/tmp/multipartBody2517858048149951903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089543131,"filename":"image_19042025_18_27_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/19/62aeeb1571fd3541c79331cc8f973d8c.jpg","text":"TemporaryFile(/tmp/multipartBody543647708670124747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089543131,"filename":"image_19042025_18_27_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/19/4acea0855ac9bc56c88cda649606077a.jpg","text":"TemporaryFile(/tmp/multipartBody3981977398083393652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089543131,"filename":"image_19042025_18_27_15_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35527973302e0d6ea5b587e9eb7f65ae.jpg","text":"TemporaryFile(/tmp/multipartBody1939345388028508810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089543131,"filename":"image_19042025_18_26_55_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993117","file1":"1351993113","file0":"1351993081","file4":"1351993121","file5":"1351993122","file3":"1351993119"},"map_files_photo_id_array":[{"photo_id":"1351993122","filename":"file5"},{"photo_id":"1351993117","filename":"file2"},{"photo_id":"1351993121","filename":"file4"},{"photo_id":"1351993113","filename":"file1"},{"photo_id":"1351993081","filename":"file0"},{"photo_id":"1351993119","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993121":["hashtag1","hashtag2"]},{"1351993081":["hashtag1","hashtag2"]},{"1351993117":["hashtag1","hashtag2"]},{"1351993122":["hashtag1","hashtag2"]},{"1351993119":["hashtag1","hashtag2"]},{"1351993113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993121, 1351993081, 1351993117, 1351993122, 1351993119, 1351993113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.697144508361816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:05:32.979468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_45_10371.jpg', '/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_56_10378.jpg', '/home/pi/Desktop/images/19042025/18/27/image_19042025_18_28_05_9463.jpg', '/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_16_10369.jpg', '/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_25_9468.jpg', '/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_35_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_45_10371.jpg
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_27_56_10378.jpg
/home/pi/Desktop/images/19042025/18/27/image_19042025_18_28_05_9463.jpg
/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_16_10369.jpg
/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_25_9468.jpg
/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_35_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993133","1351993132","1351993135","1351993134","1351993131","1351993130"],"photo_ids_order":["1351993130","1351993131","1351993132","1351993133","1351993134","1351993135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7f7f88c3a7669c91f70c86bf898f7e47.jpg","text":"TemporaryFile(/tmp/multipartBody5600478790909928206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089593442,"filename":"image_19042025_18_28_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/19/48b432d68676756d5c3e559f7b329bee.jpg","text":"TemporaryFile(/tmp/multipartBody2787806961886995080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089593442,"filename":"image_19042025_18_28_05_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/051c038ee854be9908072c396e8c76a7.jpg","text":"TemporaryFile(/tmp/multipartBody5310633115783052273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089593442,"filename":"image_19042025_18_28_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/19/fe81fd4eeb3990733bafd0c24557734a.jpg","text":"TemporaryFile(/tmp/multipartBody4072088999021680088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089593442,"filename":"image_19042025_18_28_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/435fc331ec234dda86f4eba248d031f4.jpg","text":"TemporaryFile(/tmp/multipartBody909516758967339795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089593442,"filename":"image_19042025_18_27_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0a13a82a182d938f88821ee22af4ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody4346916241008894003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089593442,"filename":"image_19042025_18_27_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993132","file1":"1351993131","file0":"1351993130","file4":"1351993134","file5":"1351993135","file3":"1351993133"},"map_files_photo_id_array":[{"photo_id":"1351993135","filename":"file5"},{"photo_id":"1351993132","filename":"file2"},{"photo_id":"1351993134","filename":"file4"},{"photo_id":"1351993131","filename":"file1"},{"photo_id":"1351993130","filename":"file0"},{"photo_id":"1351993133","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993133":["hashtag1","hashtag2"]},{"1351993132":["hashtag1","hashtag2"]},{"1351993135":["hashtag1","hashtag2"]},{"1351993134":["hashtag1","hashtag2"]},{"1351993131":["hashtag1","hashtag2"]},{"1351993130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993133, 1351993132, 1351993135, 1351993134, 1351993131, 1351993130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.182233095169067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:06:32.206823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_46_10376.jpg', '/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_55_9360.jpg', '/home/pi/Desktop/images/19042025/18/28/image_19042025_18_29_05_10364.jpg', '/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_15_9409.jpg', '/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_25_10399.jpg', '/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_36_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_46_10376.jpg
/home/pi/Desktop/images/19042025/18/28/image_19042025_18_28_55_9360.jpg
/home/pi/Desktop/images/19042025/18/28/image_19042025_18_29_05_10364.jpg
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_15_9409.jpg
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_25_10399.jpg
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_36_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993352","1351993325","1351993403","1351993447","1351993429","1351993377"],"photo_ids_order":["1351993325","1351993352","1351993377","1351993403","1351993429","1351993447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/560c77b88d066fcf6f53abeaa8b311f0.jpg","text":"TemporaryFile(/tmp/multipartBody3712181141005166357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089652670,"filename":"image_19042025_18_28_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/26f0862defe66eb74d73fa512e53f8eb.jpg","text":"TemporaryFile(/tmp/multipartBody1449107262441518765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089652670,"filename":"image_19042025_18_28_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/19/e47778f2b6c56689ae26b6d90b34764a.jpg","text":"TemporaryFile(/tmp/multipartBody1464734305439433860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089652670,"filename":"image_19042025_18_29_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/19/93c6ee2027312edc40b7ac288ca82424.jpg","text":"TemporaryFile(/tmp/multipartBody3838188204589238513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089652670,"filename":"image_19042025_18_29_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad280d183e7329c2c55573bb2c91cb67.jpg","text":"TemporaryFile(/tmp/multipartBody2070367958279284533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089652670,"filename":"image_19042025_18_29_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/19/7503eec4b8da7cfe25f9be2890209cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8819504275346133102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089652670,"filename":"image_19042025_18_29_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993377","file1":"1351993352","file0":"1351993325","file4":"1351993429","file5":"1351993447","file3":"1351993403"},"map_files_photo_id_array":[{"photo_id":"1351993447","filename":"file5"},{"photo_id":"1351993377","filename":"file2"},{"photo_id":"1351993429","filename":"file4"},{"photo_id":"1351993352","filename":"file1"},{"photo_id":"1351993325","filename":"file0"},{"photo_id":"1351993403","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993352":["hashtag1","hashtag2"]},{"1351993325":["hashtag1","hashtag2"]},{"1351993403":["hashtag1","hashtag2"]},{"1351993447":["hashtag1","hashtag2"]},{"1351993429":["hashtag1","hashtag2"]},{"1351993377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993352, 1351993325, 1351993403, 1351993447, 1351993429, 1351993377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93041920661926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:07:32.575112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_45_9436.jpg', '/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_55_10397.jpg', '/home/pi/Desktop/images/19042025/18/29/image_19042025_18_30_05_9521.jpg', '/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_15_10359.jpg', '/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_26_10371.jpg', '/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_35_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_45_9436.jpg
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_55_10397.jpg
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_30_05_9521.jpg
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_15_10359.jpg
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_26_10371.jpg
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_35_9509.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.40827441215515137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 21:07:42.442936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_45_9436.jpg', '/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_55_10397.jpg', '/home/pi/Desktop/images/19042025/18/29/image_19042025_18_30_05_9521.jpg', '/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_15_10359.jpg', '/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_26_10371.jpg', '/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_35_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_45_9436.jpg
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_29_55_10397.jpg
/home/pi/Desktop/images/19042025/18/29/image_19042025_18_30_05_9521.jpg
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_15_10359.jpg
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_26_10371.jpg
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_35_9509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993597","1351993576","1351993564","1351993596","1351993590","1351993598"],"photo_ids_order":["1351993564","1351993576","1351993590","1351993596","1351993597","1351993598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eeb46e681fdf2804bfdfe64ceccf5e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3174236576598505690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089722921,"filename":"image_19042025_18_30_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/19/1bb8ec86ab21ccf1950924b427bb78f0.jpg","text":"TemporaryFile(/tmp/multipartBody4771637152457729244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089722921,"filename":"image_19042025_18_29_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/19/92c49cbb21f7d6c816516d9c364939ba.jpg","text":"TemporaryFile(/tmp/multipartBody8681367909421706859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089722921,"filename":"image_19042025_18_29_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/19/cb1823888c04a9881cd9149d8a42760b.jpg","text":"TemporaryFile(/tmp/multipartBody4238708265570214730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089722921,"filename":"image_19042025_18_30_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/19/f07600fe668d57d4f4ad93b1c190881d.jpg","text":"TemporaryFile(/tmp/multipartBody7201975374880443575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089722921,"filename":"image_19042025_18_30_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/19/1385a936e8ade21be0af85d793c112a6.jpg","text":"TemporaryFile(/tmp/multipartBody5886703555506124240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089722921,"filename":"image_19042025_18_30_35_9509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993590","file1":"1351993576","file0":"1351993564","file4":"1351993597","file5":"1351993598","file3":"1351993596"},"map_files_photo_id_array":[{"photo_id":"1351993598","filename":"file5"},{"photo_id":"1351993590","filename":"file2"},{"photo_id":"1351993597","filename":"file4"},{"photo_id":"1351993576","filename":"file1"},{"photo_id":"1351993564","filename":"file0"},{"photo_id":"1351993596","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993597":["hashtag1","hashtag2"]},{"1351993576":["hashtag1","hashtag2"]},{"1351993564":["hashtag1","hashtag2"]},{"1351993596":["hashtag1","hashtag2"]},{"1351993590":["hashtag1","hashtag2"]},{"1351993598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993597, 1351993576, 1351993564, 1351993596, 1351993590, 1351993598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.377732515335083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:08:32.645413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_46_10452.jpg', '/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_55_9437.jpg', '/home/pi/Desktop/images/19042025/18/30/image_19042025_18_31_05_10352.jpg', '/home/pi/Desktop/images/19042025/18/31/image_19042025_18_31_15_9477.jpg', '/home/pi/Desktop/images/19042025/18/31/image_19042025_18_31_25_10450.jpg', '/home/pi/Desktop/images/19042025/18/31/image_19042025_18_31_35_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_46_10452.jpg
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_30_55_9437.jpg
/home/pi/Desktop/images/19042025/18/30/image_19042025_18_31_05_10352.jpg
/home/pi/Desktop/images/19042025/18/31/image_19042025_18_31_15_9477.jpg
/home/pi/Desktop/images/19042025/18/31/image_19042025_18_31_25_10450.jpg
/home/pi/Desktop/images/19042025/18/31/image_19042025_18_31_35_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993619","1351993612","1351993621","1351993615","1351993609","1351993618"],"photo_ids_order":["1351993609","1351993612","1351993615","1351993618","1351993619","1351993621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac0bdb88ec44d87486e906bba10312a0.jpg","text":"TemporaryFile(/tmp/multipartBody3105958043997935398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089773114,"filename":"image_19042025_18_31_25_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1708933eb2633f1faeaaee9a18759beb.jpg","text":"TemporaryFile(/tmp/multipartBody8315191992313643380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089773114,"filename":"image_19042025_18_30_55_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4e0c11c06dc1c4ddaf1079d5fa86c69.jpg","text":"TemporaryFile(/tmp/multipartBody8658026208927687667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089773114,"filename":"image_19042025_18_31_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ded8ad5870f01ca0989b7321e3de84d.jpg","text":"TemporaryFile(/tmp/multipartBody5547966891037963542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089773114,"filename":"image_19042025_18_31_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a788ef622fe84aaa26deb6a525474569.jpg","text":"TemporaryFile(/tmp/multipartBody5502273075316969789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089773114,"filename":"image_19042025_18_30_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/19/0aa39f371c74873864660a2f6cc64c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2212979468244022851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089773114,"filename":"image_19042025_18_31_15_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993615","file1":"1351993612","file0":"1351993609","file4":"1351993619","file5":"1351993621","file3":"1351993618"},"map_files_photo_id_array":[{"photo_id":"1351993621","filename":"file5"},{"photo_id":"1351993615","filename":"file2"},{"photo_id":"1351993619","filename":"file4"},{"photo_id":"1351993612","filename":"file1"},{"photo_id":"1351993609","filename":"file0"},{"photo_id":"1351993618","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993619":["hashtag1","hashtag2"]},{"1351993612":["hashtag1","hashtag2"]},{"1351993621":["hashtag1","hashtag2"]},{"1351993615":["hashtag1","hashtag2"]},{"1351993609":["hashtag1","hashtag2"]},{"1351993618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993619, 1351993612, 1351993621, 1351993615, 1351993609, 1351993618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.21279263496399 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:09:32.885939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/31/image_19042025_18_31_55_10363.jpg', '/home/pi/Desktop/images/19042025/18/31/image_19042025_18_32_05_9401.jpg', '/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_15_10355.jpg', '/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_26_10367.jpg', '/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_35_9369.jpg', '/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_45_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/31/image_19042025_18_31_55_10363.jpg
/home/pi/Desktop/images/19042025/18/31/image_19042025_18_32_05_9401.jpg
/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_15_10355.jpg
/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_26_10367.jpg
/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_35_9369.jpg
/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_45_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993808","1351993768","1351993720","1351993788","1351993776","1351993748"],"photo_ids_order":["1351993720","1351993748","1351993768","1351993776","1351993788","1351993808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7a853b011509d78880df60184b7c9d2.jpg","text":"TemporaryFile(/tmp/multipartBody8084933632249076484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089833361,"filename":"image_19042025_18_32_45_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/444bb706870837ebb1cb400a7c2b59eb.jpg","text":"TemporaryFile(/tmp/multipartBody2330962654543228994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089833361,"filename":"image_19042025_18_32_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/19/e59ffcfef2bc06412efc4c0845471f93.jpg","text":"TemporaryFile(/tmp/multipartBody3345528112468660084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089833361,"filename":"image_19042025_18_31_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/19/ab91a9aef0846c7d5e8ccc490f87b266.jpg","text":"TemporaryFile(/tmp/multipartBody4597019231129372852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089833361,"filename":"image_19042025_18_32_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/19/8aaed74970053336f6b51e03cea975b7.jpg","text":"TemporaryFile(/tmp/multipartBody3216070831577751458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089833361,"filename":"image_19042025_18_32_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/19/18f20e5d887b0912adf33752d6ed3af5.jpg","text":"TemporaryFile(/tmp/multipartBody2905211911600847481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089833361,"filename":"image_19042025_18_32_05_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993768","file1":"1351993748","file0":"1351993720","file4":"1351993788","file5":"1351993808","file3":"1351993776"},"map_files_photo_id_array":[{"photo_id":"1351993808","filename":"file5"},{"photo_id":"1351993768","filename":"file2"},{"photo_id":"1351993788","filename":"file4"},{"photo_id":"1351993748","filename":"file1"},{"photo_id":"1351993720","filename":"file0"},{"photo_id":"1351993776","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993808":["hashtag1","hashtag2"]},{"1351993768":["hashtag1","hashtag2"]},{"1351993720":["hashtag1","hashtag2"]},{"1351993788":["hashtag1","hashtag2"]},{"1351993776":["hashtag1","hashtag2"]},{"1351993748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993808, 1351993768, 1351993720, 1351993788, 1351993776, 1351993748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.533977031707764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:10:33.098262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_55_9476.jpg', '/home/pi/Desktop/images/19042025/18/32/image_19042025_18_33_05_10370.jpg', '/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_16_10353.jpg', '/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_25_9370.jpg', '/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_35_10358.jpg', '/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_45_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/32/image_19042025_18_32_55_9476.jpg
/home/pi/Desktop/images/19042025/18/32/image_19042025_18_33_05_10370.jpg
/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_16_10353.jpg
/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_25_9370.jpg
/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_35_10358.jpg
/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_45_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":["1351993846","1351993828","1351993848","1351993836","1351993850","1351993832"],"photo_ids_order":["1351993828","1351993832","1351993836","1351993846","1351993848","1351993850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f60b7590a29c973298e45f38a3ca2377.jpg","text":"TemporaryFile(/tmp/multipartBody55158695144149724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089893565,"filename":"image_19042025_18_33_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/19/e52d87023fd2d79e41159e05fa2e6856.jpg","text":"TemporaryFile(/tmp/multipartBody6056866685819562875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089893565,"filename":"image_19042025_18_32_55_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/19/e81ac1a89e615ac155babe6e7b727eba.jpg","text":"TemporaryFile(/tmp/multipartBody7747863776612681425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089893565,"filename":"image_19042025_18_33_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/19/19405becf9c0e93e971e707984bd7284.jpg","text":"TemporaryFile(/tmp/multipartBody1517806359475583036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089893565,"filename":"image_19042025_18_33_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/19/ac52cf675c788598a5a944bbb23e0fff.jpg","text":"TemporaryFile(/tmp/multipartBody7305241648012872735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089893565,"filename":"image_19042025_18_33_45_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/19/98542d6a356a6d12074fcba62ee85cbc.jpg","text":"TemporaryFile(/tmp/multipartBody7916636050608824177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089893565,"filename":"image_19042025_18_33_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993836","file1":"1351993832","file0":"1351993828","file4":"1351993848","file5":"1351993850","file3":"1351993846"},"map_files_photo_id_array":[{"photo_id":"1351993850","filename":"file5"},{"photo_id":"1351993836","filename":"file2"},{"photo_id":"1351993848","filename":"file4"},{"photo_id":"1351993832","filename":"file1"},{"photo_id":"1351993828","filename":"file0"},{"photo_id":"1351993846","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993846":["hashtag1","hashtag2"]},{"1351993828":["hashtag1","hashtag2"]},{"1351993848":["hashtag1","hashtag2"]},{"1351993836":["hashtag1","hashtag2"]},{"1351993850":["hashtag1","hashtag2"]},{"1351993832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993846, 1351993828, 1351993848, 1351993836, 1351993850, 1351993832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64052724838257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:11:32.298943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_55_10380.jpg', '/home/pi/Desktop/images/19042025/18/33/image_19042025_18_34_06_10381.jpg', '/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_15_9426.jpg', '/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_25_10387.jpg', '/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_35_9414.jpg', '/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_45_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/33/image_19042025_18_33_55_10380.jpg
/home/pi/Desktop/images/19042025/18/33/image_19042025_18_34_06_10381.jpg
/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_15_9426.jpg
/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_25_10387.jpg
/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_35_9414.jpg
/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_45_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":["1351993928","1351993922","1351993909","1351993898","1351993931","1351993925"],"photo_ids_order":["1351993898","1351993909","1351993922","1351993925","1351993928","1351993931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/477fea7d2fb177340da117e666398be1.jpg","text":"TemporaryFile(/tmp/multipartBody8893571578613019578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089952758,"filename":"image_19042025_18_34_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d06ee02cc8d560169ef0884c6ed192d6.jpg","text":"TemporaryFile(/tmp/multipartBody3448547138443983295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089952758,"filename":"image_19042025_18_34_15_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f90859899d55704274fab4c925c638ca.jpg","text":"TemporaryFile(/tmp/multipartBody7238302278661363601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089952758,"filename":"image_19042025_18_34_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/19/cafa8bb5c323410fa6717c066f98c494.jpg","text":"TemporaryFile(/tmp/multipartBody8999787202794783499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089952758,"filename":"image_19042025_18_33_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4b42ef0d3a0e7d2acd7494017fd4803a.jpg","text":"TemporaryFile(/tmp/multipartBody3019608439821155469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089952758,"filename":"image_19042025_18_34_45_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/19/9f08de9c9d2c6995f18aa106512b6c36.jpg","text":"TemporaryFile(/tmp/multipartBody1821791328722889267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745089952758,"filename":"image_19042025_18_34_25_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993922","file1":"1351993909","file0":"1351993898","file4":"1351993928","file5":"1351993931","file3":"1351993925"},"map_files_photo_id_array":[{"photo_id":"1351993931","filename":"file5"},{"photo_id":"1351993922","filename":"file2"},{"photo_id":"1351993928","filename":"file4"},{"photo_id":"1351993909","filename":"file1"},{"photo_id":"1351993898","filename":"file0"},{"photo_id":"1351993925","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993928":["hashtag1","hashtag2"]},{"1351993922":["hashtag1","hashtag2"]},{"1351993909":["hashtag1","hashtag2"]},{"1351993898":["hashtag1","hashtag2"]},{"1351993931":["hashtag1","hashtag2"]},{"1351993925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993928, 1351993922, 1351993909, 1351993898, 1351993931, 1351993925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.1939959526062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:12:32.709008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_56_10379.jpg', '/home/pi/Desktop/images/19042025/18/34/image_19042025_18_35_05_9400.jpg', '/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_15_10356.jpg', '/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_25_9513.jpg', '/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_35_10409.jpg', '/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_45_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/34/image_19042025_18_34_56_10379.jpg
/home/pi/Desktop/images/19042025/18/34/image_19042025_18_35_05_9400.jpg
/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_15_10356.jpg
/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_25_9513.jpg
/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_35_10409.jpg
/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_45_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993965","1351993959","1351993950","1351993953","1351993962","1351993956"],"photo_ids_order":["1351993950","1351993953","1351993956","1351993959","1351993962","1351993965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/46509ce482f71a75c88bd2b5a29ab8d2.jpg","text":"TemporaryFile(/tmp/multipartBody808564898108115896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090013174,"filename":"image_19042025_18_35_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ea174867c9a530de53036454bf52af7.jpg","text":"TemporaryFile(/tmp/multipartBody138568998139128660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090013174,"filename":"image_19042025_18_35_25_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38dcc4092ececfc9ee54d30c48e57930.jpg","text":"TemporaryFile(/tmp/multipartBody6492457743980055716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090013174,"filename":"image_19042025_18_34_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61ea8f7739a718953bcf6ffd4f4938db.jpg","text":"TemporaryFile(/tmp/multipartBody5136715128070638745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090013174,"filename":"image_19042025_18_35_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/19/9ab1cd7ca8e9e580c32617527bc38eab.jpg","text":"TemporaryFile(/tmp/multipartBody4848408085811360265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090013174,"filename":"image_19042025_18_35_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/19/5b7aaff696860f7e14654c091dc1e301.jpg","text":"TemporaryFile(/tmp/multipartBody9169840900325369950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090013174,"filename":"image_19042025_18_35_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993956","file1":"1351993953","file0":"1351993950","file4":"1351993962","file5":"1351993965","file3":"1351993959"},"map_files_photo_id_array":[{"photo_id":"1351993965","filename":"file5"},{"photo_id":"1351993956","filename":"file2"},{"photo_id":"1351993962","filename":"file4"},{"photo_id":"1351993953","filename":"file1"},{"photo_id":"1351993950","filename":"file0"},{"photo_id":"1351993959","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993965":["hashtag1","hashtag2"]},{"1351993959":["hashtag1","hashtag2"]},{"1351993950":["hashtag1","hashtag2"]},{"1351993953":["hashtag1","hashtag2"]},{"1351993962":["hashtag1","hashtag2"]},{"1351993956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993965, 1351993959, 1351993950, 1351993953, 1351993962, 1351993956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.390666007995605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:13:32.880355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_55_10365.jpg', '/home/pi/Desktop/images/19042025/18/35/image_19042025_18_36_06_10370.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_15_9356.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_25_10356.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_36_10374.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_45_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_55_10365.jpg
/home/pi/Desktop/images/19042025/18/35/image_19042025_18_36_06_10370.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_15_9356.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_25_10356.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_36_10374.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_45_9355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3806586265563965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 21:13:43.008370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_55_10365.jpg', '/home/pi/Desktop/images/19042025/18/35/image_19042025_18_36_06_10370.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_15_9356.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_25_10356.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_36_10374.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_45_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/35/image_19042025_18_35_55_10365.jpg
/home/pi/Desktop/images/19042025/18/35/image_19042025_18_36_06_10370.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_15_9356.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_25_10356.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_36_10374.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_45_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993993","1351993995","1351993991","1351993994","1351993988","1351993985"],"photo_ids_order":["1351993985","1351993988","1351993991","1351993993","1351993994","1351993995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/315c46ce34dcc53df0c33c5276cb6ebe.jpg","text":"TemporaryFile(/tmp/multipartBody281501940304590623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090083481,"filename":"image_19042025_18_36_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/19/3809ad7b5ba8f1fefddaf30908e9666d.jpg","text":"TemporaryFile(/tmp/multipartBody3087658928552580251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090083481,"filename":"image_19042025_18_36_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7682450759199c1d6181bc4cf9339c76.jpg","text":"TemporaryFile(/tmp/multipartBody2372318930229726984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090083481,"filename":"image_19042025_18_36_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/19/1c93d748b0289b8cf616cc40d480b00a.jpg","text":"TemporaryFile(/tmp/multipartBody3301557554123530188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090083481,"filename":"image_19042025_18_36_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/19/4c07eb7b385b8b7691e5a03311bf5699.jpg","text":"TemporaryFile(/tmp/multipartBody3526043250503980780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090083481,"filename":"image_19042025_18_36_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/19/2e9316fa87556e39ef6c8d805ee949f9.jpg","text":"TemporaryFile(/tmp/multipartBody5104111345739306066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090083481,"filename":"image_19042025_18_35_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993991","file1":"1351993988","file0":"1351993985","file4":"1351993994","file5":"1351993995","file3":"1351993993"},"map_files_photo_id_array":[{"photo_id":"1351993995","filename":"file5"},{"photo_id":"1351993991","filename":"file2"},{"photo_id":"1351993994","filename":"file4"},{"photo_id":"1351993988","filename":"file1"},{"photo_id":"1351993985","filename":"file0"},{"photo_id":"1351993993","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351993993":["hashtag1","hashtag2"]},{"1351993995":["hashtag1","hashtag2"]},{"1351993991":["hashtag1","hashtag2"]},{"1351993994":["hashtag1","hashtag2"]},{"1351993988":["hashtag1","hashtag2"]},{"1351993985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351993993, 1351993995, 1351993991, 1351993994, 1351993988, 1351993985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.586493253707886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:14:33.120370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_56_10478.jpg', '/home/pi/Desktop/images/19042025/18/36/image_19042025_18_37_05_9380.jpg', '/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_15_10461.jpg', '/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_26_10362.jpg', '/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_35_9357.jpg', '/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_45_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_36_56_10478.jpg
/home/pi/Desktop/images/19042025/18/36/image_19042025_18_37_05_9380.jpg
/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_15_10461.jpg
/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_26_10362.jpg
/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_35_9357.jpg
/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_45_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994017","1351994011","1351994013","1351994007","1351994015","1351994009"],"photo_ids_order":["1351994007","1351994009","1351994011","1351994013","1351994015","1351994017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4639addd068b885e28986ae4e00b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody4681037030798790911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090133587,"filename":"image_19042025_18_37_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/19/18666178836592fd78fbfb7892082d01.jpg","text":"TemporaryFile(/tmp/multipartBody3860523516909972114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090133587,"filename":"image_19042025_18_37_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ff0cedfa5525536a01c50f458b262dd6.jpg","text":"TemporaryFile(/tmp/multipartBody1751729425853075229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090133587,"filename":"image_19042025_18_37_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/19/f5b51d56ae0d518822dd6a883fe6f40d.jpg","text":"TemporaryFile(/tmp/multipartBody2441431335776341371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090133587,"filename":"image_19042025_18_36_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/19/a00c8614a99e8f6f3d6c1b250184d684.jpg","text":"TemporaryFile(/tmp/multipartBody2991449230536400074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090133587,"filename":"image_19042025_18_37_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/98b327a1fd4072d0ee0f8d6d11753160.jpg","text":"TemporaryFile(/tmp/multipartBody7172364287002084308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090133587,"filename":"image_19042025_18_37_05_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994011","file1":"1351994009","file0":"1351994007","file4":"1351994015","file5":"1351994017","file3":"1351994013"},"map_files_photo_id_array":[{"photo_id":"1351994017","filename":"file5"},{"photo_id":"1351994011","filename":"file2"},{"photo_id":"1351994015","filename":"file4"},{"photo_id":"1351994009","filename":"file1"},{"photo_id":"1351994007","filename":"file0"},{"photo_id":"1351994013","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994017":["hashtag1","hashtag2"]},{"1351994011":["hashtag1","hashtag2"]},{"1351994013":["hashtag1","hashtag2"]},{"1351994007":["hashtag1","hashtag2"]},{"1351994015":["hashtag1","hashtag2"]},{"1351994009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994017, 1351994011, 1351994013, 1351994007, 1351994015, 1351994009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.066128253936768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:15:32.313290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_55_9469.jpg', '/home/pi/Desktop/images/19042025/18/37/image_19042025_18_38_05_10377.jpg', '/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_16_10417.jpg', '/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_25_9426.jpg', '/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_36_10368.jpg', '/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_45_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/37/image_19042025_18_37_55_9469.jpg
/home/pi/Desktop/images/19042025/18/37/image_19042025_18_38_05_10377.jpg
/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_16_10417.jpg
/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_25_9426.jpg
/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_36_10368.jpg
/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_45_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":["1351994032","1351994034","1351994028","1351994025","1351994030","1351994036"],"photo_ids_order":["1351994025","1351994028","1351994030","1351994032","1351994034","1351994036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/443b0b7b5f9afb0da6d8f97c3313179c.jpg","text":"TemporaryFile(/tmp/multipartBody7796623818090524144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090192778,"filename":"image_19042025_18_38_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/19/5f8a42e02fbbd27b0c2e4aadd50bfae4.jpg","text":"TemporaryFile(/tmp/multipartBody2559318731966982546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090192778,"filename":"image_19042025_18_38_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/19/c8abb381501231546700a8e746069c79.jpg","text":"TemporaryFile(/tmp/multipartBody7383384504958645923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090192778,"filename":"image_19042025_18_38_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3e867fdfb0d1f3d00d6b9f0f3450ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8577870785024985972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090192778,"filename":"image_19042025_18_37_55_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3de481e0a760b87af5931975cd2b9942.jpg","text":"TemporaryFile(/tmp/multipartBody2163116926697457484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090192778,"filename":"image_19042025_18_38_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48c60de903fe0bbf4ffe1e3d75485c79.jpg","text":"TemporaryFile(/tmp/multipartBody6380252175545341857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090192778,"filename":"image_19042025_18_38_45_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994030","file1":"1351994028","file0":"1351994025","file4":"1351994034","file5":"1351994036","file3":"1351994032"},"map_files_photo_id_array":[{"photo_id":"1351994036","filename":"file5"},{"photo_id":"1351994030","filename":"file2"},{"photo_id":"1351994034","filename":"file4"},{"photo_id":"1351994028","filename":"file1"},{"photo_id":"1351994025","filename":"file0"},{"photo_id":"1351994032","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994032":["hashtag1","hashtag2"]},{"1351994034":["hashtag1","hashtag2"]},{"1351994028":["hashtag1","hashtag2"]},{"1351994025":["hashtag1","hashtag2"]},{"1351994030":["hashtag1","hashtag2"]},{"1351994036":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994032, 1351994034, 1351994028, 1351994025, 1351994030, 1351994036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.119600534439087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:16:32.575404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_55_10352.jpg', '/home/pi/Desktop/images/19042025/18/38/image_19042025_18_39_06_10357.jpg', '/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_15_9347.jpg', '/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_25_10381.jpg', '/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_36_10376.jpg', '/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_45_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/38/image_19042025_18_38_55_10352.jpg
/home/pi/Desktop/images/19042025/18/38/image_19042025_18_39_06_10357.jpg
/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_15_9347.jpg
/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_25_10381.jpg
/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_36_10376.jpg
/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_45_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994053","1351994047","1351994050","1351994058","1351994060","1351994045"],"photo_ids_order":["1351994045","1351994047","1351994050","1351994053","1351994058","1351994060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/62076d77830735f6629d6c217de7e9a5.jpg","text":"TemporaryFile(/tmp/multipartBody937879923589578255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090253045,"filename":"image_19042025_18_39_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/19/669ee31c786e91bb59b7e4d42ac14975.jpg","text":"TemporaryFile(/tmp/multipartBody5942893947897961639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090253045,"filename":"image_19042025_18_39_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9d9ff547c76c5f7e13fe80ecce1e5c17.jpg","text":"TemporaryFile(/tmp/multipartBody5742286556717286101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090253045,"filename":"image_19042025_18_39_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d45caebd2bbf7852eb1f5d0fda8573ac.jpg","text":"TemporaryFile(/tmp/multipartBody2532033494554968296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090253045,"filename":"image_19042025_18_39_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/19/49793f5d5e7f3c98cdfaa03eb391c645.jpg","text":"TemporaryFile(/tmp/multipartBody5359849512735675165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090253045,"filename":"image_19042025_18_39_45_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1825978ce6494ce9464ac04baac73030.jpg","text":"TemporaryFile(/tmp/multipartBody4438924107161213833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090253045,"filename":"image_19042025_18_38_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994050","file1":"1351994047","file0":"1351994045","file4":"1351994058","file5":"1351994060","file3":"1351994053"},"map_files_photo_id_array":[{"photo_id":"1351994060","filename":"file5"},{"photo_id":"1351994050","filename":"file2"},{"photo_id":"1351994058","filename":"file4"},{"photo_id":"1351994047","filename":"file1"},{"photo_id":"1351994045","filename":"file0"},{"photo_id":"1351994053","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994053":["hashtag1","hashtag2"]},{"1351994047":["hashtag1","hashtag2"]},{"1351994050":["hashtag1","hashtag2"]},{"1351994058":["hashtag1","hashtag2"]},{"1351994060":["hashtag1","hashtag2"]},{"1351994045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994053, 1351994047, 1351994050, 1351994058, 1351994060, 1351994045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.165826082229614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:17:32.772100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_56_10379.jpg', '/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_15_10350.jpg', '/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_26_10383.jpg', '/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_35_9396.jpg', '/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_45_10367.jpg', '/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_55_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/39/image_19042025_18_39_56_10379.jpg
/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_15_10350.jpg
/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_26_10383.jpg
/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_35_9396.jpg
/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_45_10367.jpg
/home/pi/Desktop/images/19042025/18/40/image_19042025_18_40_55_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":["1351994071","1351994074","1351994076","1351994079","1351994081","1351994069"],"photo_ids_order":["1351994069","1351994071","1351994074","1351994076","1351994079","1351994081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ec18171927284d18a9bde05f1239e93e.jpg","text":"TemporaryFile(/tmp/multipartBody2003414315998630115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090313237,"filename":"image_19042025_18_40_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a67cd5c815ef543c995f12fb81b14883.jpg","text":"TemporaryFile(/tmp/multipartBody3249999888229288839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090313237,"filename":"image_19042025_18_40_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/19/8244af0b776733a61288bf812bce7227.jpg","text":"TemporaryFile(/tmp/multipartBody1512204718650555734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090313237,"filename":"image_19042025_18_40_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f9c4258dfca607c4aa4b1a929095cc9.jpg","text":"TemporaryFile(/tmp/multipartBody6096378010033548999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090313237,"filename":"image_19042025_18_40_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/19/bbf97e12034f9ea576ecd0a0fcb1ce1e.jpg","text":"TemporaryFile(/tmp/multipartBody2472002763236728491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090313237,"filename":"image_19042025_18_40_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/19/77ef80b91953fb2a006bfd5ae978566e.jpg","text":"TemporaryFile(/tmp/multipartBody58203657861542196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090313237,"filename":"image_19042025_18_39_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994074","file1":"1351994071","file0":"1351994069","file4":"1351994079","file5":"1351994081","file3":"1351994076"},"map_files_photo_id_array":[{"photo_id":"1351994081","filename":"file5"},{"photo_id":"1351994074","filename":"file2"},{"photo_id":"1351994079","filename":"file4"},{"photo_id":"1351994071","filename":"file1"},{"photo_id":"1351994069","filename":"file0"},{"photo_id":"1351994076","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994071":["hashtag1","hashtag2"]},{"1351994074":["hashtag1","hashtag2"]},{"1351994076":["hashtag1","hashtag2"]},{"1351994079":["hashtag1","hashtag2"]},{"1351994081":["hashtag1","hashtag2"]},{"1351994069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994071, 1351994074, 1351994076, 1351994079, 1351994081, 1351994069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.240933656692505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:18:32.986876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/40/image_19042025_18_41_05_10362.jpg', '/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_16_10360.jpg', '/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_25_9432.jpg', '/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_35_10373.jpg', '/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_45_9401.jpg', '/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/40/image_19042025_18_41_05_10362.jpg
/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_16_10360.jpg
/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_25_9432.jpg
/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_35_10373.jpg
/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_45_9401.jpg
/home/pi/Desktop/images/19042025/18/41/image_19042025_18_41_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":["1351994102","1351994104","1351994100","1351994093","1351994096","1351994098"],"photo_ids_order":["1351994093","1351994096","1351994098","1351994100","1351994102","1351994104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/480ee9caa518d01a2b66b57d45b61929.jpg","text":"TemporaryFile(/tmp/multipartBody7967637767106457151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090373464,"filename":"image_19042025_18_41_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/19/01a5a3e08b0fc4ced33db04b39a507f3.jpg","text":"TemporaryFile(/tmp/multipartBody2702483758799854514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090373464,"filename":"image_19042025_18_41_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/19/7b805883205525a7b6c3778754131eeb.jpg","text":"TemporaryFile(/tmp/multipartBody552333691297764700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090373464,"filename":"image_19042025_18_41_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/19/980381951c102199bb0eaefe4b0633df.jpg","text":"TemporaryFile(/tmp/multipartBody4519018269111390999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090373464,"filename":"image_19042025_18_41_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/19/4cd0f637e4be0270c6146bb6f6ccb5e9.jpg","text":"TemporaryFile(/tmp/multipartBody2234020514101732615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090373464,"filename":"image_19042025_18_41_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/19/5e15830289ac0b62d1b2b8e5ac7016a1.jpg","text":"TemporaryFile(/tmp/multipartBody768181308267096986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090373464,"filename":"image_19042025_18_41_25_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994098","file1":"1351994096","file0":"1351994093","file4":"1351994102","file5":"1351994104","file3":"1351994100"},"map_files_photo_id_array":[{"photo_id":"1351994104","filename":"file5"},{"photo_id":"1351994098","filename":"file2"},{"photo_id":"1351994102","filename":"file4"},{"photo_id":"1351994096","filename":"file1"},{"photo_id":"1351994093","filename":"file0"},{"photo_id":"1351994100","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994102":["hashtag1","hashtag2"]},{"1351994104":["hashtag1","hashtag2"]},{"1351994100":["hashtag1","hashtag2"]},{"1351994093":["hashtag1","hashtag2"]},{"1351994096":["hashtag1","hashtag2"]},{"1351994098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994102, 1351994104, 1351994100, 1351994093, 1351994096, 1351994098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91164183616638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:19:32.198929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/41/image_19042025_18_42_06_10353.jpg', '/home/pi/Desktop/images/19042025/18/42/image_19042025_18_42_15_9359.jpg', '/home/pi/Desktop/images/19042025/18/42/image_19042025_18_42_25_10366.jpg', '/home/pi/Desktop/images/19042025/18/42/image_19042025_18_42_45_9442.jpg', '/home/pi/Desktop/images/19042025/18/42/image_19042025_18_42_56_10369.jpg', '/home/pi/Desktop/images/19042025/18/42/image_19042025_18_43_05_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/41/image_19042025_18_42_06_10353.jpg
/home/pi/Desktop/images/19042025/18/42/image_19042025_18_42_15_9359.jpg
/home/pi/Desktop/images/19042025/18/42/image_19042025_18_42_25_10366.jpg
/home/pi/Desktop/images/19042025/18/42/image_19042025_18_42_45_9442.jpg
/home/pi/Desktop/images/19042025/18/42/image_19042025_18_42_56_10369.jpg
/home/pi/Desktop/images/19042025/18/42/image_19042025_18_43_05_9462.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":["1351994128","1351994131","1351994112","1351994136","1351994118","1351994135"],"photo_ids_order":["1351994112","1351994118","1351994128","1351994131","1351994135","1351994136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/120ca9dd82110ab8dea4ca38d61e6f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8518244932612618804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090432662,"filename":"image_19042025_18_42_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/19/f825c9a4dc77257a70c811e15aff8920.jpg","text":"TemporaryFile(/tmp/multipartBody1866028134342105795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090432662,"filename":"image_19042025_18_42_45_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a152a68067129ec7866c2f1b8011bbe3.jpg","text":"TemporaryFile(/tmp/multipartBody4369890107465144456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090432662,"filename":"image_19042025_18_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/19/cc66b0b3edf8b064c509eb1967eaad00.jpg","text":"TemporaryFile(/tmp/multipartBody557164092057056827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090432662,"filename":"image_19042025_18_43_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/19/398dce83a52705c954fd459e62b9b17a.jpg","text":"TemporaryFile(/tmp/multipartBody2768521407907774014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090432662,"filename":"image_19042025_18_42_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/19/eb566eb6ccedd69f03b114d8e86c78e9.jpg","text":"TemporaryFile(/tmp/multipartBody1935026197398631299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090432662,"filename":"image_19042025_18_42_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994128","file1":"1351994118","file0":"1351994112","file4":"1351994135","file5":"1351994136","file3":"1351994131"},"map_files_photo_id_array":[{"photo_id":"1351994136","filename":"file5"},{"photo_id":"1351994128","filename":"file2"},{"photo_id":"1351994135","filename":"file4"},{"photo_id":"1351994118","filename":"file1"},{"photo_id":"1351994112","filename":"file0"},{"photo_id":"1351994131","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994128":["hashtag1","hashtag2"]},{"1351994131":["hashtag1","hashtag2"]},{"1351994112":["hashtag1","hashtag2"]},{"1351994136":["hashtag1","hashtag2"]},{"1351994118":["hashtag1","hashtag2"]},{"1351994135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994128, 1351994131, 1351994112, 1351994136, 1351994118, 1351994135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.03634333610535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 21:20:42.372274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_15_10402.jpg', '/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_25_9446.jpg', '/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_35_10368.jpg', '/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_46_10390.jpg', '/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_55_9376.jpg', '/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_16_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_15_10402.jpg
/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_25_9446.jpg
/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_35_10368.jpg
/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_46_10390.jpg
/home/pi/Desktop/images/19042025/18/43/image_19042025_18_43_55_9376.jpg
/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_16_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994185","1351994179","1351994194","1351994186","1351994189","1351994183"],"photo_ids_order":["1351994179","1351994183","1351994185","1351994186","1351994189","1351994194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/480843082eee16e7aed3ecc483037f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1505511405755297647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090502847,"filename":"image_19042025_18_43_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/19/bc208c2cd6cf73f9e30e6bec57f41254.jpg","text":"TemporaryFile(/tmp/multipartBody7433118630894008707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090502847,"filename":"image_19042025_18_43_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/19/8973fa5235d7648438f2a00cb61775bf.jpg","text":"TemporaryFile(/tmp/multipartBody8407575986009845781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090502847,"filename":"image_19042025_18_44_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/19/dc706f981cc6f49a111211f67819453d.jpg","text":"TemporaryFile(/tmp/multipartBody4872689140495536707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090502847,"filename":"image_19042025_18_43_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1f336f9b003923a5a2b80d81adc5a87c.jpg","text":"TemporaryFile(/tmp/multipartBody2166736270567463565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090502847,"filename":"image_19042025_18_43_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d8371f5be1ac3b38b6850fd5510cc95c.jpg","text":"TemporaryFile(/tmp/multipartBody1792098380791137940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090502847,"filename":"image_19042025_18_43_25_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994185","file1":"1351994183","file0":"1351994179","file4":"1351994189","file5":"1351994194","file3":"1351994186"},"map_files_photo_id_array":[{"photo_id":"1351994194","filename":"file5"},{"photo_id":"1351994185","filename":"file2"},{"photo_id":"1351994189","filename":"file4"},{"photo_id":"1351994183","filename":"file1"},{"photo_id":"1351994179","filename":"file0"},{"photo_id":"1351994186","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994185":["hashtag1","hashtag2"]},{"1351994179":["hashtag1","hashtag2"]},{"1351994194":["hashtag1","hashtag2"]},{"1351994186":["hashtag1","hashtag2"]},{"1351994189":["hashtag1","hashtag2"]},{"1351994183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994185, 1351994179, 1351994194, 1351994186, 1351994189, 1351994183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18262791633606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:21:32.594423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_25_9456.jpg', '/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_36_10365.jpg', '/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_45_9451.jpg', '/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_55_10439.jpg', '/home/pi/Desktop/images/19042025/18/44/image_19042025_18_45_05_9417.jpg', '/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_15_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_25_9456.jpg
/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_36_10365.jpg
/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_45_9451.jpg
/home/pi/Desktop/images/19042025/18/44/image_19042025_18_44_55_10439.jpg
/home/pi/Desktop/images/19042025/18/44/image_19042025_18_45_05_9417.jpg
/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_15_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994215","1351994209","1351994206","1351994211","1351994204","1351994213"],"photo_ids_order":["1351994204","1351994206","1351994209","1351994211","1351994213","1351994215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eabd9f9d2ff96c15d1bb5fd23633bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody9062607240076534813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090553073,"filename":"image_19042025_18_45_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ebc94521990391bb48fa1bbb4b42d4c1.jpg","text":"TemporaryFile(/tmp/multipartBody5574131628686214956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090553073,"filename":"image_19042025_18_44_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f2b18529652d31640cb77b7c4ffd0910.jpg","text":"TemporaryFile(/tmp/multipartBody4327051111878180610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090553073,"filename":"image_19042025_18_44_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/19/a87895e543bce6b070f95e4a02a0cbc4.jpg","text":"TemporaryFile(/tmp/multipartBody9102953548080125087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090553073,"filename":"image_19042025_18_44_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/19/ac3813ff2c8adf0596edb4511c0e0f35.jpg","text":"TemporaryFile(/tmp/multipartBody1213000155541289947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090553073,"filename":"image_19042025_18_44_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cc1bb02a8f77ed3d46bc3d315d72932d.jpg","text":"TemporaryFile(/tmp/multipartBody1314658111868268225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090553073,"filename":"image_19042025_18_45_05_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994209","file1":"1351994206","file0":"1351994204","file4":"1351994213","file5":"1351994215","file3":"1351994211"},"map_files_photo_id_array":[{"photo_id":"1351994215","filename":"file5"},{"photo_id":"1351994209","filename":"file2"},{"photo_id":"1351994213","filename":"file4"},{"photo_id":"1351994206","filename":"file1"},{"photo_id":"1351994204","filename":"file0"},{"photo_id":"1351994211","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994215":["hashtag1","hashtag2"]},{"1351994209":["hashtag1","hashtag2"]},{"1351994206":["hashtag1","hashtag2"]},{"1351994211":["hashtag1","hashtag2"]},{"1351994204":["hashtag1","hashtag2"]},{"1351994213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994215, 1351994209, 1351994206, 1351994211, 1351994204, 1351994213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.877272129058838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:22:32.815155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_26_10363.jpg', '/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_35_9371.jpg', '/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_45_10377.jpg', '/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_56_10353.jpg', '/home/pi/Desktop/images/19042025/18/45/image_19042025_18_46_05_9427.jpg', '/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_15_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_26_10363.jpg
/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_35_9371.jpg
/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_45_10377.jpg
/home/pi/Desktop/images/19042025/18/45/image_19042025_18_45_56_10353.jpg
/home/pi/Desktop/images/19042025/18/45/image_19042025_18_46_05_9427.jpg
/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_15_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":["1351994227","1351994224","1351994229","1351994234","1351994237","1351994231"],"photo_ids_order":["1351994224","1351994227","1351994229","1351994231","1351994234","1351994237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/279513804e9b90d8434547e4e892bb18.jpg","text":"TemporaryFile(/tmp/multipartBody3567958307396809452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090613290,"filename":"image_19042025_18_45_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d8c6eca1f1e2424b9fb1e2911ec92099.jpg","text":"TemporaryFile(/tmp/multipartBody7825317039442343664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090613290,"filename":"image_19042025_18_45_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/19/353ed3f4efb55fc32d698b672e0ced9e.jpg","text":"TemporaryFile(/tmp/multipartBody9123713365149169124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090613290,"filename":"image_19042025_18_45_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/19/4a61a4477ebf3702a0bdaa74d1806737.jpg","text":"TemporaryFile(/tmp/multipartBody6051503409351372679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090613290,"filename":"image_19042025_18_46_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/19/f4362cc691d2657da161586e695342d0.jpg","text":"TemporaryFile(/tmp/multipartBody2457302996509377093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090613290,"filename":"image_19042025_18_46_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/19/feb352f27005fc8c84663028b75e446d.jpg","text":"TemporaryFile(/tmp/multipartBody5058803650807852200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090613290,"filename":"image_19042025_18_45_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994229","file1":"1351994227","file0":"1351994224","file4":"1351994234","file5":"1351994237","file3":"1351994231"},"map_files_photo_id_array":[{"photo_id":"1351994237","filename":"file5"},{"photo_id":"1351994229","filename":"file2"},{"photo_id":"1351994234","filename":"file4"},{"photo_id":"1351994227","filename":"file1"},{"photo_id":"1351994224","filename":"file0"},{"photo_id":"1351994231","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994227":["hashtag1","hashtag2"]},{"1351994224":["hashtag1","hashtag2"]},{"1351994229":["hashtag1","hashtag2"]},{"1351994234":["hashtag1","hashtag2"]},{"1351994237":["hashtag1","hashtag2"]},{"1351994231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994227, 1351994224, 1351994229, 1351994234, 1351994237, 1351994231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.163716793060303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:23:33.184339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_25_9486.jpg', '/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_35_10368.jpg', '/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_46_10363.jpg', '/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_55_9361.jpg', '/home/pi/Desktop/images/19042025/18/46/image_19042025_18_47_05_10385.jpg', '/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_15_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_25_9486.jpg
/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_35_10368.jpg
/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_46_10363.jpg
/home/pi/Desktop/images/19042025/18/46/image_19042025_18_46_55_9361.jpg
/home/pi/Desktop/images/19042025/18/46/image_19042025_18_47_05_10385.jpg
/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_15_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":["1351994263","1351994251","1351994260","1351994255","1351994264","1351994246"],"photo_ids_order":["1351994246","1351994251","1351994255","1351994260","1351994263","1351994264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5cb9e0679b1101cd05e18d0931b1da5d.jpg","text":"TemporaryFile(/tmp/multipartBody5376914654767509956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090673655,"filename":"image_19042025_18_47_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/19/86f9c6e248c7e0fe14f9cc3e9a386199.jpg","text":"TemporaryFile(/tmp/multipartBody4353697514027315005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090673655,"filename":"image_19042025_18_46_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/19/ed85d7261eb36045c7433e428d1a54c6.jpg","text":"TemporaryFile(/tmp/multipartBody5202630986612606339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090673655,"filename":"image_19042025_18_46_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f78d217a781f97b2aee7f8e0ae128b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7321378755899928383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090673655,"filename":"image_19042025_18_46_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/19/1581aae3770cbc2591cb76a508d87344.jpg","text":"TemporaryFile(/tmp/multipartBody7150560442036548276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090673655,"filename":"image_19042025_18_47_15_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a2700b6a8e634a25cfd8b23a9cba3e6c.jpg","text":"TemporaryFile(/tmp/multipartBody4442131607082588821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090673655,"filename":"image_19042025_18_46_25_9486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994255","file1":"1351994251","file0":"1351994246","file4":"1351994263","file5":"1351994264","file3":"1351994260"},"map_files_photo_id_array":[{"photo_id":"1351994264","filename":"file5"},{"photo_id":"1351994255","filename":"file2"},{"photo_id":"1351994263","filename":"file4"},{"photo_id":"1351994251","filename":"file1"},{"photo_id":"1351994246","filename":"file0"},{"photo_id":"1351994260","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994263":["hashtag1","hashtag2"]},{"1351994251":["hashtag1","hashtag2"]},{"1351994260":["hashtag1","hashtag2"]},{"1351994255":["hashtag1","hashtag2"]},{"1351994264":["hashtag1","hashtag2"]},{"1351994246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994263, 1351994251, 1351994260, 1351994255, 1351994264, 1351994246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0681369304657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:24:32.385140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_25_10386.jpg', '/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_36_10376.jpg', '/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_45_9461.jpg', '/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_55_10358.jpg', '/home/pi/Desktop/images/19042025/18/47/image_19042025_18_48_05_9394.jpg', '/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_15_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_25_10386.jpg
/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_36_10376.jpg
/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_45_9461.jpg
/home/pi/Desktop/images/19042025/18/47/image_19042025_18_47_55_10358.jpg
/home/pi/Desktop/images/19042025/18/47/image_19042025_18_48_05_9394.jpg
/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_15_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994284","1351994272","1351994280","1351994268","1351994276","1351994281"],"photo_ids_order":["1351994268","1351994272","1351994276","1351994280","1351994281","1351994284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64dd959f06db41004e42badb767bfca6.jpg","text":"TemporaryFile(/tmp/multipartBody8169319480851026804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090732852,"filename":"image_19042025_18_48_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef9e801adac8ab6477a310aa2cba83f3.jpg","text":"TemporaryFile(/tmp/multipartBody3173739045516470296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090732852,"filename":"image_19042025_18_47_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/19/7ea75489648049e5e3b81843aa3cae34.jpg","text":"TemporaryFile(/tmp/multipartBody7564525867688500664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090732852,"filename":"image_19042025_18_47_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/19/9ad7b9168d7c64381b3bf70d0851a9ef.jpg","text":"TemporaryFile(/tmp/multipartBody680564519520809016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090732852,"filename":"image_19042025_18_47_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c28a8d99ad8661c1c48701ab780af931.jpg","text":"TemporaryFile(/tmp/multipartBody2096358783223455186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090732852,"filename":"image_19042025_18_47_45_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/287e32b5b4cac1dcd77ccb6a25fba0f9.jpg","text":"TemporaryFile(/tmp/multipartBody6209746697489043198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090732852,"filename":"image_19042025_18_48_05_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994276","file1":"1351994272","file0":"1351994268","file4":"1351994281","file5":"1351994284","file3":"1351994280"},"map_files_photo_id_array":[{"photo_id":"1351994284","filename":"file5"},{"photo_id":"1351994276","filename":"file2"},{"photo_id":"1351994281","filename":"file4"},{"photo_id":"1351994272","filename":"file1"},{"photo_id":"1351994268","filename":"file0"},{"photo_id":"1351994280","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994284":["hashtag1","hashtag2"]},{"1351994272":["hashtag1","hashtag2"]},{"1351994280":["hashtag1","hashtag2"]},{"1351994268":["hashtag1","hashtag2"]},{"1351994276":["hashtag1","hashtag2"]},{"1351994281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994284, 1351994272, 1351994280, 1351994268, 1351994276, 1351994281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.884967803955078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:25:32.610489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_26_10364.jpg', '/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_35_9421.jpg', '/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_45_10366.jpg', '/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_55_9369.jpg', '/home/pi/Desktop/images/19042025/18/48/image_19042025_18_49_05_10353.jpg', '/home/pi/Desktop/images/19042025/18/49/image_19042025_18_49_15_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_26_10364.jpg
/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_35_9421.jpg
/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_45_10366.jpg
/home/pi/Desktop/images/19042025/18/48/image_19042025_18_48_55_9369.jpg
/home/pi/Desktop/images/19042025/18/48/image_19042025_18_49_05_10353.jpg
/home/pi/Desktop/images/19042025/18/49/image_19042025_18_49_15_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994299","1351994292","1351994298","1351994301","1351994294","1351994296"],"photo_ids_order":["1351994292","1351994294","1351994296","1351994298","1351994299","1351994301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48cc138393485305755342bbb4d0af82.jpg","text":"TemporaryFile(/tmp/multipartBody2697500718855530974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090793093,"filename":"image_19042025_18_49_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/19/b2f9f6b6a7475c4824592efe4d54db97.jpg","text":"TemporaryFile(/tmp/multipartBody7891552856398469010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090793093,"filename":"image_19042025_18_48_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/19/48429cba1c513484d9161cbb8043b98d.jpg","text":"TemporaryFile(/tmp/multipartBody3561511589865758882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090793093,"filename":"image_19042025_18_48_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/19/03749ccc390ea8b3e0dfb3a0e004eac9.jpg","text":"TemporaryFile(/tmp/multipartBody6372709047577579634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090793093,"filename":"image_19042025_18_49_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/19/fa32fa108138bb22bb789f1a23d7d13d.jpg","text":"TemporaryFile(/tmp/multipartBody9112392199119552004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090793093,"filename":"image_19042025_18_48_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d95b1ad63651832e352383331757e306.jpg","text":"TemporaryFile(/tmp/multipartBody8483152095580048758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090793093,"filename":"image_19042025_18_48_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994296","file1":"1351994294","file0":"1351994292","file4":"1351994299","file5":"1351994301","file3":"1351994298"},"map_files_photo_id_array":[{"photo_id":"1351994301","filename":"file5"},{"photo_id":"1351994296","filename":"file2"},{"photo_id":"1351994299","filename":"file4"},{"photo_id":"1351994294","filename":"file1"},{"photo_id":"1351994292","filename":"file0"},{"photo_id":"1351994298","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994299":["hashtag1","hashtag2"]},{"1351994292":["hashtag1","hashtag2"]},{"1351994298":["hashtag1","hashtag2"]},{"1351994301":["hashtag1","hashtag2"]},{"1351994294":["hashtag1","hashtag2"]},{"1351994296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994299, 1351994292, 1351994298, 1351994301, 1351994294, 1351994296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.429279327392578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:26:32.787631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/49/image_19042025_18_49_35_10381.jpg', '/home/pi/Desktop/images/19042025/18/49/image_19042025_18_49_46_10380.jpg', '/home/pi/Desktop/images/19042025/18/49/image_19042025_18_49_55_9360.jpg', '/home/pi/Desktop/images/19042025/18/49/image_19042025_18_50_06_10431.jpg', '/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_15_9361.jpg', '/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/49/image_19042025_18_49_35_10381.jpg
/home/pi/Desktop/images/19042025/18/49/image_19042025_18_49_46_10380.jpg
/home/pi/Desktop/images/19042025/18/49/image_19042025_18_49_55_9360.jpg
/home/pi/Desktop/images/19042025/18/49/image_19042025_18_50_06_10431.jpg
/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_15_9361.jpg
/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_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":["1351994320","1351994314","1351994308","1351994311","1351994324","1351994327"],"photo_ids_order":["1351994308","1351994311","1351994314","1351994320","1351994324","1351994327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c9b557cd3249cb08749562101e083337.jpg","text":"TemporaryFile(/tmp/multipartBody4383523468557179659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090853318,"filename":"image_19042025_18_50_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84e596e759cab9dac9d9f6d73732de60.jpg","text":"TemporaryFile(/tmp/multipartBody7717133208652112741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090853318,"filename":"image_19042025_18_49_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/837183dadbd457448f8d954ecb3207d7.jpg","text":"TemporaryFile(/tmp/multipartBody5768737497098149896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090853318,"filename":"image_19042025_18_49_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/12bb276cc134a74972cf8f363cdc9933.jpg","text":"TemporaryFile(/tmp/multipartBody535697299432900107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090853318,"filename":"image_19042025_18_49_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/19/358956e1f050a5917d16ebbe9319374e.jpg","text":"TemporaryFile(/tmp/multipartBody7859779332729142408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090853318,"filename":"image_19042025_18_50_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/19/3f3c2faad2c0bd4bb3f242c1bad66992.jpg","text":"TemporaryFile(/tmp/multipartBody4811124892434358089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090853318,"filename":"image_19042025_18_50_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994314","file1":"1351994311","file0":"1351994308","file4":"1351994324","file5":"1351994327","file3":"1351994320"},"map_files_photo_id_array":[{"photo_id":"1351994327","filename":"file5"},{"photo_id":"1351994314","filename":"file2"},{"photo_id":"1351994324","filename":"file4"},{"photo_id":"1351994311","filename":"file1"},{"photo_id":"1351994308","filename":"file0"},{"photo_id":"1351994320","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994320":["hashtag1","hashtag2"]},{"1351994314":["hashtag1","hashtag2"]},{"1351994308":["hashtag1","hashtag2"]},{"1351994311":["hashtag1","hashtag2"]},{"1351994324":["hashtag1","hashtag2"]},{"1351994327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994320, 1351994314, 1351994308, 1351994311, 1351994324, 1351994327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05935859680176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:27:33.027619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_36_10390.jpg', '/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_45_9464.jpg', '/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_56_10368.jpg', '/home/pi/Desktop/images/19042025/18/50/image_19042025_18_51_05_9489.jpg', '/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_15_10348.jpg', '/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_25_9967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_36_10390.jpg
/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_45_9464.jpg
/home/pi/Desktop/images/19042025/18/50/image_19042025_18_50_56_10368.jpg
/home/pi/Desktop/images/19042025/18/50/image_19042025_18_51_05_9489.jpg
/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_15_10348.jpg
/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_25_9967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994350","1351994353","1351994341","1351994335","1351994351","1351994339"],"photo_ids_order":["1351994335","1351994339","1351994341","1351994350","1351994351","1351994353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c2f75140b331ab60052bc3131bf894b.jpg","text":"TemporaryFile(/tmp/multipartBody9069663475581187028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090913498,"filename":"image_19042025_18_51_05_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/19/e9b343e6a952cdcb0e9dacbac8c3fe68.jpg","text":"TemporaryFile(/tmp/multipartBody4564402058069075466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090913498,"filename":"image_19042025_18_51_25_9967.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4073b8e82d7b3328633feb5e31de3847.jpg","text":"TemporaryFile(/tmp/multipartBody7714635839722532532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090913498,"filename":"image_19042025_18_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/19/c40112009864004c8fec2bfdc041450f.jpg","text":"TemporaryFile(/tmp/multipartBody8482614787412728882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090913498,"filename":"image_19042025_18_50_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/19/2ffdc1632359925747f87513dd92ce2c.jpg","text":"TemporaryFile(/tmp/multipartBody5121455538504375541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090913498,"filename":"image_19042025_18_51_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/980dd96477e76f2b0372ecb63933611c.jpg","text":"TemporaryFile(/tmp/multipartBody2892070279261491099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090913498,"filename":"image_19042025_18_50_45_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994341","file1":"1351994339","file0":"1351994335","file4":"1351994351","file5":"1351994353","file3":"1351994350"},"map_files_photo_id_array":[{"photo_id":"1351994353","filename":"file5"},{"photo_id":"1351994341","filename":"file2"},{"photo_id":"1351994351","filename":"file4"},{"photo_id":"1351994339","filename":"file1"},{"photo_id":"1351994335","filename":"file0"},{"photo_id":"1351994350","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994350":["hashtag1","hashtag2"]},{"1351994353":["hashtag1","hashtag2"]},{"1351994341":["hashtag1","hashtag2"]},{"1351994335":["hashtag1","hashtag2"]},{"1351994351":["hashtag1","hashtag2"]},{"1351994339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994350, 1351994353, 1351994341, 1351994335, 1351994351, 1351994339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89231300354004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:28:32.138647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_36_10376.jpg', '/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_45_9367.jpg', '/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_55_10390.jpg', '/home/pi/Desktop/images/19042025/18/51/image_19042025_18_52_05_9402.jpg', '/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_15_10352.jpg', '/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_26_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_36_10376.jpg
/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_45_9367.jpg
/home/pi/Desktop/images/19042025/18/51/image_19042025_18_51_55_10390.jpg
/home/pi/Desktop/images/19042025/18/51/image_19042025_18_52_05_9402.jpg
/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_15_10352.jpg
/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_26_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":["1351994365","1351994374","1351994368","1351994370","1351994372","1351994363"],"photo_ids_order":["1351994363","1351994365","1351994368","1351994370","1351994372","1351994374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f6015f6de54fb1f2aa23d5afee039f98.jpg","text":"TemporaryFile(/tmp/multipartBody3004288148890272808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090972617,"filename":"image_19042025_18_51_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/19/31e19d9f65eb36dac218f314214daa43.jpg","text":"TemporaryFile(/tmp/multipartBody2175237271879478237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090972617,"filename":"image_19042025_18_52_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/19/6100e79f3e4839105be0ee7fdac3ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody9165403378819173263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090972617,"filename":"image_19042025_18_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/19/d48a1a30efbb5f981943ba0e7f23fae1.jpg","text":"TemporaryFile(/tmp/multipartBody2765441993867864634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090972617,"filename":"image_19042025_18_52_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/09a7f71742749ebac46b5dab6cee0a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6182633965497088588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090972617,"filename":"image_19042025_18_52_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/19/db28e8ed7a6cba8ae9e0100d1f7736ea.jpg","text":"TemporaryFile(/tmp/multipartBody6329748892431205165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745090972617,"filename":"image_19042025_18_51_36_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994368","file1":"1351994365","file0":"1351994363","file4":"1351994372","file5":"1351994374","file3":"1351994370"},"map_files_photo_id_array":[{"photo_id":"1351994374","filename":"file5"},{"photo_id":"1351994368","filename":"file2"},{"photo_id":"1351994372","filename":"file4"},{"photo_id":"1351994365","filename":"file1"},{"photo_id":"1351994363","filename":"file0"},{"photo_id":"1351994370","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994365":["hashtag1","hashtag2"]},{"1351994374":["hashtag1","hashtag2"]},{"1351994368":["hashtag1","hashtag2"]},{"1351994370":["hashtag1","hashtag2"]},{"1351994372":["hashtag1","hashtag2"]},{"1351994363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994365, 1351994374, 1351994368, 1351994370, 1351994372, 1351994363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.231734037399292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:29:32.483313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_35_9347.jpg', '/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_45_10365.jpg', '/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_56_10444.jpg', '/home/pi/Desktop/images/19042025/18/53/image_19042025_18_53_15_10361.jpg', '/home/pi/Desktop/images/19042025/18/53/image_19042025_18_53_25_9473.jpg', '/home/pi/Desktop/images/19042025/18/53/image_19042025_18_53_35_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_35_9347.jpg
/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_45_10365.jpg
/home/pi/Desktop/images/19042025/18/52/image_19042025_18_52_56_10444.jpg
/home/pi/Desktop/images/19042025/18/53/image_19042025_18_53_15_10361.jpg
/home/pi/Desktop/images/19042025/18/53/image_19042025_18_53_25_9473.jpg
/home/pi/Desktop/images/19042025/18/53/image_19042025_18_53_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":["1351994386","1351994407","1351994397","1351994390","1351994402","1351994405"],"photo_ids_order":["1351994386","1351994390","1351994397","1351994402","1351994405","1351994407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/635f1072d5634990c9f2cfa9847c7db0.jpg","text":"TemporaryFile(/tmp/multipartBody8230412864664682421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091032946,"filename":"image_19042025_18_52_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c9af4efeda5f3dc7fd45ebd5e1f88053.jpg","text":"TemporaryFile(/tmp/multipartBody5574587113056869482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091032946,"filename":"image_19042025_18_53_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/19/e6603de55c4f0179511c0e19116667a7.jpg","text":"TemporaryFile(/tmp/multipartBody8280693432629539588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091032946,"filename":"image_19042025_18_52_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/19/1b5622e3921a0f370fca40bda49244dd.jpg","text":"TemporaryFile(/tmp/multipartBody1202832060902419226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091032946,"filename":"image_19042025_18_52_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6bf4bd0b1fdaeddea88c6c8a5e702009.jpg","text":"TemporaryFile(/tmp/multipartBody2772799215252801998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091032946,"filename":"image_19042025_18_53_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/19/37d0860046bca828c810950599bd76a7.jpg","text":"TemporaryFile(/tmp/multipartBody7154970973758160476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091032946,"filename":"image_19042025_18_53_25_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994397","file1":"1351994390","file0":"1351994386","file4":"1351994405","file5":"1351994407","file3":"1351994402"},"map_files_photo_id_array":[{"photo_id":"1351994407","filename":"file5"},{"photo_id":"1351994397","filename":"file2"},{"photo_id":"1351994405","filename":"file4"},{"photo_id":"1351994390","filename":"file1"},{"photo_id":"1351994386","filename":"file0"},{"photo_id":"1351994402","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994386":["hashtag1","hashtag2"]},{"1351994407":["hashtag1","hashtag2"]},{"1351994397":["hashtag1","hashtag2"]},{"1351994390":["hashtag1","hashtag2"]},{"1351994402":["hashtag1","hashtag2"]},{"1351994405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994386, 1351994407, 1351994397, 1351994390, 1351994402, 1351994405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89956212043762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:30:32.720956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/53/image_19042025_18_53_46_10371.jpg', '/home/pi/Desktop/images/19042025/18/53/image_19042025_18_54_06_10441.jpg', '/home/pi/Desktop/images/19042025/18/54/image_19042025_18_54_15_9411.jpg', '/home/pi/Desktop/images/19042025/18/54/image_19042025_18_54_25_10445.jpg', '/home/pi/Desktop/images/19042025/18/55/image_19042025_18_55_15_10370.jpg', '/home/pi/Desktop/images/19042025/18/55/image_19042025_18_55_25_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/53/image_19042025_18_53_46_10371.jpg
/home/pi/Desktop/images/19042025/18/53/image_19042025_18_54_06_10441.jpg
/home/pi/Desktop/images/19042025/18/54/image_19042025_18_54_15_9411.jpg
/home/pi/Desktop/images/19042025/18/54/image_19042025_18_54_25_10445.jpg
/home/pi/Desktop/images/19042025/18/55/image_19042025_18_55_15_10370.jpg
/home/pi/Desktop/images/19042025/18/55/image_19042025_18_55_25_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":["1351994455","1351994452","1351994449","1351994472","1351994466","1351994469"],"photo_ids_order":["1351994449","1351994452","1351994455","1351994466","1351994469","1351994472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d3a8b4dff38318a4cb40dd302b207777.jpg","text":"TemporaryFile(/tmp/multipartBody5077500265289377844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091093193,"filename":"image_19042025_18_54_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/79081232f2c775054eb0358693a89fff.jpg","text":"TemporaryFile(/tmp/multipartBody7142961268191940533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091093193,"filename":"image_19042025_18_54_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/19/d2cca7b8cfcb9c27dda12c04b71b337c.jpg","text":"TemporaryFile(/tmp/multipartBody1859181941626344869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091093193,"filename":"image_19042025_18_53_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/19/0631c13b7f044916e8a361d65bd7eeff.jpg","text":"TemporaryFile(/tmp/multipartBody5975845564703311907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091093193,"filename":"image_19042025_18_55_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e34ea780a34cb735ff0ce0b144f08fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4871891723765123946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091093193,"filename":"image_19042025_18_54_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f8d5dec8b8434d9e13d5a7887f01be0.jpg","text":"TemporaryFile(/tmp/multipartBody1704058744277270845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091093193,"filename":"image_19042025_18_55_15_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994455","file1":"1351994452","file0":"1351994449","file4":"1351994469","file5":"1351994472","file3":"1351994466"},"map_files_photo_id_array":[{"photo_id":"1351994472","filename":"file5"},{"photo_id":"1351994455","filename":"file2"},{"photo_id":"1351994469","filename":"file4"},{"photo_id":"1351994452","filename":"file1"},{"photo_id":"1351994449","filename":"file0"},{"photo_id":"1351994466","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994455":["hashtag1","hashtag2"]},{"1351994452":["hashtag1","hashtag2"]},{"1351994449":["hashtag1","hashtag2"]},{"1351994472":["hashtag1","hashtag2"]},{"1351994466":["hashtag1","hashtag2"]},{"1351994469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994455, 1351994452, 1351994449, 1351994472, 1351994466, 1351994469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.588130712509155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:31:33.005620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/55/image_19042025_18_55_46_10424.jpg', '/home/pi/Desktop/images/19042025/18/55/image_19042025_18_55_55_9431.jpg', '/home/pi/Desktop/images/19042025/18/55/image_19042025_18_56_05_10358.jpg', '/home/pi/Desktop/images/19042025/18/56/image_19042025_18_56_15_9432.jpg', '/home/pi/Desktop/images/19042025/18/56/image_19042025_18_56_25_10378.jpg', '/home/pi/Desktop/images/19042025/18/56/image_19042025_18_56_36_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/55/image_19042025_18_55_46_10424.jpg
/home/pi/Desktop/images/19042025/18/55/image_19042025_18_55_55_9431.jpg
/home/pi/Desktop/images/19042025/18/55/image_19042025_18_56_05_10358.jpg
/home/pi/Desktop/images/19042025/18/56/image_19042025_18_56_15_9432.jpg
/home/pi/Desktop/images/19042025/18/56/image_19042025_18_56_25_10378.jpg
/home/pi/Desktop/images/19042025/18/56/image_19042025_18_56_36_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994497","1351994499","1351994493","1351994495","1351994489","1351994491"],"photo_ids_order":["1351994489","1351994491","1351994493","1351994495","1351994497","1351994499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c9d2a5905b1b3925265f87f815bb230.jpg","text":"TemporaryFile(/tmp/multipartBody8692221354740556583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091153466,"filename":"image_19042025_18_56_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/19/43c052aa0663e8f694c88694463bd5f4.jpg","text":"TemporaryFile(/tmp/multipartBody1755975235524655199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091153466,"filename":"image_19042025_18_56_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/19/69a374d2dfbd47445eeceeeb6e82f817.jpg","text":"TemporaryFile(/tmp/multipartBody6622752888982234879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091153466,"filename":"image_19042025_18_56_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/19/89e844bfca922cd691b17bf9cdaabce9.jpg","text":"TemporaryFile(/tmp/multipartBody6867571670315044090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091153466,"filename":"image_19042025_18_56_15_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b278606414d9410611777f8e87f99c9.jpg","text":"TemporaryFile(/tmp/multipartBody8891460315360132390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091153466,"filename":"image_19042025_18_55_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/19/039438770fa958a3315bceb8e4cc933c.jpg","text":"TemporaryFile(/tmp/multipartBody7640478078979560176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091153466,"filename":"image_19042025_18_55_55_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994493","file1":"1351994491","file0":"1351994489","file4":"1351994497","file5":"1351994499","file3":"1351994495"},"map_files_photo_id_array":[{"photo_id":"1351994499","filename":"file5"},{"photo_id":"1351994493","filename":"file2"},{"photo_id":"1351994497","filename":"file4"},{"photo_id":"1351994491","filename":"file1"},{"photo_id":"1351994489","filename":"file0"},{"photo_id":"1351994495","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994497":["hashtag1","hashtag2"]},{"1351994499":["hashtag1","hashtag2"]},{"1351994493":["hashtag1","hashtag2"]},{"1351994495":["hashtag1","hashtag2"]},{"1351994489":["hashtag1","hashtag2"]},{"1351994491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994497, 1351994499, 1351994493, 1351994495, 1351994489, 1351994491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.66220760345459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:32:32.298365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/56/image_19042025_18_56_45_9390.jpg', '/home/pi/Desktop/images/19042025/18/56/image_19042025_18_57_05_9477.jpg', '/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_15_10364.jpg', '/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_26_10379.jpg', '/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_35_9429.jpg', '/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/56/image_19042025_18_56_45_9390.jpg
/home/pi/Desktop/images/19042025/18/56/image_19042025_18_57_05_9477.jpg
/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_15_10364.jpg
/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_26_10379.jpg
/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_35_9429.jpg
/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994518","1351994512","1351994520","1351994514","1351994522","1351994516"],"photo_ids_order":["1351994512","1351994514","1351994516","1351994518","1351994520","1351994522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24bb43e900acfa524dde48a7e21d2509.jpg","text":"TemporaryFile(/tmp/multipartBody552988649457800559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091212761,"filename":"image_19042025_18_57_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/19/80f0126f3726b4e28cca4e5ff73d5376.jpg","text":"TemporaryFile(/tmp/multipartBody6883245426780341850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091212761,"filename":"image_19042025_18_56_45_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/19/1b1bec73b9ef8dacc48ac47fec2e8d9c.jpg","text":"TemporaryFile(/tmp/multipartBody325726625912848617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091212761,"filename":"image_19042025_18_57_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/19/cc7576c400994a0ed4b89d06cb5a7766.jpg","text":"TemporaryFile(/tmp/multipartBody8527998066864880306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091212761,"filename":"image_19042025_18_57_05_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3dafb8b1673d6e3dd41822df9b0eaaa6.jpg","text":"TemporaryFile(/tmp/multipartBody4399655664466629520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091212761,"filename":"image_19042025_18_57_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/19/776f21cfd4c1a28934a906e4d7b39e8e.jpg","text":"TemporaryFile(/tmp/multipartBody4447830994279488646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091212761,"filename":"image_19042025_18_57_15_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994516","file1":"1351994514","file0":"1351994512","file4":"1351994520","file5":"1351994522","file3":"1351994518"},"map_files_photo_id_array":[{"photo_id":"1351994522","filename":"file5"},{"photo_id":"1351994516","filename":"file2"},{"photo_id":"1351994520","filename":"file4"},{"photo_id":"1351994514","filename":"file1"},{"photo_id":"1351994512","filename":"file0"},{"photo_id":"1351994518","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994518":["hashtag1","hashtag2"]},{"1351994512":["hashtag1","hashtag2"]},{"1351994520":["hashtag1","hashtag2"]},{"1351994514":["hashtag1","hashtag2"]},{"1351994522":["hashtag1","hashtag2"]},{"1351994516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994518, 1351994512, 1351994520, 1351994514, 1351994522, 1351994516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.078364610671997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:33:32.508710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_55_9433.jpg', '/home/pi/Desktop/images/19042025/18/57/image_19042025_18_58_05_10359.jpg', '/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_16_10364.jpg', '/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_25_9429.jpg', '/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_35_10363.jpg', '/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_46_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/57/image_19042025_18_57_55_9433.jpg
/home/pi/Desktop/images/19042025/18/57/image_19042025_18_58_05_10359.jpg
/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_16_10364.jpg
/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_25_9429.jpg
/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_35_10363.jpg
/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_46_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994854","1351994908","1351994769","1351994882","1351994798","1351994828"],"photo_ids_order":["1351994769","1351994798","1351994828","1351994854","1351994882","1351994908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ff6d8b755988a9fd192b47c8dfc06a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6335780605671170054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091273105,"filename":"image_19042025_18_58_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/19/4917d58104bf69597132cc3915c8b68c.jpg","text":"TemporaryFile(/tmp/multipartBody9139242749106214874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091273105,"filename":"image_19042025_18_58_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fe65fe426f4ec1c8dbb71723738e6152.jpg","text":"TemporaryFile(/tmp/multipartBody5481348705590544175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091273105,"filename":"image_19042025_18_57_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/19/546ffe631b7db098e822087517fb31bd.jpg","text":"TemporaryFile(/tmp/multipartBody7369606030623209532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091273105,"filename":"image_19042025_18_58_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/19/75bbc875175419aaefd5a94a057d2e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7612748485920655836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091273105,"filename":"image_19042025_18_58_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aa346e0b417dcad74fcebe961f8e59b1.jpg","text":"TemporaryFile(/tmp/multipartBody3853352494235227289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091273105,"filename":"image_19042025_18_58_16_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994828","file1":"1351994798","file0":"1351994769","file4":"1351994882","file5":"1351994908","file3":"1351994854"},"map_files_photo_id_array":[{"photo_id":"1351994908","filename":"file5"},{"photo_id":"1351994828","filename":"file2"},{"photo_id":"1351994882","filename":"file4"},{"photo_id":"1351994798","filename":"file1"},{"photo_id":"1351994769","filename":"file0"},{"photo_id":"1351994854","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351994854":["hashtag1","hashtag2"]},{"1351994908":["hashtag1","hashtag2"]},{"1351994769":["hashtag1","hashtag2"]},{"1351994882":["hashtag1","hashtag2"]},{"1351994798":["hashtag1","hashtag2"]},{"1351994828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351994854, 1351994908, 1351994769, 1351994882, 1351994798, 1351994828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.34037685394287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:34:32.791226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_55_9356.jpg', '/home/pi/Desktop/images/19042025/18/58/image_19042025_18_59_06_10441.jpg', '/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_15_9396.jpg', '/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_26_10787.jpg', '/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_35_9382.jpg', '/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_46_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/58/image_19042025_18_58_55_9356.jpg
/home/pi/Desktop/images/19042025/18/58/image_19042025_18_59_06_10441.jpg
/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_15_9396.jpg
/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_26_10787.jpg
/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_35_9382.jpg
/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_46_10537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351995319","1351995202","1351995231","1351995263","1351995292","1351995175"],"photo_ids_order":["1351995175","1351995202","1351995231","1351995263","1351995292","1351995319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6a774021abff944f81b35a04048cfcb.jpg","text":"TemporaryFile(/tmp/multipartBody7264361683815339114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091333251,"filename":"image_19042025_18_59_46_10537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/734c8e2b42c1bc9e6785f83e44f2aa49.jpg","text":"TemporaryFile(/tmp/multipartBody937604307049010461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091333251,"filename":"image_19042025_18_59_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/19/272dd90fa1bc0caf900171a5d6358a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1015019585530772272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091333251,"filename":"image_19042025_18_59_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/19/dfa4fe76d33402a2751453db67a0898e.jpg","text":"TemporaryFile(/tmp/multipartBody4820307407742764180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091333251,"filename":"image_19042025_18_59_26_10787.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b9b5750a48697cd911264f72d05994c4.jpg","text":"TemporaryFile(/tmp/multipartBody2966818853121887690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091333251,"filename":"image_19042025_18_59_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/19/cd11de9fa778c333d862190e6d32efee.jpg","text":"TemporaryFile(/tmp/multipartBody2264043528818895932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091333251,"filename":"image_19042025_18_58_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351995231","file1":"1351995202","file0":"1351995175","file4":"1351995292","file5":"1351995319","file3":"1351995263"},"map_files_photo_id_array":[{"photo_id":"1351995319","filename":"file5"},{"photo_id":"1351995231","filename":"file2"},{"photo_id":"1351995292","filename":"file4"},{"photo_id":"1351995202","filename":"file1"},{"photo_id":"1351995175","filename":"file0"},{"photo_id":"1351995263","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351995319":["hashtag1","hashtag2"]},{"1351995202":["hashtag1","hashtag2"]},{"1351995231":["hashtag1","hashtag2"]},{"1351995263":["hashtag1","hashtag2"]},{"1351995292":["hashtag1","hashtag2"]},{"1351995175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351995319, 1351995202, 1351995231, 1351995263, 1351995292, 1351995175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.95204257965088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:35:33.171060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_55_9445.jpg', '/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_16_10078.jpg', '/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_26_10468.jpg', '/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_37_10437.jpg', '/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_46_9439.jpg', '/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_56_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/18/59/image_19042025_18_59_55_9445.jpg
/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_16_10078.jpg
/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_26_10468.jpg
/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_37_10437.jpg
/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_46_9439.jpg
/home/pi/Desktop/images/19042025/19/00/image_19042025_19_00_56_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351995642","1351995615","1351995668","1351995584","1351995722","1351995694"],"photo_ids_order":["1351995584","1351995615","1351995642","1351995668","1351995694","1351995722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04c2c20578805da2c5999b876b68ed22.jpg","text":"TemporaryFile(/tmp/multipartBody3479616612659553414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091393632,"filename":"image_19042025_19_00_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/19/5eeecafdc4bda8d0f21a64bde29dbfe2.jpg","text":"TemporaryFile(/tmp/multipartBody510651740333029199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091393632,"filename":"image_19042025_19_00_16_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95ff56c6758d3dab60d56ee8906c8b89.jpg","text":"TemporaryFile(/tmp/multipartBody6978841622858935607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091393632,"filename":"image_19042025_19_00_37_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/915e22876c2ffd17518b80eda1ab3558.jpg","text":"TemporaryFile(/tmp/multipartBody7505282392375012433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091393632,"filename":"image_19042025_18_59_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/19/be019451478113cbddce5a9fdd2c66e6.jpg","text":"TemporaryFile(/tmp/multipartBody8231772619013547249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091393632,"filename":"image_19042025_19_00_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/19/eeed5dfef2f468f891eca2ee5bab05eb.jpg","text":"TemporaryFile(/tmp/multipartBody3518175019200149178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091393632,"filename":"image_19042025_19_00_46_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351995642","file1":"1351995615","file0":"1351995584","file4":"1351995694","file5":"1351995722","file3":"1351995668"},"map_files_photo_id_array":[{"photo_id":"1351995722","filename":"file5"},{"photo_id":"1351995642","filename":"file2"},{"photo_id":"1351995694","filename":"file4"},{"photo_id":"1351995615","filename":"file1"},{"photo_id":"1351995584","filename":"file0"},{"photo_id":"1351995668","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351995642":["hashtag1","hashtag2"]},{"1351995615":["hashtag1","hashtag2"]},{"1351995668":["hashtag1","hashtag2"]},{"1351995584":["hashtag1","hashtag2"]},{"1351995722":["hashtag1","hashtag2"]},{"1351995694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351995642, 1351995615, 1351995668, 1351995584, 1351995722, 1351995694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75280213356018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:36:32.328117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/00/image_19042025_19_01_06_9420.jpg', '/home/pi/Desktop/images/19042025/19/01/image_19042025_19_01_26_10041.jpg', '/home/pi/Desktop/images/19042025/19/01/image_19042025_19_01_36_9347.jpg', '/home/pi/Desktop/images/19042025/19/01/image_19042025_19_01_46_10383.jpg', '/home/pi/Desktop/images/19042025/19/01/image_19042025_19_01_56_10487.jpg', '/home/pi/Desktop/images/19042025/19/01/image_19042025_19_02_06_9491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/00/image_19042025_19_01_06_9420.jpg
/home/pi/Desktop/images/19042025/19/01/image_19042025_19_01_26_10041.jpg
/home/pi/Desktop/images/19042025/19/01/image_19042025_19_01_36_9347.jpg
/home/pi/Desktop/images/19042025/19/01/image_19042025_19_01_46_10383.jpg
/home/pi/Desktop/images/19042025/19/01/image_19042025_19_01_56_10487.jpg
/home/pi/Desktop/images/19042025/19/01/image_19042025_19_02_06_9491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351996041","1351996070","1351996112","1351996010","1351995982","1351996098"],"photo_ids_order":["1351995982","1351996010","1351996041","1351996070","1351996098","1351996112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/74496504403d82c0321f3c605254642c.jpg","text":"TemporaryFile(/tmp/multipartBody4751139230287956909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091452790,"filename":"image_19042025_19_01_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/19/a90b260ed1c6c4fa052063825dcbde50.jpg","text":"TemporaryFile(/tmp/multipartBody3836079333948825011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091452790,"filename":"image_19042025_19_01_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9bcedd09698c12fa7dd9a5b6bff093a8.jpg","text":"TemporaryFile(/tmp/multipartBody2087369288188870341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091452790,"filename":"image_19042025_19_02_06_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/003c538bdc53d3989dd370ed4ee4632b.jpg","text":"TemporaryFile(/tmp/multipartBody458658904862205921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091452790,"filename":"image_19042025_19_01_26_10041.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a82da6b0e36fb8df9b6085b72e834aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3880896386707996318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091452790,"filename":"image_19042025_19_01_06_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4e2e26410c7688fc7cac4c6387ee07a2.jpg","text":"TemporaryFile(/tmp/multipartBody2731158645134388852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091452790,"filename":"image_19042025_19_01_56_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351996041","file1":"1351996010","file0":"1351995982","file4":"1351996098","file5":"1351996112","file3":"1351996070"},"map_files_photo_id_array":[{"photo_id":"1351996112","filename":"file5"},{"photo_id":"1351996041","filename":"file2"},{"photo_id":"1351996098","filename":"file4"},{"photo_id":"1351996010","filename":"file1"},{"photo_id":"1351995982","filename":"file0"},{"photo_id":"1351996070","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351996041":["hashtag1","hashtag2"]},{"1351996070":["hashtag1","hashtag2"]},{"1351996112":["hashtag1","hashtag2"]},{"1351996010":["hashtag1","hashtag2"]},{"1351995982":["hashtag1","hashtag2"]},{"1351996098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351996041, 1351996070, 1351996112, 1351996010, 1351995982, 1351996098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.601595401763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:37:32.734730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_16_10455.jpg', '/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_26_9442.jpg', '/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_36_10364.jpg', '/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_46_9373.jpg', '/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_56_10369.jpg', '/home/pi/Desktop/images/19042025/19/02/image_19042025_19_03_06_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_16_10455.jpg
/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_26_9442.jpg
/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_36_10364.jpg
/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_46_9373.jpg
/home/pi/Desktop/images/19042025/19/02/image_19042025_19_02_56_10369.jpg
/home/pi/Desktop/images/19042025/19/02/image_19042025_19_03_06_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351996131","1351996125","1351996133","1351996127","1351996123","1351996129"],"photo_ids_order":["1351996123","1351996125","1351996127","1351996129","1351996131","1351996133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f81ef7762707e90d04cfd99e0a81df96.jpg","text":"TemporaryFile(/tmp/multipartBody2288483109037128531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091513236,"filename":"image_19042025_19_02_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/19/269f1b408ae2dc1c1f0ebde7926ce46c.jpg","text":"TemporaryFile(/tmp/multipartBody667941294609315211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091513236,"filename":"image_19042025_19_02_26_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e9e6f5481758c4b826553c9331e8957.jpg","text":"TemporaryFile(/tmp/multipartBody9072397327667922196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091513236,"filename":"image_19042025_19_03_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ab033d8d74d5bcb5b063bfc7bdd4b0d.jpg","text":"TemporaryFile(/tmp/multipartBody8252897992031407073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091513236,"filename":"image_19042025_19_02_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/19/4ba5ff748e67bcab9643735803190b32.jpg","text":"TemporaryFile(/tmp/multipartBody3274588523132638741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091513236,"filename":"image_19042025_19_02_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/19/717e9e369f8d50daef1237a50054d7ff.jpg","text":"TemporaryFile(/tmp/multipartBody8694493913339216176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091513236,"filename":"image_19042025_19_02_46_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351996127","file1":"1351996125","file0":"1351996123","file4":"1351996131","file5":"1351996133","file3":"1351996129"},"map_files_photo_id_array":[{"photo_id":"1351996133","filename":"file5"},{"photo_id":"1351996127","filename":"file2"},{"photo_id":"1351996131","filename":"file4"},{"photo_id":"1351996125","filename":"file1"},{"photo_id":"1351996123","filename":"file0"},{"photo_id":"1351996129","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351996131":["hashtag1","hashtag2"]},{"1351996125":["hashtag1","hashtag2"]},{"1351996133":["hashtag1","hashtag2"]},{"1351996127":["hashtag1","hashtag2"]},{"1351996123":["hashtag1","hashtag2"]},{"1351996129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351996131, 1351996125, 1351996133, 1351996127, 1351996123, 1351996129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.744934558868408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:38:32.916965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_16_9430.jpg', '/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_26_10451.jpg', '/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_36_9351.jpg', '/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_46_10493.jpg', '/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_57_10477.jpg', '/home/pi/Desktop/images/19042025/19/03/image_19042025_19_04_06_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_16_9430.jpg
/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_26_10451.jpg
/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_36_9351.jpg
/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_46_10493.jpg
/home/pi/Desktop/images/19042025/19/03/image_19042025_19_03_57_10477.jpg
/home/pi/Desktop/images/19042025/19/03/image_19042025_19_04_06_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":["1351996309","1351996254","1351996227","1351996422","1351996393","1351996282"],"photo_ids_order":["1351996227","1351996254","1351996282","1351996309","1351996393","1351996422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8f7bdd04ba2a638737612b04723afaa4.jpg","text":"TemporaryFile(/tmp/multipartBody7354502356685973698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091573382,"filename":"image_19042025_19_03_46_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d430c3e8b593e5f038d95242f23024d2.jpg","text":"TemporaryFile(/tmp/multipartBody8552385037864415193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091573382,"filename":"image_19042025_19_03_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/19/e817facd1852ccda070ee59ca9240457.jpg","text":"TemporaryFile(/tmp/multipartBody7255625567022143239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091573382,"filename":"image_19042025_19_03_16_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/de278bbd81f49dbdfabe48c342d553e3.jpg","text":"TemporaryFile(/tmp/multipartBody8015658955012965979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091573382,"filename":"image_19042025_19_04_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/19/9790f663b906053f387b6f9f47e4d841.jpg","text":"TemporaryFile(/tmp/multipartBody2957015973420683212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091573382,"filename":"image_19042025_19_03_57_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/19/c215003c9dc1e42edefe441189b5791f.jpg","text":"TemporaryFile(/tmp/multipartBody7294224827367387642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091573382,"filename":"image_19042025_19_03_36_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351996282","file1":"1351996254","file0":"1351996227","file4":"1351996393","file5":"1351996422","file3":"1351996309"},"map_files_photo_id_array":[{"photo_id":"1351996422","filename":"file5"},{"photo_id":"1351996282","filename":"file2"},{"photo_id":"1351996393","filename":"file4"},{"photo_id":"1351996254","filename":"file1"},{"photo_id":"1351996227","filename":"file0"},{"photo_id":"1351996309","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351996309":["hashtag1","hashtag2"]},{"1351996254":["hashtag1","hashtag2"]},{"1351996227":["hashtag1","hashtag2"]},{"1351996422":["hashtag1","hashtag2"]},{"1351996393":["hashtag1","hashtag2"]},{"1351996282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351996309, 1351996254, 1351996227, 1351996422, 1351996393, 1351996282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37908720970154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:39:33.153914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_26_9515.jpg', '/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_36_10377.jpg', '/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_46_9413.jpg', '/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_56_10418.jpg', '/home/pi/Desktop/images/19042025/19/04/image_19042025_19_05_06_10408.jpg', '/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_16_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_26_9515.jpg
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_36_10377.jpg
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_46_9413.jpg
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_56_10418.jpg
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_05_06_10408.jpg
/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_16_9424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37662196159362793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 21:39:43.131627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_26_9515.jpg', '/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_36_10377.jpg', '/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_46_9413.jpg', '/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_56_10418.jpg', '/home/pi/Desktop/images/19042025/19/04/image_19042025_19_05_06_10408.jpg', '/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_16_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_26_9515.jpg
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_36_10377.jpg
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_46_9413.jpg
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_04_56_10418.jpg
/home/pi/Desktop/images/19042025/19/04/image_19042025_19_05_06_10408.jpg
/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_16_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351996695","1351996677","1351996665","1351996693","1351996672","1351996717"],"photo_ids_order":["1351996665","1351996672","1351996677","1351996693","1351996695","1351996717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/46e39ebf4ce5e8484396fa20c37f9cbc.jpg","text":"TemporaryFile(/tmp/multipartBody167667574129300722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091643615,"filename":"image_19042025_19_05_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/19/0727358644064608440e00b74e130a19.jpg","text":"TemporaryFile(/tmp/multipartBody8223423677883945943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091643615,"filename":"image_19042025_19_04_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/19/6c697ee5be9be923324b7ec8124162ec.jpg","text":"TemporaryFile(/tmp/multipartBody2316152416230136273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091643615,"filename":"image_19042025_19_04_26_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/19/26f9bbb3024adde26371c888c0310495.jpg","text":"TemporaryFile(/tmp/multipartBody3787461802390967304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091643615,"filename":"image_19042025_19_04_56_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d0cb4eb1443b662e60229a2e5382862b.jpg","text":"TemporaryFile(/tmp/multipartBody4478678700249003673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091643615,"filename":"image_19042025_19_04_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/19/32b46ca66d3d4b925cff3c195720c0e6.jpg","text":"TemporaryFile(/tmp/multipartBody2482470675148133768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091643615,"filename":"image_19042025_19_05_16_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351996677","file1":"1351996672","file0":"1351996665","file4":"1351996695","file5":"1351996717","file3":"1351996693"},"map_files_photo_id_array":[{"photo_id":"1351996717","filename":"file5"},{"photo_id":"1351996677","filename":"file2"},{"photo_id":"1351996695","filename":"file4"},{"photo_id":"1351996672","filename":"file1"},{"photo_id":"1351996665","filename":"file0"},{"photo_id":"1351996693","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351996695":["hashtag1","hashtag2"]},{"1351996677":["hashtag1","hashtag2"]},{"1351996665":["hashtag1","hashtag2"]},{"1351996693":["hashtag1","hashtag2"]},{"1351996672":["hashtag1","hashtag2"]},{"1351996717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351996695, 1351996677, 1351996665, 1351996693, 1351996672, 1351996717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.38292932510376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:40:32.398442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_26_10378.jpg', '/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_36_9356.jpg', '/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_46_10423.jpg', '/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_56_10362.jpg', '/home/pi/Desktop/images/19042025/19/05/image_19042025_19_06_06_9415.jpg', '/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_16_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_26_10378.jpg
/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_36_9356.jpg
/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_46_10423.jpg
/home/pi/Desktop/images/19042025/19/05/image_19042025_19_05_56_10362.jpg
/home/pi/Desktop/images/19042025/19/05/image_19042025_19_06_06_9415.jpg
/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_16_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351996842","1351996836","1351996839","1351996844","1351996849","1351996846"],"photo_ids_order":["1351996836","1351996839","1351996842","1351996844","1351996846","1351996849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7801d2b3558149db9874580b57a46b8b.jpg","text":"TemporaryFile(/tmp/multipartBody4760710144158082721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091692881,"filename":"image_19042025_19_05_46_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb8aef71908e636427d1c4670d37e359.jpg","text":"TemporaryFile(/tmp/multipartBody8871727993586818265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091692881,"filename":"image_19042025_19_05_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/19/56a2292af5d8a4428079db146c87fd19.jpg","text":"TemporaryFile(/tmp/multipartBody6675359804180885837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091692881,"filename":"image_19042025_19_05_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/19/64cc7dea2f5976baac4c153f712ac08a.jpg","text":"TemporaryFile(/tmp/multipartBody8651859344843267113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091692881,"filename":"image_19042025_19_05_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/19/9acc8eda63db4f33cdbf15f90e4e47e3.jpg","text":"TemporaryFile(/tmp/multipartBody7087534683029012190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091692881,"filename":"image_19042025_19_06_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ea5f4fd0bc7a1a0ea6f223c77ac81d56.jpg","text":"TemporaryFile(/tmp/multipartBody4037164070597396773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091692881,"filename":"image_19042025_19_06_06_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351996842","file1":"1351996839","file0":"1351996836","file4":"1351996846","file5":"1351996849","file3":"1351996844"},"map_files_photo_id_array":[{"photo_id":"1351996849","filename":"file5"},{"photo_id":"1351996842","filename":"file2"},{"photo_id":"1351996846","filename":"file4"},{"photo_id":"1351996839","filename":"file1"},{"photo_id":"1351996836","filename":"file0"},{"photo_id":"1351996844","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351996842":["hashtag1","hashtag2"]},{"1351996836":["hashtag1","hashtag2"]},{"1351996839":["hashtag1","hashtag2"]},{"1351996844":["hashtag1","hashtag2"]},{"1351996849":["hashtag1","hashtag2"]},{"1351996846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351996842, 1351996836, 1351996839, 1351996844, 1351996849, 1351996846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.21640157699585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:41:32.734373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_26_9383.jpg', '/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_36_10472.jpg', '/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_46_10363.jpg', '/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_56_9449.jpg', '/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_16_9403.jpg', '/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_26_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_26_9383.jpg
/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_36_10472.jpg
/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_46_10363.jpg
/home/pi/Desktop/images/19042025/19/06/image_19042025_19_06_56_9449.jpg
/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_16_9403.jpg
/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_26_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":["1351996953","1351996856","1351996859","1351996867","1351996924","1351996899"],"photo_ids_order":["1351996856","1351996859","1351996867","1351996899","1351996924","1351996953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ca003e9897e94c6caba5a39445c4d2a7.jpg","text":"TemporaryFile(/tmp/multipartBody8850237731265169658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091753198,"filename":"image_19042025_19_07_26_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/19/f25f763b7e073325d969cbc6b14cb1ea.jpg","text":"TemporaryFile(/tmp/multipartBody3719652939014206414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091753198,"filename":"image_19042025_19_06_26_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/03829a92d6d3569813e6034eb1ffdfb6.jpg","text":"TemporaryFile(/tmp/multipartBody7593158953428187815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091753198,"filename":"image_19042025_19_06_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/19/edd6cca39c546cd54a7d4a54d8b4a152.jpg","text":"TemporaryFile(/tmp/multipartBody1346056529797253382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091753198,"filename":"image_19042025_19_06_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/19/dd88da9a4ea04ceb4fcdf96cf47f9af9.jpg","text":"TemporaryFile(/tmp/multipartBody3724467536012286962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091753198,"filename":"image_19042025_19_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/19/44aa29c647d26fa7c98cc40c28c5fd78.jpg","text":"TemporaryFile(/tmp/multipartBody3708696124614848137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091753198,"filename":"image_19042025_19_06_56_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351996867","file1":"1351996859","file0":"1351996856","file4":"1351996924","file5":"1351996953","file3":"1351996899"},"map_files_photo_id_array":[{"photo_id":"1351996953","filename":"file5"},{"photo_id":"1351996867","filename":"file2"},{"photo_id":"1351996924","filename":"file4"},{"photo_id":"1351996859","filename":"file1"},{"photo_id":"1351996856","filename":"file0"},{"photo_id":"1351996899","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351996953":["hashtag1","hashtag2"]},{"1351996856":["hashtag1","hashtag2"]},{"1351996859":["hashtag1","hashtag2"]},{"1351996867":["hashtag1","hashtag2"]},{"1351996924":["hashtag1","hashtag2"]},{"1351996899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351996953, 1351996856, 1351996859, 1351996867, 1351996924, 1351996899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.78512740135193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:42:32.991684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_37_10429.jpg', '/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_46_9350.jpg', '/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_56_10367.jpg', '/home/pi/Desktop/images/19042025/19/07/image_19042025_19_08_06_9407.jpg', '/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_16_10423.jpg', '/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_37_10429.jpg
/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_46_9350.jpg
/home/pi/Desktop/images/19042025/19/07/image_19042025_19_07_56_10367.jpg
/home/pi/Desktop/images/19042025/19/07/image_19042025_19_08_06_9407.jpg
/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_16_10423.jpg
/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_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":["1351997229","1351997217","1351997252","1351997255","1351997249","1351997244"],"photo_ids_order":["1351997217","1351997229","1351997244","1351997249","1351997252","1351997255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6946b4b653606bd5980e82699d0f42e8.jpg","text":"TemporaryFile(/tmp/multipartBody3596774389621746948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091813454,"filename":"image_19042025_19_07_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/19/85fa544cd57ba04ce3c0ff56579d2c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3539497303790799267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091813454,"filename":"image_19042025_19_07_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5abb59610f906eadb0f03c0877c0ff79.jpg","text":"TemporaryFile(/tmp/multipartBody2577226552486879868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091813454,"filename":"image_19042025_19_08_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/19/6ef5785b5b2e55417560d2619a21a20f.jpg","text":"TemporaryFile(/tmp/multipartBody214519998245314064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091813454,"filename":"image_19042025_19_08_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9139a2fba90f727431f359e9356b41ff.jpg","text":"TemporaryFile(/tmp/multipartBody3885490502505821742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091813454,"filename":"image_19042025_19_08_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/19/273b7a2277070e9124de5620d38c9ed0.jpg","text":"TemporaryFile(/tmp/multipartBody4970903830127941835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091813454,"filename":"image_19042025_19_07_56_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997244","file1":"1351997229","file0":"1351997217","file4":"1351997252","file5":"1351997255","file3":"1351997249"},"map_files_photo_id_array":[{"photo_id":"1351997255","filename":"file5"},{"photo_id":"1351997244","filename":"file2"},{"photo_id":"1351997252","filename":"file4"},{"photo_id":"1351997229","filename":"file1"},{"photo_id":"1351997217","filename":"file0"},{"photo_id":"1351997249","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997229":["hashtag1","hashtag2"]},{"1351997217":["hashtag1","hashtag2"]},{"1351997252":["hashtag1","hashtag2"]},{"1351997255":["hashtag1","hashtag2"]},{"1351997249":["hashtag1","hashtag2"]},{"1351997244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997229, 1351997217, 1351997252, 1351997255, 1351997249, 1351997244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.497018814086914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:43:32.264580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_36_9473.jpg', '/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_46_10477.jpg', '/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_56_9488.jpg', '/home/pi/Desktop/images/19042025/19/08/image_19042025_19_09_06_10352.jpg', '/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_16_9358.jpg', '/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_26_10879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_36_9473.jpg
/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_46_10477.jpg
/home/pi/Desktop/images/19042025/19/08/image_19042025_19_08_56_9488.jpg
/home/pi/Desktop/images/19042025/19/08/image_19042025_19_09_06_10352.jpg
/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_16_9358.jpg
/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_26_10879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997285","1351997270","1351997267","1351997281","1351997260","1351997265"],"photo_ids_order":["1351997260","1351997265","1351997267","1351997270","1351997281","1351997285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af56460b98abfc93cf65fcf0a65e17cc.jpg","text":"TemporaryFile(/tmp/multipartBody2074180328096017868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091872728,"filename":"image_19042025_19_09_26_10879.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/66610442ebcfef44828024a6dc98d75e.jpg","text":"TemporaryFile(/tmp/multipartBody3032562731968705104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091872728,"filename":"image_19042025_19_09_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/19/54eb76ce1aefe6a209373194ce59dfd1.jpg","text":"TemporaryFile(/tmp/multipartBody1539516144174518282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091872728,"filename":"image_19042025_19_08_56_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1503b9df0a9d7e15014da627cf036cd3.jpg","text":"TemporaryFile(/tmp/multipartBody2090286000904395785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091872728,"filename":"image_19042025_19_09_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/19/2d1297d6d1955746585e8d7fad3d48e6.jpg","text":"TemporaryFile(/tmp/multipartBody1785962210005357565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091872728,"filename":"image_19042025_19_08_36_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e57e88d5f3f7b56050d4a14df8d2f555.jpg","text":"TemporaryFile(/tmp/multipartBody3169163399272183953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091872728,"filename":"image_19042025_19_08_46_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997267","file1":"1351997265","file0":"1351997260","file4":"1351997281","file5":"1351997285","file3":"1351997270"},"map_files_photo_id_array":[{"photo_id":"1351997285","filename":"file5"},{"photo_id":"1351997267","filename":"file2"},{"photo_id":"1351997281","filename":"file4"},{"photo_id":"1351997265","filename":"file1"},{"photo_id":"1351997260","filename":"file0"},{"photo_id":"1351997270","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997285":["hashtag1","hashtag2"]},{"1351997270":["hashtag1","hashtag2"]},{"1351997267":["hashtag1","hashtag2"]},{"1351997281":["hashtag1","hashtag2"]},{"1351997260":["hashtag1","hashtag2"]},{"1351997265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997285, 1351997270, 1351997267, 1351997281, 1351997260, 1351997265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0173761844635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:44:32.721092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_36_9471.jpg', '/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_46_10429.jpg', '/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_56_9349.jpg', '/home/pi/Desktop/images/19042025/19/09/image_19042025_19_10_06_10395.jpg', '/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_17_10366.jpg', '/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_26_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_36_9471.jpg
/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_46_10429.jpg
/home/pi/Desktop/images/19042025/19/09/image_19042025_19_09_56_9349.jpg
/home/pi/Desktop/images/19042025/19/09/image_19042025_19_10_06_10395.jpg
/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_17_10366.jpg
/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_26_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":["1351997328","1351997330","1351997324","1351997332","1351997326","1351997322"],"photo_ids_order":["1351997322","1351997324","1351997326","1351997328","1351997330","1351997332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/428147a94ede9b3b25af90ba73d1935f.jpg","text":"TemporaryFile(/tmp/multipartBody4360500271412021979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091933206,"filename":"image_19042025_19_10_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/19/d4cd5bb41efc9d745c2bfd97b1d91c84.jpg","text":"TemporaryFile(/tmp/multipartBody5061477519801798338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091933206,"filename":"image_19042025_19_10_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/19/1038a2cfc6869e4b4d6c4312d6f7368b.jpg","text":"TemporaryFile(/tmp/multipartBody7886316785158225514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091933206,"filename":"image_19042025_19_09_46_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/29ceb56bbbc601cd9bf89ee2a5e53776.jpg","text":"TemporaryFile(/tmp/multipartBody172426188055012857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091933206,"filename":"image_19042025_19_10_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/19/ad9bc46276001cc41bd4fbfb36646bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5664009808961266585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091933206,"filename":"image_19042025_19_09_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/19/dfc5a28841f95b2dd683c5070bee070e.jpg","text":"TemporaryFile(/tmp/multipartBody6312431994709206529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091933206,"filename":"image_19042025_19_09_36_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997326","file1":"1351997324","file0":"1351997322","file4":"1351997330","file5":"1351997332","file3":"1351997328"},"map_files_photo_id_array":[{"photo_id":"1351997332","filename":"file5"},{"photo_id":"1351997326","filename":"file2"},{"photo_id":"1351997330","filename":"file4"},{"photo_id":"1351997324","filename":"file1"},{"photo_id":"1351997322","filename":"file0"},{"photo_id":"1351997328","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997328":["hashtag1","hashtag2"]},{"1351997330":["hashtag1","hashtag2"]},{"1351997324":["hashtag1","hashtag2"]},{"1351997332":["hashtag1","hashtag2"]},{"1351997326":["hashtag1","hashtag2"]},{"1351997322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997328, 1351997330, 1351997324, 1351997332, 1351997326, 1351997322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4756395816803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:45:32.841422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_36_10449.jpg', '/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_46_9490.jpg', '/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_56_10365.jpg', '/home/pi/Desktop/images/19042025/19/10/image_19042025_19_11_06_9349.jpg', '/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_16_10467.jpg', '/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_26_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_36_10449.jpg
/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_46_9490.jpg
/home/pi/Desktop/images/19042025/19/10/image_19042025_19_10_56_10365.jpg
/home/pi/Desktop/images/19042025/19/10/image_19042025_19_11_06_9349.jpg
/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_16_10467.jpg
/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_26_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997346","1351997345","1351997342","1351997344","1351997347","1351997343"],"photo_ids_order":["1351997342","1351997343","1351997344","1351997345","1351997346","1351997347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2eeaa2a239cf57edd4c9cf5ebb3d1986.jpg","text":"TemporaryFile(/tmp/multipartBody813663669289838880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091993307,"filename":"image_19042025_19_11_16_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/81cd848068cd46e172cad07f0a49ffe9.jpg","text":"TemporaryFile(/tmp/multipartBody319728879044325274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091993307,"filename":"image_19042025_19_11_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b2567237603891f04d170da06e77b690.jpg","text":"TemporaryFile(/tmp/multipartBody23687523112786396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091993307,"filename":"image_19042025_19_10_36_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2b38f5171fe169758460fe80c20a1f55.jpg","text":"TemporaryFile(/tmp/multipartBody4276377154854209426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091993307,"filename":"image_19042025_19_10_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/19/3ed9e5947d0458bbaf197e0f09acd0ab.jpg","text":"TemporaryFile(/tmp/multipartBody4477169898086513063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091993307,"filename":"image_19042025_19_11_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/19/c8e010285ada7949f3efb12447dc08db.jpg","text":"TemporaryFile(/tmp/multipartBody7194130947967205493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745091993307,"filename":"image_19042025_19_10_46_9490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997344","file1":"1351997343","file0":"1351997342","file4":"1351997346","file5":"1351997347","file3":"1351997345"},"map_files_photo_id_array":[{"photo_id":"1351997347","filename":"file5"},{"photo_id":"1351997344","filename":"file2"},{"photo_id":"1351997346","filename":"file4"},{"photo_id":"1351997343","filename":"file1"},{"photo_id":"1351997342","filename":"file0"},{"photo_id":"1351997345","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997346":["hashtag1","hashtag2"]},{"1351997345":["hashtag1","hashtag2"]},{"1351997342":["hashtag1","hashtag2"]},{"1351997344":["hashtag1","hashtag2"]},{"1351997347":["hashtag1","hashtag2"]},{"1351997343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997346, 1351997345, 1351997342, 1351997344, 1351997347, 1351997343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.064109563827515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 21:46:03.865010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_36_9338.jpg', '/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_46_10415.jpg', '/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_56_9427.jpg', '/home/pi/Desktop/images/19042025/19/11/image_19042025_19_12_06_10445.jpg', '/home/pi/Desktop/images/19042025/19/12/image_19042025_19_12_16_10365.jpg', '/home/pi/Desktop/images/19042025/19/12/image_19042025_19_12_26_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_36_9338.jpg
/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_46_10415.jpg
/home/pi/Desktop/images/19042025/19/11/image_19042025_19_11_56_9427.jpg
/home/pi/Desktop/images/19042025/19/11/image_19042025_19_12_06_10445.jpg
/home/pi/Desktop/images/19042025/19/12/image_19042025_19_12_16_10365.jpg
/home/pi/Desktop/images/19042025/19/12/image_19042025_19_12_26_9358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997360","1351997348","1351997357","1351997350","1351997353","1351997355"],"photo_ids_order":["1351997348","1351997350","1351997353","1351997355","1351997357","1351997360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14b2ea9f78f2d4b0764ff8e33863f4a7.jpg","text":"TemporaryFile(/tmp/multipartBody8236113369335833659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092024374,"filename":"image_19042025_19_12_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/19/2d070df91bcf3b6a87c559603d2eff2c.jpg","text":"TemporaryFile(/tmp/multipartBody3375824083648892491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092024374,"filename":"image_19042025_19_11_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/19/c76a3a5f79abd8832575f7ed4aacc1dd.jpg","text":"TemporaryFile(/tmp/multipartBody394072591725130446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092024374,"filename":"image_19042025_19_12_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/19/f587b7a7829f78042479048cfddc57ab.jpg","text":"TemporaryFile(/tmp/multipartBody9064143492504805446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092024374,"filename":"image_19042025_19_11_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/19/78dd655ebaf123a630791a86ed0032c3.jpg","text":"TemporaryFile(/tmp/multipartBody1925250658494081811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092024374,"filename":"image_19042025_19_11_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/19/90feecd86b9b2104fe785a681d26e83d.jpg","text":"TemporaryFile(/tmp/multipartBody4469012813844117966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092024374,"filename":"image_19042025_19_12_06_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997353","file1":"1351997350","file0":"1351997348","file4":"1351997357","file5":"1351997360","file3":"1351997355"},"map_files_photo_id_array":[{"photo_id":"1351997360","filename":"file5"},{"photo_id":"1351997353","filename":"file2"},{"photo_id":"1351997357","filename":"file4"},{"photo_id":"1351997350","filename":"file1"},{"photo_id":"1351997348","filename":"file0"},{"photo_id":"1351997355","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997360":["hashtag1","hashtag2"]},{"1351997348":["hashtag1","hashtag2"]},{"1351997357":["hashtag1","hashtag2"]},{"1351997350":["hashtag1","hashtag2"]},{"1351997353":["hashtag1","hashtag2"]},{"1351997355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997360, 1351997348, 1351997357, 1351997350, 1351997353, 1351997355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.962807655334473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 21:46:43.093077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/12/image_19042025_19_12_36_10477.jpg', '/home/pi/Desktop/images/19042025/19/12/image_19042025_19_12_46_9434.jpg', '/home/pi/Desktop/images/19042025/19/12/image_19042025_19_13_06_10345.jpg', '/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_16_9461.jpg', '/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_26_10390.jpg', '/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_36_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/12/image_19042025_19_12_36_10477.jpg
/home/pi/Desktop/images/19042025/19/12/image_19042025_19_12_46_9434.jpg
/home/pi/Desktop/images/19042025/19/12/image_19042025_19_13_06_10345.jpg
/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_16_9461.jpg
/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_26_10390.jpg
/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_36_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997366","1351997375","1351997374","1351997371","1351997368","1351997373"],"photo_ids_order":["1351997366","1351997368","1351997371","1351997373","1351997374","1351997375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2df35f3179ec630e2c4f23f79abb3205.jpg","text":"TemporaryFile(/tmp/multipartBody5936730018081618509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092063567,"filename":"image_19042025_19_12_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/19/8a5e3444e206dab8d0b0d98828667999.jpg","text":"TemporaryFile(/tmp/multipartBody2020804059854486226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092063567,"filename":"image_19042025_19_13_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d842ee8d3fed724c593ad34abf3a652f.jpg","text":"TemporaryFile(/tmp/multipartBody1655511071183679163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092063567,"filename":"image_19042025_19_13_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89aa096bdfb6d9e22395de33bc253520.jpg","text":"TemporaryFile(/tmp/multipartBody5944000903464738057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092063567,"filename":"image_19042025_19_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/19/0876da624f7f48dc5ef8d86868204251.jpg","text":"TemporaryFile(/tmp/multipartBody8161891692560490649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092063567,"filename":"image_19042025_19_12_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/19/7d43671b142cf44a895d8271f7bd0791.jpg","text":"TemporaryFile(/tmp/multipartBody1113033390800306692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092063567,"filename":"image_19042025_19_13_16_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997371","file1":"1351997368","file0":"1351997366","file4":"1351997374","file5":"1351997375","file3":"1351997373"},"map_files_photo_id_array":[{"photo_id":"1351997375","filename":"file5"},{"photo_id":"1351997371","filename":"file2"},{"photo_id":"1351997374","filename":"file4"},{"photo_id":"1351997368","filename":"file1"},{"photo_id":"1351997366","filename":"file0"},{"photo_id":"1351997373","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997366":["hashtag1","hashtag2"]},{"1351997375":["hashtag1","hashtag2"]},{"1351997374":["hashtag1","hashtag2"]},{"1351997371":["hashtag1","hashtag2"]},{"1351997368":["hashtag1","hashtag2"]},{"1351997373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997366, 1351997375, 1351997374, 1351997371, 1351997368, 1351997373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02738666534424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:47:32.513836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_46_10375.jpg', '/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_56_10361.jpg', '/home/pi/Desktop/images/19042025/19/13/image_19042025_19_14_06_9369.jpg', '/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_16_10342.jpg', '/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_26_10368.jpg', '/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_36_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_46_10375.jpg
/home/pi/Desktop/images/19042025/19/13/image_19042025_19_13_56_10361.jpg
/home/pi/Desktop/images/19042025/19/13/image_19042025_19_14_06_9369.jpg
/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_16_10342.jpg
/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_26_10368.jpg
/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_36_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":["1351997400","1351997390","1351997383","1351997386","1351997397","1351997394"],"photo_ids_order":["1351997383","1351997386","1351997390","1351997394","1351997397","1351997400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c83f5f146bae7a47e6391cdefcaa0c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3094539069639098092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092112993,"filename":"image_19042025_19_14_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/19/ec58074d64e68427feffef865be76194.jpg","text":"TemporaryFile(/tmp/multipartBody6566639313779602497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092112993,"filename":"image_19042025_19_14_06_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61a66ea2acec137177589b0863e9e289.jpg","text":"TemporaryFile(/tmp/multipartBody2554230723576461170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092112993,"filename":"image_19042025_19_13_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/19/e1aef0a7db212f9258ddbd8a5cbecf36.jpg","text":"TemporaryFile(/tmp/multipartBody2323810926224257022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092112993,"filename":"image_19042025_19_13_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/19/56153ea03c658e70d6a5ef372fa66ee5.jpg","text":"TemporaryFile(/tmp/multipartBody4160270247196574792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092112993,"filename":"image_19042025_19_14_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/87a65a6446297a5a6db58f6230470a46.jpg","text":"TemporaryFile(/tmp/multipartBody8145182156103570431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092112993,"filename":"image_19042025_19_14_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997390","file1":"1351997386","file0":"1351997383","file4":"1351997397","file5":"1351997400","file3":"1351997394"},"map_files_photo_id_array":[{"photo_id":"1351997400","filename":"file5"},{"photo_id":"1351997390","filename":"file2"},{"photo_id":"1351997397","filename":"file4"},{"photo_id":"1351997386","filename":"file1"},{"photo_id":"1351997383","filename":"file0"},{"photo_id":"1351997394","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997400":["hashtag1","hashtag2"]},{"1351997390":["hashtag1","hashtag2"]},{"1351997383":["hashtag1","hashtag2"]},{"1351997386":["hashtag1","hashtag2"]},{"1351997397":["hashtag1","hashtag2"]},{"1351997394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997400, 1351997390, 1351997383, 1351997386, 1351997397, 1351997394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93905234336853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:48:32.715259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_46_10386.jpg', '/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_56_9349.jpg', '/home/pi/Desktop/images/19042025/19/14/image_19042025_19_15_06_10391.jpg', '/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_16_10360.jpg', '/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_26_9371.jpg', '/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_36_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_46_10386.jpg
/home/pi/Desktop/images/19042025/19/14/image_19042025_19_14_56_9349.jpg
/home/pi/Desktop/images/19042025/19/14/image_19042025_19_15_06_10391.jpg
/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_16_10360.jpg
/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_26_9371.jpg
/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_36_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":["1351997418","1351997427","1351997406","1351997414","1351997423","1351997410"],"photo_ids_order":["1351997406","1351997410","1351997414","1351997418","1351997423","1351997427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24e832be7d67ae60b40c45dccf0e71c6.jpg","text":"TemporaryFile(/tmp/multipartBody2486526873613828760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092173177,"filename":"image_19042025_19_15_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/19/de67ff4f37ca7e381781556cc6bc19b5.jpg","text":"TemporaryFile(/tmp/multipartBody5813466300340515215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092173177,"filename":"image_19042025_19_15_36_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c3b64bfa6eeb6d364f8013d20bf62e5d.jpg","text":"TemporaryFile(/tmp/multipartBody935983357426988829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092173177,"filename":"image_19042025_19_14_46_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04dc43c571d8760543d790537bb84db6.jpg","text":"TemporaryFile(/tmp/multipartBody6585574033325876721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092173177,"filename":"image_19042025_19_15_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/19/83a024d118be471d4b929f4842fef1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1269916389581699108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092173177,"filename":"image_19042025_19_15_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/19/ee458088b3c3b847a98adbb89b0c414b.jpg","text":"TemporaryFile(/tmp/multipartBody7040701084660637020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092173177,"filename":"image_19042025_19_14_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997414","file1":"1351997410","file0":"1351997406","file4":"1351997423","file5":"1351997427","file3":"1351997418"},"map_files_photo_id_array":[{"photo_id":"1351997427","filename":"file5"},{"photo_id":"1351997414","filename":"file2"},{"photo_id":"1351997423","filename":"file4"},{"photo_id":"1351997410","filename":"file1"},{"photo_id":"1351997406","filename":"file0"},{"photo_id":"1351997418","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997418":["hashtag1","hashtag2"]},{"1351997427":["hashtag1","hashtag2"]},{"1351997406":["hashtag1","hashtag2"]},{"1351997414":["hashtag1","hashtag2"]},{"1351997423":["hashtag1","hashtag2"]},{"1351997410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997418, 1351997427, 1351997406, 1351997414, 1351997423, 1351997410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.077821493148804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:49:33.026429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_46_9443.jpg', '/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_56_10362.jpg', '/home/pi/Desktop/images/19042025/19/15/image_19042025_19_16_06_10347.jpg', '/home/pi/Desktop/images/19042025/19/16/image_19042025_19_16_16_9355.jpg', '/home/pi/Desktop/images/19042025/19/16/image_19042025_19_16_26_10429.jpg', '/home/pi/Desktop/images/19042025/19/16/image_19042025_19_16_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_46_9443.jpg
/home/pi/Desktop/images/19042025/19/15/image_19042025_19_15_56_10362.jpg
/home/pi/Desktop/images/19042025/19/15/image_19042025_19_16_06_10347.jpg
/home/pi/Desktop/images/19042025/19/16/image_19042025_19_16_16_9355.jpg
/home/pi/Desktop/images/19042025/19/16/image_19042025_19_16_26_10429.jpg
/home/pi/Desktop/images/19042025/19/16/image_19042025_19_16_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":["1351997462","1351997444","1351997447","1351997464","1351997449","1351997460"],"photo_ids_order":["1351997444","1351997447","1351997449","1351997460","1351997462","1351997464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/012621115aa1ebf20f62276108b2901f.jpg","text":"TemporaryFile(/tmp/multipartBody7398590935793591431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092233505,"filename":"image_19042025_19_16_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ddf44338006b87c59133d567e69b66d2.jpg","text":"TemporaryFile(/tmp/multipartBody6916102785021856026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092233505,"filename":"image_19042025_19_15_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/19/4f5244017ff18d30f460950712ae4a13.jpg","text":"TemporaryFile(/tmp/multipartBody3187805348397730300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092233505,"filename":"image_19042025_19_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/19/9e3bf7df7692772aed06d49ecbdeefc2.jpg","text":"TemporaryFile(/tmp/multipartBody309587705923192470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092233505,"filename":"image_19042025_19_16_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/19/9b43fa69d35b7167b806b3e166fcf587.jpg","text":"TemporaryFile(/tmp/multipartBody654935692630283086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092233505,"filename":"image_19042025_19_16_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/19/0dbd9e8479c893a8aad2199a0e5dc8a5.jpg","text":"TemporaryFile(/tmp/multipartBody2567687109423498295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092233505,"filename":"image_19042025_19_16_16_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997449","file1":"1351997447","file0":"1351997444","file4":"1351997462","file5":"1351997464","file3":"1351997460"},"map_files_photo_id_array":[{"photo_id":"1351997464","filename":"file5"},{"photo_id":"1351997449","filename":"file2"},{"photo_id":"1351997462","filename":"file4"},{"photo_id":"1351997447","filename":"file1"},{"photo_id":"1351997444","filename":"file0"},{"photo_id":"1351997460","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997462":["hashtag1","hashtag2"]},{"1351997444":["hashtag1","hashtag2"]},{"1351997447":["hashtag1","hashtag2"]},{"1351997464":["hashtag1","hashtag2"]},{"1351997449":["hashtag1","hashtag2"]},{"1351997460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997462, 1351997444, 1351997447, 1351997464, 1351997449, 1351997460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63530921936035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:50:32.238745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/16/image_19042025_19_16_46_9417.jpg', '/home/pi/Desktop/images/19042025/19/16/image_19042025_19_17_06_9433.jpg', '/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_16_10436.jpg', '/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_27_10361.jpg', '/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_36_9488.jpg', '/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_46_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/16/image_19042025_19_16_46_9417.jpg
/home/pi/Desktop/images/19042025/19/16/image_19042025_19_17_06_9433.jpg
/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_16_10436.jpg
/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_27_10361.jpg
/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_36_9488.jpg
/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_46_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997495","1351997489","1351997480","1351997483","1351997492","1351997486"],"photo_ids_order":["1351997480","1351997483","1351997486","1351997489","1351997492","1351997495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6871a697969f34783ab66b6066d27870.jpg","text":"TemporaryFile(/tmp/multipartBody2491344673285098565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092292721,"filename":"image_19042025_19_17_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9af4979e5beffec1c1736ea7f8db00de.jpg","text":"TemporaryFile(/tmp/multipartBody418209716243957057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092292721,"filename":"image_19042025_19_17_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/19/9efa3f0f85006639ec66a16808231403.jpg","text":"TemporaryFile(/tmp/multipartBody5244340173604808996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092292721,"filename":"image_19042025_19_16_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/19/27ed023bb4d40f2dd3c91cc023f24f72.jpg","text":"TemporaryFile(/tmp/multipartBody3278866314143839180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092292721,"filename":"image_19042025_19_17_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/19/8feb1478c0b1345352213c0c98ee9d7d.jpg","text":"TemporaryFile(/tmp/multipartBody4459416168100123481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092292721,"filename":"image_19042025_19_17_36_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ca1dfbeb34b3262416e6b94df666a01.jpg","text":"TemporaryFile(/tmp/multipartBody6735505909860015946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092292721,"filename":"image_19042025_19_17_16_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997486","file1":"1351997483","file0":"1351997480","file4":"1351997492","file5":"1351997495","file3":"1351997489"},"map_files_photo_id_array":[{"photo_id":"1351997495","filename":"file5"},{"photo_id":"1351997486","filename":"file2"},{"photo_id":"1351997492","filename":"file4"},{"photo_id":"1351997483","filename":"file1"},{"photo_id":"1351997480","filename":"file0"},{"photo_id":"1351997489","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997495":["hashtag1","hashtag2"]},{"1351997489":["hashtag1","hashtag2"]},{"1351997480":["hashtag1","hashtag2"]},{"1351997483":["hashtag1","hashtag2"]},{"1351997492":["hashtag1","hashtag2"]},{"1351997486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997495, 1351997489, 1351997480, 1351997483, 1351997492, 1351997486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.92201805114746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:51:32.515854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_56_9552.jpg', '/home/pi/Desktop/images/19042025/19/17/image_19042025_19_18_06_10360.jpg', '/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_16_9394.jpg', '/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_26_10387.jpg', '/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_36_10412.jpg', '/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_46_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/17/image_19042025_19_17_56_9552.jpg
/home/pi/Desktop/images/19042025/19/17/image_19042025_19_18_06_10360.jpg
/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_16_9394.jpg
/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_26_10387.jpg
/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_36_10412.jpg
/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_46_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997517","1351997502","1351997505","1351997510","1351997512","1351997515"],"photo_ids_order":["1351997502","1351997505","1351997510","1351997512","1351997515","1351997517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c1237da7eaca6734e9836b14329a842d.jpg","text":"TemporaryFile(/tmp/multipartBody1343504344220822708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092352993,"filename":"image_19042025_19_18_46_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/be7d2a4b82c6ec14dcac5c8accc4f113.jpg","text":"TemporaryFile(/tmp/multipartBody1085088153392660897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092352993,"filename":"image_19042025_19_17_56_9552.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e412a23c2967d247c225b1358c0f231e.jpg","text":"TemporaryFile(/tmp/multipartBody3507090508317377389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092352993,"filename":"image_19042025_19_18_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/19/138b3b08d3b1a13e920426aba3200bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6747658153408512838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092352993,"filename":"image_19042025_19_18_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/19/a927e9aa234b113cfedf8147a664519c.jpg","text":"TemporaryFile(/tmp/multipartBody3926175218607822658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092352993,"filename":"image_19042025_19_18_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/19/9186f11bc35dc2214e1b479848c6f6be.jpg","text":"TemporaryFile(/tmp/multipartBody6355637646774398096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092352993,"filename":"image_19042025_19_18_36_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997510","file1":"1351997505","file0":"1351997502","file4":"1351997515","file5":"1351997517","file3":"1351997512"},"map_files_photo_id_array":[{"photo_id":"1351997517","filename":"file5"},{"photo_id":"1351997510","filename":"file2"},{"photo_id":"1351997515","filename":"file4"},{"photo_id":"1351997505","filename":"file1"},{"photo_id":"1351997502","filename":"file0"},{"photo_id":"1351997512","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997517":["hashtag1","hashtag2"]},{"1351997502":["hashtag1","hashtag2"]},{"1351997505":["hashtag1","hashtag2"]},{"1351997510":["hashtag1","hashtag2"]},{"1351997512":["hashtag1","hashtag2"]},{"1351997515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997517, 1351997502, 1351997505, 1351997510, 1351997512, 1351997515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.760865449905396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:52:32.763228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_56_10387.jpg', '/home/pi/Desktop/images/19042025/19/18/image_19042025_19_19_06_9433.jpg', '/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_16_10355.jpg', '/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_26_10391.jpg', '/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_36_9413.jpg', '/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_46_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/18/image_19042025_19_18_56_10387.jpg
/home/pi/Desktop/images/19042025/19/18/image_19042025_19_19_06_9433.jpg
/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_16_10355.jpg
/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_26_10391.jpg
/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_36_9413.jpg
/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_46_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997523","1351997531","1351997542","1351997539","1351997527","1351997535"],"photo_ids_order":["1351997523","1351997527","1351997531","1351997535","1351997539","1351997542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eb5377ea1c3ab992ba84ceec834cd56b.jpg","text":"TemporaryFile(/tmp/multipartBody4351186125009830550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092413247,"filename":"image_19042025_19_18_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/19/d079f3201a74778d9494d7cd0ea4fed1.jpg","text":"TemporaryFile(/tmp/multipartBody3349560263126127195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092413247,"filename":"image_19042025_19_19_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/19/3d6e1e8a9130ecd8315b9d7b1579e7b1.jpg","text":"TemporaryFile(/tmp/multipartBody6680284726213826119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092413247,"filename":"image_19042025_19_19_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/19/167a02bbc48cb1baa0d34ce392548577.jpg","text":"TemporaryFile(/tmp/multipartBody4191050361186484645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092413247,"filename":"image_19042025_19_19_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/19/8313c01cd207fffa2c0b602805e08bed.jpg","text":"TemporaryFile(/tmp/multipartBody8091198700469792503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092413247,"filename":"image_19042025_19_19_06_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/877d713fddd2432a14560dc252ca99e1.jpg","text":"TemporaryFile(/tmp/multipartBody2205483267583215920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092413247,"filename":"image_19042025_19_19_26_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997531","file1":"1351997527","file0":"1351997523","file4":"1351997539","file5":"1351997542","file3":"1351997535"},"map_files_photo_id_array":[{"photo_id":"1351997542","filename":"file5"},{"photo_id":"1351997531","filename":"file2"},{"photo_id":"1351997539","filename":"file4"},{"photo_id":"1351997527","filename":"file1"},{"photo_id":"1351997523","filename":"file0"},{"photo_id":"1351997535","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997523":["hashtag1","hashtag2"]},{"1351997531":["hashtag1","hashtag2"]},{"1351997542":["hashtag1","hashtag2"]},{"1351997539":["hashtag1","hashtag2"]},{"1351997527":["hashtag1","hashtag2"]},{"1351997535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997523, 1351997531, 1351997542, 1351997539, 1351997527, 1351997535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.500017166137695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:53:33.030894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_56_9376.jpg', '/home/pi/Desktop/images/19042025/19/19/image_19042025_19_20_06_10418.jpg', '/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_17_10428.jpg', '/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_26_9404.jpg', '/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_36_10367.jpg', '/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_46_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/19/image_19042025_19_19_56_9376.jpg
/home/pi/Desktop/images/19042025/19/19/image_19042025_19_20_06_10418.jpg
/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_17_10428.jpg
/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_26_9404.jpg
/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_36_10367.jpg
/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_46_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997566","1351997560","1351997554","1351997563","1351997557","1351997550"],"photo_ids_order":["1351997550","1351997554","1351997557","1351997560","1351997563","1351997566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6cca7b337284aab18c2bff56bf091529.jpg","text":"TemporaryFile(/tmp/multipartBody3653760641507778544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092473508,"filename":"image_19042025_19_20_46_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9174bc92e4096ef38f57ac601ae296c7.jpg","text":"TemporaryFile(/tmp/multipartBody1695356443315118830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092473508,"filename":"image_19042025_19_20_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/19/9a9c34bb97158c312810847288cdd65b.jpg","text":"TemporaryFile(/tmp/multipartBody4627117061168974106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092473508,"filename":"image_19042025_19_20_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/19/0de31d86061587f5ca7e613c83e51c07.jpg","text":"TemporaryFile(/tmp/multipartBody3294594217348079897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092473508,"filename":"image_19042025_19_20_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/19/f35aa1dc0698c90e75de57a6da160bb6.jpg","text":"TemporaryFile(/tmp/multipartBody229724109445467069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092473508,"filename":"image_19042025_19_20_17_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0fdc413baa71fb0a26874370897b4aef.jpg","text":"TemporaryFile(/tmp/multipartBody8080579148639084514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092473508,"filename":"image_19042025_19_19_56_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997557","file1":"1351997554","file0":"1351997550","file4":"1351997563","file5":"1351997566","file3":"1351997560"},"map_files_photo_id_array":[{"photo_id":"1351997566","filename":"file5"},{"photo_id":"1351997557","filename":"file2"},{"photo_id":"1351997563","filename":"file4"},{"photo_id":"1351997554","filename":"file1"},{"photo_id":"1351997550","filename":"file0"},{"photo_id":"1351997560","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997566":["hashtag1","hashtag2"]},{"1351997560":["hashtag1","hashtag2"]},{"1351997554":["hashtag1","hashtag2"]},{"1351997563":["hashtag1","hashtag2"]},{"1351997557":["hashtag1","hashtag2"]},{"1351997550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997566, 1351997560, 1351997554, 1351997563, 1351997557, 1351997550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.068094968795776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:54:32.234684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_56_10468.jpg', '/home/pi/Desktop/images/19042025/19/20/image_19042025_19_21_07_10381.jpg', '/home/pi/Desktop/images/19042025/19/21/image_19042025_19_21_26_10387.jpg', '/home/pi/Desktop/images/19042025/19/21/image_19042025_19_21_36_9345.jpg', '/home/pi/Desktop/images/19042025/19/21/image_19042025_19_21_46_10396.jpg', '/home/pi/Desktop/images/19042025/19/21/image_19042025_19_21_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/20/image_19042025_19_20_56_10468.jpg
/home/pi/Desktop/images/19042025/19/20/image_19042025_19_21_07_10381.jpg
/home/pi/Desktop/images/19042025/19/21/image_19042025_19_21_26_10387.jpg
/home/pi/Desktop/images/19042025/19/21/image_19042025_19_21_36_9345.jpg
/home/pi/Desktop/images/19042025/19/21/image_19042025_19_21_46_10396.jpg
/home/pi/Desktop/images/19042025/19/21/image_19042025_19_21_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":["1351997576","1351997590","1351997593","1351997587","1351997581","1351997595"],"photo_ids_order":["1351997576","1351997581","1351997587","1351997590","1351997593","1351997595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e68f16a134801854f606b8f9b46bb6a2.jpg","text":"TemporaryFile(/tmp/multipartBody7886503928185711922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092532698,"filename":"image_19042025_19_20_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/19/b09bfde9a6bc34746c2dbaecd8cd0575.jpg","text":"TemporaryFile(/tmp/multipartBody8794486805447869519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092532698,"filename":"image_19042025_19_21_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/19/54be48149a2945fb4b9e84672db3417c.jpg","text":"TemporaryFile(/tmp/multipartBody5130369114953148712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092532698,"filename":"image_19042025_19_21_46_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9b548c41cde614979ef6d2de08390c17.jpg","text":"TemporaryFile(/tmp/multipartBody3866864005625371432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092532698,"filename":"image_19042025_19_21_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/19/ca0a82cf9c21c2a9c39eb0318dc1de0d.jpg","text":"TemporaryFile(/tmp/multipartBody6531549345226964301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092532698,"filename":"image_19042025_19_21_07_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1dddf00a19b9441f5b729f7d435d781a.jpg","text":"TemporaryFile(/tmp/multipartBody2872215807346360710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092532698,"filename":"image_19042025_19_21_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997587","file1":"1351997581","file0":"1351997576","file4":"1351997593","file5":"1351997595","file3":"1351997590"},"map_files_photo_id_array":[{"photo_id":"1351997595","filename":"file5"},{"photo_id":"1351997587","filename":"file2"},{"photo_id":"1351997593","filename":"file4"},{"photo_id":"1351997581","filename":"file1"},{"photo_id":"1351997576","filename":"file0"},{"photo_id":"1351997590","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997576":["hashtag1","hashtag2"]},{"1351997590":["hashtag1","hashtag2"]},{"1351997593":["hashtag1","hashtag2"]},{"1351997587":["hashtag1","hashtag2"]},{"1351997581":["hashtag1","hashtag2"]},{"1351997595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997576, 1351997590, 1351997593, 1351997587, 1351997581, 1351997595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.52526044845581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:55:32.515440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/21/image_19042025_19_22_06_9457.jpg', '/home/pi/Desktop/images/19042025/19/22/image_19042025_19_22_16_10338.jpg', '/home/pi/Desktop/images/19042025/19/22/image_19042025_19_22_26_9375.jpg', '/home/pi/Desktop/images/19042025/19/22/image_19042025_19_22_47_10392.jpg', '/home/pi/Desktop/images/19042025/19/22/image_19042025_19_23_06_10357.jpg', '/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_16_9521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/21/image_19042025_19_22_06_9457.jpg
/home/pi/Desktop/images/19042025/19/22/image_19042025_19_22_16_10338.jpg
/home/pi/Desktop/images/19042025/19/22/image_19042025_19_22_26_9375.jpg
/home/pi/Desktop/images/19042025/19/22/image_19042025_19_22_47_10392.jpg
/home/pi/Desktop/images/19042025/19/22/image_19042025_19_23_06_10357.jpg
/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_16_9521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997601","1351997610","1351997604","1351997609","1351997611","1351997613"],"photo_ids_order":["1351997601","1351997604","1351997609","1351997610","1351997611","1351997613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d84af954aae262ff5e6da4dbfaf3f2b4.jpg","text":"TemporaryFile(/tmp/multipartBody910966039133204155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092592981,"filename":"image_19042025_19_22_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/19/31b779f48538c1157d188f2fc6badc16.jpg","text":"TemporaryFile(/tmp/multipartBody1428726677656370522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092592981,"filename":"image_19042025_19_22_47_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/19/12472f6c5780aecbc83c0dcc36606c15.jpg","text":"TemporaryFile(/tmp/multipartBody3648633601569412145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092592981,"filename":"image_19042025_19_22_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/19/315fd63b36f56f7eaf1b438e3386c3a0.jpg","text":"TemporaryFile(/tmp/multipartBody8925608956846762692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092592981,"filename":"image_19042025_19_22_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/19/d0a1e710359138c7dda8269335aa1ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2223823066697177886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092592981,"filename":"image_19042025_19_23_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/19/8b424fc61149875e2de4d4ab606356c8.jpg","text":"TemporaryFile(/tmp/multipartBody7145937571997396740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092592981,"filename":"image_19042025_19_23_16_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997609","file1":"1351997604","file0":"1351997601","file4":"1351997611","file5":"1351997613","file3":"1351997610"},"map_files_photo_id_array":[{"photo_id":"1351997613","filename":"file5"},{"photo_id":"1351997609","filename":"file2"},{"photo_id":"1351997611","filename":"file4"},{"photo_id":"1351997604","filename":"file1"},{"photo_id":"1351997601","filename":"file0"},{"photo_id":"1351997610","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997601":["hashtag1","hashtag2"]},{"1351997610":["hashtag1","hashtag2"]},{"1351997604":["hashtag1","hashtag2"]},{"1351997609":["hashtag1","hashtag2"]},{"1351997611":["hashtag1","hashtag2"]},{"1351997613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997601, 1351997610, 1351997604, 1351997609, 1351997611, 1351997613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.27183556556702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:56:32.870569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_26_10401.jpg', '/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_37_10348.jpg', '/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_46_9438.jpg', '/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_56_10382.jpg', '/home/pi/Desktop/images/19042025/19/23/image_19042025_19_24_06_9383.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_16_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_26_10401.jpg
/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_37_10348.jpg
/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_46_9438.jpg
/home/pi/Desktop/images/19042025/19/23/image_19042025_19_23_56_10382.jpg
/home/pi/Desktop/images/19042025/19/23/image_19042025_19_24_06_9383.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_16_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":["1351997622","1351997616","1351997625","1351997619","1351997631","1351997628"],"photo_ids_order":["1351997616","1351997619","1351997622","1351997625","1351997628","1351997631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/26d65c6a06588b694c9dab8ae8e62f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3255689085031604787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092653333,"filename":"image_19042025_19_23_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/19/7bd894bd346f7f189f8e78839a4b71ca.jpg","text":"TemporaryFile(/tmp/multipartBody4134126413819469389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092653333,"filename":"image_19042025_19_23_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/19/ad66163a27498048ed50225276b7b94b.jpg","text":"TemporaryFile(/tmp/multipartBody812370793348457552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092653333,"filename":"image_19042025_19_23_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/19/c22e90ff063a19026e4011a580f67e00.jpg","text":"TemporaryFile(/tmp/multipartBody78755688007133373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092653333,"filename":"image_19042025_19_23_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/19/63e7c73134d50da945b435808920047b.jpg","text":"TemporaryFile(/tmp/multipartBody7337160623734646844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092653333,"filename":"image_19042025_19_24_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/19/9563c5d523a55a9b37f06eb458ff4f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3462737723784623479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092653333,"filename":"image_19042025_19_24_06_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997622","file1":"1351997619","file0":"1351997616","file4":"1351997628","file5":"1351997631","file3":"1351997625"},"map_files_photo_id_array":[{"photo_id":"1351997631","filename":"file5"},{"photo_id":"1351997622","filename":"file2"},{"photo_id":"1351997628","filename":"file4"},{"photo_id":"1351997619","filename":"file1"},{"photo_id":"1351997616","filename":"file0"},{"photo_id":"1351997625","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997622":["hashtag1","hashtag2"]},{"1351997616":["hashtag1","hashtag2"]},{"1351997625":["hashtag1","hashtag2"]},{"1351997619":["hashtag1","hashtag2"]},{"1351997631":["hashtag1","hashtag2"]},{"1351997628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997622, 1351997616, 1351997625, 1351997619, 1351997631, 1351997628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.470287799835205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 21:57:33.099285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_26_9440.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_36_10430.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_46_10366.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_56_9439.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_25_06_10362.jpg', '/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_16_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_26_9440.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_36_10430.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_46_10366.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_56_9439.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_25_06_10362.jpg
/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_16_9451.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-19 21:59:03.930407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_26_9440.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_36_10430.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_46_10366.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_56_9439.jpg', '/home/pi/Desktop/images/19042025/19/24/image_19042025_19_25_06_10362.jpg', '/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_16_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_26_9440.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_36_10430.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_46_10366.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_24_56_9439.jpg
/home/pi/Desktop/images/19042025/19/24/image_19042025_19_25_06_10362.jpg
/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_16_9451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997675","1351997665","1351997682","1351997685","1351997679","1351997670"],"photo_ids_order":["1351997665","1351997670","1351997675","1351997679","1351997682","1351997685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc7761576a01efce1dc5c38d720a798e.jpg","text":"TemporaryFile(/tmp/multipartBody4555104987876063392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092804500,"filename":"image_19042025_19_24_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/19/b7e89a6d08d0569fdcadb750a514889f.jpg","text":"TemporaryFile(/tmp/multipartBody331267018085852868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092804500,"filename":"image_19042025_19_24_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7626db80034b8a134d5beb06e46f41fa.jpg","text":"TemporaryFile(/tmp/multipartBody5219271922159963312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092804500,"filename":"image_19042025_19_25_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/19/7e78a499ae982cb0287fc415112c3d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7388464924497194942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092804500,"filename":"image_19042025_19_25_16_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/083bb0fcc671311faf77a88953953bd5.jpg","text":"TemporaryFile(/tmp/multipartBody3587022707197631485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092804500,"filename":"image_19042025_19_24_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/19/20b06e698c97459665993257857a3722.jpg","text":"TemporaryFile(/tmp/multipartBody6862625950716582005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092804500,"filename":"image_19042025_19_24_36_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997675","file1":"1351997670","file0":"1351997665","file4":"1351997682","file5":"1351997685","file3":"1351997679"},"map_files_photo_id_array":[{"photo_id":"1351997685","filename":"file5"},{"photo_id":"1351997675","filename":"file2"},{"photo_id":"1351997682","filename":"file4"},{"photo_id":"1351997670","filename":"file1"},{"photo_id":"1351997665","filename":"file0"},{"photo_id":"1351997679","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997675":["hashtag1","hashtag2"]},{"1351997665":["hashtag1","hashtag2"]},{"1351997682":["hashtag1","hashtag2"]},{"1351997685":["hashtag1","hashtag2"]},{"1351997679":["hashtag1","hashtag2"]},{"1351997670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997675, 1351997665, 1351997682, 1351997685, 1351997679, 1351997670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39662194252014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 21:59:42.840831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_26_10436.jpg', '/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_36_10359.jpg', '/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_46_9422.jpg', '/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_56_10373.jpg', '/home/pi/Desktop/images/19042025/19/25/image_19042025_19_26_06_9354.jpg', '/home/pi/Desktop/images/19042025/19/26/image_19042025_19_26_26_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_26_10436.jpg
/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_36_10359.jpg
/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_46_9422.jpg
/home/pi/Desktop/images/19042025/19/25/image_19042025_19_25_56_10373.jpg
/home/pi/Desktop/images/19042025/19/25/image_19042025_19_26_06_9354.jpg
/home/pi/Desktop/images/19042025/19/26/image_19042025_19_26_26_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997709","1351997700","1351997703","1351997706","1351997708","1351997691"],"photo_ids_order":["1351997691","1351997700","1351997703","1351997706","1351997708","1351997709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8d7b3ec8e7d8f4a002c180bb806d6bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8886168975892911340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092843303,"filename":"image_19042025_19_26_26_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d088eff744718343723823ebacf2e55b.jpg","text":"TemporaryFile(/tmp/multipartBody4670748972563005276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092843303,"filename":"image_19042025_19_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/19/d462e0ff41422ea666b6c8352326f270.jpg","text":"TemporaryFile(/tmp/multipartBody5557680129868006232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092843303,"filename":"image_19042025_19_25_46_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f04c9d6333e46c157ab853959c57f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody138799368981076315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092843303,"filename":"image_19042025_19_25_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/19/3fd26983cb3182c2df504d962305ddcf.jpg","text":"TemporaryFile(/tmp/multipartBody1612996152140014710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092843303,"filename":"image_19042025_19_26_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/19/fd33a977643b5413752f470c0da36738.jpg","text":"TemporaryFile(/tmp/multipartBody5294669385372512863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092843303,"filename":"image_19042025_19_25_26_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997703","file1":"1351997700","file0":"1351997691","file4":"1351997708","file5":"1351997709","file3":"1351997706"},"map_files_photo_id_array":[{"photo_id":"1351997709","filename":"file5"},{"photo_id":"1351997703","filename":"file2"},{"photo_id":"1351997708","filename":"file4"},{"photo_id":"1351997700","filename":"file1"},{"photo_id":"1351997691","filename":"file0"},{"photo_id":"1351997706","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997709":["hashtag1","hashtag2"]},{"1351997700":["hashtag1","hashtag2"]},{"1351997703":["hashtag1","hashtag2"]},{"1351997706":["hashtag1","hashtag2"]},{"1351997708":["hashtag1","hashtag2"]},{"1351997691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997709, 1351997700, 1351997703, 1351997706, 1351997708, 1351997691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.28258442878723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:00:32.216351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/26/image_19042025_19_26_36_9426.jpg', '/home/pi/Desktop/images/19042025/19/26/image_19042025_19_26_46_10375.jpg', '/home/pi/Desktop/images/19042025/19/26/image_19042025_19_26_56_9488.jpg', '/home/pi/Desktop/images/19042025/19/26/image_19042025_19_27_06_10395.jpg', '/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_16_9443.jpg', '/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_26_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/26/image_19042025_19_26_36_9426.jpg
/home/pi/Desktop/images/19042025/19/26/image_19042025_19_26_46_10375.jpg
/home/pi/Desktop/images/19042025/19/26/image_19042025_19_26_56_9488.jpg
/home/pi/Desktop/images/19042025/19/26/image_19042025_19_27_06_10395.jpg
/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_16_9443.jpg
/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_26_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":["1351997741","1351997729","1351997734","1351997737","1351997731","1351997739"],"photo_ids_order":["1351997729","1351997731","1351997734","1351997737","1351997739","1351997741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e96e5ca2ffc124ce6d4de604968e83d7.jpg","text":"TemporaryFile(/tmp/multipartBody110239511216159187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092892680,"filename":"image_19042025_19_27_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/19/2f8876273db19a3737e21fd2691c735e.jpg","text":"TemporaryFile(/tmp/multipartBody3817309986464707470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092892680,"filename":"image_19042025_19_26_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/463c4b637d304283ef482b155316dde8.jpg","text":"TemporaryFile(/tmp/multipartBody219336791389125804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092892680,"filename":"image_19042025_19_26_56_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/61bd99624fcb504a06cdadf5541a30fa.jpg","text":"TemporaryFile(/tmp/multipartBody1852883284560739588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092892680,"filename":"image_19042025_19_27_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/19/4eaa270e8212d2bf93a51a7eda8949fe.jpg","text":"TemporaryFile(/tmp/multipartBody7493361716904615776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092892680,"filename":"image_19042025_19_26_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/19/d4311745be56837aedbf84d02c325a1e.jpg","text":"TemporaryFile(/tmp/multipartBody4706920784333604394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092892680,"filename":"image_19042025_19_27_16_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997734","file1":"1351997731","file0":"1351997729","file4":"1351997739","file5":"1351997741","file3":"1351997737"},"map_files_photo_id_array":[{"photo_id":"1351997741","filename":"file5"},{"photo_id":"1351997734","filename":"file2"},{"photo_id":"1351997739","filename":"file4"},{"photo_id":"1351997731","filename":"file1"},{"photo_id":"1351997729","filename":"file0"},{"photo_id":"1351997737","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997741":["hashtag1","hashtag2"]},{"1351997729":["hashtag1","hashtag2"]},{"1351997734":["hashtag1","hashtag2"]},{"1351997737":["hashtag1","hashtag2"]},{"1351997731":["hashtag1","hashtag2"]},{"1351997739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997741, 1351997729, 1351997734, 1351997737, 1351997731, 1351997739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96187400817871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:01:32.387701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_36_10376.jpg', '/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_46_9362.jpg', '/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_56_10353.jpg', '/home/pi/Desktop/images/19042025/19/27/image_19042025_19_28_07_10437.jpg', '/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_16_9458.jpg', '/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_26_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_36_10376.jpg
/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_46_9362.jpg
/home/pi/Desktop/images/19042025/19/27/image_19042025_19_27_56_10353.jpg
/home/pi/Desktop/images/19042025/19/27/image_19042025_19_28_07_10437.jpg
/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_16_9458.jpg
/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_26_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997972","1351998244","1351998124","1351998211","1351998255","1351998249"],"photo_ids_order":["1351997972","1351998124","1351998211","1351998244","1351998249","1351998255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/71921e3a94d65d2f6440dc2baca6b46b.jpg","text":"TemporaryFile(/tmp/multipartBody6763463074805949795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092952877,"filename":"image_19042025_19_27_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/19/05a05d5a6bef63065ae39dbc4beabfce.jpg","text":"TemporaryFile(/tmp/multipartBody8432129824936259725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092952877,"filename":"image_19042025_19_28_07_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fdc359d1a60688f6bbbb332c1fedc18f.jpg","text":"TemporaryFile(/tmp/multipartBody8817418151209113582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092952877,"filename":"image_19042025_19_27_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/19/fbda88d681f8a7ec829a5cf6c5acbbae.jpg","text":"TemporaryFile(/tmp/multipartBody630859805896913146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092952877,"filename":"image_19042025_19_27_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9695731194eb3c95cff8da52d4b7435b.jpg","text":"TemporaryFile(/tmp/multipartBody2411999618995063495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092952877,"filename":"image_19042025_19_28_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6907645cc4456500e6278592f1a5af3a.jpg","text":"TemporaryFile(/tmp/multipartBody5703938481531804749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745092952877,"filename":"image_19042025_19_28_16_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351998211","file1":"1351998124","file0":"1351997972","file4":"1351998249","file5":"1351998255","file3":"1351998244"},"map_files_photo_id_array":[{"photo_id":"1351998255","filename":"file5"},{"photo_id":"1351998211","filename":"file2"},{"photo_id":"1351998249","filename":"file4"},{"photo_id":"1351998124","filename":"file1"},{"photo_id":"1351997972","filename":"file0"},{"photo_id":"1351998244","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351997972":["hashtag1","hashtag2"]},{"1351998244":["hashtag1","hashtag2"]},{"1351998124":["hashtag1","hashtag2"]},{"1351998211":["hashtag1","hashtag2"]},{"1351998255":["hashtag1","hashtag2"]},{"1351998249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351997972, 1351998244, 1351998124, 1351998211, 1351998255, 1351998249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.98658323287964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 22:02:42.668074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_36_9357.jpg', '/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_46_10375.jpg', '/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_56_10375.jpg', '/home/pi/Desktop/images/19042025/19/28/image_19042025_19_29_06_9473.jpg', '/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_16_10399.jpg', '/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_26_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_36_9357.jpg
/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_46_10375.jpg
/home/pi/Desktop/images/19042025/19/28/image_19042025_19_28_56_10375.jpg
/home/pi/Desktop/images/19042025/19/28/image_19042025_19_29_06_9473.jpg
/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_16_10399.jpg
/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_26_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351998263","1351998272","1351998266","1351998269","1351998267","1351998261"],"photo_ids_order":["1351998261","1351998263","1351998266","1351998267","1351998269","1351998272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/023e9b407e6902499847a25447c87f46.jpg","text":"TemporaryFile(/tmp/multipartBody3627838639170060107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093023135,"filename":"image_19042025_19_28_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/19/7caf0ab745a49bf186eb65553d30de77.jpg","text":"TemporaryFile(/tmp/multipartBody830724451561730262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093023135,"filename":"image_19042025_19_29_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/19/42f7464be57324a98c5024d251831af3.jpg","text":"TemporaryFile(/tmp/multipartBody7437054421373625722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093023135,"filename":"image_19042025_19_28_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/19/0d24388b8e8c6ebd97af8cef081f81ab.jpg","text":"TemporaryFile(/tmp/multipartBody5027144596486589690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093023135,"filename":"image_19042025_19_29_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/19/7abcc41079a3c7ea553353ffb8361088.jpg","text":"TemporaryFile(/tmp/multipartBody5171831872972481404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093023135,"filename":"image_19042025_19_29_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/19/cd4944846248bde671e05c1a37f2444f.jpg","text":"TemporaryFile(/tmp/multipartBody6839679212851255499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093023135,"filename":"image_19042025_19_28_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351998266","file1":"1351998263","file0":"1351998261","file4":"1351998269","file5":"1351998272","file3":"1351998267"},"map_files_photo_id_array":[{"photo_id":"1351998272","filename":"file5"},{"photo_id":"1351998266","filename":"file2"},{"photo_id":"1351998269","filename":"file4"},{"photo_id":"1351998263","filename":"file1"},{"photo_id":"1351998261","filename":"file0"},{"photo_id":"1351998267","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351998263":["hashtag1","hashtag2"]},{"1351998272":["hashtag1","hashtag2"]},{"1351998266":["hashtag1","hashtag2"]},{"1351998269":["hashtag1","hashtag2"]},{"1351998267":["hashtag1","hashtag2"]},{"1351998261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351998263, 1351998272, 1351998266, 1351998269, 1351998267, 1351998261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91460967063904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:03:32.997005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_36_10410.jpg', '/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_46_9445.jpg', '/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_56_10394.jpg', '/home/pi/Desktop/images/19042025/19/29/image_19042025_19_30_06_10358.jpg', '/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_16_9351.jpg', '/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_26_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_36_10410.jpg
/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_46_9445.jpg
/home/pi/Desktop/images/19042025/19/29/image_19042025_19_29_56_10394.jpg
/home/pi/Desktop/images/19042025/19/29/image_19042025_19_30_06_10358.jpg
/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_16_9351.jpg
/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_26_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":["1351998299","1351998409","1351998279","1351998351","1351998324","1351998380"],"photo_ids_order":["1351998279","1351998299","1351998324","1351998351","1351998380","1351998409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e89d0d45de240f3bfcb14bf9b94569de.jpg","text":"TemporaryFile(/tmp/multipartBody8640440292714503209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093073485,"filename":"image_19042025_19_29_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/54b776c1d6f6bd211e80735b31bd8361.jpg","text":"TemporaryFile(/tmp/multipartBody4862594132694081651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093073485,"filename":"image_19042025_19_30_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/19/30dd32dc226ba091d8a9d904474dbf32.jpg","text":"TemporaryFile(/tmp/multipartBody7129839664947773368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093073485,"filename":"image_19042025_19_29_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/19/c5cf6ea99a97d92ec1b1033785b5cc52.jpg","text":"TemporaryFile(/tmp/multipartBody2701771290997119926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093073485,"filename":"image_19042025_19_30_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ceddaea8de529cb863bff75a9ef771f.jpg","text":"TemporaryFile(/tmp/multipartBody4554579514903589789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093073485,"filename":"image_19042025_19_29_56_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2c90c76cea9fee0bc266fe6ed60f530d.jpg","text":"TemporaryFile(/tmp/multipartBody7438686489396607615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093073485,"filename":"image_19042025_19_30_16_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351998324","file1":"1351998299","file0":"1351998279","file4":"1351998380","file5":"1351998409","file3":"1351998351"},"map_files_photo_id_array":[{"photo_id":"1351998409","filename":"file5"},{"photo_id":"1351998324","filename":"file2"},{"photo_id":"1351998380","filename":"file4"},{"photo_id":"1351998299","filename":"file1"},{"photo_id":"1351998279","filename":"file0"},{"photo_id":"1351998351","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351998299":["hashtag1","hashtag2"]},{"1351998409":["hashtag1","hashtag2"]},{"1351998279":["hashtag1","hashtag2"]},{"1351998351":["hashtag1","hashtag2"]},{"1351998324":["hashtag1","hashtag2"]},{"1351998380":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351998299, 1351998409, 1351998279, 1351998351, 1351998324, 1351998380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.71364736557007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:04:32.198305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_36_10358.jpg', '/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_46_9080.jpg', '/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_56_10395.jpg', '/home/pi/Desktop/images/19042025/19/30/image_19042025_19_31_06_10455.jpg', '/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_16_9338.jpg', '/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_26_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_36_10358.jpg
/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_46_9080.jpg
/home/pi/Desktop/images/19042025/19/30/image_19042025_19_30_56_10395.jpg
/home/pi/Desktop/images/19042025/19/30/image_19042025_19_31_06_10455.jpg
/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_16_9338.jpg
/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_26_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":["1351998959","1351998908","1351998737","1351998796","1351998681","1351998846"],"photo_ids_order":["1351998681","1351998737","1351998796","1351998846","1351998908","1351998959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc3155c2fdabbaea80839486d3227522.jpg","text":"TemporaryFile(/tmp/multipartBody3712049023483218973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093132661,"filename":"image_19042025_19_31_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/19/6a0fe5fd61530b8110394fa43448caed.jpg","text":"TemporaryFile(/tmp/multipartBody7140377088188927742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093132661,"filename":"image_19042025_19_31_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/19/e1d17dbabf1c0b05c9bd6a8d527a91e9.jpg","text":"TemporaryFile(/tmp/multipartBody3347854732602748290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093132661,"filename":"image_19042025_19_30_46_9080.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b09c8f8ba1edbcbdda2685067d11fb16.jpg","text":"TemporaryFile(/tmp/multipartBody1522300606786764397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093132661,"filename":"image_19042025_19_30_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25344ca4f17e3c9fb2dc44801037d830.jpg","text":"TemporaryFile(/tmp/multipartBody6602258828599582433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093132661,"filename":"image_19042025_19_30_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a3aabe64ab3520848a4936639a178cf.jpg","text":"TemporaryFile(/tmp/multipartBody7183726109537347551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093132661,"filename":"image_19042025_19_31_06_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351998796","file1":"1351998737","file0":"1351998681","file4":"1351998908","file5":"1351998959","file3":"1351998846"},"map_files_photo_id_array":[{"photo_id":"1351998959","filename":"file5"},{"photo_id":"1351998796","filename":"file2"},{"photo_id":"1351998908","filename":"file4"},{"photo_id":"1351998737","filename":"file1"},{"photo_id":"1351998681","filename":"file0"},{"photo_id":"1351998846","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351998959":["hashtag1","hashtag2"]},{"1351998908":["hashtag1","hashtag2"]},{"1351998737":["hashtag1","hashtag2"]},{"1351998796":["hashtag1","hashtag2"]},{"1351998681":["hashtag1","hashtag2"]},{"1351998846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351998959, 1351998908, 1351998737, 1351998796, 1351998681, 1351998846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.363368034362793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:05:32.404423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_36_10369.jpg', '/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_46_9488.jpg', '/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_56_10377.jpg', '/home/pi/Desktop/images/19042025/19/31/image_19042025_19_32_06_9360.jpg', '/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_16_10396.jpg', '/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_27_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_36_10369.jpg
/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_46_9488.jpg
/home/pi/Desktop/images/19042025/19/31/image_19042025_19_31_56_10377.jpg
/home/pi/Desktop/images/19042025/19/31/image_19042025_19_32_06_9360.jpg
/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_16_10396.jpg
/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_27_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":["1351999684","1351999513","1351999566","1351999749","1351999617","1351999463"],"photo_ids_order":["1351999463","1351999513","1351999566","1351999617","1351999684","1351999749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ed313259c01f823541d3bf29e1db396e.jpg","text":"TemporaryFile(/tmp/multipartBody5522896002729681640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093192880,"filename":"image_19042025_19_32_16_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b1701e87987a627c3140fdc3ebb7341e.jpg","text":"TemporaryFile(/tmp/multipartBody6405271427182821507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093192880,"filename":"image_19042025_19_31_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/19/4471988f5ee54d152e645d13cfc9ceed.jpg","text":"TemporaryFile(/tmp/multipartBody8072770077261067434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093192880,"filename":"image_19042025_19_31_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/19/5d1382b5df1d55d502875498f439ac9c.jpg","text":"TemporaryFile(/tmp/multipartBody5121108702820620575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093192880,"filename":"image_19042025_19_32_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/19/a1c0b2218a08ae2cbd4c4b87f19093f8.jpg","text":"TemporaryFile(/tmp/multipartBody8408352372511879023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093192880,"filename":"image_19042025_19_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/19/07338166e4abd86dd0632479709f9fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8510226752078642280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093192880,"filename":"image_19042025_19_31_36_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351999566","file1":"1351999513","file0":"1351999463","file4":"1351999684","file5":"1351999749","file3":"1351999617"},"map_files_photo_id_array":[{"photo_id":"1351999749","filename":"file5"},{"photo_id":"1351999566","filename":"file2"},{"photo_id":"1351999684","filename":"file4"},{"photo_id":"1351999513","filename":"file1"},{"photo_id":"1351999463","filename":"file0"},{"photo_id":"1351999617","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1351999684":["hashtag1","hashtag2"]},{"1351999513":["hashtag1","hashtag2"]},{"1351999566":["hashtag1","hashtag2"]},{"1351999749":["hashtag1","hashtag2"]},{"1351999617":["hashtag1","hashtag2"]},{"1351999463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1351999684, 1351999513, 1351999566, 1351999749, 1351999617, 1351999463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.370941162109375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:06:32.631382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_36_9493.jpg', '/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_46_10411.jpg', '/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_56_9361.jpg', '/home/pi/Desktop/images/19042025/19/32/image_19042025_19_33_06_10340.jpg', '/home/pi/Desktop/images/19042025/19/33/image_19042025_19_33_56_10368.jpg', '/home/pi/Desktop/images/19042025/19/33/image_19042025_19_34_06_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_36_9493.jpg
/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_46_10411.jpg
/home/pi/Desktop/images/19042025/19/32/image_19042025_19_32_56_9361.jpg
/home/pi/Desktop/images/19042025/19/32/image_19042025_19_33_06_10340.jpg
/home/pi/Desktop/images/19042025/19/33/image_19042025_19_33_56_10368.jpg
/home/pi/Desktop/images/19042025/19/33/image_19042025_19_34_06_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":["1352000727","1352000649","1352000916","1352000992","1352000803","1352000428"],"photo_ids_order":["1352000428","1352000649","1352000727","1352000803","1352000916","1352000992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dfc6076dc059ddcb120512086122df45.jpg","text":"TemporaryFile(/tmp/multipartBody766977695621366901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093253094,"filename":"image_19042025_19_32_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/19/705a3c78ff8085248377869d7b9f8247.jpg","text":"TemporaryFile(/tmp/multipartBody3142116452832195758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093253094,"filename":"image_19042025_19_32_46_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/74d7a56a5a253d1d8fec67ff419d16be.jpg","text":"TemporaryFile(/tmp/multipartBody1616745532331978929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093253094,"filename":"image_19042025_19_33_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/19/def2326507d38bc39381a259827e2b90.jpg","text":"TemporaryFile(/tmp/multipartBody9142606031490142345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093253094,"filename":"image_19042025_19_34_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/19/18a3ee6142337fad36647d300706ecc0.jpg","text":"TemporaryFile(/tmp/multipartBody4543825653769734343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093253094,"filename":"image_19042025_19_33_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/19/182596f00de486c3a4f40d58cdf4b024.jpg","text":"TemporaryFile(/tmp/multipartBody5286155763531363571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093253094,"filename":"image_19042025_19_32_36_9493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352000727","file1":"1352000649","file0":"1352000428","file4":"1352000916","file5":"1352000992","file3":"1352000803"},"map_files_photo_id_array":[{"photo_id":"1352000992","filename":"file5"},{"photo_id":"1352000727","filename":"file2"},{"photo_id":"1352000916","filename":"file4"},{"photo_id":"1352000649","filename":"file1"},{"photo_id":"1352000428","filename":"file0"},{"photo_id":"1352000803","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352000727":["hashtag1","hashtag2"]},{"1352000649":["hashtag1","hashtag2"]},{"1352000916":["hashtag1","hashtag2"]},{"1352000992":["hashtag1","hashtag2"]},{"1352000803":["hashtag1","hashtag2"]},{"1352000428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352000727, 1352000649, 1352000916, 1352000992, 1352000803, 1352000428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.355549812316895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:07:32.779778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/34/image_19042025_19_34_16_10416.jpg', '/home/pi/Desktop/images/19042025/19/34/image_19042025_19_34_27_10362.jpg', '/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_17_10369.jpg', '/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_26_9415.jpg', '/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_36_10372.jpg', '/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_46_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/34/image_19042025_19_34_16_10416.jpg
/home/pi/Desktop/images/19042025/19/34/image_19042025_19_34_27_10362.jpg
/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_17_10369.jpg
/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_26_9415.jpg
/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_36_10372.jpg
/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_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":["1352001561","1352001677","1352001731","1352001626","1352001433","1352001489"],"photo_ids_order":["1352001433","1352001489","1352001561","1352001626","1352001677","1352001731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/25b5d007869043b0392430142b6b4349.jpg","text":"TemporaryFile(/tmp/multipartBody3711497676987174835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093313242,"filename":"image_19042025_19_35_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/19/f08825ff1b9f6729d0a7ee49664a464a.jpg","text":"TemporaryFile(/tmp/multipartBody2721518542218899639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093313242,"filename":"image_19042025_19_35_36_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/643aa0e064523eb184109d10325ad77e.jpg","text":"TemporaryFile(/tmp/multipartBody8515368241138810418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093313242,"filename":"image_19042025_19_35_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/19/5e77eae530cd5d4bbfda2f5163cb186f.jpg","text":"TemporaryFile(/tmp/multipartBody6630668790651341292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093313242,"filename":"image_19042025_19_35_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ceb0e5f36bf7dd2459d2aae79ba698c8.jpg","text":"TemporaryFile(/tmp/multipartBody9072441412225752972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093313242,"filename":"image_19042025_19_34_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/19/97eb52fa30363348322bf477259c0028.jpg","text":"TemporaryFile(/tmp/multipartBody4567541681350537840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093313242,"filename":"image_19042025_19_34_27_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352001561","file1":"1352001489","file0":"1352001433","file4":"1352001677","file5":"1352001731","file3":"1352001626"},"map_files_photo_id_array":[{"photo_id":"1352001731","filename":"file5"},{"photo_id":"1352001561","filename":"file2"},{"photo_id":"1352001677","filename":"file4"},{"photo_id":"1352001489","filename":"file1"},{"photo_id":"1352001433","filename":"file0"},{"photo_id":"1352001626","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352001561":["hashtag1","hashtag2"]},{"1352001677":["hashtag1","hashtag2"]},{"1352001731":["hashtag1","hashtag2"]},{"1352001626":["hashtag1","hashtag2"]},{"1352001433":["hashtag1","hashtag2"]},{"1352001489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352001561, 1352001677, 1352001731, 1352001626, 1352001433, 1352001489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53648591041565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:08:33.219110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_56_10445.jpg', '/home/pi/Desktop/images/19042025/19/35/image_19042025_19_36_06_9352.jpg', '/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_16_10365.jpg', '/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_26_10369.jpg', '/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_36_9459.jpg', '/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_46_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/35/image_19042025_19_35_56_10445.jpg
/home/pi/Desktop/images/19042025/19/35/image_19042025_19_36_06_9352.jpg
/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_16_10365.jpg
/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_26_10369.jpg
/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_36_9459.jpg
/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_46_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":["1352002379","1352002601","1352002687","1352002526","1352002306","1352002452"],"photo_ids_order":["1352002306","1352002379","1352002452","1352002526","1352002601","1352002687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/048a1f4bf9e3006aa9343e233a234cfb.jpg","text":"TemporaryFile(/tmp/multipartBody605024544818132716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093373684,"filename":"image_19042025_19_36_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/19/3ffdb801d2a0ecc08de659dd3b75a274.jpg","text":"TemporaryFile(/tmp/multipartBody8033444724633968358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093373684,"filename":"image_19042025_19_36_36_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/18417030de9c42c99acc652781618a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4686105430022453172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093373684,"filename":"image_19042025_19_36_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/19/e38350d2041c08bfceba65fd7e4101b3.jpg","text":"TemporaryFile(/tmp/multipartBody2015034513649174533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093373684,"filename":"image_19042025_19_36_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/19/f8d12e076bc145cf698df3f6ab245610.jpg","text":"TemporaryFile(/tmp/multipartBody3906136505581374478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093373684,"filename":"image_19042025_19_35_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/19/4bb67d758f9b9f0cc388a8161b5f75ed.jpg","text":"TemporaryFile(/tmp/multipartBody1687186352338794660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093373684,"filename":"image_19042025_19_36_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352002452","file1":"1352002379","file0":"1352002306","file4":"1352002601","file5":"1352002687","file3":"1352002526"},"map_files_photo_id_array":[{"photo_id":"1352002687","filename":"file5"},{"photo_id":"1352002452","filename":"file2"},{"photo_id":"1352002601","filename":"file4"},{"photo_id":"1352002379","filename":"file1"},{"photo_id":"1352002306","filename":"file0"},{"photo_id":"1352002526","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352002379":["hashtag1","hashtag2"]},{"1352002601":["hashtag1","hashtag2"]},{"1352002687":["hashtag1","hashtag2"]},{"1352002526":["hashtag1","hashtag2"]},{"1352002306":["hashtag1","hashtag2"]},{"1352002452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352002379, 1352002601, 1352002687, 1352002526, 1352002306, 1352002452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.243847131729126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:09:32.379940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_56_9362.jpg', '/home/pi/Desktop/images/19042025/19/36/image_19042025_19_37_06_10431.jpg', '/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_16_10373.jpg', '/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_26_9381.jpg', '/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_36_10411.jpg', '/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_47_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/36/image_19042025_19_36_56_9362.jpg
/home/pi/Desktop/images/19042025/19/36/image_19042025_19_37_06_10431.jpg
/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_16_10373.jpg
/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_26_9381.jpg
/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_36_10411.jpg
/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_47_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352003435","1352003324","1352003588","1352003498","1352003270","1352003381"],"photo_ids_order":["1352003270","1352003324","1352003381","1352003435","1352003498","1352003588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/93833e14349acfc5d540c6e612062a49.jpg","text":"TemporaryFile(/tmp/multipartBody6770649542464612246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093432843,"filename":"image_19042025_19_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/19/ed4085418ff99cc4acfc60681f0518ec.jpg","text":"TemporaryFile(/tmp/multipartBody1337684884900861960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093432843,"filename":"image_19042025_19_37_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1b61b9d36fc2622bb161f4d16294133a.jpg","text":"TemporaryFile(/tmp/multipartBody7021926326419941748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093432843,"filename":"image_19042025_19_37_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/19/569284332faa78d9e36b23f3e4752545.jpg","text":"TemporaryFile(/tmp/multipartBody3549489107698218682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093432843,"filename":"image_19042025_19_37_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/19/98157a2a8bef2ce7e11344e7dd7aaab0.jpg","text":"TemporaryFile(/tmp/multipartBody2475114860095960782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093432843,"filename":"image_19042025_19_36_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/19/81dcec25f17e22a7273a666bce070260.jpg","text":"TemporaryFile(/tmp/multipartBody4165050516613288130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093432843,"filename":"image_19042025_19_37_16_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352003381","file1":"1352003324","file0":"1352003270","file4":"1352003498","file5":"1352003588","file3":"1352003435"},"map_files_photo_id_array":[{"photo_id":"1352003588","filename":"file5"},{"photo_id":"1352003381","filename":"file2"},{"photo_id":"1352003498","filename":"file4"},{"photo_id":"1352003324","filename":"file1"},{"photo_id":"1352003270","filename":"file0"},{"photo_id":"1352003435","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352003435":["hashtag1","hashtag2"]},{"1352003324":["hashtag1","hashtag2"]},{"1352003588":["hashtag1","hashtag2"]},{"1352003498":["hashtag1","hashtag2"]},{"1352003270":["hashtag1","hashtag2"]},{"1352003381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352003435, 1352003324, 1352003588, 1352003498, 1352003270, 1352003381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.42188310623169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:10:32.522743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_56_9515.jpg', '/home/pi/Desktop/images/19042025/19/37/image_19042025_19_38_06_10419.jpg', '/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_16_9446.jpg', '/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_26_10377.jpg', '/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_36_9359.jpg', '/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_46_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/37/image_19042025_19_37_56_9515.jpg
/home/pi/Desktop/images/19042025/19/37/image_19042025_19_38_06_10419.jpg
/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_16_9446.jpg
/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_26_10377.jpg
/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_36_9359.jpg
/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_46_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352003980","1352004166","1352004049","1352003984","1352003993","1352004200"],"photo_ids_order":["1352003980","1352003984","1352003993","1352004049","1352004166","1352004200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c39c5aee79ac48a0468d91faaa71913c.jpg","text":"TemporaryFile(/tmp/multipartBody8026426422672915686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093492992,"filename":"image_19042025_19_37_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/19/52314e0adc53a15ee7047aed382f3c6b.jpg","text":"TemporaryFile(/tmp/multipartBody6452062036876088580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093492992,"filename":"image_19042025_19_38_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/19/1e5fec498eee251af163e9e446019f10.jpg","text":"TemporaryFile(/tmp/multipartBody6545902071025281536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093492992,"filename":"image_19042025_19_38_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/19/3fcdde156dc6de6629f665a3d17d95ee.jpg","text":"TemporaryFile(/tmp/multipartBody4727407929088845543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093492992,"filename":"image_19042025_19_38_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/19/9013a3514b7fea0b2378d9355970df4c.jpg","text":"TemporaryFile(/tmp/multipartBody7755935671538264111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093492992,"filename":"image_19042025_19_38_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/19/895816316a4c204dc70165fb2dca6ade.jpg","text":"TemporaryFile(/tmp/multipartBody2860748710972870642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093492992,"filename":"image_19042025_19_38_46_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352003993","file1":"1352003984","file0":"1352003980","file4":"1352004166","file5":"1352004200","file3":"1352004049"},"map_files_photo_id_array":[{"photo_id":"1352004200","filename":"file5"},{"photo_id":"1352003993","filename":"file2"},{"photo_id":"1352004166","filename":"file4"},{"photo_id":"1352003984","filename":"file1"},{"photo_id":"1352003980","filename":"file0"},{"photo_id":"1352004049","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352003980":["hashtag1","hashtag2"]},{"1352004166":["hashtag1","hashtag2"]},{"1352004049":["hashtag1","hashtag2"]},{"1352003984":["hashtag1","hashtag2"]},{"1352003993":["hashtag1","hashtag2"]},{"1352004200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352003980, 1352004166, 1352004049, 1352003984, 1352003993, 1352004200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.708484411239624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:11:32.879775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_56_10379.jpg', '/home/pi/Desktop/images/19042025/19/38/image_19042025_19_39_06_9407.jpg', '/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_16_10385.jpg', '/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_26_9348.jpg', '/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_36_10364.jpg', '/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_46_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/38/image_19042025_19_38_56_10379.jpg
/home/pi/Desktop/images/19042025/19/38/image_19042025_19_39_06_9407.jpg
/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_16_10385.jpg
/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_26_9348.jpg
/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_36_10364.jpg
/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_46_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352004481","1352004460","1352004430","1352004477","1352004499","1352004484"],"photo_ids_order":["1352004430","1352004460","1352004477","1352004481","1352004484","1352004499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef299a152535d176ed88355d5981ddef.jpg","text":"TemporaryFile(/tmp/multipartBody2391929388861295059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093553350,"filename":"image_19042025_19_39_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/19/8c39f8a8e7e56af8f46283411f18d6e7.jpg","text":"TemporaryFile(/tmp/multipartBody2915339750997749468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093553350,"filename":"image_19042025_19_39_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/19/9b6cc0e2e717b7574f04338ca7bdf49e.jpg","text":"TemporaryFile(/tmp/multipartBody7127382281789978790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093553350,"filename":"image_19042025_19_38_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/19/f135d01ddaae90180f967efab5d88829.jpg","text":"TemporaryFile(/tmp/multipartBody3368835661455470838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093553350,"filename":"image_19042025_19_39_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/19/fbce78154709e1b79b7d77dea2aedcb5.jpg","text":"TemporaryFile(/tmp/multipartBody6961555093190134194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093553350,"filename":"image_19042025_19_39_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7e55f2a914daa9504f0d1a8e3eb22d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5740292346764553012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093553350,"filename":"image_19042025_19_39_36_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352004477","file1":"1352004460","file0":"1352004430","file4":"1352004484","file5":"1352004499","file3":"1352004481"},"map_files_photo_id_array":[{"photo_id":"1352004499","filename":"file5"},{"photo_id":"1352004477","filename":"file2"},{"photo_id":"1352004484","filename":"file4"},{"photo_id":"1352004460","filename":"file1"},{"photo_id":"1352004430","filename":"file0"},{"photo_id":"1352004481","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352004481":["hashtag1","hashtag2"]},{"1352004460":["hashtag1","hashtag2"]},{"1352004430":["hashtag1","hashtag2"]},{"1352004477":["hashtag1","hashtag2"]},{"1352004499":["hashtag1","hashtag2"]},{"1352004484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352004481, 1352004460, 1352004430, 1352004477, 1352004499, 1352004484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.04559350013733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:12:33.087310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_56_9430.jpg', '/home/pi/Desktop/images/19042025/19/39/image_19042025_19_40_06_10353.jpg', '/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_16_10373.jpg', '/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_26_9426.jpg', '/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_36_10363.jpg', '/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_46_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/39/image_19042025_19_39_56_9430.jpg
/home/pi/Desktop/images/19042025/19/39/image_19042025_19_40_06_10353.jpg
/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_16_10373.jpg
/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_26_9426.jpg
/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_36_10363.jpg
/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_46_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352004607","1352004612","1352004600","1352004603","1352004596","1352004611"],"photo_ids_order":["1352004596","1352004600","1352004603","1352004607","1352004611","1352004612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7281b050041de1a152e777e55eb25215.jpg","text":"TemporaryFile(/tmp/multipartBody6637784471133308876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093613549,"filename":"image_19042025_19_40_26_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5c5f73ded0daf258dfb61d8e1b4fe04a.jpg","text":"TemporaryFile(/tmp/multipartBody8589361392503494712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093613549,"filename":"image_19042025_19_40_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/19/166fcc87cf7c0d224a6f1bcaa785c994.jpg","text":"TemporaryFile(/tmp/multipartBody6825530284024315237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093613549,"filename":"image_19042025_19_40_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/19/b3a4b3bc91bb169fa5a9d4bd60b6074d.jpg","text":"TemporaryFile(/tmp/multipartBody519174570229650808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093613549,"filename":"image_19042025_19_40_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d1db216982e45510880bee64b98d51ed.jpg","text":"TemporaryFile(/tmp/multipartBody4189663285269605446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093613549,"filename":"image_19042025_19_39_56_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/323256d87420b6e2210c6ed493f4340a.jpg","text":"TemporaryFile(/tmp/multipartBody6554598125310190064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093613549,"filename":"image_19042025_19_40_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352004603","file1":"1352004600","file0":"1352004596","file4":"1352004611","file5":"1352004612","file3":"1352004607"},"map_files_photo_id_array":[{"photo_id":"1352004612","filename":"file5"},{"photo_id":"1352004603","filename":"file2"},{"photo_id":"1352004611","filename":"file4"},{"photo_id":"1352004600","filename":"file1"},{"photo_id":"1352004596","filename":"file0"},{"photo_id":"1352004607","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352004607":["hashtag1","hashtag2"]},{"1352004612":["hashtag1","hashtag2"]},{"1352004600":["hashtag1","hashtag2"]},{"1352004603":["hashtag1","hashtag2"]},{"1352004596":["hashtag1","hashtag2"]},{"1352004611":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352004607, 1352004612, 1352004600, 1352004603, 1352004596, 1352004611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.026175260543823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:13:32.268470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_56_10443.jpg', '/home/pi/Desktop/images/19042025/19/40/image_19042025_19_41_06_10376.jpg', '/home/pi/Desktop/images/19042025/19/41/image_19042025_19_41_26_10381.jpg', '/home/pi/Desktop/images/19042025/19/41/image_19042025_19_41_36_9371.jpg', '/home/pi/Desktop/images/19042025/19/41/image_19042025_19_41_46_10366.jpg', '/home/pi/Desktop/images/19042025/19/41/image_19042025_19_41_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/40/image_19042025_19_40_56_10443.jpg
/home/pi/Desktop/images/19042025/19/40/image_19042025_19_41_06_10376.jpg
/home/pi/Desktop/images/19042025/19/41/image_19042025_19_41_26_10381.jpg
/home/pi/Desktop/images/19042025/19/41/image_19042025_19_41_36_9371.jpg
/home/pi/Desktop/images/19042025/19/41/image_19042025_19_41_46_10366.jpg
/home/pi/Desktop/images/19042025/19/41/image_19042025_19_41_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":["1352004718","1352004780","1352004863","1352004746","1352004836","1352004809"],"photo_ids_order":["1352004718","1352004746","1352004780","1352004809","1352004836","1352004863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6450f26b62573b131caf791836ccced.jpg","text":"TemporaryFile(/tmp/multipartBody2155706813434473551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093672751,"filename":"image_19042025_19_40_56_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/19/0cc75f272b98cb6d1ff3c8f6c385f088.jpg","text":"TemporaryFile(/tmp/multipartBody8645746417066341874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093672751,"filename":"image_19042025_19_41_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/19/190200f5b9f8adbed07f70ccc47eeb13.jpg","text":"TemporaryFile(/tmp/multipartBody7816975729476146040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093672751,"filename":"image_19042025_19_41_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/19/725bb6843a9eb28e5e0706f95a7816f7.jpg","text":"TemporaryFile(/tmp/multipartBody813024891333856374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093672751,"filename":"image_19042025_19_41_06_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/11c7053f2922b229db379324ef5f5dde.jpg","text":"TemporaryFile(/tmp/multipartBody1477331442544535484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093672751,"filename":"image_19042025_19_41_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/19/7af782c5ed7016cb61c732651d5c3619.jpg","text":"TemporaryFile(/tmp/multipartBody2572642665848176726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093672751,"filename":"image_19042025_19_41_36_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352004780","file1":"1352004746","file0":"1352004718","file4":"1352004836","file5":"1352004863","file3":"1352004809"},"map_files_photo_id_array":[{"photo_id":"1352004863","filename":"file5"},{"photo_id":"1352004780","filename":"file2"},{"photo_id":"1352004836","filename":"file4"},{"photo_id":"1352004746","filename":"file1"},{"photo_id":"1352004718","filename":"file0"},{"photo_id":"1352004809","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352004718":["hashtag1","hashtag2"]},{"1352004780":["hashtag1","hashtag2"]},{"1352004863":["hashtag1","hashtag2"]},{"1352004746":["hashtag1","hashtag2"]},{"1352004836":["hashtag1","hashtag2"]},{"1352004809":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352004718, 1352004780, 1352004863, 1352004746, 1352004836, 1352004809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07201647758484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:14:32.599306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/41/image_19042025_19_42_06_9469.jpg', '/home/pi/Desktop/images/19042025/19/42/image_19042025_19_42_26_9354.jpg', '/home/pi/Desktop/images/19042025/19/42/image_19042025_19_42_36_10356.jpg', '/home/pi/Desktop/images/19042025/19/42/image_19042025_19_42_46_10444.jpg', '/home/pi/Desktop/images/19042025/19/42/image_19042025_19_42_56_9370.jpg', '/home/pi/Desktop/images/19042025/19/42/image_19042025_19_43_06_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/41/image_19042025_19_42_06_9469.jpg
/home/pi/Desktop/images/19042025/19/42/image_19042025_19_42_26_9354.jpg
/home/pi/Desktop/images/19042025/19/42/image_19042025_19_42_36_10356.jpg
/home/pi/Desktop/images/19042025/19/42/image_19042025_19_42_46_10444.jpg
/home/pi/Desktop/images/19042025/19/42/image_19042025_19_42_56_9370.jpg
/home/pi/Desktop/images/19042025/19/42/image_19042025_19_43_06_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":["1352005408","1352005299","1352005353","1352005434","1352005381","1352005246"],"photo_ids_order":["1352005246","1352005299","1352005353","1352005381","1352005408","1352005434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c22b85089699c1ccae731f4326372fd.jpg","text":"TemporaryFile(/tmp/multipartBody1259226786538220697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093733071,"filename":"image_19042025_19_42_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/19/bde09ab626a605bd96dda209c51622a3.jpg","text":"TemporaryFile(/tmp/multipartBody3461234091667540333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093733071,"filename":"image_19042025_19_42_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/19/d5b423cc551df41218190dd49cae0b52.jpg","text":"TemporaryFile(/tmp/multipartBody2133672525566376775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093733071,"filename":"image_19042025_19_42_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/19/a8c5aaa2483a7eb6112d354e9c2a719f.jpg","text":"TemporaryFile(/tmp/multipartBody1391895666474159298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093733071,"filename":"image_19042025_19_43_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/19/98b9e93eae215726ad7175afccb31ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8269697149139898104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093733071,"filename":"image_19042025_19_42_46_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/67e3b9a262950112292bf9cbf971cbdb.jpg","text":"TemporaryFile(/tmp/multipartBody6148628337809795939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093733071,"filename":"image_19042025_19_42_06_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352005353","file1":"1352005299","file0":"1352005246","file4":"1352005408","file5":"1352005434","file3":"1352005381"},"map_files_photo_id_array":[{"photo_id":"1352005434","filename":"file5"},{"photo_id":"1352005353","filename":"file2"},{"photo_id":"1352005408","filename":"file4"},{"photo_id":"1352005299","filename":"file1"},{"photo_id":"1352005246","filename":"file0"},{"photo_id":"1352005381","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352005408":["hashtag1","hashtag2"]},{"1352005299":["hashtag1","hashtag2"]},{"1352005353":["hashtag1","hashtag2"]},{"1352005434":["hashtag1","hashtag2"]},{"1352005381":["hashtag1","hashtag2"]},{"1352005246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352005408, 1352005299, 1352005353, 1352005434, 1352005381, 1352005246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.734196424484253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:15:32.773454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_16_9389.jpg', '/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_26_10414.jpg', '/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_36_10364.jpg', '/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_46_9424.jpg', '/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_56_10454.jpg', '/home/pi/Desktop/images/19042025/19/43/image_19042025_19_44_06_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_16_9389.jpg
/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_26_10414.jpg
/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_36_10364.jpg
/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_46_9424.jpg
/home/pi/Desktop/images/19042025/19/43/image_19042025_19_43_56_10454.jpg
/home/pi/Desktop/images/19042025/19/43/image_19042025_19_44_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":["1352005846","1352005949","1352005978","1352005901","1352005795","1352006038"],"photo_ids_order":["1352005795","1352005846","1352005901","1352005949","1352005978","1352006038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c9a5bedfd381f6d879677de8b279ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7617386680657068711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093793239,"filename":"image_19042025_19_43_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/75ff61b36824ce99905f4150912f1475.jpg","text":"TemporaryFile(/tmp/multipartBody7659673746962022706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093793239,"filename":"image_19042025_19_43_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/19/f6ba6b7d7256a6bb4340b24654f6d939.jpg","text":"TemporaryFile(/tmp/multipartBody2608051221390713914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093793239,"filename":"image_19042025_19_43_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/19/09b428334c7bef094669b1aa3e3a91cf.jpg","text":"TemporaryFile(/tmp/multipartBody1728996779296161379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093793239,"filename":"image_19042025_19_43_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/19/8661e0bd774e916b40aa4fed36dc71fd.jpg","text":"TemporaryFile(/tmp/multipartBody3831318990941168585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093793239,"filename":"image_19042025_19_43_16_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/34d085b56ef9a8ca9e893da902cac800.jpg","text":"TemporaryFile(/tmp/multipartBody6637178139669684262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093793239,"filename":"image_19042025_19_44_06_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352005901","file1":"1352005846","file0":"1352005795","file4":"1352005978","file5":"1352006038","file3":"1352005949"},"map_files_photo_id_array":[{"photo_id":"1352006038","filename":"file5"},{"photo_id":"1352005901","filename":"file2"},{"photo_id":"1352005978","filename":"file4"},{"photo_id":"1352005846","filename":"file1"},{"photo_id":"1352005795","filename":"file0"},{"photo_id":"1352005949","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352005846":["hashtag1","hashtag2"]},{"1352005949":["hashtag1","hashtag2"]},{"1352005978":["hashtag1","hashtag2"]},{"1352005901":["hashtag1","hashtag2"]},{"1352005795":["hashtag1","hashtag2"]},{"1352006038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352005846, 1352005949, 1352005978, 1352005901, 1352005795, 1352006038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35775923728943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:16:32.253638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_16_10350.jpg', '/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_26_10490.jpg', '/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_36_9545.jpg', '/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_46_10378.jpg', '/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_56_9357.jpg', '/home/pi/Desktop/images/19042025/19/44/image_19042025_19_45_06_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_16_10350.jpg
/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_26_10490.jpg
/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_36_9545.jpg
/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_46_10378.jpg
/home/pi/Desktop/images/19042025/19/44/image_19042025_19_44_56_9357.jpg
/home/pi/Desktop/images/19042025/19/44/image_19042025_19_45_06_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":["1352006553","1352006526","1352006471","1352006443","1352006499","1352006401"],"photo_ids_order":["1352006401","1352006443","1352006471","1352006499","1352006526","1352006553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9c01e90c9484901ff95562689fc5e4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2061496899996514514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093852723,"filename":"image_19042025_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/19/e752d37b6be5ad1183d5f5fd2bc64cff.jpg","text":"TemporaryFile(/tmp/multipartBody3960686103685195512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093852723,"filename":"image_19042025_19_44_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/19/06447de9abc04b62d0287ec19a7faf54.jpg","text":"TemporaryFile(/tmp/multipartBody5245630358734062361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093852723,"filename":"image_19042025_19_44_36_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/19/1e4af6d06c1fcf0b580b4cf01657efb5.jpg","text":"TemporaryFile(/tmp/multipartBody5071482372165381628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093852723,"filename":"image_19042025_19_44_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/19/b5edae5812d8c5359d23d5bf63b177e1.jpg","text":"TemporaryFile(/tmp/multipartBody2701893791864023559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093852723,"filename":"image_19042025_19_44_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/19/22f8cdd4f9566f8343e829655ce94388.jpg","text":"TemporaryFile(/tmp/multipartBody7386142800407099042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093852723,"filename":"image_19042025_19_44_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352006471","file1":"1352006443","file0":"1352006401","file4":"1352006526","file5":"1352006553","file3":"1352006499"},"map_files_photo_id_array":[{"photo_id":"1352006553","filename":"file5"},{"photo_id":"1352006471","filename":"file2"},{"photo_id":"1352006526","filename":"file4"},{"photo_id":"1352006443","filename":"file1"},{"photo_id":"1352006401","filename":"file0"},{"photo_id":"1352006499","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352006553":["hashtag1","hashtag2"]},{"1352006526":["hashtag1","hashtag2"]},{"1352006471":["hashtag1","hashtag2"]},{"1352006443":["hashtag1","hashtag2"]},{"1352006499":["hashtag1","hashtag2"]},{"1352006401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352006553, 1352006526, 1352006471, 1352006443, 1352006499, 1352006401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.435821056365967 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:17:32.447849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_16_10367.jpg', '/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_26_9365.jpg', '/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_36_10458.jpg', '/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_46_9362.jpg', '/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_56_10378.jpg', '/home/pi/Desktop/images/19042025/19/45/image_19042025_19_46_06_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_16_10367.jpg
/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_26_9365.jpg
/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_36_10458.jpg
/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_46_9362.jpg
/home/pi/Desktop/images/19042025/19/45/image_19042025_19_45_56_10378.jpg
/home/pi/Desktop/images/19042025/19/45/image_19042025_19_46_06_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352007612","1352007540","1352007760","1352007682","1352007583","1352007640"],"photo_ids_order":["1352007540","1352007583","1352007612","1352007640","1352007682","1352007760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6c7c56055a475ab857ca393f04797025.jpg","text":"TemporaryFile(/tmp/multipartBody2778062082427957867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093912916,"filename":"image_19042025_19_45_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/19/8ad233ac07c643b1dc48194ed30b9207.jpg","text":"TemporaryFile(/tmp/multipartBody6294487775106984723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093912916,"filename":"image_19042025_19_45_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/edeaf7e855fae7307d12b987e6757ff8.jpg","text":"TemporaryFile(/tmp/multipartBody2168465883839052137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093912916,"filename":"image_19042025_19_46_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/19/3e15d3f43cdd1a225984b54e9072f41f.jpg","text":"TemporaryFile(/tmp/multipartBody2514705330145787082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093912916,"filename":"image_19042025_19_45_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/19/c350da615e41e974c9cd9f42901e2451.jpg","text":"TemporaryFile(/tmp/multipartBody4897917866231749080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093912916,"filename":"image_19042025_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/19/a484dc8a58ce7499b5fc44fca25ef632.jpg","text":"TemporaryFile(/tmp/multipartBody2964566895189585503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093912916,"filename":"image_19042025_19_45_46_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352007612","file1":"1352007583","file0":"1352007540","file4":"1352007682","file5":"1352007760","file3":"1352007640"},"map_files_photo_id_array":[{"photo_id":"1352007760","filename":"file5"},{"photo_id":"1352007612","filename":"file2"},{"photo_id":"1352007682","filename":"file4"},{"photo_id":"1352007583","filename":"file1"},{"photo_id":"1352007540","filename":"file0"},{"photo_id":"1352007640","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352007612":["hashtag1","hashtag2"]},{"1352007540":["hashtag1","hashtag2"]},{"1352007760":["hashtag1","hashtag2"]},{"1352007682":["hashtag1","hashtag2"]},{"1352007583":["hashtag1","hashtag2"]},{"1352007640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352007612, 1352007540, 1352007760, 1352007682, 1352007583, 1352007640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.173924684524536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:18:32.656671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_16_9432.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_26_10384.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_37_10366.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_46_9458.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_56_10373.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_47_06_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_16_9432.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_26_10384.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_37_10366.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_46_9458.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_56_10373.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_47_06_9358.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38550257682800293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 22:18:42.705038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_16_9432.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_26_10384.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_37_10366.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_46_9458.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_56_10373.jpg', '/home/pi/Desktop/images/19042025/19/46/image_19042025_19_47_06_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_16_9432.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_26_10384.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_37_10366.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_46_9458.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_46_56_10373.jpg
/home/pi/Desktop/images/19042025/19/46/image_19042025_19_47_06_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352008322","1352008316","1352008328","1352008330","1352008326","1352008329"],"photo_ids_order":["1352008316","1352008322","1352008326","1352008328","1352008329","1352008330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/14f832ec7fe1a2372761d3347737824d.jpg","text":"TemporaryFile(/tmp/multipartBody6843087275052635658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093983166,"filename":"image_19042025_19_46_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/42ae54de3448d427ddbdc27a93c6157a.jpg","text":"TemporaryFile(/tmp/multipartBody2050009345587087900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093983166,"filename":"image_19042025_19_46_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/19/d435b3e652814162502c302aab8b2dcb.jpg","text":"TemporaryFile(/tmp/multipartBody5988865930534181601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093983166,"filename":"image_19042025_19_46_46_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5467f9f950b843ffb465faad04513086.jpg","text":"TemporaryFile(/tmp/multipartBody6349926035413478261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093983166,"filename":"image_19042025_19_47_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/19/5d14c6fe9ec1b27788d552abcc1028e6.jpg","text":"TemporaryFile(/tmp/multipartBody3707619578109242528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093983166,"filename":"image_19042025_19_46_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/19/8c11a3a4a6a0cd799aa7db87dc975df2.jpg","text":"TemporaryFile(/tmp/multipartBody2374831486562644197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745093983166,"filename":"image_19042025_19_46_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352008326","file1":"1352008322","file0":"1352008316","file4":"1352008329","file5":"1352008330","file3":"1352008328"},"map_files_photo_id_array":[{"photo_id":"1352008330","filename":"file5"},{"photo_id":"1352008326","filename":"file2"},{"photo_id":"1352008329","filename":"file4"},{"photo_id":"1352008322","filename":"file1"},{"photo_id":"1352008316","filename":"file0"},{"photo_id":"1352008328","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352008322":["hashtag1","hashtag2"]},{"1352008316":["hashtag1","hashtag2"]},{"1352008328":["hashtag1","hashtag2"]},{"1352008330":["hashtag1","hashtag2"]},{"1352008326":["hashtag1","hashtag2"]},{"1352008329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352008322, 1352008316, 1352008328, 1352008330, 1352008326, 1352008329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.81049919128418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:19:32.890133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/47/image_19042025_19_47_26_9433.jpg', '/home/pi/Desktop/images/19042025/19/47/image_19042025_19_47_36_10402.jpg', '/home/pi/Desktop/images/19042025/19/47/image_19042025_19_47_46_10370.jpg', '/home/pi/Desktop/images/19042025/19/47/image_19042025_19_47_56_9518.jpg', '/home/pi/Desktop/images/19042025/19/47/image_19042025_19_48_06_10406.jpg', '/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_16_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/47/image_19042025_19_47_26_9433.jpg
/home/pi/Desktop/images/19042025/19/47/image_19042025_19_47_36_10402.jpg
/home/pi/Desktop/images/19042025/19/47/image_19042025_19_47_46_10370.jpg
/home/pi/Desktop/images/19042025/19/47/image_19042025_19_47_56_9518.jpg
/home/pi/Desktop/images/19042025/19/47/image_19042025_19_48_06_10406.jpg
/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_16_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":["1352008547","1352008510","1352008504","1352008560","1352008521","1352008512"],"photo_ids_order":["1352008504","1352008510","1352008512","1352008521","1352008547","1352008560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/37a7623c8ce893f8e0be54900a489d13.jpg","text":"TemporaryFile(/tmp/multipartBody5768441021013325916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094033367,"filename":"image_19042025_19_48_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b8c1bc140fe4db60dd27df050567d7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2372116879812908451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094033367,"filename":"image_19042025_19_47_36_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ca41108b3be59dba86a34f962e650b1.jpg","text":"TemporaryFile(/tmp/multipartBody5138216828203305057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094033367,"filename":"image_19042025_19_47_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/19/f74499cd595776673495a45b3ea31180.jpg","text":"TemporaryFile(/tmp/multipartBody357113215867174018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094033367,"filename":"image_19042025_19_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/19/5cc4c0b1508d14d5aa17a4789426e191.jpg","text":"TemporaryFile(/tmp/multipartBody8399000916515561260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094033367,"filename":"image_19042025_19_47_56_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2d3caf64c9c373539223ec720383d630.jpg","text":"TemporaryFile(/tmp/multipartBody2828094453646725021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094033367,"filename":"image_19042025_19_47_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352008512","file1":"1352008510","file0":"1352008504","file4":"1352008547","file5":"1352008560","file3":"1352008521"},"map_files_photo_id_array":[{"photo_id":"1352008560","filename":"file5"},{"photo_id":"1352008512","filename":"file2"},{"photo_id":"1352008547","filename":"file4"},{"photo_id":"1352008510","filename":"file1"},{"photo_id":"1352008504","filename":"file0"},{"photo_id":"1352008521","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352008547":["hashtag1","hashtag2"]},{"1352008510":["hashtag1","hashtag2"]},{"1352008504":["hashtag1","hashtag2"]},{"1352008560":["hashtag1","hashtag2"]},{"1352008521":["hashtag1","hashtag2"]},{"1352008512":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352008547, 1352008510, 1352008504, 1352008560, 1352008521, 1352008512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.40903329849243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:20:33.062439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_26_10453.jpg', '/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_36_10377.jpg', '/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_46_9483.jpg', '/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_56_10443.jpg', '/home/pi/Desktop/images/19042025/19/48/image_19042025_19_49_06_9382.jpg', '/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_16_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_26_10453.jpg
/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_36_10377.jpg
/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_46_9483.jpg
/home/pi/Desktop/images/19042025/19/48/image_19042025_19_48_56_10443.jpg
/home/pi/Desktop/images/19042025/19/48/image_19042025_19_49_06_9382.jpg
/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_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":["1352008658","1352008655","1352008640","1352008651","1352008647","1352008644"],"photo_ids_order":["1352008640","1352008644","1352008647","1352008651","1352008655","1352008658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0fa25aa328cd7ac3aa6a7a12ac531e81.jpg","text":"TemporaryFile(/tmp/multipartBody1086707702978595090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094093524,"filename":"image_19042025_19_49_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6527b1e3ac61380c69f5d773ca7679d.jpg","text":"TemporaryFile(/tmp/multipartBody8422710258369702146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094093524,"filename":"image_19042025_19_49_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/19/905bd41d5d940839e212d00b49116ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2774556988789429465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094093524,"filename":"image_19042025_19_48_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/19/dabd28f74885e537efa4b9729673f5cb.jpg","text":"TemporaryFile(/tmp/multipartBody5420120113039990758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094093524,"filename":"image_19042025_19_48_56_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/19/a47af76b71b7182a91f44b1021433031.jpg","text":"TemporaryFile(/tmp/multipartBody7897218984552492230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094093524,"filename":"image_19042025_19_48_46_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e52e7f558d2bdf62b50312da0e3f27fe.jpg","text":"TemporaryFile(/tmp/multipartBody2592906371654442990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094093524,"filename":"image_19042025_19_48_36_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352008647","file1":"1352008644","file0":"1352008640","file4":"1352008655","file5":"1352008658","file3":"1352008651"},"map_files_photo_id_array":[{"photo_id":"1352008658","filename":"file5"},{"photo_id":"1352008647","filename":"file2"},{"photo_id":"1352008655","filename":"file4"},{"photo_id":"1352008644","filename":"file1"},{"photo_id":"1352008640","filename":"file0"},{"photo_id":"1352008651","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352008658":["hashtag1","hashtag2"]},{"1352008655":["hashtag1","hashtag2"]},{"1352008640":["hashtag1","hashtag2"]},{"1352008651":["hashtag1","hashtag2"]},{"1352008647":["hashtag1","hashtag2"]},{"1352008644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352008658, 1352008655, 1352008640, 1352008651, 1352008647, 1352008644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.834464073181152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:21:32.389394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_26_10370.jpg', '/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_36_9421.jpg', '/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_46_10391.jpg', '/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_56_9347.jpg', '/home/pi/Desktop/images/19042025/19/49/image_19042025_19_50_06_10426.jpg', '/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_16_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_26_10370.jpg
/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_36_9421.jpg
/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_46_10391.jpg
/home/pi/Desktop/images/19042025/19/49/image_19042025_19_49_56_9347.jpg
/home/pi/Desktop/images/19042025/19/49/image_19042025_19_50_06_10426.jpg
/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_16_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":["1352009123","1352009062","1352008946","1352009002","1352008893","1352008839"],"photo_ids_order":["1352008839","1352008893","1352008946","1352009002","1352009062","1352009123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1017ebed02d52f3eb355ccc42f53513f.jpg","text":"TemporaryFile(/tmp/multipartBody6019152785768393976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094152867,"filename":"image_19042025_19_50_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/19/0ccbf5b6e02f7e87864ccebb82530351.jpg","text":"TemporaryFile(/tmp/multipartBody3928289347924824390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094152867,"filename":"image_19042025_19_50_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/19/d97e8adfd7a1fa3a4ae6a2e711bad57b.jpg","text":"TemporaryFile(/tmp/multipartBody8795928992605318558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094152867,"filename":"image_19042025_19_49_46_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c67405a667a7655512b1173fc9c93bf.jpg","text":"TemporaryFile(/tmp/multipartBody3932968744295125990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094152867,"filename":"image_19042025_19_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/19/21e351ea1eefe470b567aa410d4f437e.jpg","text":"TemporaryFile(/tmp/multipartBody7721235736071790156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094152867,"filename":"image_19042025_19_49_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/19/82feb0f8c196986b11a481e1612732d0.jpg","text":"TemporaryFile(/tmp/multipartBody5073335846208022789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094152867,"filename":"image_19042025_19_49_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352008946","file1":"1352008893","file0":"1352008839","file4":"1352009062","file5":"1352009123","file3":"1352009002"},"map_files_photo_id_array":[{"photo_id":"1352009123","filename":"file5"},{"photo_id":"1352008946","filename":"file2"},{"photo_id":"1352009062","filename":"file4"},{"photo_id":"1352008893","filename":"file1"},{"photo_id":"1352008839","filename":"file0"},{"photo_id":"1352009002","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352009123":["hashtag1","hashtag2"]},{"1352009062":["hashtag1","hashtag2"]},{"1352008946":["hashtag1","hashtag2"]},{"1352009002":["hashtag1","hashtag2"]},{"1352008893":["hashtag1","hashtag2"]},{"1352008839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352009123, 1352009062, 1352008946, 1352009002, 1352008893, 1352008839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.782853841781616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:22:32.561697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_26_9493.jpg', '/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_36_10400.jpg', '/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_46_9363.jpg', '/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_56_10401.jpg', '/home/pi/Desktop/images/19042025/19/50/image_19042025_19_51_07_10431.jpg', '/home/pi/Desktop/images/19042025/19/51/image_19042025_19_51_16_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_26_9493.jpg
/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_36_10400.jpg
/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_46_9363.jpg
/home/pi/Desktop/images/19042025/19/50/image_19042025_19_50_56_10401.jpg
/home/pi/Desktop/images/19042025/19/50/image_19042025_19_51_07_10431.jpg
/home/pi/Desktop/images/19042025/19/51/image_19042025_19_51_16_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":["1352009776","1352009923","1352009856","1352009978","1352009703","1352010030"],"photo_ids_order":["1352009703","1352009776","1352009856","1352009923","1352009978","1352010030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39781eee730d45fb6737e3228bbac332.jpg","text":"TemporaryFile(/tmp/multipartBody4052011994885141251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094213082,"filename":"image_19042025_19_50_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/19/d26b4d3954be06c6e20b6a7de366bd03.jpg","text":"TemporaryFile(/tmp/multipartBody8800615594675381523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094213082,"filename":"image_19042025_19_50_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/19/5c02e62e4b01400ce569207304c20b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1275592799234710344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094213082,"filename":"image_19042025_19_50_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/19/7ebd4b343336785be0814fd387f6ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody9175159210339559845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094213082,"filename":"image_19042025_19_51_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/19/0c7bbf3bf7145550fae96fa6f792a5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1994451146541349382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094213082,"filename":"image_19042025_19_50_26_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5f4cf1afc71932bd7ece5e163a1d10a1.jpg","text":"TemporaryFile(/tmp/multipartBody5456592105755312270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094213082,"filename":"image_19042025_19_51_16_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352009856","file1":"1352009776","file0":"1352009703","file4":"1352009978","file5":"1352010030","file3":"1352009923"},"map_files_photo_id_array":[{"photo_id":"1352010030","filename":"file5"},{"photo_id":"1352009856","filename":"file2"},{"photo_id":"1352009978","filename":"file4"},{"photo_id":"1352009776","filename":"file1"},{"photo_id":"1352009703","filename":"file0"},{"photo_id":"1352009923","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352009776":["hashtag1","hashtag2"]},{"1352009923":["hashtag1","hashtag2"]},{"1352009856":["hashtag1","hashtag2"]},{"1352009978":["hashtag1","hashtag2"]},{"1352009703":["hashtag1","hashtag2"]},{"1352010030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352009776, 1352009923, 1352009856, 1352009978, 1352009703, 1352010030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.927472829818726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:23:32.799005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/51/image_19042025_19_51_26_10375.jpg', '/home/pi/Desktop/images/19042025/19/51/image_19042025_19_51_36_9372.jpg', '/home/pi/Desktop/images/19042025/19/51/image_19042025_19_51_56_9367.jpg', '/home/pi/Desktop/images/19042025/19/51/image_19042025_19_52_06_10416.jpg', '/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_16_10440.jpg', '/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_26_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/51/image_19042025_19_51_26_10375.jpg
/home/pi/Desktop/images/19042025/19/51/image_19042025_19_51_36_9372.jpg
/home/pi/Desktop/images/19042025/19/51/image_19042025_19_51_56_9367.jpg
/home/pi/Desktop/images/19042025/19/51/image_19042025_19_52_06_10416.jpg
/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_16_10440.jpg
/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_26_9535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352010870","1352010687","1352010840","1352010750","1352010810","1352010896"],"photo_ids_order":["1352010687","1352010750","1352010810","1352010840","1352010870","1352010896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9ea67ac52330356f5b1fb09c73fd5b06.jpg","text":"TemporaryFile(/tmp/multipartBody6700731968321248567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094273261,"filename":"image_19042025_19_52_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/19/2a16f2be01db526947057b912b5074f2.jpg","text":"TemporaryFile(/tmp/multipartBody852975199781288253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094273261,"filename":"image_19042025_19_51_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/19/34c9ee2c0149a6ab872c8d8512044fd4.jpg","text":"TemporaryFile(/tmp/multipartBody7776817445071638735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094273261,"filename":"image_19042025_19_52_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/19/ef505ddc8a46617865ed076e9052212a.jpg","text":"TemporaryFile(/tmp/multipartBody7752809402867323648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094273261,"filename":"image_19042025_19_51_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/19/7ee74a9822cac096d494afc86d43ef3c.jpg","text":"TemporaryFile(/tmp/multipartBody2345358164514872929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094273261,"filename":"image_19042025_19_51_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/19/4e761967478ccb95059fd5a2c22f9466.jpg","text":"TemporaryFile(/tmp/multipartBody6845645867262546530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094273261,"filename":"image_19042025_19_52_26_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352010810","file1":"1352010750","file0":"1352010687","file4":"1352010870","file5":"1352010896","file3":"1352010840"},"map_files_photo_id_array":[{"photo_id":"1352010896","filename":"file5"},{"photo_id":"1352010810","filename":"file2"},{"photo_id":"1352010870","filename":"file4"},{"photo_id":"1352010750","filename":"file1"},{"photo_id":"1352010687","filename":"file0"},{"photo_id":"1352010840","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352010870":["hashtag1","hashtag2"]},{"1352010687":["hashtag1","hashtag2"]},{"1352010840":["hashtag1","hashtag2"]},{"1352010750":["hashtag1","hashtag2"]},{"1352010810":["hashtag1","hashtag2"]},{"1352010896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352010870, 1352010687, 1352010840, 1352010750, 1352010810, 1352010896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.232770442962646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:24:33.096536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_36_10430.jpg', '/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_46_9369.jpg', '/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_56_10416.jpg', '/home/pi/Desktop/images/19042025/19/52/image_19042025_19_53_06_9406.jpg', '/home/pi/Desktop/images/19042025/19/53/image_19042025_19_53_16_10418.jpg', '/home/pi/Desktop/images/19042025/19/53/image_19042025_19_53_26_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_36_10430.jpg
/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_46_9369.jpg
/home/pi/Desktop/images/19042025/19/52/image_19042025_19_52_56_10416.jpg
/home/pi/Desktop/images/19042025/19/52/image_19042025_19_53_06_9406.jpg
/home/pi/Desktop/images/19042025/19/53/image_19042025_19_53_16_10418.jpg
/home/pi/Desktop/images/19042025/19/53/image_19042025_19_53_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":["1352011240","1352011243","1352011237","1352011245","1352011236","1352011241"],"photo_ids_order":["1352011236","1352011237","1352011240","1352011241","1352011243","1352011245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b34d9d3949632553423134a826fe5e29.jpg","text":"TemporaryFile(/tmp/multipartBody4145929940114158180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094333577,"filename":"image_19042025_19_52_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/19/1ef2ea654dbdf2da0c2f729055d8a28d.jpg","text":"TemporaryFile(/tmp/multipartBody8140278514378857796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094333577,"filename":"image_19042025_19_53_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/19/dfee7c1252afb246165d653e1083b10e.jpg","text":"TemporaryFile(/tmp/multipartBody6252692143792437508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094333577,"filename":"image_19042025_19_52_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/19/104c87c533778e34eccda30036d9d2e6.jpg","text":"TemporaryFile(/tmp/multipartBody4387208938068308732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094333577,"filename":"image_19042025_19_53_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/19/f626fcc2820a8e84c5645ab4d8f03bd1.jpg","text":"TemporaryFile(/tmp/multipartBody4943259313978449888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094333577,"filename":"image_19042025_19_52_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/19/332ddf76b67aa2c4d7a9ca8bd4b982c7.jpg","text":"TemporaryFile(/tmp/multipartBody1734601094836989444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094333577,"filename":"image_19042025_19_53_06_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352011240","file1":"1352011237","file0":"1352011236","file4":"1352011243","file5":"1352011245","file3":"1352011241"},"map_files_photo_id_array":[{"photo_id":"1352011245","filename":"file5"},{"photo_id":"1352011240","filename":"file2"},{"photo_id":"1352011243","filename":"file4"},{"photo_id":"1352011237","filename":"file1"},{"photo_id":"1352011236","filename":"file0"},{"photo_id":"1352011241","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352011240":["hashtag1","hashtag2"]},{"1352011243":["hashtag1","hashtag2"]},{"1352011237":["hashtag1","hashtag2"]},{"1352011245":["hashtag1","hashtag2"]},{"1352011236":["hashtag1","hashtag2"]},{"1352011241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352011240, 1352011243, 1352011237, 1352011245, 1352011236, 1352011241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48375582695007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:25:33.179037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/53/image_19042025_19_53_36_9377.jpg', '/home/pi/Desktop/images/19042025/19/53/image_19042025_19_53_56_9407.jpg', '/home/pi/Desktop/images/19042025/19/53/image_19042025_19_54_06_10396.jpg', '/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_16_10352.jpg', '/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_26_9381.jpg', '/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_36_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/53/image_19042025_19_53_36_9377.jpg
/home/pi/Desktop/images/19042025/19/53/image_19042025_19_53_56_9407.jpg
/home/pi/Desktop/images/19042025/19/53/image_19042025_19_54_06_10396.jpg
/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_16_10352.jpg
/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_26_9381.jpg
/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_36_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352011660","1352011561","1352011806","1352011781","1352011742","1352011613"],"photo_ids_order":["1352011561","1352011613","1352011660","1352011742","1352011781","1352011806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9d14d4280f299f76851ece2618ad2efb.jpg","text":"TemporaryFile(/tmp/multipartBody3276923534868861949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094393668,"filename":"image_19042025_19_54_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/884f334a200c9d9fb8e256c820c47dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7497030898685796226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094393668,"filename":"image_19042025_19_53_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/19/268a84eee9001ab96c66206659a2ca44.jpg","text":"TemporaryFile(/tmp/multipartBody8347419715480802320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094393668,"filename":"image_19042025_19_54_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/19/16f21ccb5783d64e582c3c864a458bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8451657643629983078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094393668,"filename":"image_19042025_19_54_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/19/63db319ea0bcd8e95919d92f92b34a81.jpg","text":"TemporaryFile(/tmp/multipartBody4797294677269143117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094393668,"filename":"image_19042025_19_54_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/19/188bb80eb6772692a2fa76e3e8498079.jpg","text":"TemporaryFile(/tmp/multipartBody5537408824107687015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094393668,"filename":"image_19042025_19_53_56_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352011660","file1":"1352011613","file0":"1352011561","file4":"1352011781","file5":"1352011806","file3":"1352011742"},"map_files_photo_id_array":[{"photo_id":"1352011806","filename":"file5"},{"photo_id":"1352011660","filename":"file2"},{"photo_id":"1352011781","filename":"file4"},{"photo_id":"1352011613","filename":"file1"},{"photo_id":"1352011561","filename":"file0"},{"photo_id":"1352011742","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352011660":["hashtag1","hashtag2"]},{"1352011561":["hashtag1","hashtag2"]},{"1352011806":["hashtag1","hashtag2"]},{"1352011781":["hashtag1","hashtag2"]},{"1352011742":["hashtag1","hashtag2"]},{"1352011613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352011660, 1352011561, 1352011806, 1352011781, 1352011742, 1352011613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0408296585083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:26:32.358364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_46_10249.jpg', '/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_56_9452.jpg', '/home/pi/Desktop/images/19042025/19/55/image_19042025_19_55_26_10484.jpg', '/home/pi/Desktop/images/19042025/19/55/image_19042025_19_55_36_10362.jpg', '/home/pi/Desktop/images/19042025/19/55/image_19042025_19_55_46_9428.jpg', '/home/pi/Desktop/images/19042025/19/55/image_19042025_19_56_06_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_46_10249.jpg
/home/pi/Desktop/images/19042025/19/54/image_19042025_19_54_56_9452.jpg
/home/pi/Desktop/images/19042025/19/55/image_19042025_19_55_26_10484.jpg
/home/pi/Desktop/images/19042025/19/55/image_19042025_19_55_36_10362.jpg
/home/pi/Desktop/images/19042025/19/55/image_19042025_19_55_46_9428.jpg
/home/pi/Desktop/images/19042025/19/55/image_19042025_19_56_06_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":["1352012146","1352012080","1352012112","1352012084","1352012138","1352012176"],"photo_ids_order":["1352012080","1352012084","1352012112","1352012138","1352012146","1352012176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/780ff7504e15ec96bc5ddb1cbcd84ed0.jpg","text":"TemporaryFile(/tmp/multipartBody981607230430646476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094452834,"filename":"image_19042025_19_55_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/19/b992189fb52a3450ef96d372d1f83a71.jpg","text":"TemporaryFile(/tmp/multipartBody4971541219832582241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094452834,"filename":"image_19042025_19_54_46_10249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7cefe610eb3d5109d9dcb8361c3ec45d.jpg","text":"TemporaryFile(/tmp/multipartBody7949289484202274626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094452834,"filename":"image_19042025_19_55_26_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d50f14dcc58fd56849965dcfa819801f.jpg","text":"TemporaryFile(/tmp/multipartBody1616023065285898201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094452834,"filename":"image_19042025_19_54_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/19/290fe8999da90b9d5e53e56c1636b413.jpg","text":"TemporaryFile(/tmp/multipartBody7538005299402297812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094452834,"filename":"image_19042025_19_55_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/19/fd135603aabd71d0c98e9660a9c768b2.jpg","text":"TemporaryFile(/tmp/multipartBody7797583211929940222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094452834,"filename":"image_19042025_19_56_06_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352012112","file1":"1352012084","file0":"1352012080","file4":"1352012146","file5":"1352012176","file3":"1352012138"},"map_files_photo_id_array":[{"photo_id":"1352012176","filename":"file5"},{"photo_id":"1352012112","filename":"file2"},{"photo_id":"1352012146","filename":"file4"},{"photo_id":"1352012084","filename":"file1"},{"photo_id":"1352012080","filename":"file0"},{"photo_id":"1352012138","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352012146":["hashtag1","hashtag2"]},{"1352012080":["hashtag1","hashtag2"]},{"1352012112":["hashtag1","hashtag2"]},{"1352012084":["hashtag1","hashtag2"]},{"1352012138":["hashtag1","hashtag2"]},{"1352012176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352012146, 1352012080, 1352012112, 1352012084, 1352012138, 1352012176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.707579374313354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:27:32.577352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/56/image_19042025_19_56_16_10434.jpg', '/home/pi/Desktop/images/19042025/19/56/image_19042025_19_56_36_10400.jpg', '/home/pi/Desktop/images/19042025/19/56/image_19042025_19_56_46_10364.jpg', '/home/pi/Desktop/images/19042025/19/56/image_19042025_19_57_06_10371.jpg', '/home/pi/Desktop/images/19042025/19/57/image_19042025_19_57_16_10354.jpg', '/home/pi/Desktop/images/19042025/19/57/image_19042025_19_57_26_9497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/56/image_19042025_19_56_16_10434.jpg
/home/pi/Desktop/images/19042025/19/56/image_19042025_19_56_36_10400.jpg
/home/pi/Desktop/images/19042025/19/56/image_19042025_19_56_46_10364.jpg
/home/pi/Desktop/images/19042025/19/56/image_19042025_19_57_06_10371.jpg
/home/pi/Desktop/images/19042025/19/57/image_19042025_19_57_16_10354.jpg
/home/pi/Desktop/images/19042025/19/57/image_19042025_19_57_26_9497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352012784","1352012754","1352012727","1352012613","1352012672","1352012816"],"photo_ids_order":["1352012613","1352012672","1352012727","1352012754","1352012784","1352012816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f99cbb6b2debeed3d06ac92bfd3cbac0.jpg","text":"TemporaryFile(/tmp/multipartBody1083153347070745416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094513047,"filename":"image_19042025_19_57_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/19/e7124fae2d8607cfb679ab44263a9670.jpg","text":"TemporaryFile(/tmp/multipartBody3088294537625037837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094513047,"filename":"image_19042025_19_57_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/19/aa1a6f9ff9a183f641ee84621d941c31.jpg","text":"TemporaryFile(/tmp/multipartBody422507771239398353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094513047,"filename":"image_19042025_19_56_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/19/4fd8c2888035688aae7b5eaede974a58.jpg","text":"TemporaryFile(/tmp/multipartBody1381442699396209346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094513047,"filename":"image_19042025_19_56_16_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2cb182b1085fdf7e48021fb17a3dd04c.jpg","text":"TemporaryFile(/tmp/multipartBody542326801109895042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094513047,"filename":"image_19042025_19_56_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/19/ca541f1af82f05dc8ad834dd08a4cce4.jpg","text":"TemporaryFile(/tmp/multipartBody5152702263276362900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094513047,"filename":"image_19042025_19_57_26_9497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352012727","file1":"1352012672","file0":"1352012613","file4":"1352012784","file5":"1352012816","file3":"1352012754"},"map_files_photo_id_array":[{"photo_id":"1352012816","filename":"file5"},{"photo_id":"1352012727","filename":"file2"},{"photo_id":"1352012784","filename":"file4"},{"photo_id":"1352012672","filename":"file1"},{"photo_id":"1352012613","filename":"file0"},{"photo_id":"1352012754","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352012784":["hashtag1","hashtag2"]},{"1352012754":["hashtag1","hashtag2"]},{"1352012727":["hashtag1","hashtag2"]},{"1352012613":["hashtag1","hashtag2"]},{"1352012672":["hashtag1","hashtag2"]},{"1352012816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352012784, 1352012754, 1352012727, 1352012613, 1352012672, 1352012816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79713487625122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:28:32.779604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/57/image_19042025_19_57_46_9377.jpg', '/home/pi/Desktop/images/19042025/19/57/image_19042025_19_57_56_10478.jpg', '/home/pi/Desktop/images/19042025/19/57/image_19042025_19_58_06_9359.jpg', '/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_16_10344.jpg', '/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_26_10472.jpg', '/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_36_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/57/image_19042025_19_57_46_9377.jpg
/home/pi/Desktop/images/19042025/19/57/image_19042025_19_57_56_10478.jpg
/home/pi/Desktop/images/19042025/19/57/image_19042025_19_58_06_9359.jpg
/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_16_10344.jpg
/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_26_10472.jpg
/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_36_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352013736","1352013723","1352013924","1352013695","1352013889","1352013667"],"photo_ids_order":["1352013667","1352013695","1352013723","1352013736","1352013889","1352013924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/56842336e0a2c219b6b29f86d766004e.jpg","text":"TemporaryFile(/tmp/multipartBody5953123314044215364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094573264,"filename":"image_19042025_19_58_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/db20d7afac2772b66853c2c2802c5074.jpg","text":"TemporaryFile(/tmp/multipartBody7929062652223686672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094573264,"filename":"image_19042025_19_58_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/19/a7f8bde1280e720d96666bcfa165eb46.jpg","text":"TemporaryFile(/tmp/multipartBody8822484212501646784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094573264,"filename":"image_19042025_19_58_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/19/4cfa5825d18a53eb7076acb5f41b3958.jpg","text":"TemporaryFile(/tmp/multipartBody2440317537219076250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094573264,"filename":"image_19042025_19_57_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/19/c328df8475eae5e18a415953727e8d06.jpg","text":"TemporaryFile(/tmp/multipartBody2527234200608637706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094573264,"filename":"image_19042025_19_58_26_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef45190aa7c6c3499f1fd30ebca95959.jpg","text":"TemporaryFile(/tmp/multipartBody1695698388652544125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094573264,"filename":"image_19042025_19_57_46_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352013723","file1":"1352013695","file0":"1352013667","file4":"1352013889","file5":"1352013924","file3":"1352013736"},"map_files_photo_id_array":[{"photo_id":"1352013924","filename":"file5"},{"photo_id":"1352013723","filename":"file2"},{"photo_id":"1352013889","filename":"file4"},{"photo_id":"1352013695","filename":"file1"},{"photo_id":"1352013667","filename":"file0"},{"photo_id":"1352013736","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352013736":["hashtag1","hashtag2"]},{"1352013723":["hashtag1","hashtag2"]},{"1352013924":["hashtag1","hashtag2"]},{"1352013695":["hashtag1","hashtag2"]},{"1352013889":["hashtag1","hashtag2"]},{"1352013667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352013736, 1352013723, 1352013924, 1352013695, 1352013889, 1352013667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.377886056900024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:29:33.094605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_46_10418.jpg', '/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_56_9382.jpg', '/home/pi/Desktop/images/19042025/19/58/image_19042025_19_59_06_10354.jpg', '/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_16_10351.jpg', '/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_26_9365.jpg', '/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_36_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_46_10418.jpg
/home/pi/Desktop/images/19042025/19/58/image_19042025_19_58_56_9382.jpg
/home/pi/Desktop/images/19042025/19/58/image_19042025_19_59_06_10354.jpg
/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_16_10351.jpg
/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_26_9365.jpg
/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_36_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":["1352014065","1352014059","1352014050","1352014047","1352014056","1352014054"],"photo_ids_order":["1352014047","1352014050","1352014054","1352014056","1352014059","1352014065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39c00c80f09b24c1d975163058f4dd0a.jpg","text":"TemporaryFile(/tmp/multipartBody7078233856858540465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094633575,"filename":"image_19042025_19_59_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/19/8d1471befad9a78d53da49b9f4902553.jpg","text":"TemporaryFile(/tmp/multipartBody295889750930148666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094633575,"filename":"image_19042025_19_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/19/e162ec35e698c68595356eccc51f9da2.jpg","text":"TemporaryFile(/tmp/multipartBody4900876910833052548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094633575,"filename":"image_19042025_19_58_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/19/a9e6aba0faad16b4b64d0d2449651320.jpg","text":"TemporaryFile(/tmp/multipartBody1620928467628216923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094633575,"filename":"image_19042025_19_58_46_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/edd0e51a7b426b3736b30d19ad4bdf04.jpg","text":"TemporaryFile(/tmp/multipartBody7933366778234064856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094633575,"filename":"image_19042025_19_59_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a49b4d10df6dc17199fb0710c7b52a42.jpg","text":"TemporaryFile(/tmp/multipartBody656375891799952849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094633575,"filename":"image_19042025_19_59_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014054","file1":"1352014050","file0":"1352014047","file4":"1352014059","file5":"1352014065","file3":"1352014056"},"map_files_photo_id_array":[{"photo_id":"1352014065","filename":"file5"},{"photo_id":"1352014054","filename":"file2"},{"photo_id":"1352014059","filename":"file4"},{"photo_id":"1352014050","filename":"file1"},{"photo_id":"1352014047","filename":"file0"},{"photo_id":"1352014056","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352014065":["hashtag1","hashtag2"]},{"1352014059":["hashtag1","hashtag2"]},{"1352014050":["hashtag1","hashtag2"]},{"1352014047":["hashtag1","hashtag2"]},{"1352014056":["hashtag1","hashtag2"]},{"1352014054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352014065, 1352014059, 1352014050, 1352014047, 1352014056, 1352014054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.13004493713379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:30:32.264588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_46_10434.jpg', '/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_56_9497.jpg', '/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_15_10079.jpg', '/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_25_10501.jpg', '/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_36_10362.jpg', '/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_45_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_46_10434.jpg
/home/pi/Desktop/images/19042025/19/59/image_19042025_19_59_56_9497.jpg
/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_15_10079.jpg
/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_25_10501.jpg
/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_36_10362.jpg
/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_45_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352014092","1352014086","1352014088","1352014082","1352014090","1352014084"],"photo_ids_order":["1352014082","1352014084","1352014086","1352014088","1352014090","1352014092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/57484faebcc128bfee2f5278b00925f4.jpg","text":"TemporaryFile(/tmp/multipartBody4078201240851963806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094692747,"filename":"image_19042025_20_01_45_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0e2e1f9d9971493c57e332286dc4bbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2304944942035371125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094692747,"filename":"image_19042025_20_01_15_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8daea5715df24745d40e4f58b60f3bec.jpg","text":"TemporaryFile(/tmp/multipartBody8016937069681439922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094692747,"filename":"image_19042025_20_01_25_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/19/cb300595b0257cd06cfa30944e0a0e89.jpg","text":"TemporaryFile(/tmp/multipartBody1480378394450662929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094692747,"filename":"image_19042025_19_59_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/19/531b50282ec50689136aba4d3032abc7.jpg","text":"TemporaryFile(/tmp/multipartBody7473183583839620826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094692747,"filename":"image_19042025_20_01_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/19/763cfc4fd7cc4446f68fd456d07f1328.jpg","text":"TemporaryFile(/tmp/multipartBody4517818084086809507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094692747,"filename":"image_19042025_19_59_56_9497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014086","file1":"1352014084","file0":"1352014082","file4":"1352014090","file5":"1352014092","file3":"1352014088"},"map_files_photo_id_array":[{"photo_id":"1352014092","filename":"file5"},{"photo_id":"1352014086","filename":"file2"},{"photo_id":"1352014090","filename":"file4"},{"photo_id":"1352014084","filename":"file1"},{"photo_id":"1352014082","filename":"file0"},{"photo_id":"1352014088","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352014092":["hashtag1","hashtag2"]},{"1352014086":["hashtag1","hashtag2"]},{"1352014088":["hashtag1","hashtag2"]},{"1352014082":["hashtag1","hashtag2"]},{"1352014090":["hashtag1","hashtag2"]},{"1352014084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352014092, 1352014086, 1352014088, 1352014082, 1352014090, 1352014084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.67408299446106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:31:32.486841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_55_10369.jpg', '/home/pi/Desktop/images/19042025/20/01/image_19042025_20_02_05_9405.jpg', '/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_15_10351.jpg', '/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_25_10391.jpg', '/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_35_9438.jpg', '/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_45_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/01/image_19042025_20_01_55_10369.jpg
/home/pi/Desktop/images/19042025/20/01/image_19042025_20_02_05_9405.jpg
/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_15_10351.jpg
/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_25_10391.jpg
/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_35_9438.jpg
/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_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":["1352014104","1352014118","1352014115","1352014100","1352014111","1352014108"],"photo_ids_order":["1352014100","1352014104","1352014108","1352014111","1352014115","1352014118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/62f2d7f73c1710044d0f27e3d419bbfc.jpg","text":"TemporaryFile(/tmp/multipartBody85742093334767912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094752963,"filename":"image_19042025_20_02_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/32cdbc32820fb323a67d1abeaa9dc328.jpg","text":"TemporaryFile(/tmp/multipartBody5342209151112066209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094752963,"filename":"image_19042025_20_02_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/19/2b0496266b52af24eed0edb2de08ffa0.jpg","text":"TemporaryFile(/tmp/multipartBody3544734745294964162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094752963,"filename":"image_19042025_20_02_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae3cdcfef484b46930979d978e1d3a4a.jpg","text":"TemporaryFile(/tmp/multipartBody1220891413107977940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094752963,"filename":"image_19042025_20_01_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d3e4a843930533f00c48fb33ffccd541.jpg","text":"TemporaryFile(/tmp/multipartBody2919146962511548833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094752963,"filename":"image_19042025_20_02_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f3c95afb6b1b0cc586cec52696be93dd.jpg","text":"TemporaryFile(/tmp/multipartBody3679873955611106505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094752963,"filename":"image_19042025_20_02_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014108","file1":"1352014104","file0":"1352014100","file4":"1352014115","file5":"1352014118","file3":"1352014111"},"map_files_photo_id_array":[{"photo_id":"1352014118","filename":"file5"},{"photo_id":"1352014108","filename":"file2"},{"photo_id":"1352014115","filename":"file4"},{"photo_id":"1352014104","filename":"file1"},{"photo_id":"1352014100","filename":"file0"},{"photo_id":"1352014111","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352014104":["hashtag1","hashtag2"]},{"1352014118":["hashtag1","hashtag2"]},{"1352014115":["hashtag1","hashtag2"]},{"1352014100":["hashtag1","hashtag2"]},{"1352014111":["hashtag1","hashtag2"]},{"1352014108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352014104, 1352014118, 1352014115, 1352014100, 1352014111, 1352014108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.83573865890503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:32:32.707929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_55_9399.jpg', '/home/pi/Desktop/images/19042025/20/02/image_19042025_20_03_05_10430.jpg', '/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_15_10369.jpg', '/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_25_9456.jpg', '/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_35_10362.jpg', '/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_45_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/02/image_19042025_20_02_55_9399.jpg
/home/pi/Desktop/images/19042025/20/02/image_19042025_20_03_05_10430.jpg
/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_15_10369.jpg
/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_25_9456.jpg
/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_35_10362.jpg
/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_45_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352014140","1352014128","1352014137","1352014142","1352014133","1352014144"],"photo_ids_order":["1352014128","1352014133","1352014137","1352014140","1352014142","1352014144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/10a27ba50c01758a20f7af1058870edc.jpg","text":"TemporaryFile(/tmp/multipartBody1629309212015978563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094813208,"filename":"image_19042025_20_03_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2d1f8c4a7db0d31bdf769ba167f579ab.jpg","text":"TemporaryFile(/tmp/multipartBody7001051900180448032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094813208,"filename":"image_19042025_20_02_55_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a508e74542ac22137054d388ba4286ea.jpg","text":"TemporaryFile(/tmp/multipartBody5069714039249294580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094813208,"filename":"image_19042025_20_03_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/19/e49e15ad081d0325171a0535a43fd7eb.jpg","text":"TemporaryFile(/tmp/multipartBody7009455510630586532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094813208,"filename":"image_19042025_20_03_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/19/52faa1011024b113d0140c1e23912816.jpg","text":"TemporaryFile(/tmp/multipartBody523632486836015977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094813208,"filename":"image_19042025_20_03_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/19/f99542ff6d44ebef6f5c5aae898f6443.jpg","text":"TemporaryFile(/tmp/multipartBody3093838597607287908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094813208,"filename":"image_19042025_20_03_45_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014137","file1":"1352014133","file0":"1352014128","file4":"1352014142","file5":"1352014144","file3":"1352014140"},"map_files_photo_id_array":[{"photo_id":"1352014144","filename":"file5"},{"photo_id":"1352014137","filename":"file2"},{"photo_id":"1352014142","filename":"file4"},{"photo_id":"1352014133","filename":"file1"},{"photo_id":"1352014128","filename":"file0"},{"photo_id":"1352014140","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352014140":["hashtag1","hashtag2"]},{"1352014128":["hashtag1","hashtag2"]},{"1352014137":["hashtag1","hashtag2"]},{"1352014142":["hashtag1","hashtag2"]},{"1352014133":["hashtag1","hashtag2"]},{"1352014144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352014140, 1352014128, 1352014137, 1352014142, 1352014133, 1352014144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59217023849487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:33:33.119996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_55_10443.jpg', '/home/pi/Desktop/images/19042025/20/03/image_19042025_20_04_05_10390.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_15_9502.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_25_10428.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_35_9364.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_45_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_55_10443.jpg
/home/pi/Desktop/images/19042025/20/03/image_19042025_20_04_05_10390.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_15_9502.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_25_10428.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_35_9364.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_45_10448.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3974943161010742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 22:33:43.057392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_55_10443.jpg', '/home/pi/Desktop/images/19042025/20/03/image_19042025_20_04_05_10390.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_15_9502.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_25_10428.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_35_9364.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_45_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/03/image_19042025_20_03_55_10443.jpg
/home/pi/Desktop/images/19042025/20/03/image_19042025_20_04_05_10390.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_15_9502.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_25_10428.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_35_9364.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_45_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352014170","1352014178","1352014177","1352014165","1352014174","1352014176"],"photo_ids_order":["1352014165","1352014170","1352014174","1352014176","1352014177","1352014178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4fccd77ebb93405dbf939bd87d07aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8012326660874795132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094883529,"filename":"image_19042025_20_04_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/77baf00d0e1bfb21f4abc18408cf73f6.jpg","text":"TemporaryFile(/tmp/multipartBody6154664171780410133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094883529,"filename":"image_19042025_20_04_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/19/84d0865262e6090a155d57b557e90af5.jpg","text":"TemporaryFile(/tmp/multipartBody725716559693983603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094883529,"filename":"image_19042025_20_04_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/19/71e776cf79d2472533fff303fa9fb6fd.jpg","text":"TemporaryFile(/tmp/multipartBody7778401897487018067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094883529,"filename":"image_19042025_20_03_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/19/815c54087840f929db392260e918f8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4340175002510718446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094883529,"filename":"image_19042025_20_04_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/19/eb14c1839400ea8040c3aba2131dd3e7.jpg","text":"TemporaryFile(/tmp/multipartBody5315519139959611174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094883529,"filename":"image_19042025_20_04_25_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014174","file1":"1352014170","file0":"1352014165","file4":"1352014177","file5":"1352014178","file3":"1352014176"},"map_files_photo_id_array":[{"photo_id":"1352014178","filename":"file5"},{"photo_id":"1352014174","filename":"file2"},{"photo_id":"1352014177","filename":"file4"},{"photo_id":"1352014170","filename":"file1"},{"photo_id":"1352014165","filename":"file0"},{"photo_id":"1352014176","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352014170":["hashtag1","hashtag2"]},{"1352014178":["hashtag1","hashtag2"]},{"1352014177":["hashtag1","hashtag2"]},{"1352014165":["hashtag1","hashtag2"]},{"1352014174":["hashtag1","hashtag2"]},{"1352014176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352014170, 1352014178, 1352014177, 1352014165, 1352014174, 1352014176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.728909254074097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:34:32.304139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_55_9413.jpg', '/home/pi/Desktop/images/19042025/20/04/image_19042025_20_05_05_10410.jpg', '/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_15_10364.jpg', '/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_25_9502.jpg', '/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_35_10365.jpg', '/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_45_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_04_55_9413.jpg
/home/pi/Desktop/images/19042025/20/04/image_19042025_20_05_05_10410.jpg
/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_15_10364.jpg
/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_25_9502.jpg
/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_35_10365.jpg
/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_45_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":["1352014185","1352014199","1352014196","1352014202","1352014192","1352014188"],"photo_ids_order":["1352014185","1352014188","1352014192","1352014196","1352014199","1352014202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ab5308fa081585fb592c62084e713e1.jpg","text":"TemporaryFile(/tmp/multipartBody7541456371890218786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094932773,"filename":"image_19042025_20_04_55_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e736e6d3ba9554cb5714753292a5f552.jpg","text":"TemporaryFile(/tmp/multipartBody7638304914624509986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094932773,"filename":"image_19042025_20_05_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/19/8ffff0ffc662ff0d6d374c21d19241b0.jpg","text":"TemporaryFile(/tmp/multipartBody5466604432279701109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094932773,"filename":"image_19042025_20_05_25_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/19/31ae41d2605ada48e78221ecc26495ef.jpg","text":"TemporaryFile(/tmp/multipartBody7503746260809130852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094932773,"filename":"image_19042025_20_05_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/19/6efc21df78a545877e30979e8feb6b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7682547309342421321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094932773,"filename":"image_19042025_20_05_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ebb6fb6ec948c0adc66167cedbc1a81d.jpg","text":"TemporaryFile(/tmp/multipartBody3035480987628765284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094932773,"filename":"image_19042025_20_05_05_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014192","file1":"1352014188","file0":"1352014185","file4":"1352014199","file5":"1352014202","file3":"1352014196"},"map_files_photo_id_array":[{"photo_id":"1352014202","filename":"file5"},{"photo_id":"1352014192","filename":"file2"},{"photo_id":"1352014199","filename":"file4"},{"photo_id":"1352014188","filename":"file1"},{"photo_id":"1352014185","filename":"file0"},{"photo_id":"1352014196","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352014185":["hashtag1","hashtag2"]},{"1352014199":["hashtag1","hashtag2"]},{"1352014196":["hashtag1","hashtag2"]},{"1352014202":["hashtag1","hashtag2"]},{"1352014192":["hashtag1","hashtag2"]},{"1352014188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352014185, 1352014199, 1352014196, 1352014202, 1352014192, 1352014188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.378813982009888 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:35:32.466320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_55_10443.jpg', '/home/pi/Desktop/images/19042025/20/05/image_19042025_20_06_05_10383.jpg', '/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_15_9397.jpg', '/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_25_10453.jpg', '/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_35_9358.jpg', '/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_45_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/05/image_19042025_20_05_55_10443.jpg
/home/pi/Desktop/images/19042025/20/05/image_19042025_20_06_05_10383.jpg
/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_15_9397.jpg
/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_25_10453.jpg
/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_35_9358.jpg
/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_45_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":["1352014449","1352014475","1352014619","1352014594","1352014570","1352014501"],"photo_ids_order":["1352014449","1352014475","1352014501","1352014570","1352014594","1352014619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/51761b7b84cadc5e4edd906b9a30b1ab.jpg","text":"TemporaryFile(/tmp/multipartBody6186428958893506981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094992935,"filename":"image_19042025_20_05_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/19/f982da6b9bf2f79909db03daa65093d0.jpg","text":"TemporaryFile(/tmp/multipartBody5959147629346382545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094992935,"filename":"image_19042025_20_06_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9b721e0df0bf7304ab39a159d5fac48.jpg","text":"TemporaryFile(/tmp/multipartBody7110419971008220939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094992935,"filename":"image_19042025_20_06_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/99eb88bca952fde2cbd513d12c7669d0.jpg","text":"TemporaryFile(/tmp/multipartBody7013956194626082430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094992935,"filename":"image_19042025_20_06_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/19/400d1ffc31a5d19a4b1c5024b3be7121.jpg","text":"TemporaryFile(/tmp/multipartBody8698867334187514380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094992935,"filename":"image_19042025_20_06_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e0310208d12bd987f08cee978802837d.jpg","text":"TemporaryFile(/tmp/multipartBody1906317877900153120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745094992935,"filename":"image_19042025_20_06_15_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014501","file1":"1352014475","file0":"1352014449","file4":"1352014594","file5":"1352014619","file3":"1352014570"},"map_files_photo_id_array":[{"photo_id":"1352014619","filename":"file5"},{"photo_id":"1352014501","filename":"file2"},{"photo_id":"1352014594","filename":"file4"},{"photo_id":"1352014475","filename":"file1"},{"photo_id":"1352014449","filename":"file0"},{"photo_id":"1352014570","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352014449":["hashtag1","hashtag2"]},{"1352014475":["hashtag1","hashtag2"]},{"1352014619":["hashtag1","hashtag2"]},{"1352014594":["hashtag1","hashtag2"]},{"1352014570":["hashtag1","hashtag2"]},{"1352014501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352014449, 1352014475, 1352014619, 1352014594, 1352014570, 1352014501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.785279273986816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:36:32.697080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_55_10378.jpg', '/home/pi/Desktop/images/19042025/20/06/image_19042025_20_07_05_9463.jpg', '/home/pi/Desktop/images/19042025/20/07/image_19042025_20_07_15_10439.jpg', '/home/pi/Desktop/images/19042025/20/07/image_19042025_20_07_25_9377.jpg', '/home/pi/Desktop/images/19042025/20/07/image_19042025_20_07_45_10368.jpg', '/home/pi/Desktop/images/19042025/20/07/image_19042025_20_07_55_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/06/image_19042025_20_06_55_10378.jpg
/home/pi/Desktop/images/19042025/20/06/image_19042025_20_07_05_9463.jpg
/home/pi/Desktop/images/19042025/20/07/image_19042025_20_07_15_10439.jpg
/home/pi/Desktop/images/19042025/20/07/image_19042025_20_07_25_9377.jpg
/home/pi/Desktop/images/19042025/20/07/image_19042025_20_07_45_10368.jpg
/home/pi/Desktop/images/19042025/20/07/image_19042025_20_07_55_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":["1352014871","1352014958","1352014984","1352014933","1352014840","1352014906"],"photo_ids_order":["1352014840","1352014871","1352014906","1352014933","1352014958","1352014984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a5f58c1f39d2e04e81ffb4c2108937e.jpg","text":"TemporaryFile(/tmp/multipartBody6661640440775977940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095053166,"filename":"image_19042025_20_07_05_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b745609aee72aca743441e59fdf33899.jpg","text":"TemporaryFile(/tmp/multipartBody2253313043295436010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095053166,"filename":"image_19042025_20_07_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/19/83b5b50f1025d2df5c1f5c581aca384c.jpg","text":"TemporaryFile(/tmp/multipartBody1687858286139345942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095053166,"filename":"image_19042025_20_07_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ec3d3b9405ccfd1edeabc378e3439ea2.jpg","text":"TemporaryFile(/tmp/multipartBody6712897826018452604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095053166,"filename":"image_19042025_20_07_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/65274f3327f416ead694db8dd5b72557.jpg","text":"TemporaryFile(/tmp/multipartBody8967550073336125398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095053166,"filename":"image_19042025_20_06_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/19/521e01c3c7b4863443cd1611caa0e324.jpg","text":"TemporaryFile(/tmp/multipartBody7851799335560006107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095053166,"filename":"image_19042025_20_07_15_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014906","file1":"1352014871","file0":"1352014840","file4":"1352014958","file5":"1352014984","file3":"1352014933"},"map_files_photo_id_array":[{"photo_id":"1352014984","filename":"file5"},{"photo_id":"1352014906","filename":"file2"},{"photo_id":"1352014958","filename":"file4"},{"photo_id":"1352014871","filename":"file1"},{"photo_id":"1352014840","filename":"file0"},{"photo_id":"1352014933","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352014871":["hashtag1","hashtag2"]},{"1352014958":["hashtag1","hashtag2"]},{"1352014984":["hashtag1","hashtag2"]},{"1352014933":["hashtag1","hashtag2"]},{"1352014840":["hashtag1","hashtag2"]},{"1352014906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352014871, 1352014958, 1352014984, 1352014933, 1352014840, 1352014906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.998156785964966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:37:32.859590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/07/image_19042025_20_08_05_10390.jpg', '/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_16_10371.jpg', '/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_25_9458.jpg', '/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_35_10440.jpg', '/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_45_9428.jpg', '/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_55_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/07/image_19042025_20_08_05_10390.jpg
/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_16_10371.jpg
/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_25_9458.jpg
/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_35_10440.jpg
/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_45_9428.jpg
/home/pi/Desktop/images/19042025/20/08/image_19042025_20_08_55_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352015396","1352015255","1352015298","1352015364","1352015433","1352015337"],"photo_ids_order":["1352015255","1352015298","1352015337","1352015364","1352015396","1352015433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/24c6acec9ed11553861df62713e73313.jpg","text":"TemporaryFile(/tmp/multipartBody4754965305600209383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095113325,"filename":"image_19042025_20_08_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0cd5e4fa8d394ebe2719993582983c12.jpg","text":"TemporaryFile(/tmp/multipartBody3367934483558714290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095113325,"filename":"image_19042025_20_08_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3c488804447d09523df3b271a81763f3.jpg","text":"TemporaryFile(/tmp/multipartBody1850890678096331065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095113325,"filename":"image_19042025_20_08_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/19/160376aad1602eaa324fcfeaac6ee9ef.jpg","text":"TemporaryFile(/tmp/multipartBody5511624447072713592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095113325,"filename":"image_19042025_20_08_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/19/61afa379202f64d15ae10e6535784efb.jpg","text":"TemporaryFile(/tmp/multipartBody7730650086495352118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095113325,"filename":"image_19042025_20_08_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/19/3421dc606433aea0bebbbf3315a270f3.jpg","text":"TemporaryFile(/tmp/multipartBody1019646804027451517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095113325,"filename":"image_19042025_20_08_25_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015337","file1":"1352015298","file0":"1352015255","file4":"1352015396","file5":"1352015433","file3":"1352015364"},"map_files_photo_id_array":[{"photo_id":"1352015433","filename":"file5"},{"photo_id":"1352015337","filename":"file2"},{"photo_id":"1352015396","filename":"file4"},{"photo_id":"1352015298","filename":"file1"},{"photo_id":"1352015255","filename":"file0"},{"photo_id":"1352015364","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352015396":["hashtag1","hashtag2"]},{"1352015255":["hashtag1","hashtag2"]},{"1352015298":["hashtag1","hashtag2"]},{"1352015364":["hashtag1","hashtag2"]},{"1352015433":["hashtag1","hashtag2"]},{"1352015337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352015396, 1352015255, 1352015298, 1352015364, 1352015433, 1352015337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66284704208374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:38:33.155343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/08/image_19042025_20_09_05_9357.jpg', '/home/pi/Desktop/images/19042025/20/09/image_19042025_20_09_15_10421.jpg', '/home/pi/Desktop/images/19042025/20/09/image_19042025_20_09_25_10425.jpg', '/home/pi/Desktop/images/19042025/20/09/image_19042025_20_09_55_9358.jpg', '/home/pi/Desktop/images/19042025/20/09/image_19042025_20_10_05_10447.jpg', '/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_16_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/08/image_19042025_20_09_05_9357.jpg
/home/pi/Desktop/images/19042025/20/09/image_19042025_20_09_15_10421.jpg
/home/pi/Desktop/images/19042025/20/09/image_19042025_20_09_25_10425.jpg
/home/pi/Desktop/images/19042025/20/09/image_19042025_20_09_55_9358.jpg
/home/pi/Desktop/images/19042025/20/09/image_19042025_20_10_05_10447.jpg
/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_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":["1352015870","1352015786","1352015813","1352015848","1352015868","1352015757"],"photo_ids_order":["1352015757","1352015786","1352015813","1352015848","1352015868","1352015870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2cf8ab2178205ebb087ab7a7ce202850.jpg","text":"TemporaryFile(/tmp/multipartBody6392996569900444877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095173647,"filename":"image_19042025_20_10_16_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/374a36f3d2bf808f7e1b0dfa04c84e55.jpg","text":"TemporaryFile(/tmp/multipartBody1428580749936948194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095173647,"filename":"image_19042025_20_09_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e34be2b3a064ebe903b2aa43716fe75d.jpg","text":"TemporaryFile(/tmp/multipartBody5203905211792980210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095173647,"filename":"image_19042025_20_09_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b725ae0425310d861382d498b444d6d.jpg","text":"TemporaryFile(/tmp/multipartBody496039875511996879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095173647,"filename":"image_19042025_20_09_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/19/624b4f22ed0c8b657d72cd9c356aaba2.jpg","text":"TemporaryFile(/tmp/multipartBody7873890290735085011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095173647,"filename":"image_19042025_20_10_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/19/1d9e969c052a8481a5778f9ec32de281.jpg","text":"TemporaryFile(/tmp/multipartBody4681767871752667239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095173647,"filename":"image_19042025_20_09_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015813","file1":"1352015786","file0":"1352015757","file4":"1352015868","file5":"1352015870","file3":"1352015848"},"map_files_photo_id_array":[{"photo_id":"1352015870","filename":"file5"},{"photo_id":"1352015813","filename":"file2"},{"photo_id":"1352015868","filename":"file4"},{"photo_id":"1352015786","filename":"file1"},{"photo_id":"1352015757","filename":"file0"},{"photo_id":"1352015848","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352015870":["hashtag1","hashtag2"]},{"1352015786":["hashtag1","hashtag2"]},{"1352015813":["hashtag1","hashtag2"]},{"1352015848":["hashtag1","hashtag2"]},{"1352015868":["hashtag1","hashtag2"]},{"1352015757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352015870, 1352015786, 1352015813, 1352015848, 1352015868, 1352015757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.914278507232666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:39:32.586504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_25_9404.jpg', '/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_35_10365.jpg', '/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_45_9380.jpg', '/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_55_10387.jpg', '/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_15_9405.jpg', '/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_25_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_25_9404.jpg
/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_35_10365.jpg
/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_45_9380.jpg
/home/pi/Desktop/images/19042025/20/10/image_19042025_20_10_55_10387.jpg
/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_15_9405.jpg
/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_25_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":["1352016008","1352015939","1352015989","1352015950","1352015953","1352015961"],"photo_ids_order":["1352015939","1352015950","1352015953","1352015961","1352015989","1352016008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6104b5a0f9fc7733f9843add292f546.jpg","text":"TemporaryFile(/tmp/multipartBody2208667324527620723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095233071,"filename":"image_19042025_20_11_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/19/1e34b00655c225ca431f48e591bfa1ac.jpg","text":"TemporaryFile(/tmp/multipartBody8896006026281928267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095233071,"filename":"image_19042025_20_10_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a77972c8817d6c59483e3f4b72be0aa8.jpg","text":"TemporaryFile(/tmp/multipartBody3987793071268454435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095233071,"filename":"image_19042025_20_11_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8aee5b9fabd7bebeac0414e21c0b362e.jpg","text":"TemporaryFile(/tmp/multipartBody6654492185499315963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095233071,"filename":"image_19042025_20_10_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/19/be5c8637593d3f64f38f40323484b375.jpg","text":"TemporaryFile(/tmp/multipartBody1420248740099957946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095233071,"filename":"image_19042025_20_10_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/19/3d4e62b160de1cdeb87e05d563f85d33.jpg","text":"TemporaryFile(/tmp/multipartBody9153342987948978242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095233071,"filename":"image_19042025_20_10_55_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015953","file1":"1352015950","file0":"1352015939","file4":"1352015989","file5":"1352016008","file3":"1352015961"},"map_files_photo_id_array":[{"photo_id":"1352016008","filename":"file5"},{"photo_id":"1352015953","filename":"file2"},{"photo_id":"1352015989","filename":"file4"},{"photo_id":"1352015950","filename":"file1"},{"photo_id":"1352015939","filename":"file0"},{"photo_id":"1352015961","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352016008":["hashtag1","hashtag2"]},{"1352015939":["hashtag1","hashtag2"]},{"1352015989":["hashtag1","hashtag2"]},{"1352015950":["hashtag1","hashtag2"]},{"1352015953":["hashtag1","hashtag2"]},{"1352015961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352016008, 1352015939, 1352015989, 1352015950, 1352015953, 1352015961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.874958038330078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:40:32.761142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_35_9369.jpg', '/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_45_10394.jpg', '/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_55_10356.jpg', '/home/pi/Desktop/images/19042025/20/11/image_19042025_20_12_05_9500.jpg', '/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_15_10363.jpg', '/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_25_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_35_9369.jpg
/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_45_10394.jpg
/home/pi/Desktop/images/19042025/20/11/image_19042025_20_11_55_10356.jpg
/home/pi/Desktop/images/19042025/20/11/image_19042025_20_12_05_9500.jpg
/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_15_10363.jpg
/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_25_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":["1352016263","1352016289","1352016313","1352016159","1352016336","1352016237"],"photo_ids_order":["1352016159","1352016237","1352016263","1352016289","1352016313","1352016336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/68fe2301e681f5a6d75cd95c9c20ed3b.jpg","text":"TemporaryFile(/tmp/multipartBody8388451486313753962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095293232,"filename":"image_19042025_20_11_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/19/ea20d754283716b7cf66a054b6ce95d9.jpg","text":"TemporaryFile(/tmp/multipartBody6173073805724106633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095293232,"filename":"image_19042025_20_12_05_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/19/b64f3e22792e09076f20be8e98989011.jpg","text":"TemporaryFile(/tmp/multipartBody4009470546430686235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095293232,"filename":"image_19042025_20_12_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/19/cb2924348a6acdce98c5cfc1a87db24b.jpg","text":"TemporaryFile(/tmp/multipartBody128240563770633227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095293232,"filename":"image_19042025_20_11_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/19/d4eebdb76295445589772c66ba205a95.jpg","text":"TemporaryFile(/tmp/multipartBody1890870877207890327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095293232,"filename":"image_19042025_20_12_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4c18c078cf14d7c8bc33dd43a9525e5.jpg","text":"TemporaryFile(/tmp/multipartBody4568168809482610857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095293232,"filename":"image_19042025_20_11_45_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352016263","file1":"1352016237","file0":"1352016159","file4":"1352016313","file5":"1352016336","file3":"1352016289"},"map_files_photo_id_array":[{"photo_id":"1352016336","filename":"file5"},{"photo_id":"1352016263","filename":"file2"},{"photo_id":"1352016313","filename":"file4"},{"photo_id":"1352016237","filename":"file1"},{"photo_id":"1352016159","filename":"file0"},{"photo_id":"1352016289","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352016263":["hashtag1","hashtag2"]},{"1352016289":["hashtag1","hashtag2"]},{"1352016313":["hashtag1","hashtag2"]},{"1352016159":["hashtag1","hashtag2"]},{"1352016336":["hashtag1","hashtag2"]},{"1352016237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352016263, 1352016289, 1352016313, 1352016159, 1352016336, 1352016237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75609111785889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:41:32.999452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_35_10458.jpg', '/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_45_10376.jpg', '/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_55_9491.jpg', '/home/pi/Desktop/images/19042025/20/12/image_19042025_20_13_05_10360.jpg', '/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_15_9358.jpg', '/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_25_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_35_10458.jpg
/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_45_10376.jpg
/home/pi/Desktop/images/19042025/20/12/image_19042025_20_12_55_9491.jpg
/home/pi/Desktop/images/19042025/20/12/image_19042025_20_13_05_10360.jpg
/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_15_9358.jpg
/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_25_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":["1352016595","1352016568","1352016514","1352016511","1352016513","1352016516"],"photo_ids_order":["1352016511","1352016513","1352016514","1352016516","1352016568","1352016595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ea8aa5efef8e159adbcfa65d5ab499f4.jpg","text":"TemporaryFile(/tmp/multipartBody6988272090385132423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095353464,"filename":"image_19042025_20_13_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3da654f1f805f6bf8b65b6ceb339c488.jpg","text":"TemporaryFile(/tmp/multipartBody7534717626917403656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095353464,"filename":"image_19042025_20_13_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/19/bc78b4454d08220cf618d37df57cf612.jpg","text":"TemporaryFile(/tmp/multipartBody7659811013679528246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095353464,"filename":"image_19042025_20_12_55_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/89e31744dc7e5ec642d5f27932c2d77f.jpg","text":"TemporaryFile(/tmp/multipartBody8936987352143236345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095353464,"filename":"image_19042025_20_12_35_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/86225d6e94cdd03c88063bf8698f43c5.jpg","text":"TemporaryFile(/tmp/multipartBody6409836699484350646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095353464,"filename":"image_19042025_20_12_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/19/ec8bf4f996d202882ca1dc5b8fd32e67.jpg","text":"TemporaryFile(/tmp/multipartBody6948336980531186492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095353464,"filename":"image_19042025_20_13_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352016514","file1":"1352016513","file0":"1352016511","file4":"1352016568","file5":"1352016595","file3":"1352016516"},"map_files_photo_id_array":[{"photo_id":"1352016595","filename":"file5"},{"photo_id":"1352016514","filename":"file2"},{"photo_id":"1352016568","filename":"file4"},{"photo_id":"1352016513","filename":"file1"},{"photo_id":"1352016511","filename":"file0"},{"photo_id":"1352016516","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352016595":["hashtag1","hashtag2"]},{"1352016568":["hashtag1","hashtag2"]},{"1352016514":["hashtag1","hashtag2"]},{"1352016511":["hashtag1","hashtag2"]},{"1352016513":["hashtag1","hashtag2"]},{"1352016516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352016595, 1352016568, 1352016514, 1352016511, 1352016513, 1352016516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.47475028038025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:42:32.387394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_36_10399.jpg', '/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_45_9464.jpg', '/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_55_10391.jpg', '/home/pi/Desktop/images/19042025/20/13/image_19042025_20_14_05_9487.jpg', '/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_15_10367.jpg', '/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_25_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_36_10399.jpg
/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_45_9464.jpg
/home/pi/Desktop/images/19042025/20/13/image_19042025_20_13_55_10391.jpg
/home/pi/Desktop/images/19042025/20/13/image_19042025_20_14_05_9487.jpg
/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_15_10367.jpg
/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_25_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":["1352016647","1352016641","1352016644","1352016652","1352016654","1352016648"],"photo_ids_order":["1352016641","1352016644","1352016647","1352016648","1352016652","1352016654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ffa5d27575cbecfabe765d47e4d60b50.jpg","text":"TemporaryFile(/tmp/multipartBody6843203519721774775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095412865,"filename":"image_19042025_20_13_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/dfce4aca9473a577b4a686ef6fb3f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody6968930146233562777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095412865,"filename":"image_19042025_20_13_36_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc0ca3a45d6ea93ba098f594cb845072.jpg","text":"TemporaryFile(/tmp/multipartBody1623777701206065957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095412865,"filename":"image_19042025_20_13_45_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/19/ef6666d3ddb77770f50cf0bfe5578d55.jpg","text":"TemporaryFile(/tmp/multipartBody6813599934876822011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095412865,"filename":"image_19042025_20_14_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fc8c978fafe39b1c327f43f1dffba968.jpg","text":"TemporaryFile(/tmp/multipartBody6044737256982032473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095412865,"filename":"image_19042025_20_14_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/19/68a2294747dd815edb8094bb8284aa89.jpg","text":"TemporaryFile(/tmp/multipartBody8029087190632691685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095412865,"filename":"image_19042025_20_14_05_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352016647","file1":"1352016644","file0":"1352016641","file4":"1352016652","file5":"1352016654","file3":"1352016648"},"map_files_photo_id_array":[{"photo_id":"1352016654","filename":"file5"},{"photo_id":"1352016647","filename":"file2"},{"photo_id":"1352016652","filename":"file4"},{"photo_id":"1352016644","filename":"file1"},{"photo_id":"1352016641","filename":"file0"},{"photo_id":"1352016648","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352016647":["hashtag1","hashtag2"]},{"1352016641":["hashtag1","hashtag2"]},{"1352016644":["hashtag1","hashtag2"]},{"1352016652":["hashtag1","hashtag2"]},{"1352016654":["hashtag1","hashtag2"]},{"1352016648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352016647, 1352016641, 1352016644, 1352016652, 1352016654, 1352016648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.2948579788208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:43:32.618352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_35_10435.jpg', '/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_45_10370.jpg', '/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_55_9357.jpg', '/home/pi/Desktop/images/19042025/20/14/image_19042025_20_15_05_10377.jpg', '/home/pi/Desktop/images/19042025/20/15/image_19042025_20_15_16_10431.jpg', '/home/pi/Desktop/images/19042025/20/15/image_19042025_20_15_25_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_35_10435.jpg
/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_45_10370.jpg
/home/pi/Desktop/images/19042025/20/14/image_19042025_20_14_55_9357.jpg
/home/pi/Desktop/images/19042025/20/14/image_19042025_20_15_05_10377.jpg
/home/pi/Desktop/images/19042025/20/15/image_19042025_20_15_16_10431.jpg
/home/pi/Desktop/images/19042025/20/15/image_19042025_20_15_25_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":["1352016731","1352016704","1352016786","1352016843","1352016816","1352016758"],"photo_ids_order":["1352016704","1352016731","1352016758","1352016786","1352016816","1352016843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5cba6fc161b747b8cbb6c96be2c59e8e.jpg","text":"TemporaryFile(/tmp/multipartBody4336392172214874448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095473116,"filename":"image_19042025_20_14_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/19/1510716138b44202a4b2117a27a706c8.jpg","text":"TemporaryFile(/tmp/multipartBody5037692730704091777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095473116,"filename":"image_19042025_20_14_35_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6523eb494ebd8517ad7074930859763.jpg","text":"TemporaryFile(/tmp/multipartBody8571731371405415091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095473116,"filename":"image_19042025_20_15_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/07a7066bbf99f59a28bddbee099f7107.jpg","text":"TemporaryFile(/tmp/multipartBody8918308931736248711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095473116,"filename":"image_19042025_20_15_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8259e8a5cade951cf7eb3eeff3ab75e9.jpg","text":"TemporaryFile(/tmp/multipartBody5988271102071735274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095473116,"filename":"image_19042025_20_15_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a7acca223f6c041610878f414fdf662d.jpg","text":"TemporaryFile(/tmp/multipartBody6106117108646065143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095473116,"filename":"image_19042025_20_14_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352016758","file1":"1352016731","file0":"1352016704","file4":"1352016816","file5":"1352016843","file3":"1352016786"},"map_files_photo_id_array":[{"photo_id":"1352016843","filename":"file5"},{"photo_id":"1352016758","filename":"file2"},{"photo_id":"1352016816","filename":"file4"},{"photo_id":"1352016731","filename":"file1"},{"photo_id":"1352016704","filename":"file0"},{"photo_id":"1352016786","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352016731":["hashtag1","hashtag2"]},{"1352016704":["hashtag1","hashtag2"]},{"1352016786":["hashtag1","hashtag2"]},{"1352016843":["hashtag1","hashtag2"]},{"1352016816":["hashtag1","hashtag2"]},{"1352016758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352016731, 1352016704, 1352016786, 1352016843, 1352016816, 1352016758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.51271390914917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:44:32.736708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/15/image_19042025_20_15_35_10362.jpg', '/home/pi/Desktop/images/19042025/20/15/image_19042025_20_15_55_10379.jpg', '/home/pi/Desktop/images/19042025/20/15/image_19042025_20_16_06_10442.jpg', '/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_15_9392.jpg', '/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_25_10362.jpg', '/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_35_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/15/image_19042025_20_15_35_10362.jpg
/home/pi/Desktop/images/19042025/20/15/image_19042025_20_15_55_10379.jpg
/home/pi/Desktop/images/19042025/20/15/image_19042025_20_16_06_10442.jpg
/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_15_9392.jpg
/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_25_10362.jpg
/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_35_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017054","1352017062","1352017065","1352017068","1352017058","1352017052"],"photo_ids_order":["1352017052","1352017054","1352017058","1352017062","1352017065","1352017068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2e26c66814ddb26a88200d734cac7a11.jpg","text":"TemporaryFile(/tmp/multipartBody5527116832426749039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095533234,"filename":"image_19042025_20_15_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/19/52bf087655469762c8e8f9cfcddf1886.jpg","text":"TemporaryFile(/tmp/multipartBody7443891797913565095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095533234,"filename":"image_19042025_20_16_15_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/362b4a461ce9303c8f209110fa301a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2854233184717604957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095533234,"filename":"image_19042025_20_16_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/19/3dfd819f24a0dc83a168f174a78b75b7.jpg","text":"TemporaryFile(/tmp/multipartBody1273215614081119261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095533234,"filename":"image_19042025_20_16_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/19/7d8b7cda41b0ef7de43602d34c7d4b8c.jpg","text":"TemporaryFile(/tmp/multipartBody7451629092174656413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095533234,"filename":"image_19042025_20_16_06_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/af81edcd2b5dc81c1f98fd36fa1ec950.jpg","text":"TemporaryFile(/tmp/multipartBody2413525663304281917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095533234,"filename":"image_19042025_20_15_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017058","file1":"1352017054","file0":"1352017052","file4":"1352017065","file5":"1352017068","file3":"1352017062"},"map_files_photo_id_array":[{"photo_id":"1352017068","filename":"file5"},{"photo_id":"1352017058","filename":"file2"},{"photo_id":"1352017065","filename":"file4"},{"photo_id":"1352017054","filename":"file1"},{"photo_id":"1352017052","filename":"file0"},{"photo_id":"1352017062","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017054":["hashtag1","hashtag2"]},{"1352017062":["hashtag1","hashtag2"]},{"1352017065":["hashtag1","hashtag2"]},{"1352017068":["hashtag1","hashtag2"]},{"1352017058":["hashtag1","hashtag2"]},{"1352017052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017054, 1352017062, 1352017065, 1352017068, 1352017058, 1352017052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.321990966796875 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:45:32.959528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_45_10485.jpg', '/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_55_9400.jpg', '/home/pi/Desktop/images/19042025/20/16/image_19042025_20_17_05_10363.jpg', '/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_15_10375.jpg', '/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_25_9483.jpg', '/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_35_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_45_10485.jpg
/home/pi/Desktop/images/19042025/20/16/image_19042025_20_16_55_9400.jpg
/home/pi/Desktop/images/19042025/20/16/image_19042025_20_17_05_10363.jpg
/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_15_10375.jpg
/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_25_9483.jpg
/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_35_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017084","1352017080","1352017083","1352017082","1352017076","1352017079"],"photo_ids_order":["1352017076","1352017079","1352017080","1352017082","1352017083","1352017084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b38ac3cc4a80978163b85761bfc3f591.jpg","text":"TemporaryFile(/tmp/multipartBody1866300818675871012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095593457,"filename":"image_19042025_20_17_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/19/dcb964fb55576ec4e60c528826a4d702.jpg","text":"TemporaryFile(/tmp/multipartBody3178807011239427943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095593457,"filename":"image_19042025_20_17_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/19/0ec47744ffd86c30e2e706136255436a.jpg","text":"TemporaryFile(/tmp/multipartBody862451529962406305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095593457,"filename":"image_19042025_20_17_25_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/30bbee7e66b0ebc4ddc20da1a8316253.jpg","text":"TemporaryFile(/tmp/multipartBody9193997900898379410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095593457,"filename":"image_19042025_20_17_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/276cc3ec71e40c7dc19f9e65338d97d9.jpg","text":"TemporaryFile(/tmp/multipartBody8253454160310588419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095593457,"filename":"image_19042025_20_16_45_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/19/6f038a0319b7dcce05dc1af5ab994046.jpg","text":"TemporaryFile(/tmp/multipartBody276515251890777917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095593457,"filename":"image_19042025_20_16_55_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017080","file1":"1352017079","file0":"1352017076","file4":"1352017083","file5":"1352017084","file3":"1352017082"},"map_files_photo_id_array":[{"photo_id":"1352017084","filename":"file5"},{"photo_id":"1352017080","filename":"file2"},{"photo_id":"1352017083","filename":"file4"},{"photo_id":"1352017079","filename":"file1"},{"photo_id":"1352017076","filename":"file0"},{"photo_id":"1352017082","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017084":["hashtag1","hashtag2"]},{"1352017080":["hashtag1","hashtag2"]},{"1352017083":["hashtag1","hashtag2"]},{"1352017082":["hashtag1","hashtag2"]},{"1352017076":["hashtag1","hashtag2"]},{"1352017079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017084, 1352017080, 1352017083, 1352017082, 1352017076, 1352017079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.90277075767517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 22:46:03.811603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_45_9375.jpg', '/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_55_10453.jpg', '/home/pi/Desktop/images/19042025/20/17/image_19042025_20_18_05_10387.jpg', '/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_15_9505.jpg', '/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_25_10410.jpg', '/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_35_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_45_9375.jpg
/home/pi/Desktop/images/19042025/20/17/image_19042025_20_17_55_10453.jpg
/home/pi/Desktop/images/19042025/20/17/image_19042025_20_18_05_10387.jpg
/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_15_9505.jpg
/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_25_10410.jpg
/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_35_9344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017090","1352017093","1352017092","1352017095","1352017091","1352017088"],"photo_ids_order":["1352017088","1352017090","1352017091","1352017092","1352017093","1352017095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3f9057045376760990caea8ab50678b8.jpg","text":"TemporaryFile(/tmp/multipartBody5214885061060468093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095624325,"filename":"image_19042025_20_17_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/19/7b488eaaa6acba551d8e930a1c144424.jpg","text":"TemporaryFile(/tmp/multipartBody8056692808941548524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095624325,"filename":"image_19042025_20_18_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0fa991fdcc4c3e34704f7c5e3be44577.jpg","text":"TemporaryFile(/tmp/multipartBody2676623198693500653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095624325,"filename":"image_19042025_20_18_15_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/19/edb5283738bfe2375930159aae9b1004.jpg","text":"TemporaryFile(/tmp/multipartBody6381156282933360793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095624325,"filename":"image_19042025_20_18_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/19/98c5dad79b6af89374e3de0682c48f40.jpg","text":"TemporaryFile(/tmp/multipartBody161558613588901345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095624325,"filename":"image_19042025_20_18_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/19/d196d86832332b75e0d2018a02707d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2499200309028113451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095624325,"filename":"image_19042025_20_17_45_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017091","file1":"1352017090","file0":"1352017088","file4":"1352017093","file5":"1352017095","file3":"1352017092"},"map_files_photo_id_array":[{"photo_id":"1352017095","filename":"file5"},{"photo_id":"1352017091","filename":"file2"},{"photo_id":"1352017093","filename":"file4"},{"photo_id":"1352017090","filename":"file1"},{"photo_id":"1352017088","filename":"file0"},{"photo_id":"1352017092","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017090":["hashtag1","hashtag2"]},{"1352017093":["hashtag1","hashtag2"]},{"1352017092":["hashtag1","hashtag2"]},{"1352017095":["hashtag1","hashtag2"]},{"1352017091":["hashtag1","hashtag2"]},{"1352017088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017090, 1352017093, 1352017092, 1352017095, 1352017091, 1352017088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.626020431518555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 22:46:43.092028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_45_10365.jpg', '/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_56_10382.jpg', '/home/pi/Desktop/images/19042025/20/18/image_19042025_20_19_05_9416.jpg', '/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_15_10372.jpg', '/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_25_9439.jpg', '/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_35_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_45_10365.jpg
/home/pi/Desktop/images/19042025/20/18/image_19042025_20_18_56_10382.jpg
/home/pi/Desktop/images/19042025/20/18/image_19042025_20_19_05_9416.jpg
/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_15_10372.jpg
/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_25_9439.jpg
/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_35_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017112","1352017120","1352017105","1352017108","1352017116","1352017118"],"photo_ids_order":["1352017105","1352017108","1352017112","1352017116","1352017118","1352017120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d35bd872fc3fcb7ceeef12ebe1028292.jpg","text":"TemporaryFile(/tmp/multipartBody1267108788704110633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095663562,"filename":"image_19042025_20_19_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/19/d56f279721e174b097d67eba49406fdb.jpg","text":"TemporaryFile(/tmp/multipartBody3845876107221065679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095663562,"filename":"image_19042025_20_19_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/19/87c7304b0c1d3984231737a25b44c148.jpg","text":"TemporaryFile(/tmp/multipartBody8218761767038950542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095663562,"filename":"image_19042025_20_18_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/19/442ce7f75ae80e9fb5daad10405ebc91.jpg","text":"TemporaryFile(/tmp/multipartBody904155398757875132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095663562,"filename":"image_19042025_20_18_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/19/801a17beca316623edb3db710bec609a.jpg","text":"TemporaryFile(/tmp/multipartBody5800127110365017362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095663562,"filename":"image_19042025_20_19_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/19/39d39ad3a5fb8d416bc3de03af3e7787.jpg","text":"TemporaryFile(/tmp/multipartBody8108982784604455566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095663562,"filename":"image_19042025_20_19_25_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017112","file1":"1352017108","file0":"1352017105","file4":"1352017118","file5":"1352017120","file3":"1352017116"},"map_files_photo_id_array":[{"photo_id":"1352017120","filename":"file5"},{"photo_id":"1352017112","filename":"file2"},{"photo_id":"1352017118","filename":"file4"},{"photo_id":"1352017108","filename":"file1"},{"photo_id":"1352017105","filename":"file0"},{"photo_id":"1352017116","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017112":["hashtag1","hashtag2"]},{"1352017120":["hashtag1","hashtag2"]},{"1352017105":["hashtag1","hashtag2"]},{"1352017108":["hashtag1","hashtag2"]},{"1352017116":["hashtag1","hashtag2"]},{"1352017118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017112, 1352017120, 1352017105, 1352017108, 1352017116, 1352017118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69663953781128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:47:32.257424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_46_10389.jpg', '/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_55_9434.jpg', '/home/pi/Desktop/images/19042025/20/19/image_19042025_20_20_05_10414.jpg', '/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_15_9343.jpg', '/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_25_10456.jpg', '/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_36_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_46_10389.jpg
/home/pi/Desktop/images/19042025/20/19/image_19042025_20_19_55_9434.jpg
/home/pi/Desktop/images/19042025/20/19/image_19042025_20_20_05_10414.jpg
/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_15_9343.jpg
/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_25_10456.jpg
/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_36_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017133","1352017141","1352017143","1352017137","1352017146","1352017128"],"photo_ids_order":["1352017128","1352017133","1352017137","1352017141","1352017143","1352017146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/13bea4c42d3dd7cddc59e896b11b2bd7.jpg","text":"TemporaryFile(/tmp/multipartBody5711298092040266565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095712724,"filename":"image_19042025_20_19_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/19/ec7a459615d056a22f8bbed87c61dc9a.jpg","text":"TemporaryFile(/tmp/multipartBody6389732528814541905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095712724,"filename":"image_19042025_20_20_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/19/8f2e911f8e4c113582eb8aec501888f1.jpg","text":"TemporaryFile(/tmp/multipartBody6982495182070398510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095712724,"filename":"image_19042025_20_20_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/19/5849f46b9eac4d65ebd406c4d045821a.jpg","text":"TemporaryFile(/tmp/multipartBody763175569883030142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095712724,"filename":"image_19042025_20_20_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/38858b05884b8e61848a87c0b7dbfb41.jpg","text":"TemporaryFile(/tmp/multipartBody6436477017419650682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095712724,"filename":"image_19042025_20_20_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/129d2ff44b4d926c7a71ab8fee4e1114.jpg","text":"TemporaryFile(/tmp/multipartBody4209905413087984720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095712724,"filename":"image_19042025_20_19_46_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017137","file1":"1352017133","file0":"1352017128","file4":"1352017143","file5":"1352017146","file3":"1352017141"},"map_files_photo_id_array":[{"photo_id":"1352017146","filename":"file5"},{"photo_id":"1352017137","filename":"file2"},{"photo_id":"1352017143","filename":"file4"},{"photo_id":"1352017133","filename":"file1"},{"photo_id":"1352017128","filename":"file0"},{"photo_id":"1352017141","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017133":["hashtag1","hashtag2"]},{"1352017141":["hashtag1","hashtag2"]},{"1352017143":["hashtag1","hashtag2"]},{"1352017137":["hashtag1","hashtag2"]},{"1352017146":["hashtag1","hashtag2"]},{"1352017128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017133, 1352017141, 1352017143, 1352017137, 1352017146, 1352017128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.902647495269775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:48:32.642813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_45_9465.jpg', '/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_55_10383.jpg', '/home/pi/Desktop/images/19042025/20/20/image_19042025_20_21_05_9448.jpg', '/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_15_10371.jpg', '/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_25_9395.jpg', '/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_35_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_45_9465.jpg
/home/pi/Desktop/images/19042025/20/20/image_19042025_20_20_55_10383.jpg
/home/pi/Desktop/images/19042025/20/20/image_19042025_20_21_05_9448.jpg
/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_15_10371.jpg
/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_25_9395.jpg
/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_35_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017165","1352017158","1352017172","1352017169","1352017160","1352017154"],"photo_ids_order":["1352017154","1352017158","1352017160","1352017165","1352017169","1352017172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a7a16a27c6d4211d24ca5faccfb5a379.jpg","text":"TemporaryFile(/tmp/multipartBody7785983749417751231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095773112,"filename":"image_19042025_20_21_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/19/af4ed6ef61768dcc78603b83d2dc10dc.jpg","text":"TemporaryFile(/tmp/multipartBody8781774548305645672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095773112,"filename":"image_19042025_20_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/19/89bed31adf1954591431fd4a0c62f684.jpg","text":"TemporaryFile(/tmp/multipartBody3234252212960983987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095773112,"filename":"image_19042025_20_21_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/19/bbfd250e6ac85cbfdbb1311126d227bf.jpg","text":"TemporaryFile(/tmp/multipartBody4327764908065032064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095773112,"filename":"image_19042025_20_21_25_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8472085a1d5a655ea49e07c7d1481614.jpg","text":"TemporaryFile(/tmp/multipartBody9106740412849973338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095773112,"filename":"image_19042025_20_21_05_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/04d44f06a5f029e7d246a72cb09ba7c6.jpg","text":"TemporaryFile(/tmp/multipartBody8359676760907914084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095773112,"filename":"image_19042025_20_20_45_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017160","file1":"1352017158","file0":"1352017154","file4":"1352017169","file5":"1352017172","file3":"1352017165"},"map_files_photo_id_array":[{"photo_id":"1352017172","filename":"file5"},{"photo_id":"1352017160","filename":"file2"},{"photo_id":"1352017169","filename":"file4"},{"photo_id":"1352017158","filename":"file1"},{"photo_id":"1352017154","filename":"file0"},{"photo_id":"1352017165","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017165":["hashtag1","hashtag2"]},{"1352017158":["hashtag1","hashtag2"]},{"1352017172":["hashtag1","hashtag2"]},{"1352017169":["hashtag1","hashtag2"]},{"1352017160":["hashtag1","hashtag2"]},{"1352017154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017165, 1352017158, 1352017172, 1352017169, 1352017160, 1352017154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.339261770248413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:49:32.839306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_45_10484.jpg', '/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_55_9439.jpg', '/home/pi/Desktop/images/19042025/20/21/image_19042025_20_22_05_10374.jpg', '/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_15_9363.jpg', '/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_25_10475.jpg', '/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_36_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_45_10484.jpg
/home/pi/Desktop/images/19042025/20/21/image_19042025_20_21_55_9439.jpg
/home/pi/Desktop/images/19042025/20/21/image_19042025_20_22_05_10374.jpg
/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_15_9363.jpg
/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_25_10475.jpg
/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_36_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":["1352017195","1352017189","1352017208","1352017192","1352017197","1352017196"],"photo_ids_order":["1352017189","1352017192","1352017195","1352017196","1352017197","1352017208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4db9d1f1f06319825163c98400e19298.jpg","text":"TemporaryFile(/tmp/multipartBody8150283329280927083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095833335,"filename":"image_19042025_20_22_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/19/c1a57993746219dffc4b2212ec36a07d.jpg","text":"TemporaryFile(/tmp/multipartBody7065363191405105424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095833335,"filename":"image_19042025_20_21_45_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/85d0adf423cf5f9aaf713e121ea1e20b.jpg","text":"TemporaryFile(/tmp/multipartBody8238881347832338308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095833335,"filename":"image_19042025_20_22_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/19/a47a5d6c7dee70f3dcf010301f36fe96.jpg","text":"TemporaryFile(/tmp/multipartBody4508830747747741337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095833335,"filename":"image_19042025_20_21_55_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5ed5a0d07bb0dd19a9af31bd16ea7ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4993573085156783167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095833335,"filename":"image_19042025_20_22_25_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f561443b4f584e67d168f20377d9c1a3.jpg","text":"TemporaryFile(/tmp/multipartBody3463415878946196404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095833335,"filename":"image_19042025_20_22_15_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017195","file1":"1352017192","file0":"1352017189","file4":"1352017197","file5":"1352017208","file3":"1352017196"},"map_files_photo_id_array":[{"photo_id":"1352017208","filename":"file5"},{"photo_id":"1352017195","filename":"file2"},{"photo_id":"1352017197","filename":"file4"},{"photo_id":"1352017192","filename":"file1"},{"photo_id":"1352017189","filename":"file0"},{"photo_id":"1352017196","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017195":["hashtag1","hashtag2"]},{"1352017189":["hashtag1","hashtag2"]},{"1352017208":["hashtag1","hashtag2"]},{"1352017192":["hashtag1","hashtag2"]},{"1352017197":["hashtag1","hashtag2"]},{"1352017196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017195, 1352017189, 1352017208, 1352017192, 1352017197, 1352017196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.8382294178009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:50:33.217853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_45_9407.jpg', '/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_55_10409.jpg', '/home/pi/Desktop/images/19042025/20/22/image_19042025_20_23_05_9344.jpg', '/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_15_10438.jpg', '/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_26_10385.jpg', '/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_35_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_45_9407.jpg
/home/pi/Desktop/images/19042025/20/22/image_19042025_20_22_55_10409.jpg
/home/pi/Desktop/images/19042025/20/22/image_19042025_20_23_05_9344.jpg
/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_15_10438.jpg
/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_26_10385.jpg
/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_35_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017226","1352017214","1352017230","1352017218","1352017233","1352017223"],"photo_ids_order":["1352017214","1352017218","1352017223","1352017226","1352017230","1352017233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/143db9f51868b282875dc53a774ed2a8.jpg","text":"TemporaryFile(/tmp/multipartBody5621803859631666728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095893691,"filename":"image_19042025_20_23_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/19/15a3159da7692f7dbf567d58ce2fcf71.jpg","text":"TemporaryFile(/tmp/multipartBody6269422135234957072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095893691,"filename":"image_19042025_20_22_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/054df747e18ec6c494c9c1567111e1cb.jpg","text":"TemporaryFile(/tmp/multipartBody5235409973437313108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095893691,"filename":"image_19042025_20_23_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/48f186f507d94a36de8b0b9aa57287e6.jpg","text":"TemporaryFile(/tmp/multipartBody3108939799789336171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095893691,"filename":"image_19042025_20_22_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c837ecf510cdc8469c8d99d94c40568.jpg","text":"TemporaryFile(/tmp/multipartBody7298646953743915323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095893691,"filename":"image_19042025_20_23_35_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/19/df571cd70968b2dd31b2599ddeb6fecc.jpg","text":"TemporaryFile(/tmp/multipartBody2940813545956552953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095893691,"filename":"image_19042025_20_23_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017223","file1":"1352017218","file0":"1352017214","file4":"1352017230","file5":"1352017233","file3":"1352017226"},"map_files_photo_id_array":[{"photo_id":"1352017233","filename":"file5"},{"photo_id":"1352017223","filename":"file2"},{"photo_id":"1352017230","filename":"file4"},{"photo_id":"1352017218","filename":"file1"},{"photo_id":"1352017214","filename":"file0"},{"photo_id":"1352017226","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017226":["hashtag1","hashtag2"]},{"1352017214":["hashtag1","hashtag2"]},{"1352017230":["hashtag1","hashtag2"]},{"1352017218":["hashtag1","hashtag2"]},{"1352017233":["hashtag1","hashtag2"]},{"1352017223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017226, 1352017214, 1352017230, 1352017218, 1352017233, 1352017223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.78731894493103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:51:32.349129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_45_10383.jpg', '/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_55_9368.jpg', '/home/pi/Desktop/images/19042025/20/23/image_19042025_20_24_05_10368.jpg', '/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_15_10347.jpg', '/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_25_9382.jpg', '/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_35_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_45_10383.jpg
/home/pi/Desktop/images/19042025/20/23/image_19042025_20_23_55_9368.jpg
/home/pi/Desktop/images/19042025/20/23/image_19042025_20_24_05_10368.jpg
/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_15_10347.jpg
/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_25_9382.jpg
/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_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":["1352017255","1352017257","1352017242","1352017251","1352017247","1352017238"],"photo_ids_order":["1352017238","1352017242","1352017247","1352017251","1352017255","1352017257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/35221b017c439c066368b6979fa411ce.jpg","text":"TemporaryFile(/tmp/multipartBody4511700823441320655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095952815,"filename":"image_19042025_20_24_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee6d2c85022b578c8c44e242bc79c957.jpg","text":"TemporaryFile(/tmp/multipartBody1223242403239046841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095952815,"filename":"image_19042025_20_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/19/0d424a3db6ebec37342b1c6af68b70e6.jpg","text":"TemporaryFile(/tmp/multipartBody1063021198322067791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095952815,"filename":"image_19042025_20_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/19/f2e988f664912048a8794d2abe39f2b7.jpg","text":"TemporaryFile(/tmp/multipartBody8731315202446532153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095952815,"filename":"image_19042025_20_24_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2ac6fb7b5860d770f3c6078c1e323bc5.jpg","text":"TemporaryFile(/tmp/multipartBody7554695792765452967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095952815,"filename":"image_19042025_20_24_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/19/74f08c0e8a50dfae137d9df92de0a8eb.jpg","text":"TemporaryFile(/tmp/multipartBody2104283442743460628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745095952815,"filename":"image_19042025_20_23_45_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017247","file1":"1352017242","file0":"1352017238","file4":"1352017255","file5":"1352017257","file3":"1352017251"},"map_files_photo_id_array":[{"photo_id":"1352017257","filename":"file5"},{"photo_id":"1352017247","filename":"file2"},{"photo_id":"1352017255","filename":"file4"},{"photo_id":"1352017242","filename":"file1"},{"photo_id":"1352017238","filename":"file0"},{"photo_id":"1352017251","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017255":["hashtag1","hashtag2"]},{"1352017257":["hashtag1","hashtag2"]},{"1352017242":["hashtag1","hashtag2"]},{"1352017251":["hashtag1","hashtag2"]},{"1352017247":["hashtag1","hashtag2"]},{"1352017238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017255, 1352017257, 1352017242, 1352017251, 1352017247, 1352017238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.772237300872803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:52:32.559051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_46_10380.jpg', '/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_55_9429.jpg', '/home/pi/Desktop/images/19042025/20/24/image_19042025_20_25_05_10374.jpg', '/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_15_9384.jpg', '/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_25_10462.jpg', '/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_36_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_46_10380.jpg
/home/pi/Desktop/images/19042025/20/24/image_19042025_20_24_55_9429.jpg
/home/pi/Desktop/images/19042025/20/24/image_19042025_20_25_05_10374.jpg
/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_15_9384.jpg
/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_25_10462.jpg
/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_36_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":["1352017267","1352017281","1352017284","1352017278","1352017271","1352017274"],"photo_ids_order":["1352017267","1352017271","1352017274","1352017278","1352017281","1352017284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0033f2f22d929c8a37b9857f6a197520.jpg","text":"TemporaryFile(/tmp/multipartBody4123849812398184260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096013023,"filename":"image_19042025_20_24_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b3cd3608fd380fcc80fc5f782bdab491.jpg","text":"TemporaryFile(/tmp/multipartBody5037006267026388015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096013023,"filename":"image_19042025_20_25_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c8e1959800ce7753e44426bfd554fd8.jpg","text":"TemporaryFile(/tmp/multipartBody1257717729270004526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096013023,"filename":"image_19042025_20_25_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/19/4cfc891d940620311dc6d5ba1cc9b025.jpg","text":"TemporaryFile(/tmp/multipartBody3343708978441674529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096013023,"filename":"image_19042025_20_25_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/53e3d0849de4dda3ca2f341d75aef8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8675220844336282595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096013023,"filename":"image_19042025_20_24_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/19/f0faa53040e04dbf01f39edbeaa2ded5.jpg","text":"TemporaryFile(/tmp/multipartBody5528019643079162752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096013023,"filename":"image_19042025_20_25_05_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017274","file1":"1352017271","file0":"1352017267","file4":"1352017281","file5":"1352017284","file3":"1352017278"},"map_files_photo_id_array":[{"photo_id":"1352017284","filename":"file5"},{"photo_id":"1352017274","filename":"file2"},{"photo_id":"1352017281","filename":"file4"},{"photo_id":"1352017271","filename":"file1"},{"photo_id":"1352017267","filename":"file0"},{"photo_id":"1352017278","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017267":["hashtag1","hashtag2"]},{"1352017281":["hashtag1","hashtag2"]},{"1352017284":["hashtag1","hashtag2"]},{"1352017278":["hashtag1","hashtag2"]},{"1352017271":["hashtag1","hashtag2"]},{"1352017274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017267, 1352017281, 1352017284, 1352017278, 1352017271, 1352017274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.285929203033447 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:53:32.663940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_45_9393.jpg', '/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_55_10391.jpg', '/home/pi/Desktop/images/19042025/20/25/image_19042025_20_26_05_9365.jpg', '/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_15_10452.jpg', '/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_26_10378.jpg', '/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_35_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_45_9393.jpg
/home/pi/Desktop/images/19042025/20/25/image_19042025_20_25_55_10391.jpg
/home/pi/Desktop/images/19042025/20/25/image_19042025_20_26_05_9365.jpg
/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_15_10452.jpg
/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_26_10378.jpg
/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_35_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":["1352017294","1352017291","1352017306","1352017309","1352017298","1352017302"],"photo_ids_order":["1352017291","1352017294","1352017298","1352017302","1352017306","1352017309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5a36208fd5fd57017668003b510812a3.jpg","text":"TemporaryFile(/tmp/multipartBody5697223154170076969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096073124,"filename":"image_19042025_20_25_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e2bcf7d341dc597da05952149e55f52a.jpg","text":"TemporaryFile(/tmp/multipartBody8934643986455123716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096073124,"filename":"image_19042025_20_25_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/19/b001866beb56e4f5a578ae6f97a3c3b0.jpg","text":"TemporaryFile(/tmp/multipartBody2094512618241062228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096073124,"filename":"image_19042025_20_26_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/19/519373221d82983509df51275ad6ac90.jpg","text":"TemporaryFile(/tmp/multipartBody790593716807080277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096073124,"filename":"image_19042025_20_26_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d9bfa8c64425c7492fa98fa535c560d1.jpg","text":"TemporaryFile(/tmp/multipartBody7799815855170012421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096073124,"filename":"image_19042025_20_26_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1dda1fd7c1b88583911701fa3e571895.jpg","text":"TemporaryFile(/tmp/multipartBody7607083095821546335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096073124,"filename":"image_19042025_20_26_15_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017298","file1":"1352017294","file0":"1352017291","file4":"1352017306","file5":"1352017309","file3":"1352017302"},"map_files_photo_id_array":[{"photo_id":"1352017309","filename":"file5"},{"photo_id":"1352017298","filename":"file2"},{"photo_id":"1352017306","filename":"file4"},{"photo_id":"1352017294","filename":"file1"},{"photo_id":"1352017291","filename":"file0"},{"photo_id":"1352017302","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017294":["hashtag1","hashtag2"]},{"1352017291":["hashtag1","hashtag2"]},{"1352017306":["hashtag1","hashtag2"]},{"1352017309":["hashtag1","hashtag2"]},{"1352017298":["hashtag1","hashtag2"]},{"1352017302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017294, 1352017291, 1352017306, 1352017309, 1352017298, 1352017302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.243940591812134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:54:32.898571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_45_10388.jpg', '/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_55_9360.jpg', '/home/pi/Desktop/images/19042025/20/26/image_19042025_20_27_05_10366.jpg', '/home/pi/Desktop/images/19042025/20/27/image_19042025_20_27_36_10825.jpg', '/home/pi/Desktop/images/19042025/20/27/image_19042025_20_27_45_9516.jpg', '/home/pi/Desktop/images/19042025/20/27/image_19042025_20_27_56_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_45_10388.jpg
/home/pi/Desktop/images/19042025/20/26/image_19042025_20_26_55_9360.jpg
/home/pi/Desktop/images/19042025/20/26/image_19042025_20_27_05_10366.jpg
/home/pi/Desktop/images/19042025/20/27/image_19042025_20_27_36_10825.jpg
/home/pi/Desktop/images/19042025/20/27/image_19042025_20_27_45_9516.jpg
/home/pi/Desktop/images/19042025/20/27/image_19042025_20_27_56_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":["1352017331","1352017325","1352017318","1352017334","1352017328","1352017322"],"photo_ids_order":["1352017318","1352017322","1352017325","1352017328","1352017331","1352017334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/64001b0be18319a271cdc5cb64829146.jpg","text":"TemporaryFile(/tmp/multipartBody5948689374696803192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096133365,"filename":"image_19042025_20_27_45_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/19/310eda402b7b25236bf389d9874dfe7e.jpg","text":"TemporaryFile(/tmp/multipartBody7081137415461180768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096133365,"filename":"image_19042025_20_27_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/19/2a39040b883569c4e5f28538aec87f39.jpg","text":"TemporaryFile(/tmp/multipartBody4698532190960716809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096133365,"filename":"image_19042025_20_26_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ca8fb88094bb54566749a5f99ab4038.jpg","text":"TemporaryFile(/tmp/multipartBody4537377826537793976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096133365,"filename":"image_19042025_20_27_56_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5b258c27a9cf8811cfa6b44663ae1477.jpg","text":"TemporaryFile(/tmp/multipartBody2825361415050894856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096133365,"filename":"image_19042025_20_27_36_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/19/1e29649a7a320609a10d8ea937695851.jpg","text":"TemporaryFile(/tmp/multipartBody8616192548800081023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096133365,"filename":"image_19042025_20_26_55_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017325","file1":"1352017322","file0":"1352017318","file4":"1352017331","file5":"1352017334","file3":"1352017328"},"map_files_photo_id_array":[{"photo_id":"1352017334","filename":"file5"},{"photo_id":"1352017325","filename":"file2"},{"photo_id":"1352017331","filename":"file4"},{"photo_id":"1352017322","filename":"file1"},{"photo_id":"1352017318","filename":"file0"},{"photo_id":"1352017328","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017331":["hashtag1","hashtag2"]},{"1352017325":["hashtag1","hashtag2"]},{"1352017318":["hashtag1","hashtag2"]},{"1352017334":["hashtag1","hashtag2"]},{"1352017328":["hashtag1","hashtag2"]},{"1352017322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017331, 1352017325, 1352017318, 1352017334, 1352017328, 1352017322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97982215881348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:55:33.144816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/27/image_19042025_20_28_05_9406.jpg', '/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_15_10364.jpg', '/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_25_9373.jpg', '/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_35_10441.jpg', '/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_45_10381.jpg', '/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_55_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/27/image_19042025_20_28_05_9406.jpg
/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_15_10364.jpg
/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_25_9373.jpg
/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_35_10441.jpg
/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_45_10381.jpg
/home/pi/Desktop/images/19042025/20/28/image_19042025_20_28_55_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017342","1352017351","1352017344","1352017347","1352017349","1352017340"],"photo_ids_order":["1352017340","1352017342","1352017344","1352017347","1352017349","1352017351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0d88c53305884bd9c47327053a86d22c.jpg","text":"TemporaryFile(/tmp/multipartBody3538639247291834440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096193617,"filename":"image_19042025_20_28_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/19/98e3bda28bcb59b42d9b82a110804f53.jpg","text":"TemporaryFile(/tmp/multipartBody7204710219244011839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096193617,"filename":"image_19042025_20_28_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/19/d53052a1044c60d0cff0d8bafa26f5d1.jpg","text":"TemporaryFile(/tmp/multipartBody5031011473887665898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096193617,"filename":"image_19042025_20_28_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2bd77c1e048e87aeb5b7fd7a659c2beb.jpg","text":"TemporaryFile(/tmp/multipartBody8891446794875199686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096193617,"filename":"image_19042025_20_28_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/19/5ead17c23fc04c30b6025a5d373f11b6.jpg","text":"TemporaryFile(/tmp/multipartBody7072892981711433266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096193617,"filename":"image_19042025_20_28_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/19/7c0967ec7be884e31576fd4e80f006e9.jpg","text":"TemporaryFile(/tmp/multipartBody4425436385181470523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096193617,"filename":"image_19042025_20_28_05_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017344","file1":"1352017342","file0":"1352017340","file4":"1352017349","file5":"1352017351","file3":"1352017347"},"map_files_photo_id_array":[{"photo_id":"1352017351","filename":"file5"},{"photo_id":"1352017344","filename":"file2"},{"photo_id":"1352017349","filename":"file4"},{"photo_id":"1352017342","filename":"file1"},{"photo_id":"1352017340","filename":"file0"},{"photo_id":"1352017347","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017342":["hashtag1","hashtag2"]},{"1352017351":["hashtag1","hashtag2"]},{"1352017344":["hashtag1","hashtag2"]},{"1352017347":["hashtag1","hashtag2"]},{"1352017349":["hashtag1","hashtag2"]},{"1352017340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017342, 1352017351, 1352017344, 1352017347, 1352017349, 1352017340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.18582010269165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:56:32.336968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/28/image_19042025_20_29_05_10367.jpg', '/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_15_9361.jpg', '/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_25_10370.jpg', '/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_35_10433.jpg', '/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_45_9470.jpg', '/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/28/image_19042025_20_29_05_10367.jpg
/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_15_9361.jpg
/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_25_10370.jpg
/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_35_10433.jpg
/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_45_9470.jpg
/home/pi/Desktop/images/19042025/20/29/image_19042025_20_29_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":["1352017375","1352017369","1352017372","1352017366","1352017362","1352017370"],"photo_ids_order":["1352017362","1352017366","1352017369","1352017370","1352017372","1352017375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0fc513aa421a443b9e139e8439277c00.jpg","text":"TemporaryFile(/tmp/multipartBody4814687664148777987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096252809,"filename":"image_19042025_20_29_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/19/b43b895910bb8f3c7577103adb740673.jpg","text":"TemporaryFile(/tmp/multipartBody2257808527071500041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096252809,"filename":"image_19042025_20_29_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0435f66c2b85fce9d5e61277b63f3a50.jpg","text":"TemporaryFile(/tmp/multipartBody7452559780454275382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096252809,"filename":"image_19042025_20_29_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/19/d6fd3f748f1580e31d935f6adcbec187.jpg","text":"TemporaryFile(/tmp/multipartBody2897231074590355412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096252809,"filename":"image_19042025_20_29_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/19/e79eeffa39278cdc3e98f13f69ab51ac.jpg","text":"TemporaryFile(/tmp/multipartBody1629652627610263460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096252809,"filename":"image_19042025_20_29_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/19/bec984f8f020a19042cf0a6a9705f764.jpg","text":"TemporaryFile(/tmp/multipartBody1063641493704706332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096252809,"filename":"image_19042025_20_29_35_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017369","file1":"1352017366","file0":"1352017362","file4":"1352017372","file5":"1352017375","file3":"1352017370"},"map_files_photo_id_array":[{"photo_id":"1352017375","filename":"file5"},{"photo_id":"1352017369","filename":"file2"},{"photo_id":"1352017372","filename":"file4"},{"photo_id":"1352017366","filename":"file1"},{"photo_id":"1352017362","filename":"file0"},{"photo_id":"1352017370","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017375":["hashtag1","hashtag2"]},{"1352017369":["hashtag1","hashtag2"]},{"1352017372":["hashtag1","hashtag2"]},{"1352017366":["hashtag1","hashtag2"]},{"1352017362":["hashtag1","hashtag2"]},{"1352017370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017375, 1352017369, 1352017372, 1352017366, 1352017362, 1352017370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.87221908569336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 22:57:32.626110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/29/image_19042025_20_30_05_9395.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_15_10363.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_25_10370.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_35_9368.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_45_10473.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_55_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/29/image_19042025_20_30_05_9395.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_15_10363.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_25_10370.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_35_9368.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_45_10473.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_55_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 22:59:03.523843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/29/image_19042025_20_30_05_9395.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_15_10363.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_25_10370.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_35_9368.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_45_10473.jpg', '/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_55_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/29/image_19042025_20_30_05_9395.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_15_10363.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_25_10370.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_35_9368.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_45_10473.jpg
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_30_55_9375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017423","1352017426","1352017414","1352017431","1352017419","1352017428"],"photo_ids_order":["1352017414","1352017419","1352017423","1352017426","1352017428","1352017431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e95cb83594f9c14c9601fc60ed237c60.jpg","text":"TemporaryFile(/tmp/multipartBody1164911576914126710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096404073,"filename":"image_19042025_20_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/19/e6f9dabfeac8c7f95b53816f9d535273.jpg","text":"TemporaryFile(/tmp/multipartBody4785374695879992529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096404073,"filename":"image_19042025_20_30_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/19/958d0c52a98b8990278b912ae93d8510.jpg","text":"TemporaryFile(/tmp/multipartBody2589291688134810821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096404073,"filename":"image_19042025_20_30_05_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/19/a607915d94285fe9793001c8020d581e.jpg","text":"TemporaryFile(/tmp/multipartBody1947421423039086936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096404073,"filename":"image_19042025_20_30_55_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/01d1d2caff1cea24fa3aeb2c7090f9f3.jpg","text":"TemporaryFile(/tmp/multipartBody3516386962793261547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096404073,"filename":"image_19042025_20_30_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/19/177a84c87b07ef66758f839eab037869.jpg","text":"TemporaryFile(/tmp/multipartBody6059203039212708965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096404073,"filename":"image_19042025_20_30_45_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017423","file1":"1352017419","file0":"1352017414","file4":"1352017428","file5":"1352017431","file3":"1352017426"},"map_files_photo_id_array":[{"photo_id":"1352017431","filename":"file5"},{"photo_id":"1352017423","filename":"file2"},{"photo_id":"1352017428","filename":"file4"},{"photo_id":"1352017419","filename":"file1"},{"photo_id":"1352017414","filename":"file0"},{"photo_id":"1352017426","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017423":["hashtag1","hashtag2"]},{"1352017426":["hashtag1","hashtag2"]},{"1352017414":["hashtag1","hashtag2"]},{"1352017431":["hashtag1","hashtag2"]},{"1352017419":["hashtag1","hashtag2"]},{"1352017428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017423, 1352017426, 1352017414, 1352017431, 1352017419, 1352017428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.38327980041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 22:59:42.347077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/30/image_19042025_20_31_05_10459.jpg', '/home/pi/Desktop/images/19042025/20/31/image_19042025_20_31_16_10429.jpg', '/home/pi/Desktop/images/19042025/20/31/image_19042025_20_31_35_10371.jpg', '/home/pi/Desktop/images/19042025/20/31/image_19042025_20_31_45_9372.jpg', '/home/pi/Desktop/images/19042025/20/31/image_19042025_20_31_55_10376.jpg', '/home/pi/Desktop/images/19042025/20/31/image_19042025_20_32_05_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/30/image_19042025_20_31_05_10459.jpg
/home/pi/Desktop/images/19042025/20/31/image_19042025_20_31_16_10429.jpg
/home/pi/Desktop/images/19042025/20/31/image_19042025_20_31_35_10371.jpg
/home/pi/Desktop/images/19042025/20/31/image_19042025_20_31_45_9372.jpg
/home/pi/Desktop/images/19042025/20/31/image_19042025_20_31_55_10376.jpg
/home/pi/Desktop/images/19042025/20/31/image_19042025_20_32_05_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":["1352017447","1352017434","1352017445","1352017439","1352017442","1352017436"],"photo_ids_order":["1352017434","1352017436","1352017439","1352017442","1352017445","1352017447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/09a1b5872c3e52f83bd89e42b4597872.jpg","text":"TemporaryFile(/tmp/multipartBody838900956742546324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096442815,"filename":"image_19042025_20_32_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7ac879a5f62ae5fceaa73b85caa5fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1264641609264927029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096442815,"filename":"image_19042025_20_31_05_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ddd04b32cb9099a4b71c12f686fb5769.jpg","text":"TemporaryFile(/tmp/multipartBody6348545122840981676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096442815,"filename":"image_19042025_20_31_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7814072af63e64c4fefe9e4dd3fdb434.jpg","text":"TemporaryFile(/tmp/multipartBody6036519075050385945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096442815,"filename":"image_19042025_20_31_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/19/8475378711df998a7a10eda4d68f89a0.jpg","text":"TemporaryFile(/tmp/multipartBody3100229324276533792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096442815,"filename":"image_19042025_20_31_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/19/7a8c64179b6598a6c07e3f41b7e73915.jpg","text":"TemporaryFile(/tmp/multipartBody544650614975933760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096442815,"filename":"image_19042025_20_31_16_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017439","file1":"1352017436","file0":"1352017434","file4":"1352017445","file5":"1352017447","file3":"1352017442"},"map_files_photo_id_array":[{"photo_id":"1352017447","filename":"file5"},{"photo_id":"1352017439","filename":"file2"},{"photo_id":"1352017445","filename":"file4"},{"photo_id":"1352017436","filename":"file1"},{"photo_id":"1352017434","filename":"file0"},{"photo_id":"1352017442","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017447":["hashtag1","hashtag2"]},{"1352017434":["hashtag1","hashtag2"]},{"1352017445":["hashtag1","hashtag2"]},{"1352017439":["hashtag1","hashtag2"]},{"1352017442":["hashtag1","hashtag2"]},{"1352017436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017447, 1352017434, 1352017445, 1352017439, 1352017442, 1352017436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.631685972213745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:00:32.494023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/32/image_19042025_20_32_25_10429.jpg', '/home/pi/Desktop/images/19042025/20/32/image_19042025_20_32_35_9443.jpg', '/home/pi/Desktop/images/19042025/20/32/image_19042025_20_32_45_10438.jpg', '/home/pi/Desktop/images/19042025/20/32/image_19042025_20_32_56_10368.jpg', '/home/pi/Desktop/images/19042025/20/32/image_19042025_20_33_05_9460.jpg', '/home/pi/Desktop/images/19042025/20/33/image_19042025_20_33_15_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/32/image_19042025_20_32_25_10429.jpg
/home/pi/Desktop/images/19042025/20/32/image_19042025_20_32_35_9443.jpg
/home/pi/Desktop/images/19042025/20/32/image_19042025_20_32_45_10438.jpg
/home/pi/Desktop/images/19042025/20/32/image_19042025_20_32_56_10368.jpg
/home/pi/Desktop/images/19042025/20/32/image_19042025_20_33_05_9460.jpg
/home/pi/Desktop/images/19042025/20/33/image_19042025_20_33_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":["1352017474","1352017470","1352017467","1352017464","1352017478","1352017460"],"photo_ids_order":["1352017460","1352017464","1352017467","1352017470","1352017474","1352017478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ef464e267463b01b633c022fc55db6bb.jpg","text":"TemporaryFile(/tmp/multipartBody3523346078036112732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096492956,"filename":"image_19042025_20_33_05_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/36fc820f9b5c0e4d037d5ff57339749f.jpg","text":"TemporaryFile(/tmp/multipartBody2345143374529604431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096492956,"filename":"image_19042025_20_32_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1475f5a944335e276d47dcaeeb6a4a40.jpg","text":"TemporaryFile(/tmp/multipartBody196239134960276358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096492956,"filename":"image_19042025_20_32_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/16c8c04c2f328e49af446dce6c98271c.jpg","text":"TemporaryFile(/tmp/multipartBody2008499513930056659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096492956,"filename":"image_19042025_20_32_35_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c9da4e9e4a94d1cb7170885e8beaf290.jpg","text":"TemporaryFile(/tmp/multipartBody7542536760136311671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096492956,"filename":"image_19042025_20_33_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/19/1c5f922c8f393fa0459f9207c61ae622.jpg","text":"TemporaryFile(/tmp/multipartBody413608333055502588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096492956,"filename":"image_19042025_20_32_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017467","file1":"1352017464","file0":"1352017460","file4":"1352017474","file5":"1352017478","file3":"1352017470"},"map_files_photo_id_array":[{"photo_id":"1352017478","filename":"file5"},{"photo_id":"1352017467","filename":"file2"},{"photo_id":"1352017474","filename":"file4"},{"photo_id":"1352017464","filename":"file1"},{"photo_id":"1352017460","filename":"file0"},{"photo_id":"1352017470","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017474":["hashtag1","hashtag2"]},{"1352017470":["hashtag1","hashtag2"]},{"1352017467":["hashtag1","hashtag2"]},{"1352017464":["hashtag1","hashtag2"]},{"1352017478":["hashtag1","hashtag2"]},{"1352017460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017474, 1352017470, 1352017467, 1352017464, 1352017478, 1352017460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56691551208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:01:32.647215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/33/image_19042025_20_33_25_9373.jpg', '/home/pi/Desktop/images/19042025/20/33/image_19042025_20_33_46_10371.jpg', '/home/pi/Desktop/images/19042025/20/33/image_19042025_20_33_55_9471.jpg', '/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_15_9392.jpg', '/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_25_10461.jpg', '/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_36_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/33/image_19042025_20_33_25_9373.jpg
/home/pi/Desktop/images/19042025/20/33/image_19042025_20_33_46_10371.jpg
/home/pi/Desktop/images/19042025/20/33/image_19042025_20_33_55_9471.jpg
/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_15_9392.jpg
/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_25_10461.jpg
/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_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":["1352017492","1352017486","1352017495","1352017497","1352017482","1352017490"],"photo_ids_order":["1352017482","1352017486","1352017490","1352017492","1352017495","1352017497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/624562cb5e4a713ad24397336d4eb215.jpg","text":"TemporaryFile(/tmp/multipartBody3792049911742942591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096553107,"filename":"image_19042025_20_34_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/19/ce3138290c54020155efd9abe6c9fa50.jpg","text":"TemporaryFile(/tmp/multipartBody2794883544033713440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096553107,"filename":"image_19042025_20_33_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/19/9bbd67ff87dac0b7955c6f75b6048b36.jpg","text":"TemporaryFile(/tmp/multipartBody6202668090957962207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096553107,"filename":"image_19042025_20_34_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/19/6ab3689c8185f86ab1714f33a078ffb4.jpg","text":"TemporaryFile(/tmp/multipartBody6664542073140649416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096553107,"filename":"image_19042025_20_34_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/19/5518b7dfcf2c6651d2120a06f15d0201.jpg","text":"TemporaryFile(/tmp/multipartBody6711218831355207766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096553107,"filename":"image_19042025_20_33_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a74768e258d85bf2032e3048457aa202.jpg","text":"TemporaryFile(/tmp/multipartBody3309251061293723067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096553107,"filename":"image_19042025_20_33_55_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017490","file1":"1352017486","file0":"1352017482","file4":"1352017495","file5":"1352017497","file3":"1352017492"},"map_files_photo_id_array":[{"photo_id":"1352017497","filename":"file5"},{"photo_id":"1352017490","filename":"file2"},{"photo_id":"1352017495","filename":"file4"},{"photo_id":"1352017486","filename":"file1"},{"photo_id":"1352017482","filename":"file0"},{"photo_id":"1352017492","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017492":["hashtag1","hashtag2"]},{"1352017486":["hashtag1","hashtag2"]},{"1352017495":["hashtag1","hashtag2"]},{"1352017497":["hashtag1","hashtag2"]},{"1352017482":["hashtag1","hashtag2"]},{"1352017490":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017492, 1352017486, 1352017495, 1352017497, 1352017482, 1352017490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.052396297454834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:02:32.972188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_45_9385.jpg', '/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_55_10376.jpg', '/home/pi/Desktop/images/19042025/20/34/image_19042025_20_35_05_9347.jpg', '/home/pi/Desktop/images/19042025/20/35/image_19042025_20_35_15_10442.jpg', '/home/pi/Desktop/images/19042025/20/35/image_19042025_20_35_25_10395.jpg', '/home/pi/Desktop/images/19042025/20/35/image_19042025_20_35_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_45_9385.jpg
/home/pi/Desktop/images/19042025/20/34/image_19042025_20_34_55_10376.jpg
/home/pi/Desktop/images/19042025/20/34/image_19042025_20_35_05_9347.jpg
/home/pi/Desktop/images/19042025/20/35/image_19042025_20_35_15_10442.jpg
/home/pi/Desktop/images/19042025/20/35/image_19042025_20_35_25_10395.jpg
/home/pi/Desktop/images/19042025/20/35/image_19042025_20_35_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017768","1352017741","1352017689","1352017665","1352017800","1352017710"],"photo_ids_order":["1352017665","1352017689","1352017710","1352017741","1352017768","1352017800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c4093c0b55107b68d377d9aa3bec890b.jpg","text":"TemporaryFile(/tmp/multipartBody2304882203596276582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096613432,"filename":"image_19042025_20_35_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e9f353e8ac6c2365283ab659bddcbcf4.jpg","text":"TemporaryFile(/tmp/multipartBody878000945797698761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096613432,"filename":"image_19042025_20_35_15_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3b1d0c1e0f2934fd640c906705ad0ba2.jpg","text":"TemporaryFile(/tmp/multipartBody983545250108084282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096613432,"filename":"image_19042025_20_34_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a49a0822ea0279b46fe45ba36c2472f5.jpg","text":"TemporaryFile(/tmp/multipartBody1296660511728338750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096613432,"filename":"image_19042025_20_34_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/19/65c1bf2021501bed8af255ed0598f284.jpg","text":"TemporaryFile(/tmp/multipartBody241220038226371420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096613432,"filename":"image_19042025_20_35_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/19/5cae74d2a7f26c17777b58e2553d67d6.jpg","text":"TemporaryFile(/tmp/multipartBody4076590825452863857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096613432,"filename":"image_19042025_20_35_05_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017710","file1":"1352017689","file0":"1352017665","file4":"1352017768","file5":"1352017800","file3":"1352017741"},"map_files_photo_id_array":[{"photo_id":"1352017800","filename":"file5"},{"photo_id":"1352017710","filename":"file2"},{"photo_id":"1352017768","filename":"file4"},{"photo_id":"1352017689","filename":"file1"},{"photo_id":"1352017665","filename":"file0"},{"photo_id":"1352017741","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352017768":["hashtag1","hashtag2"]},{"1352017741":["hashtag1","hashtag2"]},{"1352017689":["hashtag1","hashtag2"]},{"1352017665":["hashtag1","hashtag2"]},{"1352017800":["hashtag1","hashtag2"]},{"1352017710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352017768, 1352017741, 1352017689, 1352017665, 1352017800, 1352017710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.478852033615112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:03:32.312585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/36/image_19042025_20_36_26_10351.jpg', '/home/pi/Desktop/images/19042025/20/36/image_19042025_20_36_45_10367.jpg', '/home/pi/Desktop/images/19042025/20/36/image_19042025_20_36_55_9380.jpg', '/home/pi/Desktop/images/19042025/20/36/image_19042025_20_37_05_10356.jpg', '/home/pi/Desktop/images/19042025/20/37/image_19042025_20_37_15_10357.jpg', '/home/pi/Desktop/images/19042025/20/37/image_19042025_20_37_25_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/36/image_19042025_20_36_26_10351.jpg
/home/pi/Desktop/images/19042025/20/36/image_19042025_20_36_45_10367.jpg
/home/pi/Desktop/images/19042025/20/36/image_19042025_20_36_55_9380.jpg
/home/pi/Desktop/images/19042025/20/36/image_19042025_20_37_05_10356.jpg
/home/pi/Desktop/images/19042025/20/37/image_19042025_20_37_15_10357.jpg
/home/pi/Desktop/images/19042025/20/37/image_19042025_20_37_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":["1352018200","1352018172","1352018088","1352018145","1352018118","1352018056"],"photo_ids_order":["1352018056","1352018088","1352018118","1352018145","1352018172","1352018200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c6ffa7472c141ab81b9aad79bd64b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody8118680184838058917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096672778,"filename":"image_19042025_20_37_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f436d94dc387f8312ce1a188eb12ca68.jpg","text":"TemporaryFile(/tmp/multipartBody4892021830484941838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096672778,"filename":"image_19042025_20_37_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b49d5af37f9c4d45ba12ca23f6d2b4a0.jpg","text":"TemporaryFile(/tmp/multipartBody87666599662852964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096672778,"filename":"image_19042025_20_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/19/1912139b4b9d68b388aff97935fb90e6.jpg","text":"TemporaryFile(/tmp/multipartBody8941935586173231823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096672778,"filename":"image_19042025_20_37_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/19/25cc0b8100818ad1a71ebd7519781ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2037008442542354373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096672778,"filename":"image_19042025_20_36_55_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b5136713a1617d8f106ac3b135d0db1f.jpg","text":"TemporaryFile(/tmp/multipartBody3998181949683786054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096672778,"filename":"image_19042025_20_36_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018118","file1":"1352018088","file0":"1352018056","file4":"1352018172","file5":"1352018200","file3":"1352018145"},"map_files_photo_id_array":[{"photo_id":"1352018200","filename":"file5"},{"photo_id":"1352018118","filename":"file2"},{"photo_id":"1352018172","filename":"file4"},{"photo_id":"1352018088","filename":"file1"},{"photo_id":"1352018056","filename":"file0"},{"photo_id":"1352018145","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352018200":["hashtag1","hashtag2"]},{"1352018172":["hashtag1","hashtag2"]},{"1352018088":["hashtag1","hashtag2"]},{"1352018145":["hashtag1","hashtag2"]},{"1352018118":["hashtag1","hashtag2"]},{"1352018056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352018200, 1352018172, 1352018088, 1352018145, 1352018118, 1352018056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.942458629608154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:04:32.472188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/37/image_19042025_20_37_55_9402.jpg', '/home/pi/Desktop/images/19042025/20/37/image_19042025_20_38_05_10366.jpg', '/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_15_9383.jpg', '/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_25_10477.jpg', '/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_36_10373.jpg', '/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_45_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/37/image_19042025_20_37_55_9402.jpg
/home/pi/Desktop/images/19042025/20/37/image_19042025_20_38_05_10366.jpg
/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_15_9383.jpg
/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_25_10477.jpg
/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_36_10373.jpg
/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_45_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":["1352018454","1352018634","1352018552","1352018525","1352018482","1352018708"],"photo_ids_order":["1352018454","1352018482","1352018525","1352018552","1352018634","1352018708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c7a35e638fb8180ecc2006d77436bbcc.jpg","text":"TemporaryFile(/tmp/multipartBody7771895484032571801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096732969,"filename":"image_19042025_20_37_55_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3345dec9999b58c95bb260b21c47c941.jpg","text":"TemporaryFile(/tmp/multipartBody6730739224263672266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096732969,"filename":"image_19042025_20_38_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/19/1a02935d859edc276cdcb26bbe909a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3934910190904519945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096732969,"filename":"image_19042025_20_38_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/19/464731d1e113f03ce0f0b4a727270e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7487775694059524017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096732969,"filename":"image_19042025_20_38_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/19/eefbc98a1b0139ccfda6b71e8f6e2ccb.jpg","text":"TemporaryFile(/tmp/multipartBody150853636358557654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096732969,"filename":"image_19042025_20_38_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/19/5840339dee672122b5a39ffd57d6349d.jpg","text":"TemporaryFile(/tmp/multipartBody6009228146352940052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096732969,"filename":"image_19042025_20_38_45_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018525","file1":"1352018482","file0":"1352018454","file4":"1352018634","file5":"1352018708","file3":"1352018552"},"map_files_photo_id_array":[{"photo_id":"1352018708","filename":"file5"},{"photo_id":"1352018525","filename":"file2"},{"photo_id":"1352018634","filename":"file4"},{"photo_id":"1352018482","filename":"file1"},{"photo_id":"1352018454","filename":"file0"},{"photo_id":"1352018552","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352018454":["hashtag1","hashtag2"]},{"1352018634":["hashtag1","hashtag2"]},{"1352018552":["hashtag1","hashtag2"]},{"1352018525":["hashtag1","hashtag2"]},{"1352018482":["hashtag1","hashtag2"]},{"1352018708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352018454, 1352018634, 1352018552, 1352018525, 1352018482, 1352018708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.92186164855957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:05:32.802055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_55_10375.jpg', '/home/pi/Desktop/images/19042025/20/38/image_19042025_20_39_05_9339.jpg', '/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_15_10432.jpg', '/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_26_10387.jpg', '/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_35_9463.jpg', '/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/38/image_19042025_20_38_55_10375.jpg
/home/pi/Desktop/images/19042025/20/38/image_19042025_20_39_05_9339.jpg
/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_15_10432.jpg
/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_26_10387.jpg
/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_35_9463.jpg
/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_45_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":["1352018854","1352018886","1352018889","1352018877","1352018879","1352018881"],"photo_ids_order":["1352018854","1352018877","1352018879","1352018881","1352018886","1352018889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf28621ac86ff259ab84f979f744ed30.jpg","text":"TemporaryFile(/tmp/multipartBody7019903808154151226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096793265,"filename":"image_19042025_20_38_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/19/d03165d38949557ad77de3437ddf5d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2921809993269708622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096793265,"filename":"image_19042025_20_39_35_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0bd38fb5326bffc1b414a9f2e7f2544c.jpg","text":"TemporaryFile(/tmp/multipartBody422303827219629103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096793265,"filename":"image_19042025_20_39_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/437394f8abcf64d5f858d9d1811b944f.jpg","text":"TemporaryFile(/tmp/multipartBody7515145429209162835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096793265,"filename":"image_19042025_20_39_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/19/c4544e7301c34c4ccc344687aef5d3f5.jpg","text":"TemporaryFile(/tmp/multipartBody1787325468071156458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096793265,"filename":"image_19042025_20_39_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/19/fa0eca44eac23737d11b54c9b2f98cae.jpg","text":"TemporaryFile(/tmp/multipartBody4080679877252622648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096793265,"filename":"image_19042025_20_39_26_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018879","file1":"1352018877","file0":"1352018854","file4":"1352018886","file5":"1352018889","file3":"1352018881"},"map_files_photo_id_array":[{"photo_id":"1352018889","filename":"file5"},{"photo_id":"1352018879","filename":"file2"},{"photo_id":"1352018886","filename":"file4"},{"photo_id":"1352018877","filename":"file1"},{"photo_id":"1352018854","filename":"file0"},{"photo_id":"1352018881","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352018854":["hashtag1","hashtag2"]},{"1352018886":["hashtag1","hashtag2"]},{"1352018889":["hashtag1","hashtag2"]},{"1352018877":["hashtag1","hashtag2"]},{"1352018879":["hashtag1","hashtag2"]},{"1352018881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352018854, 1352018886, 1352018889, 1352018877, 1352018879, 1352018881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.63857626914978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 23:06:42.890717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_55_9352.jpg', '/home/pi/Desktop/images/19042025/20/39/image_19042025_20_40_05_10443.jpg', '/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_16_10379.jpg', '/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_25_9463.jpg', '/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_35_10364.jpg', '/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_45_9504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/39/image_19042025_20_39_55_9352.jpg
/home/pi/Desktop/images/19042025/20/39/image_19042025_20_40_05_10443.jpg
/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_16_10379.jpg
/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_25_9463.jpg
/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_35_10364.jpg
/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_45_9504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352019016","1352018932","1352018905","1352018988","1352018961","1352019043"],"photo_ids_order":["1352018905","1352018932","1352018961","1352018988","1352019016","1352019043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d6a25a6320408367878fc3b0e0c3ba79.jpg","text":"TemporaryFile(/tmp/multipartBody2640210474191306184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096863369,"filename":"image_19042025_20_40_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/19/fedfde7d03b2784889f4614510e56711.jpg","text":"TemporaryFile(/tmp/multipartBody890275025171771788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096863369,"filename":"image_19042025_20_40_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/19/3a84208eae326a99634813ca69d3f9b9.jpg","text":"TemporaryFile(/tmp/multipartBody3903572536889944102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096863369,"filename":"image_19042025_20_39_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/19/faae41c6fa1c3515125578c8a5aaa0e6.jpg","text":"TemporaryFile(/tmp/multipartBody2992481449640569421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096863369,"filename":"image_19042025_20_40_25_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2af8c320738defc8371ad456e487e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody5024374963391809867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096863369,"filename":"image_19042025_20_40_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/19/5ced316ac15eeaa6db0bab9a36d655a6.jpg","text":"TemporaryFile(/tmp/multipartBody727349577140221926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096863369,"filename":"image_19042025_20_40_45_9504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018961","file1":"1352018932","file0":"1352018905","file4":"1352019016","file5":"1352019043","file3":"1352018988"},"map_files_photo_id_array":[{"photo_id":"1352019043","filename":"file5"},{"photo_id":"1352018961","filename":"file2"},{"photo_id":"1352019016","filename":"file4"},{"photo_id":"1352018932","filename":"file1"},{"photo_id":"1352018905","filename":"file0"},{"photo_id":"1352018988","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019016":["hashtag1","hashtag2"]},{"1352018932":["hashtag1","hashtag2"]},{"1352018905":["hashtag1","hashtag2"]},{"1352018988":["hashtag1","hashtag2"]},{"1352018961":["hashtag1","hashtag2"]},{"1352019043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019016, 1352018932, 1352018905, 1352018988, 1352018961, 1352019043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.796886920928955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:07:33.221526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_55_10375.jpg', '/home/pi/Desktop/images/19042025/20/40/image_19042025_20_41_05_9472.jpg', '/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_15_10441.jpg', '/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_26_10418.jpg', '/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_35_9411.jpg', '/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/40/image_19042025_20_40_55_10375.jpg
/home/pi/Desktop/images/19042025/20/40/image_19042025_20_41_05_9472.jpg
/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_15_10441.jpg
/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_26_10418.jpg
/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_35_9411.jpg
/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_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":["1352019226","1352019276","1352019228","1352019224","1352019274","1352019247"],"photo_ids_order":["1352019224","1352019226","1352019228","1352019247","1352019274","1352019276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4684ac8ca981d3d237411e06e2d3d4da.jpg","text":"TemporaryFile(/tmp/multipartBody6658565430379773770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096913684,"filename":"image_19042025_20_41_05_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac5bf47f01ddd1b3f44ea3bee1cd96b7.jpg","text":"TemporaryFile(/tmp/multipartBody9094123395212794037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096913684,"filename":"image_19042025_20_41_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/19/cac4ce3c7bf4974af2e89c70ed731ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4800494355583499183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096913684,"filename":"image_19042025_20_41_15_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6eadbb5883bca674c5bbf0beed8cba79.jpg","text":"TemporaryFile(/tmp/multipartBody3979830660717091142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096913684,"filename":"image_19042025_20_40_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/19/29324cf3f9e911137931529e32dd962f.jpg","text":"TemporaryFile(/tmp/multipartBody1109151547736902396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096913684,"filename":"image_19042025_20_41_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ba8d032c2427f0294546153201d8a367.jpg","text":"TemporaryFile(/tmp/multipartBody901721817153275803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096913684,"filename":"image_19042025_20_41_26_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019228","file1":"1352019226","file0":"1352019224","file4":"1352019274","file5":"1352019276","file3":"1352019247"},"map_files_photo_id_array":[{"photo_id":"1352019276","filename":"file5"},{"photo_id":"1352019228","filename":"file2"},{"photo_id":"1352019274","filename":"file4"},{"photo_id":"1352019226","filename":"file1"},{"photo_id":"1352019224","filename":"file0"},{"photo_id":"1352019247","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019226":["hashtag1","hashtag2"]},{"1352019276":["hashtag1","hashtag2"]},{"1352019228":["hashtag1","hashtag2"]},{"1352019224":["hashtag1","hashtag2"]},{"1352019274":["hashtag1","hashtag2"]},{"1352019247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019226, 1352019276, 1352019228, 1352019224, 1352019274, 1352019247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.756938219070435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:08:32.407894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_55_9367.jpg', '/home/pi/Desktop/images/19042025/20/41/image_19042025_20_42_05_10428.jpg', '/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_16_10443.jpg', '/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_25_9381.jpg', '/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_35_10369.jpg', '/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_45_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/41/image_19042025_20_41_55_9367.jpg
/home/pi/Desktop/images/19042025/20/41/image_19042025_20_42_05_10428.jpg
/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_16_10443.jpg
/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_25_9381.jpg
/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_35_10369.jpg
/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_45_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352019351","1352019365","1352019347","1352019362","1352019359","1352019355"],"photo_ids_order":["1352019347","1352019351","1352019355","1352019359","1352019362","1352019365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e2b4f483ac200531dc6c442fafd32ba0.jpg","text":"TemporaryFile(/tmp/multipartBody6725159672994909343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096972885,"filename":"image_19042025_20_42_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b4ddf9e2ca8a5fabb8e9762bae91acf5.jpg","text":"TemporaryFile(/tmp/multipartBody1337407356831002336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096972885,"filename":"image_19042025_20_42_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6a10c70542b3437101c0a5efd56fb764.jpg","text":"TemporaryFile(/tmp/multipartBody6766550489263000993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096972885,"filename":"image_19042025_20_41_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/19/0b8084197fee198388d4175274f1ad5f.jpg","text":"TemporaryFile(/tmp/multipartBody6222794225697076439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096972885,"filename":"image_19042025_20_42_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/19/75ac025fb87abd53fd7ed7ac38170840.jpg","text":"TemporaryFile(/tmp/multipartBody3221261740427033569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096972885,"filename":"image_19042025_20_42_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b8ca413286b0d8b09e1aa7f3967d3daa.jpg","text":"TemporaryFile(/tmp/multipartBody8132824885986958153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745096972885,"filename":"image_19042025_20_42_16_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019355","file1":"1352019351","file0":"1352019347","file4":"1352019362","file5":"1352019365","file3":"1352019359"},"map_files_photo_id_array":[{"photo_id":"1352019365","filename":"file5"},{"photo_id":"1352019355","filename":"file2"},{"photo_id":"1352019362","filename":"file4"},{"photo_id":"1352019351","filename":"file1"},{"photo_id":"1352019347","filename":"file0"},{"photo_id":"1352019359","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019351":["hashtag1","hashtag2"]},{"1352019365":["hashtag1","hashtag2"]},{"1352019347":["hashtag1","hashtag2"]},{"1352019362":["hashtag1","hashtag2"]},{"1352019359":["hashtag1","hashtag2"]},{"1352019355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019351, 1352019365, 1352019347, 1352019362, 1352019359, 1352019355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.624415397644043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:09:32.638012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_55_10466.jpg', '/home/pi/Desktop/images/19042025/20/42/image_19042025_20_43_06_10358.jpg', '/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_15_9431.jpg', '/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_25_10378.jpg', '/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_35_9367.jpg', '/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/42/image_19042025_20_42_55_10466.jpg
/home/pi/Desktop/images/19042025/20/42/image_19042025_20_43_06_10358.jpg
/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_15_9431.jpg
/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_25_10378.jpg
/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_35_9367.jpg
/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_45_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":["1352019383","1352019401","1352019394","1352019376","1352019379","1352019399"],"photo_ids_order":["1352019376","1352019379","1352019383","1352019394","1352019399","1352019401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4d62bd82c1fdc0a28e6614c770fe3e42.jpg","text":"TemporaryFile(/tmp/multipartBody4495547165621908513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097033102,"filename":"image_19042025_20_43_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/19/5dd3550ee34e9b779cb00fe235e64ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5930318144822714566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097033102,"filename":"image_19042025_20_43_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/19/8d620a27a609d6758d263e6cb7539fd4.jpg","text":"TemporaryFile(/tmp/multipartBody1839033905700923949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097033102,"filename":"image_19042025_20_43_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/19/0d59c38083071219941c2ef3506d0512.jpg","text":"TemporaryFile(/tmp/multipartBody8161992536702465409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097033102,"filename":"image_19042025_20_42_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/19/86446b5eade3865db3b60dc233a5e30b.jpg","text":"TemporaryFile(/tmp/multipartBody790259937951493619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097033102,"filename":"image_19042025_20_43_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/19/4522d44c4063a175ca7a2603106cb8ca.jpg","text":"TemporaryFile(/tmp/multipartBody1662885767754802918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097033102,"filename":"image_19042025_20_43_35_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019383","file1":"1352019379","file0":"1352019376","file4":"1352019399","file5":"1352019401","file3":"1352019394"},"map_files_photo_id_array":[{"photo_id":"1352019401","filename":"file5"},{"photo_id":"1352019383","filename":"file2"},{"photo_id":"1352019399","filename":"file4"},{"photo_id":"1352019379","filename":"file1"},{"photo_id":"1352019376","filename":"file0"},{"photo_id":"1352019394","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019383":["hashtag1","hashtag2"]},{"1352019401":["hashtag1","hashtag2"]},{"1352019394":["hashtag1","hashtag2"]},{"1352019376":["hashtag1","hashtag2"]},{"1352019379":["hashtag1","hashtag2"]},{"1352019399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019383, 1352019401, 1352019394, 1352019376, 1352019379, 1352019399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.95594072341919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:10:32.793384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_55_10366.jpg', '/home/pi/Desktop/images/19042025/20/43/image_19042025_20_44_05_9506.jpg', '/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_15_10425.jpg', '/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_25_9364.jpg', '/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_35_10457.jpg', '/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/43/image_19042025_20_43_55_10366.jpg
/home/pi/Desktop/images/19042025/20/43/image_19042025_20_44_05_9506.jpg
/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_15_10425.jpg
/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_25_9364.jpg
/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_35_10457.jpg
/home/pi/Desktop/images/19042025/20/44/image_19042025_20_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":["1352019418","1352019423","1352019411","1352019414","1352019425","1352019421"],"photo_ids_order":["1352019411","1352019414","1352019418","1352019421","1352019423","1352019425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ecd8dd914eae856fcc9fddb68399e347.jpg","text":"TemporaryFile(/tmp/multipartBody3065887895165855592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097093358,"filename":"image_19042025_20_44_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/19/9af155bfce6ad033bcdcfc074d4002b7.jpg","text":"TemporaryFile(/tmp/multipartBody1886520018723702585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097093358,"filename":"image_19042025_20_44_35_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4f635b31cba78e44f45044c0bad0011f.jpg","text":"TemporaryFile(/tmp/multipartBody2135296557435520889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097093358,"filename":"image_19042025_20_43_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/19/dc3381570f9f12fb114cc1e201e0a936.jpg","text":"TemporaryFile(/tmp/multipartBody2245590681578705626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097093358,"filename":"image_19042025_20_44_05_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/19/d126106440abc821017de2c54198a813.jpg","text":"TemporaryFile(/tmp/multipartBody3311400235993841160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097093358,"filename":"image_19042025_20_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/19/6645f6636accaf07b04c08b61497ce68.jpg","text":"TemporaryFile(/tmp/multipartBody3431121638451931897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097093358,"filename":"image_19042025_20_44_25_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019418","file1":"1352019414","file0":"1352019411","file4":"1352019423","file5":"1352019425","file3":"1352019421"},"map_files_photo_id_array":[{"photo_id":"1352019425","filename":"file5"},{"photo_id":"1352019418","filename":"file2"},{"photo_id":"1352019423","filename":"file4"},{"photo_id":"1352019414","filename":"file1"},{"photo_id":"1352019411","filename":"file0"},{"photo_id":"1352019421","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019418":["hashtag1","hashtag2"]},{"1352019423":["hashtag1","hashtag2"]},{"1352019411":["hashtag1","hashtag2"]},{"1352019414":["hashtag1","hashtag2"]},{"1352019425":["hashtag1","hashtag2"]},{"1352019421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019418, 1352019423, 1352019411, 1352019414, 1352019425, 1352019421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.60290503501892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:11:33.040887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_55_9455.jpg', '/home/pi/Desktop/images/19042025/20/44/image_19042025_20_45_05_10376.jpg', '/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_15_9469.jpg', '/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_25_10381.jpg', '/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_35_9362.jpg', '/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_45_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/44/image_19042025_20_44_55_9455.jpg
/home/pi/Desktop/images/19042025/20/44/image_19042025_20_45_05_10376.jpg
/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_15_9469.jpg
/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_25_10381.jpg
/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_35_9362.jpg
/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_45_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":["1352019450","1352019444","1352019446","1352019440","1352019437","1352019448"],"photo_ids_order":["1352019437","1352019440","1352019444","1352019446","1352019448","1352019450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c2bea86e272de3ca111c5b8bbfd5281.jpg","text":"TemporaryFile(/tmp/multipartBody3811466759088012683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097153503,"filename":"image_19042025_20_45_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/07d5cf51d54555ffd6586518a1254fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1539282674540945728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097153503,"filename":"image_19042025_20_45_15_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/19/06b486f0c0aba496c6da18e33d51d656.jpg","text":"TemporaryFile(/tmp/multipartBody9098025260874030083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097153503,"filename":"image_19042025_20_45_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/19/d86f69d823cd56290a206ad79a8c9459.jpg","text":"TemporaryFile(/tmp/multipartBody3004526385253465886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097153503,"filename":"image_19042025_20_45_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/19/91e734c5e959170f8169586264023688.jpg","text":"TemporaryFile(/tmp/multipartBody2924760961220157012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097153503,"filename":"image_19042025_20_44_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/19/f4fe3cad66637b43429688293bf886d7.jpg","text":"TemporaryFile(/tmp/multipartBody7602733302098716132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097153503,"filename":"image_19042025_20_45_35_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019444","file1":"1352019440","file0":"1352019437","file4":"1352019448","file5":"1352019450","file3":"1352019446"},"map_files_photo_id_array":[{"photo_id":"1352019450","filename":"file5"},{"photo_id":"1352019444","filename":"file2"},{"photo_id":"1352019448","filename":"file4"},{"photo_id":"1352019440","filename":"file1"},{"photo_id":"1352019437","filename":"file0"},{"photo_id":"1352019446","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019450":["hashtag1","hashtag2"]},{"1352019444":["hashtag1","hashtag2"]},{"1352019446":["hashtag1","hashtag2"]},{"1352019440":["hashtag1","hashtag2"]},{"1352019437":["hashtag1","hashtag2"]},{"1352019448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019450, 1352019444, 1352019446, 1352019440, 1352019437, 1352019448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82799530029297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:12:32.243844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_55_10375.jpg', '/home/pi/Desktop/images/19042025/20/45/image_19042025_20_46_05_9527.jpg', '/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_15_10376.jpg', '/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_35_10361.jpg', '/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_45_10394.jpg', '/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_55_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_55_10375.jpg
/home/pi/Desktop/images/19042025/20/45/image_19042025_20_46_05_9527.jpg
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_15_10376.jpg
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_35_10361.jpg
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_45_10394.jpg
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_55_9440.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40164661407470703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 23:12:42.156773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_55_10375.jpg', '/home/pi/Desktop/images/19042025/20/45/image_19042025_20_46_05_9527.jpg', '/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_15_10376.jpg', '/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_35_10361.jpg', '/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_45_10394.jpg', '/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_55_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/45/image_19042025_20_45_55_10375.jpg
/home/pi/Desktop/images/19042025/20/45/image_19042025_20_46_05_9527.jpg
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_15_10376.jpg
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_35_10361.jpg
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_45_10394.jpg
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_46_55_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352019477","1352019479","1352019475","1352019478","1352019472","1352019469"],"photo_ids_order":["1352019469","1352019472","1352019475","1352019477","1352019478","1352019479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d8932cc4fa616273a529ed5df7818cfb.jpg","text":"TemporaryFile(/tmp/multipartBody1335440976489617769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097222630,"filename":"image_19042025_20_46_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/19/831209550b07fe8397e7e6bc2d909da1.jpg","text":"TemporaryFile(/tmp/multipartBody5716719866903013061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097222630,"filename":"image_19042025_20_46_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/19/635f99722293152430f12ab6e6817f54.jpg","text":"TemporaryFile(/tmp/multipartBody7216720522673097643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097222630,"filename":"image_19042025_20_46_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/19/642864a1614f31c10489e0ea12b78a7e.jpg","text":"TemporaryFile(/tmp/multipartBody717821162949765965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097222630,"filename":"image_19042025_20_46_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/19/744f4463267969fb614cdb21504ac6bf.jpg","text":"TemporaryFile(/tmp/multipartBody5044126963510279954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097222630,"filename":"image_19042025_20_46_05_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/19/94a63070b2a6b1d96b08badf2e0feb8e.jpg","text":"TemporaryFile(/tmp/multipartBody320861557467977684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097222630,"filename":"image_19042025_20_45_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019475","file1":"1352019472","file0":"1352019469","file4":"1352019478","file5":"1352019479","file3":"1352019477"},"map_files_photo_id_array":[{"photo_id":"1352019479","filename":"file5"},{"photo_id":"1352019475","filename":"file2"},{"photo_id":"1352019478","filename":"file4"},{"photo_id":"1352019472","filename":"file1"},{"photo_id":"1352019469","filename":"file0"},{"photo_id":"1352019477","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019477":["hashtag1","hashtag2"]},{"1352019479":["hashtag1","hashtag2"]},{"1352019475":["hashtag1","hashtag2"]},{"1352019478":["hashtag1","hashtag2"]},{"1352019472":["hashtag1","hashtag2"]},{"1352019469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019477, 1352019479, 1352019475, 1352019478, 1352019472, 1352019469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.698362588882446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:13:32.394324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/46/image_19042025_20_47_05_10449.jpg', '/home/pi/Desktop/images/19042025/20/47/image_19042025_20_47_25_10361.jpg', '/home/pi/Desktop/images/19042025/20/47/image_19042025_20_47_36_10361.jpg', '/home/pi/Desktop/images/19042025/20/47/image_19042025_20_47_45_9460.jpg', '/home/pi/Desktop/images/19042025/20/47/image_19042025_20_47_55_10379.jpg', '/home/pi/Desktop/images/19042025/20/47/image_19042025_20_48_05_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/46/image_19042025_20_47_05_10449.jpg
/home/pi/Desktop/images/19042025/20/47/image_19042025_20_47_25_10361.jpg
/home/pi/Desktop/images/19042025/20/47/image_19042025_20_47_36_10361.jpg
/home/pi/Desktop/images/19042025/20/47/image_19042025_20_47_45_9460.jpg
/home/pi/Desktop/images/19042025/20/47/image_19042025_20_47_55_10379.jpg
/home/pi/Desktop/images/19042025/20/47/image_19042025_20_48_05_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352019492","1352019495","1352019501","1352019490","1352019487","1352019498"],"photo_ids_order":["1352019487","1352019490","1352019492","1352019495","1352019498","1352019501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8e50ce8b98b049c75183b8358b142705.jpg","text":"TemporaryFile(/tmp/multipartBody5947217912762271803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097272867,"filename":"image_19042025_20_47_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/19/9768ad076a95f042ab164cef838d4748.jpg","text":"TemporaryFile(/tmp/multipartBody8577926249486270803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097272867,"filename":"image_19042025_20_47_45_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/36866b1ea7c1a8651d41671d01b3dfc8.jpg","text":"TemporaryFile(/tmp/multipartBody7725247811578322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097272867,"filename":"image_19042025_20_48_05_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/09076c0d17a838d904daca15bb252d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3874131378321334448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097272867,"filename":"image_19042025_20_47_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/19/7ba25658e951620d1e97431f6800faa7.jpg","text":"TemporaryFile(/tmp/multipartBody1760752798451763963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097272867,"filename":"image_19042025_20_47_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/19/5c726b171868ffb961503529f370a763.jpg","text":"TemporaryFile(/tmp/multipartBody8469525968551648839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097272867,"filename":"image_19042025_20_47_55_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019492","file1":"1352019490","file0":"1352019487","file4":"1352019498","file5":"1352019501","file3":"1352019495"},"map_files_photo_id_array":[{"photo_id":"1352019501","filename":"file5"},{"photo_id":"1352019492","filename":"file2"},{"photo_id":"1352019498","filename":"file4"},{"photo_id":"1352019490","filename":"file1"},{"photo_id":"1352019487","filename":"file0"},{"photo_id":"1352019495","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019492":["hashtag1","hashtag2"]},{"1352019495":["hashtag1","hashtag2"]},{"1352019501":["hashtag1","hashtag2"]},{"1352019490":["hashtag1","hashtag2"]},{"1352019487":["hashtag1","hashtag2"]},{"1352019498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019492, 1352019495, 1352019501, 1352019490, 1352019487, 1352019498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.967040538787842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:14:32.685511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_15_10347.jpg', '/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_25_9357.jpg', '/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_35_10452.jpg', '/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_45_10390.jpg', '/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_55_9437.jpg', '/home/pi/Desktop/images/19042025/20/48/image_19042025_20_49_05_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_15_10347.jpg
/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_25_9357.jpg
/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_35_10452.jpg
/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_45_10390.jpg
/home/pi/Desktop/images/19042025/20/48/image_19042025_20_48_55_9437.jpg
/home/pi/Desktop/images/19042025/20/48/image_19042025_20_49_05_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352019522","1352019528","1352019521","1352019524","1352019518","1352019526"],"photo_ids_order":["1352019518","1352019521","1352019522","1352019524","1352019526","1352019528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cf437fe45800a8c487dcefdf0390441e.jpg","text":"TemporaryFile(/tmp/multipartBody1177403641964067660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097333146,"filename":"image_19042025_20_48_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/19/a161b1be253572e8a5acebd4dd475208.jpg","text":"TemporaryFile(/tmp/multipartBody1330685798646338832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097333146,"filename":"image_19042025_20_49_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/19/f70c9c5ba8a63d1414b093877d305fec.jpg","text":"TemporaryFile(/tmp/multipartBody3595610230022962332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097333146,"filename":"image_19042025_20_48_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/df673ea54b8a812ff53dc269e7d78ec5.jpg","text":"TemporaryFile(/tmp/multipartBody5633225310323293277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097333146,"filename":"image_19042025_20_48_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/19/186c6b0ed73d784a8e0fa310ae2962b0.jpg","text":"TemporaryFile(/tmp/multipartBody8317297497816521656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097333146,"filename":"image_19042025_20_48_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/555c53f8f43aac84b5103d960fdfffa6.jpg","text":"TemporaryFile(/tmp/multipartBody4102333928236145696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097333146,"filename":"image_19042025_20_48_55_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019522","file1":"1352019521","file0":"1352019518","file4":"1352019526","file5":"1352019528","file3":"1352019524"},"map_files_photo_id_array":[{"photo_id":"1352019528","filename":"file5"},{"photo_id":"1352019522","filename":"file2"},{"photo_id":"1352019526","filename":"file4"},{"photo_id":"1352019521","filename":"file1"},{"photo_id":"1352019518","filename":"file0"},{"photo_id":"1352019524","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019522":["hashtag1","hashtag2"]},{"1352019528":["hashtag1","hashtag2"]},{"1352019521":["hashtag1","hashtag2"]},{"1352019524":["hashtag1","hashtag2"]},{"1352019518":["hashtag1","hashtag2"]},{"1352019526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019522, 1352019528, 1352019521, 1352019524, 1352019518, 1352019526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.902554035186768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:15:32.927752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_15_9340.jpg', '/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_25_10361.jpg', '/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_35_10454.jpg', '/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_45_9432.jpg', '/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_55_10381.jpg', '/home/pi/Desktop/images/19042025/20/49/image_19042025_20_50_05_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_15_9340.jpg
/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_25_10361.jpg
/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_35_10454.jpg
/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_45_9432.jpg
/home/pi/Desktop/images/19042025/20/49/image_19042025_20_49_55_10381.jpg
/home/pi/Desktop/images/19042025/20/49/image_19042025_20_50_05_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352019567","1352019648","1352019624","1352019673","1352019697","1352019597"],"photo_ids_order":["1352019567","1352019597","1352019624","1352019648","1352019673","1352019697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a30c7e12a0086e005bab267a9d332e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7389433809941468513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097393388,"filename":"image_19042025_20_49_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/19/28a3362905e41d616a8412535ee62050.jpg","text":"TemporaryFile(/tmp/multipartBody293887279632591301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097393388,"filename":"image_19042025_20_49_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/19/50c4eb90f0c63507f1bf9ee3d47aec12.jpg","text":"TemporaryFile(/tmp/multipartBody3306073768730034236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097393388,"filename":"image_19042025_20_49_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bc0204d9b31eb639cf0f4af99e218a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4291496497493639839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097393388,"filename":"image_19042025_20_49_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/19/67c0d94c8b2813ae720210c5036b6da3.jpg","text":"TemporaryFile(/tmp/multipartBody1977616790525612797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097393388,"filename":"image_19042025_20_50_05_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7921c0beabd7b2834b1d26d417052112.jpg","text":"TemporaryFile(/tmp/multipartBody4118161813850850517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097393388,"filename":"image_19042025_20_49_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019624","file1":"1352019597","file0":"1352019567","file4":"1352019673","file5":"1352019697","file3":"1352019648"},"map_files_photo_id_array":[{"photo_id":"1352019697","filename":"file5"},{"photo_id":"1352019624","filename":"file2"},{"photo_id":"1352019673","filename":"file4"},{"photo_id":"1352019597","filename":"file1"},{"photo_id":"1352019567","filename":"file0"},{"photo_id":"1352019648","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019567":["hashtag1","hashtag2"]},{"1352019648":["hashtag1","hashtag2"]},{"1352019624":["hashtag1","hashtag2"]},{"1352019673":["hashtag1","hashtag2"]},{"1352019697":["hashtag1","hashtag2"]},{"1352019597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019567, 1352019648, 1352019624, 1352019673, 1352019697, 1352019597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.301987648010254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:16:33.238946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_15_10471.jpg', '/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_26_10390.jpg', '/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_35_9419.jpg', '/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_45_10376.jpg', '/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_55_9382.jpg', '/home/pi/Desktop/images/19042025/20/51/image_19042025_20_51_25_9482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_15_10471.jpg
/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_26_10390.jpg
/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_35_9419.jpg
/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_45_10376.jpg
/home/pi/Desktop/images/19042025/20/50/image_19042025_20_50_55_9382.jpg
/home/pi/Desktop/images/19042025/20/51/image_19042025_20_51_25_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":["1352019990","1352019960","1352020070","1352020043","1352020099","1352020016"],"photo_ids_order":["1352019960","1352019990","1352020016","1352020043","1352020070","1352020099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e24014854e42904efcf26102f0d2759.jpg","text":"TemporaryFile(/tmp/multipartBody488742609016854690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097453698,"filename":"image_19042025_20_50_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/19/784d8d12fe7a52e6a8fd68a63249aa85.jpg","text":"TemporaryFile(/tmp/multipartBody1687976357864481108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097453698,"filename":"image_19042025_20_50_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/19/4ea5b4a9c5d06fe40918d89a6b5f8bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2233831565228034910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097453698,"filename":"image_19042025_20_50_55_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e5dee0bcd3d20495379267fb87608f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8976987112272667727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097453698,"filename":"image_19042025_20_50_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/19/4909f72dcbec8d326c9a8a5d26a1c80c.jpg","text":"TemporaryFile(/tmp/multipartBody4504995782505061899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097453698,"filename":"image_19042025_20_51_25_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bb771f9c3d296d0f92086afc4bb5b1fe.jpg","text":"TemporaryFile(/tmp/multipartBody4121130054673091934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097453698,"filename":"image_19042025_20_50_35_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352020016","file1":"1352019990","file0":"1352019960","file4":"1352020070","file5":"1352020099","file3":"1352020043"},"map_files_photo_id_array":[{"photo_id":"1352020099","filename":"file5"},{"photo_id":"1352020016","filename":"file2"},{"photo_id":"1352020070","filename":"file4"},{"photo_id":"1352019990","filename":"file1"},{"photo_id":"1352019960","filename":"file0"},{"photo_id":"1352020043","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352019990":["hashtag1","hashtag2"]},{"1352019960":["hashtag1","hashtag2"]},{"1352020070":["hashtag1","hashtag2"]},{"1352020043":["hashtag1","hashtag2"]},{"1352020099":["hashtag1","hashtag2"]},{"1352020016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352019990, 1352019960, 1352020070, 1352020043, 1352020099, 1352020016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.661481380462646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:17:32.486434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/51/image_19042025_20_52_05_9368.jpg', '/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_15_10471.jpg', '/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_25_10383.jpg', '/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_35_9448.jpg', '/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_45_10356.jpg', '/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_55_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/51/image_19042025_20_52_05_9368.jpg
/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_15_10471.jpg
/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_25_10383.jpg
/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_35_9448.jpg
/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_45_10356.jpg
/home/pi/Desktop/images/19042025/20/52/image_19042025_20_52_55_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352020386","1352020359","1352020509","1352020439","1352020412","1352020483"],"photo_ids_order":["1352020359","1352020386","1352020412","1352020439","1352020483","1352020509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fd2a30620482b9d1be35fdaf01e5452a.jpg","text":"TemporaryFile(/tmp/multipartBody518280386159188656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097512955,"filename":"image_19042025_20_52_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/19/9dc3355cbea1c0af2e9a3a4c3a6dcb11.jpg","text":"TemporaryFile(/tmp/multipartBody3753985320163367261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097512955,"filename":"image_19042025_20_52_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/badf99515c962f233d36c5c4e79b2477.jpg","text":"TemporaryFile(/tmp/multipartBody191809220352030445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097512955,"filename":"image_19042025_20_52_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/19/590685b3417aa8af9c9c57381a9b550d.jpg","text":"TemporaryFile(/tmp/multipartBody6918134189669820240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097512955,"filename":"image_19042025_20_52_35_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/58ab05466902e21a05f3fa20aa7b4e2f.jpg","text":"TemporaryFile(/tmp/multipartBody6792854901944999554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097512955,"filename":"image_19042025_20_52_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/19/bf64e903d53c52aff75e85bc7d5d4558.jpg","text":"TemporaryFile(/tmp/multipartBody6155964961384294384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097512955,"filename":"image_19042025_20_52_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352020412","file1":"1352020386","file0":"1352020359","file4":"1352020483","file5":"1352020509","file3":"1352020439"},"map_files_photo_id_array":[{"photo_id":"1352020509","filename":"file5"},{"photo_id":"1352020412","filename":"file2"},{"photo_id":"1352020483","filename":"file4"},{"photo_id":"1352020386","filename":"file1"},{"photo_id":"1352020359","filename":"file0"},{"photo_id":"1352020439","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352020386":["hashtag1","hashtag2"]},{"1352020359":["hashtag1","hashtag2"]},{"1352020509":["hashtag1","hashtag2"]},{"1352020439":["hashtag1","hashtag2"]},{"1352020412":["hashtag1","hashtag2"]},{"1352020483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352020386, 1352020359, 1352020509, 1352020439, 1352020412, 1352020483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.520175218582153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:18:32.670608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/52/image_19042025_20_53_05_10460.jpg', '/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_15_10364.jpg', '/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_25_9469.jpg', '/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_35_10377.jpg', '/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_45_9374.jpg', '/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_55_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/52/image_19042025_20_53_05_10460.jpg
/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_15_10364.jpg
/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_25_9469.jpg
/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_35_10377.jpg
/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_45_9374.jpg
/home/pi/Desktop/images/19042025/20/53/image_19042025_20_53_55_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352020915","1352020810","1352020836","1352020772","1352020889","1352020862"],"photo_ids_order":["1352020772","1352020810","1352020836","1352020862","1352020889","1352020915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b05130c2992b0d9abb34af27575dba16.jpg","text":"TemporaryFile(/tmp/multipartBody2581114622413348756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097573133,"filename":"image_19042025_20_53_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/482ace4ddcf783704c76080b453765aa.jpg","text":"TemporaryFile(/tmp/multipartBody6175189916015863885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097573133,"filename":"image_19042025_20_53_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/19/472f0b0ca58de709c53d1e0e9da5ad16.jpg","text":"TemporaryFile(/tmp/multipartBody2112749440180874471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097573133,"filename":"image_19042025_20_53_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cea308ef5e3af6f3c0281943d6225699.jpg","text":"TemporaryFile(/tmp/multipartBody6094990662454773472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097573133,"filename":"image_19042025_20_53_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/19/f2607d370d9dcab0e1eaffcdcdc329da.jpg","text":"TemporaryFile(/tmp/multipartBody6872970395346555826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097573133,"filename":"image_19042025_20_53_45_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7a9f3e62ea61ddfe4c8fde57500be5ac.jpg","text":"TemporaryFile(/tmp/multipartBody1182361347183175293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097573133,"filename":"image_19042025_20_53_35_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352020836","file1":"1352020810","file0":"1352020772","file4":"1352020889","file5":"1352020915","file3":"1352020862"},"map_files_photo_id_array":[{"photo_id":"1352020915","filename":"file5"},{"photo_id":"1352020836","filename":"file2"},{"photo_id":"1352020889","filename":"file4"},{"photo_id":"1352020810","filename":"file1"},{"photo_id":"1352020772","filename":"file0"},{"photo_id":"1352020862","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352020915":["hashtag1","hashtag2"]},{"1352020810":["hashtag1","hashtag2"]},{"1352020836":["hashtag1","hashtag2"]},{"1352020772":["hashtag1","hashtag2"]},{"1352020889":["hashtag1","hashtag2"]},{"1352020862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352020915, 1352020810, 1352020836, 1352020772, 1352020889, 1352020862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.826467037200928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:19:32.880233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/53/image_19042025_20_54_05_10353.jpg', '/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_15_9461.jpg', '/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_25_10374.jpg', '/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_35_9440.jpg', '/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_45_10474.jpg', '/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/53/image_19042025_20_54_05_10353.jpg
/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_15_9461.jpg
/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_25_10374.jpg
/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_35_9440.jpg
/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_45_10474.jpg
/home/pi/Desktop/images/19042025/20/54/image_19042025_20_54_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352021101","1352021103","1352021109","1352021111","1352021105","1352021107"],"photo_ids_order":["1352021101","1352021103","1352021105","1352021107","1352021109","1352021111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/642efb2985bde3ed33d06d294bc7cfe0.jpg","text":"TemporaryFile(/tmp/multipartBody1682116844016527519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097633339,"filename":"image_19042025_20_54_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/83021eb81279921b227633856f25ce17.jpg","text":"TemporaryFile(/tmp/multipartBody8321556261161573692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097633339,"filename":"image_19042025_20_54_15_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aee4c8c1effa653ad3500b82eb1e0414.jpg","text":"TemporaryFile(/tmp/multipartBody1557182967784204702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097633339,"filename":"image_19042025_20_54_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/19/ff48186055489fb1b500881900acbcab.jpg","text":"TemporaryFile(/tmp/multipartBody8140689968096438884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097633339,"filename":"image_19042025_20_54_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2faeb1cfddcd3fe17a5737860858f850.jpg","text":"TemporaryFile(/tmp/multipartBody8214031341742533478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097633339,"filename":"image_19042025_20_54_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/02ab5e72232cc0c6a74a433045cdb3d4.jpg","text":"TemporaryFile(/tmp/multipartBody7599873875570077660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097633339,"filename":"image_19042025_20_54_35_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352021105","file1":"1352021103","file0":"1352021101","file4":"1352021109","file5":"1352021111","file3":"1352021107"},"map_files_photo_id_array":[{"photo_id":"1352021111","filename":"file5"},{"photo_id":"1352021105","filename":"file2"},{"photo_id":"1352021109","filename":"file4"},{"photo_id":"1352021103","filename":"file1"},{"photo_id":"1352021101","filename":"file0"},{"photo_id":"1352021107","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352021101":["hashtag1","hashtag2"]},{"1352021103":["hashtag1","hashtag2"]},{"1352021109":["hashtag1","hashtag2"]},{"1352021111":["hashtag1","hashtag2"]},{"1352021105":["hashtag1","hashtag2"]},{"1352021107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352021101, 1352021103, 1352021109, 1352021111, 1352021105, 1352021107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.20837163925171 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:20:32.253294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/54/image_19042025_20_55_05_9372.jpg', '/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_15_10358.jpg', '/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_25_9428.jpg', '/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_35_10376.jpg', '/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_46_10440.jpg', '/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_55_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/54/image_19042025_20_55_05_9372.jpg
/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_15_10358.jpg
/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_25_9428.jpg
/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_35_10376.jpg
/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_46_10440.jpg
/home/pi/Desktop/images/19042025/20/55/image_19042025_20_55_55_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":["1352021124","1352021133","1352021127","1352021131","1352021125","1352021128"],"photo_ids_order":["1352021124","1352021125","1352021127","1352021128","1352021131","1352021133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e7aa2356b887ebf18d986294705606fd.jpg","text":"TemporaryFile(/tmp/multipartBody3538353009355205909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097692720,"filename":"image_19042025_20_55_05_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1c3fec261635f1ba08714c2584335b49.jpg","text":"TemporaryFile(/tmp/multipartBody4021047679732177754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097692720,"filename":"image_19042025_20_55_55_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/19/7c5a978cb83892e977578b610c40104c.jpg","text":"TemporaryFile(/tmp/multipartBody3284719651519144962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097692720,"filename":"image_19042025_20_55_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/19/6135989e336061364bcb28afa8e37aa4.jpg","text":"TemporaryFile(/tmp/multipartBody6543463653167367830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097692720,"filename":"image_19042025_20_55_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/19/5c25c102526b1b531d99fabc1fa066c2.jpg","text":"TemporaryFile(/tmp/multipartBody1409715076762012718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097692720,"filename":"image_19042025_20_55_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/19/ad075b5a871395eec9e450747224e7b6.jpg","text":"TemporaryFile(/tmp/multipartBody80306371765215606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097692720,"filename":"image_19042025_20_55_35_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352021127","file1":"1352021125","file0":"1352021124","file4":"1352021131","file5":"1352021133","file3":"1352021128"},"map_files_photo_id_array":[{"photo_id":"1352021133","filename":"file5"},{"photo_id":"1352021127","filename":"file2"},{"photo_id":"1352021131","filename":"file4"},{"photo_id":"1352021125","filename":"file1"},{"photo_id":"1352021124","filename":"file0"},{"photo_id":"1352021128","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352021124":["hashtag1","hashtag2"]},{"1352021133":["hashtag1","hashtag2"]},{"1352021127":["hashtag1","hashtag2"]},{"1352021131":["hashtag1","hashtag2"]},{"1352021125":["hashtag1","hashtag2"]},{"1352021128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352021124, 1352021133, 1352021127, 1352021131, 1352021125, 1352021128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.86590600013733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:21:32.438081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/55/image_19042025_20_56_05_10439.jpg', '/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_15_9465.jpg', '/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_25_10464.jpg', '/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_35_9349.jpg', '/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_45_10375.jpg', '/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_55_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/55/image_19042025_20_56_05_10439.jpg
/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_15_9465.jpg
/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_25_10464.jpg
/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_35_9349.jpg
/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_45_10375.jpg
/home/pi/Desktop/images/19042025/20/56/image_19042025_20_56_55_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352021342","1352021312","1352021368","1352021449","1352021422","1352021394"],"photo_ids_order":["1352021312","1352021342","1352021368","1352021394","1352021422","1352021449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a4f2613e7631461faf0afeef892b1b78.jpg","text":"TemporaryFile(/tmp/multipartBody8058339483801245248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097752903,"filename":"image_19042025_20_56_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/19/289c5e4ee1db37550ed396c639749d8f.jpg","text":"TemporaryFile(/tmp/multipartBody7693285519241277975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097752903,"filename":"image_19042025_20_56_05_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f99f757fd4a2417d24718a2d37357da1.jpg","text":"TemporaryFile(/tmp/multipartBody7880392395446207236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097752903,"filename":"image_19042025_20_56_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e3befd1482fd22eca7ef72b04cc282f2.jpg","text":"TemporaryFile(/tmp/multipartBody6365734869509314443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097752903,"filename":"image_19042025_20_56_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6044aa4fac60938031848a7495de3c45.jpg","text":"TemporaryFile(/tmp/multipartBody9042622341792612249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097752903,"filename":"image_19042025_20_56_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/19/e55740c4adcf3d418553250406a2ff66.jpg","text":"TemporaryFile(/tmp/multipartBody607663363613827076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097752903,"filename":"image_19042025_20_56_35_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352021368","file1":"1352021342","file0":"1352021312","file4":"1352021422","file5":"1352021449","file3":"1352021394"},"map_files_photo_id_array":[{"photo_id":"1352021449","filename":"file5"},{"photo_id":"1352021368","filename":"file2"},{"photo_id":"1352021422","filename":"file4"},{"photo_id":"1352021342","filename":"file1"},{"photo_id":"1352021312","filename":"file0"},{"photo_id":"1352021394","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352021342":["hashtag1","hashtag2"]},{"1352021312":["hashtag1","hashtag2"]},{"1352021368":["hashtag1","hashtag2"]},{"1352021449":["hashtag1","hashtag2"]},{"1352021422":["hashtag1","hashtag2"]},{"1352021394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352021342, 1352021312, 1352021368, 1352021449, 1352021422, 1352021394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.738853216171265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:22:32.595774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/56/image_19042025_20_57_05_9431.jpg', '/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_15_10381.jpg', '/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_25_9442.jpg', '/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_35_10423.jpg', '/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_45_10374.jpg', '/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_55_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/56/image_19042025_20_57_05_9431.jpg
/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_15_10381.jpg
/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_25_9442.jpg
/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_35_10423.jpg
/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_45_10374.jpg
/home/pi/Desktop/images/19042025/20/57/image_19042025_20_57_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":["1352021673","1352021661","1352021654","1352021657","1352021659","1352021656"],"photo_ids_order":["1352021654","1352021656","1352021657","1352021659","1352021661","1352021673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/73a3eb2c92bddd602be55b8e9345b76d.jpg","text":"TemporaryFile(/tmp/multipartBody1758443880608120277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097813073,"filename":"image_19042025_20_57_55_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/57adec4ea95da45611f6493f4f569fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8569225783337378650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097813073,"filename":"image_19042025_20_57_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/19/11e302fb910e7d4d79e1a612b587b70f.jpg","text":"TemporaryFile(/tmp/multipartBody6025073524718648852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097813073,"filename":"image_19042025_20_57_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/778fa185cd2c751a82b50fc9222c68f1.jpg","text":"TemporaryFile(/tmp/multipartBody345569890310501095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097813073,"filename":"image_19042025_20_57_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8db75db8225da1e645532af9637289c6.jpg","text":"TemporaryFile(/tmp/multipartBody8636727251764561880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097813073,"filename":"image_19042025_20_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/19/ec8857eea395b32aee028a8698e42df7.jpg","text":"TemporaryFile(/tmp/multipartBody6925283277413950322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097813073,"filename":"image_19042025_20_57_15_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352021657","file1":"1352021656","file0":"1352021654","file4":"1352021661","file5":"1352021673","file3":"1352021659"},"map_files_photo_id_array":[{"photo_id":"1352021673","filename":"file5"},{"photo_id":"1352021657","filename":"file2"},{"photo_id":"1352021661","filename":"file4"},{"photo_id":"1352021656","filename":"file1"},{"photo_id":"1352021654","filename":"file0"},{"photo_id":"1352021659","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352021673":["hashtag1","hashtag2"]},{"1352021661":["hashtag1","hashtag2"]},{"1352021654":["hashtag1","hashtag2"]},{"1352021657":["hashtag1","hashtag2"]},{"1352021659":["hashtag1","hashtag2"]},{"1352021656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352021673, 1352021661, 1352021654, 1352021657, 1352021659, 1352021656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.604340076446533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:23:32.973864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/57/image_19042025_20_58_05_10378.jpg', '/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_15_9340.jpg', '/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_25_10460.jpg', '/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_35_10375.jpg', '/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_45_9522.jpg', '/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/57/image_19042025_20_58_05_10378.jpg
/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_15_9340.jpg
/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_25_10460.jpg
/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_35_10375.jpg
/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_45_9522.jpg
/home/pi/Desktop/images/19042025/20/58/image_19042025_20_58_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":["1352021777","1352021774","1352021768","1352021779","1352021770","1352021773"],"photo_ids_order":["1352021768","1352021770","1352021773","1352021774","1352021777","1352021779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/efb7c87a83ca1f26772892b9b85f881b.jpg","text":"TemporaryFile(/tmp/multipartBody66837484091970902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097873443,"filename":"image_19042025_20_58_45_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/19/5339ac742d15062496fc52cced886a11.jpg","text":"TemporaryFile(/tmp/multipartBody6492153850448898309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097873443,"filename":"image_19042025_20_58_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/19/c44ba269e40ab44cdfc92a5b32b24c28.jpg","text":"TemporaryFile(/tmp/multipartBody566463803627825701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097873443,"filename":"image_19042025_20_58_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/19/7063896fdec7a095799fd4206ddc53b2.jpg","text":"TemporaryFile(/tmp/multipartBody6810038169832976057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097873443,"filename":"image_19042025_20_58_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/19/d5d53287f280727347cff53a48197924.jpg","text":"TemporaryFile(/tmp/multipartBody2892255287484692268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097873443,"filename":"image_19042025_20_58_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/19/dbeb4ad5a827433f4d7d107e5c1ce92d.jpg","text":"TemporaryFile(/tmp/multipartBody6395632839713824048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097873443,"filename":"image_19042025_20_58_25_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352021773","file1":"1352021770","file0":"1352021768","file4":"1352021777","file5":"1352021779","file3":"1352021774"},"map_files_photo_id_array":[{"photo_id":"1352021779","filename":"file5"},{"photo_id":"1352021773","filename":"file2"},{"photo_id":"1352021777","filename":"file4"},{"photo_id":"1352021770","filename":"file1"},{"photo_id":"1352021768","filename":"file0"},{"photo_id":"1352021774","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352021777":["hashtag1","hashtag2"]},{"1352021774":["hashtag1","hashtag2"]},{"1352021768":["hashtag1","hashtag2"]},{"1352021779":["hashtag1","hashtag2"]},{"1352021770":["hashtag1","hashtag2"]},{"1352021773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352021777, 1352021774, 1352021768, 1352021779, 1352021770, 1352021773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74812960624695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:24:33.084552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/20/58/image_19042025_20_59_05_9370.jpg', '/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_15_10369.jpg', '/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_25_10381.jpg', '/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_35_9467.jpg', '/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_45_10388.jpg', '/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_55_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/20/58/image_19042025_20_59_05_9370.jpg
/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_15_10369.jpg
/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_25_10381.jpg
/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_35_9467.jpg
/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_45_10388.jpg
/home/pi/Desktop/images/19042025/20/59/image_19042025_20_59_55_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":["1352021796","1352021838","1352021792","1352021794","1352021791","1352021812"],"photo_ids_order":["1352021791","1352021792","1352021794","1352021796","1352021812","1352021838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/480c9a85ad12560f635eb6d87ee76605.jpg","text":"TemporaryFile(/tmp/multipartBody5983046795469167711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097933545,"filename":"image_19042025_20_59_35_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3e279f47c62b7a7dc4b4844373f48c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5424336491754277057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097933545,"filename":"image_19042025_20_59_55_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4d2cf2d7718a390323b1b7565d63681f.jpg","text":"TemporaryFile(/tmp/multipartBody1910618025477151603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097933545,"filename":"image_19042025_20_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/19/0c924807dcd913d76f0b1f4a12d7d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody5040331131095209732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097933545,"filename":"image_19042025_20_59_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/19/8640f9073b20863a55f13a2d8c714de9.jpg","text":"TemporaryFile(/tmp/multipartBody6899851764790536635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097933545,"filename":"image_19042025_20_59_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/19/8d4e0aae2e28492db48e7ddb5ecd3e44.jpg","text":"TemporaryFile(/tmp/multipartBody4206460470077531684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097933545,"filename":"image_19042025_20_59_45_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352021794","file1":"1352021792","file0":"1352021791","file4":"1352021812","file5":"1352021838","file3":"1352021796"},"map_files_photo_id_array":[{"photo_id":"1352021838","filename":"file5"},{"photo_id":"1352021794","filename":"file2"},{"photo_id":"1352021812","filename":"file4"},{"photo_id":"1352021792","filename":"file1"},{"photo_id":"1352021791","filename":"file0"},{"photo_id":"1352021796","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352021796":["hashtag1","hashtag2"]},{"1352021838":["hashtag1","hashtag2"]},{"1352021792":["hashtag1","hashtag2"]},{"1352021794":["hashtag1","hashtag2"]},{"1352021791":["hashtag1","hashtag2"]},{"1352021812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352021796, 1352021838, 1352021792, 1352021794, 1352021791, 1352021812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.320525884628296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:25:32.424502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_15_10075.jpg', '/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_26_10399.jpg', '/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_36_10406.jpg', '/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_45_9362.jpg', '/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_56_10369.jpg', '/home/pi/Desktop/images/19042025/21/00/image_19042025_21_01_05_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_15_10075.jpg
/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_26_10399.jpg
/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_36_10406.jpg
/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_45_9362.jpg
/home/pi/Desktop/images/19042025/21/00/image_19042025_21_00_56_10369.jpg
/home/pi/Desktop/images/19042025/21/00/image_19042025_21_01_05_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022126","1352022179","1352022101","1352022172","1352022151","1352022177"],"photo_ids_order":["1352022101","1352022126","1352022151","1352022172","1352022177","1352022179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3fdd5d36c64717e31408629d41ccb47b.jpg","text":"TemporaryFile(/tmp/multipartBody9026728990815154091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097992899,"filename":"image_19042025_21_00_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/19/3b0cb3be3440c558c8c5cdbc9f610e03.jpg","text":"TemporaryFile(/tmp/multipartBody661581826691365573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097992899,"filename":"image_19042025_21_01_05_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e071fafb1457f0f01d8cefc13f809c60.jpg","text":"TemporaryFile(/tmp/multipartBody8045927482820555484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097992899,"filename":"image_19042025_21_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/19/1e9e5d86c773fc64eeb25443c7761ace.jpg","text":"TemporaryFile(/tmp/multipartBody5674924041269074355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097992899,"filename":"image_19042025_21_00_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/19/168a97a77b3c7637abc7070fad1526c5.jpg","text":"TemporaryFile(/tmp/multipartBody8653329765857084197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097992899,"filename":"image_19042025_21_00_36_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ae87ea30300b97c2a183ea1d3086980b.jpg","text":"TemporaryFile(/tmp/multipartBody5301239749435434290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745097992899,"filename":"image_19042025_21_00_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022151","file1":"1352022126","file0":"1352022101","file4":"1352022177","file5":"1352022179","file3":"1352022172"},"map_files_photo_id_array":[{"photo_id":"1352022179","filename":"file5"},{"photo_id":"1352022151","filename":"file2"},{"photo_id":"1352022177","filename":"file4"},{"photo_id":"1352022126","filename":"file1"},{"photo_id":"1352022101","filename":"file0"},{"photo_id":"1352022172","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022126":["hashtag1","hashtag2"]},{"1352022179":["hashtag1","hashtag2"]},{"1352022101":["hashtag1","hashtag2"]},{"1352022172":["hashtag1","hashtag2"]},{"1352022151":["hashtag1","hashtag2"]},{"1352022177":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022126, 1352022179, 1352022101, 1352022172, 1352022151, 1352022177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24412727355957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:26:32.489834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_16_10363.jpg', '/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_26_10486.jpg', '/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_35_9345.jpg', '/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_46_10387.jpg', '/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_55_9429.jpg', '/home/pi/Desktop/images/19042025/21/01/image_19042025_21_02_06_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_16_10363.jpg
/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_26_10486.jpg
/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_35_9345.jpg
/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_46_10387.jpg
/home/pi/Desktop/images/19042025/21/01/image_19042025_21_01_55_9429.jpg
/home/pi/Desktop/images/19042025/21/01/image_19042025_21_02_06_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":["1352022201","1352022194","1352022197","1352022209","1352022190","1352022205"],"photo_ids_order":["1352022190","1352022194","1352022197","1352022201","1352022205","1352022209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/2300b2520403745f4ab316499d6edec0.jpg","text":"TemporaryFile(/tmp/multipartBody1899798693728052961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098052952,"filename":"image_19042025_21_01_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e3ad878e3114369a8bbc085ceace21af.jpg","text":"TemporaryFile(/tmp/multipartBody5985786193924025863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098052952,"filename":"image_19042025_21_01_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/19/d394b08de3143e37bfe2ea9ce5afd79f.jpg","text":"TemporaryFile(/tmp/multipartBody4369612384681385078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098052952,"filename":"image_19042025_21_01_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1905629dbcac448ab566ec11d02120fd.jpg","text":"TemporaryFile(/tmp/multipartBody8670557933952218968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098052952,"filename":"image_19042025_21_02_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/19/b74b136d027c912dde40910e303d1116.jpg","text":"TemporaryFile(/tmp/multipartBody4498278978905511999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098052952,"filename":"image_19042025_21_01_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/19/a1cf49470e96c474ad60c77f00b55daa.jpg","text":"TemporaryFile(/tmp/multipartBody9150863595875096906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098052952,"filename":"image_19042025_21_01_55_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022197","file1":"1352022194","file0":"1352022190","file4":"1352022205","file5":"1352022209","file3":"1352022201"},"map_files_photo_id_array":[{"photo_id":"1352022209","filename":"file5"},{"photo_id":"1352022197","filename":"file2"},{"photo_id":"1352022205","filename":"file4"},{"photo_id":"1352022194","filename":"file1"},{"photo_id":"1352022190","filename":"file0"},{"photo_id":"1352022201","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022201":["hashtag1","hashtag2"]},{"1352022194":["hashtag1","hashtag2"]},{"1352022197":["hashtag1","hashtag2"]},{"1352022209":["hashtag1","hashtag2"]},{"1352022190":["hashtag1","hashtag2"]},{"1352022205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022201, 1352022194, 1352022197, 1352022209, 1352022190, 1352022205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25598216056824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:27:32.739434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_16_10439.jpg', '/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_25_9367.jpg', '/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_36_10377.jpg', '/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_45_9451.jpg', '/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_56_10372.jpg', '/home/pi/Desktop/images/19042025/21/02/image_19042025_21_03_06_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_16_10439.jpg
/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_25_9367.jpg
/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_36_10377.jpg
/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_45_9451.jpg
/home/pi/Desktop/images/19042025/21/02/image_19042025_21_02_56_10372.jpg
/home/pi/Desktop/images/19042025/21/02/image_19042025_21_03_06_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022236","1352022224","1352022233","1352022227","1352022221","1352022229"],"photo_ids_order":["1352022221","1352022224","1352022227","1352022229","1352022233","1352022236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/698828374bf055acb6a7ab9ab1a5428d.jpg","text":"TemporaryFile(/tmp/multipartBody757630735677690983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098113203,"filename":"image_19042025_21_03_06_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/569c8ffe153aebecc1897c8b489e5d63.jpg","text":"TemporaryFile(/tmp/multipartBody4271790906636710964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098113203,"filename":"image_19042025_21_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/19/e6acd8c1d28531a099bf1a7c8cfb3961.jpg","text":"TemporaryFile(/tmp/multipartBody8569246291939482961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098113203,"filename":"image_19042025_21_02_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/19/1406fc43542f95debe0baaa4042ad428.jpg","text":"TemporaryFile(/tmp/multipartBody692381340361418157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098113203,"filename":"image_19042025_21_02_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/19/37069e7ce8c02b0aea822ddc8cd63acb.jpg","text":"TemporaryFile(/tmp/multipartBody8204462887042707515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098113203,"filename":"image_19042025_21_02_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/19/79abb8d1dce7d35d5f7c6264afe97a71.jpg","text":"TemporaryFile(/tmp/multipartBody7830335922938695806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098113203,"filename":"image_19042025_21_02_45_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022227","file1":"1352022224","file0":"1352022221","file4":"1352022233","file5":"1352022236","file3":"1352022229"},"map_files_photo_id_array":[{"photo_id":"1352022236","filename":"file5"},{"photo_id":"1352022227","filename":"file2"},{"photo_id":"1352022233","filename":"file4"},{"photo_id":"1352022224","filename":"file1"},{"photo_id":"1352022221","filename":"file0"},{"photo_id":"1352022229","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022236":["hashtag1","hashtag2"]},{"1352022224":["hashtag1","hashtag2"]},{"1352022233":["hashtag1","hashtag2"]},{"1352022227":["hashtag1","hashtag2"]},{"1352022221":["hashtag1","hashtag2"]},{"1352022229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022236, 1352022224, 1352022233, 1352022227, 1352022221, 1352022229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.962651014328003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:28:33.009155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/03/image_19042025_21_03_26_10455.jpg', '/home/pi/Desktop/images/19042025/21/03/image_19042025_21_03_35_9382.jpg', '/home/pi/Desktop/images/19042025/21/03/image_19042025_21_03_46_10374.jpg', '/home/pi/Desktop/images/19042025/21/03/image_19042025_21_03_56_10512.jpg', '/home/pi/Desktop/images/19042025/21/03/image_19042025_21_04_05_9342.jpg', '/home/pi/Desktop/images/19042025/21/04/image_19042025_21_04_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/03/image_19042025_21_03_26_10455.jpg
/home/pi/Desktop/images/19042025/21/03/image_19042025_21_03_35_9382.jpg
/home/pi/Desktop/images/19042025/21/03/image_19042025_21_03_46_10374.jpg
/home/pi/Desktop/images/19042025/21/03/image_19042025_21_03_56_10512.jpg
/home/pi/Desktop/images/19042025/21/03/image_19042025_21_04_05_9342.jpg
/home/pi/Desktop/images/19042025/21/04/image_19042025_21_04_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":["1352022254","1352022263","1352022257","1352022265","1352022259","1352022261"],"photo_ids_order":["1352022254","1352022257","1352022259","1352022261","1352022263","1352022265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fb6af8363496c076602bb7fd58de15cf.jpg","text":"TemporaryFile(/tmp/multipartBody9221594624466862064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098173535,"filename":"image_19042025_21_03_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/19/cd0eb1bf9c8936bb012aba1ee69a17f7.jpg","text":"TemporaryFile(/tmp/multipartBody5167785651987095755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098173535,"filename":"image_19042025_21_04_05_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/36b7181b4a0bc544c2257907b3f22b1c.jpg","text":"TemporaryFile(/tmp/multipartBody3793669875651142059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098173535,"filename":"image_19042025_21_03_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/19/e0c0669621addaa3176f007014a473ca.jpg","text":"TemporaryFile(/tmp/multipartBody7458571228845053093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098173535,"filename":"image_19042025_21_04_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/19/331bbcfa4c7e09ca3096043d46f018a8.jpg","text":"TemporaryFile(/tmp/multipartBody5752450172062573324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098173535,"filename":"image_19042025_21_03_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/19/89720c76e215c17cd1140cdea9868838.jpg","text":"TemporaryFile(/tmp/multipartBody9200231588914882219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098173535,"filename":"image_19042025_21_03_56_10512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022259","file1":"1352022257","file0":"1352022254","file4":"1352022263","file5":"1352022265","file3":"1352022261"},"map_files_photo_id_array":[{"photo_id":"1352022265","filename":"file5"},{"photo_id":"1352022259","filename":"file2"},{"photo_id":"1352022263","filename":"file4"},{"photo_id":"1352022257","filename":"file1"},{"photo_id":"1352022254","filename":"file0"},{"photo_id":"1352022261","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022254":["hashtag1","hashtag2"]},{"1352022263":["hashtag1","hashtag2"]},{"1352022257":["hashtag1","hashtag2"]},{"1352022265":["hashtag1","hashtag2"]},{"1352022259":["hashtag1","hashtag2"]},{"1352022261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022254, 1352022263, 1352022257, 1352022265, 1352022259, 1352022261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.972951412200928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:29:32.314376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/04/image_19042025_21_04_25_9429.jpg', '/home/pi/Desktop/images/19042025/21/04/image_19042025_21_04_36_10357.jpg', '/home/pi/Desktop/images/19042025/21/04/image_19042025_21_04_46_10485.jpg', '/home/pi/Desktop/images/19042025/21/04/image_19042025_21_05_06_10498.jpg', '/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_15_9438.jpg', '/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_26_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/04/image_19042025_21_04_25_9429.jpg
/home/pi/Desktop/images/19042025/21/04/image_19042025_21_04_36_10357.jpg
/home/pi/Desktop/images/19042025/21/04/image_19042025_21_04_46_10485.jpg
/home/pi/Desktop/images/19042025/21/04/image_19042025_21_05_06_10498.jpg
/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_15_9438.jpg
/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_26_10792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022284","1352022277","1352022286","1352022280","1352022288","1352022282"],"photo_ids_order":["1352022277","1352022280","1352022282","1352022284","1352022286","1352022288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/eac4e0497c9a2d1bb0fac44b36ee84db.jpg","text":"TemporaryFile(/tmp/multipartBody7750215052268646907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098232791,"filename":"image_19042025_21_05_06_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/19/1001f239c389b22862e744c10e898aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7023769966673565221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098232791,"filename":"image_19042025_21_04_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/19/19c75c6fb54cb0b9a9300aca118f7a3d.jpg","text":"TemporaryFile(/tmp/multipartBody6307747182138351170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098232791,"filename":"image_19042025_21_05_15_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1ba85f2d34e3b0ee5463cd46a27ffa3e.jpg","text":"TemporaryFile(/tmp/multipartBody2136140077849445134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098232791,"filename":"image_19042025_21_04_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bdf059ee9c976b09b59c722974ab0d31.jpg","text":"TemporaryFile(/tmp/multipartBody4215269064297039722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098232791,"filename":"image_19042025_21_05_26_10792.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/47c4451c3554cc4b753165c95d5106a7.jpg","text":"TemporaryFile(/tmp/multipartBody809954348222934912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098232791,"filename":"image_19042025_21_04_46_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022282","file1":"1352022280","file0":"1352022277","file4":"1352022286","file5":"1352022288","file3":"1352022284"},"map_files_photo_id_array":[{"photo_id":"1352022288","filename":"file5"},{"photo_id":"1352022282","filename":"file2"},{"photo_id":"1352022286","filename":"file4"},{"photo_id":"1352022280","filename":"file1"},{"photo_id":"1352022277","filename":"file0"},{"photo_id":"1352022284","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022284":["hashtag1","hashtag2"]},{"1352022277":["hashtag1","hashtag2"]},{"1352022286":["hashtag1","hashtag2"]},{"1352022280":["hashtag1","hashtag2"]},{"1352022288":["hashtag1","hashtag2"]},{"1352022282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022284, 1352022277, 1352022286, 1352022280, 1352022288, 1352022282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.967569828033447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:30:32.518376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_35_9358.jpg', '/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_46_10456.jpg', '/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_55_9374.jpg', '/home/pi/Desktop/images/19042025/21/05/image_19042025_21_06_06_10391.jpg', '/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_16_10368.jpg', '/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_25_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_35_9358.jpg
/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_46_10456.jpg
/home/pi/Desktop/images/19042025/21/05/image_19042025_21_05_55_9374.jpg
/home/pi/Desktop/images/19042025/21/05/image_19042025_21_06_06_10391.jpg
/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_16_10368.jpg
/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_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":["1352022300","1352022303","1352022305","1352022308","1352022301","1352022297"],"photo_ids_order":["1352022297","1352022300","1352022301","1352022303","1352022305","1352022308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6136f7bf01ef098f118c22afd2e80da0.jpg","text":"TemporaryFile(/tmp/multipartBody2598813205243672740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098292988,"filename":"image_19042025_21_05_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f55110e03afe6e46503fdfec9e0de316.jpg","text":"TemporaryFile(/tmp/multipartBody8038455682881361241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098292988,"filename":"image_19042025_21_06_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/19/af47ad1f2fb917b1a24f7fbb30e16b02.jpg","text":"TemporaryFile(/tmp/multipartBody3990252596943386862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098292988,"filename":"image_19042025_21_06_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3542253889c23453d30a2039623a1390.jpg","text":"TemporaryFile(/tmp/multipartBody1003800277505354729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098292988,"filename":"image_19042025_21_06_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/19/44240da38e18f01c558006d41990a29b.jpg","text":"TemporaryFile(/tmp/multipartBody9060179207467507279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098292988,"filename":"image_19042025_21_05_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f126f38eeef4c711412d2736c1ce332d.jpg","text":"TemporaryFile(/tmp/multipartBody7164981924623813580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098292988,"filename":"image_19042025_21_05_35_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022301","file1":"1352022300","file0":"1352022297","file4":"1352022305","file5":"1352022308","file3":"1352022303"},"map_files_photo_id_array":[{"photo_id":"1352022308","filename":"file5"},{"photo_id":"1352022301","filename":"file2"},{"photo_id":"1352022305","filename":"file4"},{"photo_id":"1352022300","filename":"file1"},{"photo_id":"1352022297","filename":"file0"},{"photo_id":"1352022303","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022300":["hashtag1","hashtag2"]},{"1352022303":["hashtag1","hashtag2"]},{"1352022305":["hashtag1","hashtag2"]},{"1352022308":["hashtag1","hashtag2"]},{"1352022301":["hashtag1","hashtag2"]},{"1352022297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022300, 1352022303, 1352022305, 1352022308, 1352022301, 1352022297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23599147796631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:31:32.744109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_36_10514.jpg', '/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_45_9472.jpg', '/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_56_10462.jpg', '/home/pi/Desktop/images/19042025/21/06/image_19042025_21_07_05_9361.jpg', '/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_16_10351.jpg', '/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_26_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_36_10514.jpg
/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_45_9472.jpg
/home/pi/Desktop/images/19042025/21/06/image_19042025_21_06_56_10462.jpg
/home/pi/Desktop/images/19042025/21/06/image_19042025_21_07_05_9361.jpg
/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_16_10351.jpg
/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_26_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022327","1352022323","1352022326","1352022331","1352022328","1352022325"],"photo_ids_order":["1352022323","1352022325","1352022326","1352022327","1352022328","1352022331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/357aa26c62f7fd975b54192a06a9cfb4.jpg","text":"TemporaryFile(/tmp/multipartBody7974347044258523595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098353207,"filename":"image_19042025_21_07_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55a91a71149259d97261b1edb35db0ae.jpg","text":"TemporaryFile(/tmp/multipartBody8936167194682969627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098353207,"filename":"image_19042025_21_06_36_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/19/c5ddf80f07a18a8e8f951b8054e148cc.jpg","text":"TemporaryFile(/tmp/multipartBody3622902473938129124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098353207,"filename":"image_19042025_21_06_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d05797cb0deb4bc1512ffd3e87e7f372.jpg","text":"TemporaryFile(/tmp/multipartBody4494553254957254832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098353207,"filename":"image_19042025_21_07_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c2025e006ecac1bf95cfd7716af58991.jpg","text":"TemporaryFile(/tmp/multipartBody5912738702279264750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098353207,"filename":"image_19042025_21_07_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/19/2a6a724ab27975041ac270563f215f62.jpg","text":"TemporaryFile(/tmp/multipartBody1251000604721413584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098353207,"filename":"image_19042025_21_06_45_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022326","file1":"1352022325","file0":"1352022323","file4":"1352022328","file5":"1352022331","file3":"1352022327"},"map_files_photo_id_array":[{"photo_id":"1352022331","filename":"file5"},{"photo_id":"1352022326","filename":"file2"},{"photo_id":"1352022328","filename":"file4"},{"photo_id":"1352022325","filename":"file1"},{"photo_id":"1352022323","filename":"file0"},{"photo_id":"1352022327","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022327":["hashtag1","hashtag2"]},{"1352022323":["hashtag1","hashtag2"]},{"1352022326":["hashtag1","hashtag2"]},{"1352022331":["hashtag1","hashtag2"]},{"1352022328":["hashtag1","hashtag2"]},{"1352022325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022327, 1352022323, 1352022326, 1352022331, 1352022328, 1352022325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.384873151779175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:32:32.992683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_35_9362.jpg', '/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_46_10367.jpg', '/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_56_10428.jpg', '/home/pi/Desktop/images/19042025/21/07/image_19042025_21_08_06_9423.jpg', '/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_16_10376.jpg', '/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_25_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_35_9362.jpg
/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_46_10367.jpg
/home/pi/Desktop/images/19042025/21/07/image_19042025_21_07_56_10428.jpg
/home/pi/Desktop/images/19042025/21/07/image_19042025_21_08_06_9423.jpg
/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_16_10376.jpg
/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_25_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":["1352022354","1352022348","1352022350","1352022344","1352022352","1352022346"],"photo_ids_order":["1352022344","1352022346","1352022348","1352022350","1352022352","1352022354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e76a24510a381a4f7d54e8a10055e9a5.jpg","text":"TemporaryFile(/tmp/multipartBody8522380952728294203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098413461,"filename":"image_19042025_21_08_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/19/7839c22ebcf6d6c6ad2c2c89d81d080f.jpg","text":"TemporaryFile(/tmp/multipartBody6284932040971821353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098413461,"filename":"image_19042025_21_07_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/19/3c1cc6a63362261b7f98597616d90cda.jpg","text":"TemporaryFile(/tmp/multipartBody536190275007603208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098413461,"filename":"image_19042025_21_08_06_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e747c0befed4d4ace7906412ddeb6777.jpg","text":"TemporaryFile(/tmp/multipartBody6985796543306055212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098413461,"filename":"image_19042025_21_07_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/19/b0094c676240a5f082ecb93cff811d93.jpg","text":"TemporaryFile(/tmp/multipartBody3911612867199558446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098413461,"filename":"image_19042025_21_08_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/19/a19103181d21d190e7cfec13c5c60046.jpg","text":"TemporaryFile(/tmp/multipartBody8252550513112863295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098413461,"filename":"image_19042025_21_07_46_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022348","file1":"1352022346","file0":"1352022344","file4":"1352022352","file5":"1352022354","file3":"1352022350"},"map_files_photo_id_array":[{"photo_id":"1352022354","filename":"file5"},{"photo_id":"1352022348","filename":"file2"},{"photo_id":"1352022352","filename":"file4"},{"photo_id":"1352022346","filename":"file1"},{"photo_id":"1352022344","filename":"file0"},{"photo_id":"1352022350","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022354":["hashtag1","hashtag2"]},{"1352022348":["hashtag1","hashtag2"]},{"1352022350":["hashtag1","hashtag2"]},{"1352022344":["hashtag1","hashtag2"]},{"1352022352":["hashtag1","hashtag2"]},{"1352022346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022354, 1352022348, 1352022350, 1352022344, 1352022352, 1352022346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.3175528049469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:33:32.364320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_36_10362.jpg', '/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_46_10369.jpg', '/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_55_9365.jpg', '/home/pi/Desktop/images/19042025/21/08/image_19042025_21_09_06_10413.jpg', '/home/pi/Desktop/images/19042025/21/09/image_19042025_21_09_26_10446.jpg', '/home/pi/Desktop/images/19042025/21/09/image_19042025_21_09_36_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_36_10362.jpg
/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_46_10369.jpg
/home/pi/Desktop/images/19042025/21/08/image_19042025_21_08_55_9365.jpg
/home/pi/Desktop/images/19042025/21/08/image_19042025_21_09_06_10413.jpg
/home/pi/Desktop/images/19042025/21/09/image_19042025_21_09_26_10446.jpg
/home/pi/Desktop/images/19042025/21/09/image_19042025_21_09_36_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022372","1352022371","1352022377","1352022370","1352022373","1352022375"],"photo_ids_order":["1352022370","1352022371","1352022372","1352022373","1352022375","1352022377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/94be185ad14f0868db19ee9d8c816cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4775731795951326101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098472832,"filename":"image_19042025_21_08_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/19/b3a6d57323d8e4754f93025a030ae494.jpg","text":"TemporaryFile(/tmp/multipartBody6914960594105029464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098472832,"filename":"image_19042025_21_08_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ca152b43cb7e7edec08ac319512c6755.jpg","text":"TemporaryFile(/tmp/multipartBody4143657512033848517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098472832,"filename":"image_19042025_21_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/19/8a3e5d883485557c7a22836d7cf9c953.jpg","text":"TemporaryFile(/tmp/multipartBody4029088962676064065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098472832,"filename":"image_19042025_21_08_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/19/52369411a14d4fa8d84c2ad89046623a.jpg","text":"TemporaryFile(/tmp/multipartBody3676324640830649457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098472832,"filename":"image_19042025_21_09_06_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e28e6c6b5d54f2281791d6c06e66b3b5.jpg","text":"TemporaryFile(/tmp/multipartBody1684101201418359673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098472832,"filename":"image_19042025_21_09_26_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022372","file1":"1352022371","file0":"1352022370","file4":"1352022375","file5":"1352022377","file3":"1352022373"},"map_files_photo_id_array":[{"photo_id":"1352022377","filename":"file5"},{"photo_id":"1352022372","filename":"file2"},{"photo_id":"1352022375","filename":"file4"},{"photo_id":"1352022371","filename":"file1"},{"photo_id":"1352022370","filename":"file0"},{"photo_id":"1352022373","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022372":["hashtag1","hashtag2"]},{"1352022371":["hashtag1","hashtag2"]},{"1352022377":["hashtag1","hashtag2"]},{"1352022370":["hashtag1","hashtag2"]},{"1352022373":["hashtag1","hashtag2"]},{"1352022375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022372, 1352022371, 1352022377, 1352022370, 1352022373, 1352022375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.509106397628784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:34:32.605060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/09/image_19042025_21_09_45_9436.jpg', '/home/pi/Desktop/images/19042025/21/09/image_19042025_21_09_56_10453.jpg', '/home/pi/Desktop/images/19042025/21/09/image_19042025_21_10_05_9392.jpg', '/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_16_10430.jpg', '/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_25_9450.jpg', '/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/09/image_19042025_21_09_45_9436.jpg
/home/pi/Desktop/images/19042025/21/09/image_19042025_21_09_56_10453.jpg
/home/pi/Desktop/images/19042025/21/09/image_19042025_21_10_05_9392.jpg
/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_16_10430.jpg
/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_25_9450.jpg
/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_36_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022398","1352022402","1352022392","1352022394","1352022400","1352022396"],"photo_ids_order":["1352022392","1352022394","1352022396","1352022398","1352022400","1352022402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4d160eeb6e1b0f09cb7f90ead7c80e0e.jpg","text":"TemporaryFile(/tmp/multipartBody1067310402904622140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098533077,"filename":"image_19042025_21_10_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/19/30d236a04f98982009b365f62412968b.jpg","text":"TemporaryFile(/tmp/multipartBody1923142297995813169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098533077,"filename":"image_19042025_21_10_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/19/bda5867d8bdae8932448a55bd69973e7.jpg","text":"TemporaryFile(/tmp/multipartBody8837103757508222738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098533077,"filename":"image_19042025_21_09_45_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/39eb585fe5fce1114581f5cc7ceba228.jpg","text":"TemporaryFile(/tmp/multipartBody4616686088837470780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098533077,"filename":"image_19042025_21_09_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/19/9b58e67d537a4f90abf2691a05df6e70.jpg","text":"TemporaryFile(/tmp/multipartBody6829413856667843253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098533077,"filename":"image_19042025_21_10_25_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a52a5899a5b751aea5f296a89e5e328c.jpg","text":"TemporaryFile(/tmp/multipartBody6622101608757755281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098533077,"filename":"image_19042025_21_10_05_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022396","file1":"1352022394","file0":"1352022392","file4":"1352022400","file5":"1352022402","file3":"1352022398"},"map_files_photo_id_array":[{"photo_id":"1352022402","filename":"file5"},{"photo_id":"1352022396","filename":"file2"},{"photo_id":"1352022400","filename":"file4"},{"photo_id":"1352022394","filename":"file1"},{"photo_id":"1352022392","filename":"file0"},{"photo_id":"1352022398","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022398":["hashtag1","hashtag2"]},{"1352022402":["hashtag1","hashtag2"]},{"1352022392":["hashtag1","hashtag2"]},{"1352022394":["hashtag1","hashtag2"]},{"1352022400":["hashtag1","hashtag2"]},{"1352022396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022398, 1352022402, 1352022392, 1352022394, 1352022400, 1352022396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.37030529975891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:35:32.796995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_46_10483.jpg', '/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_55_9445.jpg', '/home/pi/Desktop/images/19042025/21/10/image_19042025_21_11_06_10531.jpg', '/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_15_9352.jpg', '/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_26_10486.jpg', '/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_35_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_46_10483.jpg
/home/pi/Desktop/images/19042025/21/10/image_19042025_21_10_55_9445.jpg
/home/pi/Desktop/images/19042025/21/10/image_19042025_21_11_06_10531.jpg
/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_15_9352.jpg
/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_26_10486.jpg
/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_35_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":["1352022417","1352022416","1352022419","1352022413","1352022415","1352022418"],"photo_ids_order":["1352022413","1352022415","1352022416","1352022417","1352022418","1352022419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9f0964477334f4af392ff3bd6bb69c8b.jpg","text":"TemporaryFile(/tmp/multipartBody6206129203189913789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098593285,"filename":"image_19042025_21_11_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/19/a185047a9925c50e0134ce97970f620e.jpg","text":"TemporaryFile(/tmp/multipartBody218366078333393585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098593285,"filename":"image_19042025_21_11_06_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bfb99f814fc8722568d459e2c9ec86b6.jpg","text":"TemporaryFile(/tmp/multipartBody589778504201811672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098593285,"filename":"image_19042025_21_11_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/19/9d643573427cac00b0c51ca1fd04b5ba.jpg","text":"TemporaryFile(/tmp/multipartBody1508957669718337652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098593285,"filename":"image_19042025_21_10_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/19/cb317f8680b8557b503a34fecd307414.jpg","text":"TemporaryFile(/tmp/multipartBody8568883874845814677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098593285,"filename":"image_19042025_21_10_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/19/b93825319f635bd9e89bdb4a017ce92d.jpg","text":"TemporaryFile(/tmp/multipartBody5936077466291755684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098593285,"filename":"image_19042025_21_11_26_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022416","file1":"1352022415","file0":"1352022413","file4":"1352022418","file5":"1352022419","file3":"1352022417"},"map_files_photo_id_array":[{"photo_id":"1352022419","filename":"file5"},{"photo_id":"1352022416","filename":"file2"},{"photo_id":"1352022418","filename":"file4"},{"photo_id":"1352022415","filename":"file1"},{"photo_id":"1352022413","filename":"file0"},{"photo_id":"1352022417","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022417":["hashtag1","hashtag2"]},{"1352022416":["hashtag1","hashtag2"]},{"1352022419":["hashtag1","hashtag2"]},{"1352022413":["hashtag1","hashtag2"]},{"1352022415":["hashtag1","hashtag2"]},{"1352022418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022417, 1352022416, 1352022419, 1352022413, 1352022415, 1352022418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18929982185364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:36:32.380679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_46_10381.jpg', '/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_56_10403.jpg', '/home/pi/Desktop/images/19042025/21/11/image_19042025_21_12_05_9357.jpg', '/home/pi/Desktop/images/19042025/21/12/image_19042025_21_12_25_9368.jpg', '/home/pi/Desktop/images/19042025/21/12/image_19042025_21_12_36_10360.jpg', '/home/pi/Desktop/images/19042025/21/12/image_19042025_21_12_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_46_10381.jpg
/home/pi/Desktop/images/19042025/21/11/image_19042025_21_11_56_10403.jpg
/home/pi/Desktop/images/19042025/21/11/image_19042025_21_12_05_9357.jpg
/home/pi/Desktop/images/19042025/21/12/image_19042025_21_12_25_9368.jpg
/home/pi/Desktop/images/19042025/21/12/image_19042025_21_12_36_10360.jpg
/home/pi/Desktop/images/19042025/21/12/image_19042025_21_12_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":["1352022438","1352022440","1352022434","1352022431","1352022439","1352022436"],"photo_ids_order":["1352022431","1352022434","1352022436","1352022438","1352022439","1352022440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9ab720142071ab3720418f874140f9c0.jpg","text":"TemporaryFile(/tmp/multipartBody1296783769031458514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098652858,"filename":"image_19042025_21_12_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/918051ff2a88c94567a59e17c53a8af0.jpg","text":"TemporaryFile(/tmp/multipartBody8703314714661019094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098652858,"filename":"image_19042025_21_12_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/19/d980989fa4c313ffb5945795f3005447.jpg","text":"TemporaryFile(/tmp/multipartBody3112539355725576874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098652858,"filename":"image_19042025_21_11_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/19/93e46a08c5e87ce418e2bac939ebf8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1716539654422780313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098652858,"filename":"image_19042025_21_11_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/19/39e0a97b9e40400f90a6385eefed9d84.jpg","text":"TemporaryFile(/tmp/multipartBody4277653713800313229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098652858,"filename":"image_19042025_21_12_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/19/27572bf859d0d4cc5eb32093c0664f85.jpg","text":"TemporaryFile(/tmp/multipartBody562698943230498777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098652858,"filename":"image_19042025_21_12_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022436","file1":"1352022434","file0":"1352022431","file4":"1352022439","file5":"1352022440","file3":"1352022438"},"map_files_photo_id_array":[{"photo_id":"1352022440","filename":"file5"},{"photo_id":"1352022436","filename":"file2"},{"photo_id":"1352022439","filename":"file4"},{"photo_id":"1352022434","filename":"file1"},{"photo_id":"1352022431","filename":"file0"},{"photo_id":"1352022438","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022438":["hashtag1","hashtag2"]},{"1352022440":["hashtag1","hashtag2"]},{"1352022434":["hashtag1","hashtag2"]},{"1352022431":["hashtag1","hashtag2"]},{"1352022439":["hashtag1","hashtag2"]},{"1352022436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022438, 1352022440, 1352022434, 1352022431, 1352022439, 1352022436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.698973417282104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:37:32.569450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/12/image_19042025_21_12_55_9367.jpg', '/home/pi/Desktop/images/19042025/21/12/image_19042025_21_13_06_10361.jpg', '/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_16_10381.jpg', '/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_25_9363.jpg', '/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_36_10498.jpg', '/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_45_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/12/image_19042025_21_12_55_9367.jpg
/home/pi/Desktop/images/19042025/21/12/image_19042025_21_13_06_10361.jpg
/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_16_10381.jpg
/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_25_9363.jpg
/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_36_10498.jpg
/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_45_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022464","1352022458","1352022460","1352022454","1352022462","1352022456"],"photo_ids_order":["1352022454","1352022456","1352022458","1352022460","1352022462","1352022464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1a4b870e691309e7c41d728086e0c162.jpg","text":"TemporaryFile(/tmp/multipartBody3142790254290260945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098713045,"filename":"image_19042025_21_13_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/19/f6ed8e22e91835f07d3766183c883ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6589965863478938233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098713045,"filename":"image_19042025_21_13_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/19/54bafea5968c09b44b697a0e82661d43.jpg","text":"TemporaryFile(/tmp/multipartBody7091614518554512893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098713045,"filename":"image_19042025_21_13_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/19/5461e972ce935c0314c1ba9b25a7913c.jpg","text":"TemporaryFile(/tmp/multipartBody2292926095109436848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098713045,"filename":"image_19042025_21_12_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/19/9ec2a62ef4a60661ee86e21be89fe54b.jpg","text":"TemporaryFile(/tmp/multipartBody8903315936178757191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098713045,"filename":"image_19042025_21_13_36_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7fe0629b53abcfae978247a538a65edc.jpg","text":"TemporaryFile(/tmp/multipartBody4732254226046483090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098713045,"filename":"image_19042025_21_13_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022458","file1":"1352022456","file0":"1352022454","file4":"1352022462","file5":"1352022464","file3":"1352022460"},"map_files_photo_id_array":[{"photo_id":"1352022464","filename":"file5"},{"photo_id":"1352022458","filename":"file2"},{"photo_id":"1352022462","filename":"file4"},{"photo_id":"1352022456","filename":"file1"},{"photo_id":"1352022454","filename":"file0"},{"photo_id":"1352022460","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022464":["hashtag1","hashtag2"]},{"1352022458":["hashtag1","hashtag2"]},{"1352022460":["hashtag1","hashtag2"]},{"1352022454":["hashtag1","hashtag2"]},{"1352022462":["hashtag1","hashtag2"]},{"1352022456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022464, 1352022458, 1352022460, 1352022454, 1352022462, 1352022456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.627748250961304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:38:32.858622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_56_10375.jpg', '/home/pi/Desktop/images/19042025/21/13/image_19042025_21_14_05_9479.jpg', '/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_16_10351.jpg', '/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_26_10493.jpg', '/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_35_9352.jpg', '/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_46_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/13/image_19042025_21_13_56_10375.jpg
/home/pi/Desktop/images/19042025/21/13/image_19042025_21_14_05_9479.jpg
/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_16_10351.jpg
/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_26_10493.jpg
/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_35_9352.jpg
/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_46_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022482","1352022485","1352022478","1352022487","1352022480","1352022474"],"photo_ids_order":["1352022474","1352022478","1352022480","1352022482","1352022485","1352022487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/280a34bc1cede1ed79b2b423b709e2a6.jpg","text":"TemporaryFile(/tmp/multipartBody8539707563318451242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098773329,"filename":"image_19042025_21_14_26_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ee768b738d4bb0b86dafd776c875c977.jpg","text":"TemporaryFile(/tmp/multipartBody5279714942143577750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098773329,"filename":"image_19042025_21_14_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/19/96ec1881a71e90b306a9bf7d4461231a.jpg","text":"TemporaryFile(/tmp/multipartBody2808155760376745942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098773329,"filename":"image_19042025_21_14_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/19/e039f4f6561094151f76f3fc1e51f6e8.jpg","text":"TemporaryFile(/tmp/multipartBody9062429349922945870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098773329,"filename":"image_19042025_21_14_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/19/a17fb72159710431b892f18df971eb48.jpg","text":"TemporaryFile(/tmp/multipartBody1617725135090109990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098773329,"filename":"image_19042025_21_14_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/19/47acc82eed70044b44e1d901fc123c7b.jpg","text":"TemporaryFile(/tmp/multipartBody2764530667645690510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098773329,"filename":"image_19042025_21_13_56_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022480","file1":"1352022478","file0":"1352022474","file4":"1352022485","file5":"1352022487","file3":"1352022482"},"map_files_photo_id_array":[{"photo_id":"1352022487","filename":"file5"},{"photo_id":"1352022480","filename":"file2"},{"photo_id":"1352022485","filename":"file4"},{"photo_id":"1352022478","filename":"file1"},{"photo_id":"1352022474","filename":"file0"},{"photo_id":"1352022482","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022482":["hashtag1","hashtag2"]},{"1352022485":["hashtag1","hashtag2"]},{"1352022478":["hashtag1","hashtag2"]},{"1352022487":["hashtag1","hashtag2"]},{"1352022480":["hashtag1","hashtag2"]},{"1352022474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022482, 1352022485, 1352022478, 1352022487, 1352022480, 1352022474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.874889373779297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:39:33.132305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_55_9376.jpg', '/home/pi/Desktop/images/19042025/21/14/image_19042025_21_15_06_10374.jpg', '/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_16_10367.jpg', '/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_36_10376.jpg', '/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_45_9429.jpg', '/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_56_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_55_9376.jpg
/home/pi/Desktop/images/19042025/21/14/image_19042025_21_15_06_10374.jpg
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_16_10367.jpg
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_36_10376.jpg
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_45_9429.jpg
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_56_10410.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.402085542678833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 23:39:43.145659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_55_9376.jpg', '/home/pi/Desktop/images/19042025/21/14/image_19042025_21_15_06_10374.jpg', '/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_16_10367.jpg', '/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_36_10376.jpg', '/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_45_9429.jpg', '/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_56_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/14/image_19042025_21_14_55_9376.jpg
/home/pi/Desktop/images/19042025/21/14/image_19042025_21_15_06_10374.jpg
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_16_10367.jpg
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_36_10376.jpg
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_45_9429.jpg
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_15_56_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022519","1352022509","1352022518","1352022511","1352022514","1352022517"],"photo_ids_order":["1352022509","1352022511","1352022514","1352022517","1352022518","1352022519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/46ad10322ed70b98a4954dc4dcf29124.jpg","text":"TemporaryFile(/tmp/multipartBody3134780788425557424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098843607,"filename":"image_19042025_21_15_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/19/76c346a957b401908d4186f683696c99.jpg","text":"TemporaryFile(/tmp/multipartBody6877107336052649200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098843607,"filename":"image_19042025_21_14_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/19cbf91c64d4ba18e6b069ae04de595d.jpg","text":"TemporaryFile(/tmp/multipartBody3521047747433594022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098843607,"filename":"image_19042025_21_15_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/19/775cd7336cfc63361eecca02e5467ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8387201466154453553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098843607,"filename":"image_19042025_21_15_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/19/560328c54189d5636794e373e948206a.jpg","text":"TemporaryFile(/tmp/multipartBody3776831305410768274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098843607,"filename":"image_19042025_21_15_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/19/eea06ef2f9322d6284376a1bbbd80c71.jpg","text":"TemporaryFile(/tmp/multipartBody8124097135505376995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098843607,"filename":"image_19042025_21_15_36_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022514","file1":"1352022511","file0":"1352022509","file4":"1352022518","file5":"1352022519","file3":"1352022517"},"map_files_photo_id_array":[{"photo_id":"1352022519","filename":"file5"},{"photo_id":"1352022514","filename":"file2"},{"photo_id":"1352022518","filename":"file4"},{"photo_id":"1352022511","filename":"file1"},{"photo_id":"1352022509","filename":"file0"},{"photo_id":"1352022517","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022519":["hashtag1","hashtag2"]},{"1352022509":["hashtag1","hashtag2"]},{"1352022518":["hashtag1","hashtag2"]},{"1352022511":["hashtag1","hashtag2"]},{"1352022514":["hashtag1","hashtag2"]},{"1352022517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022519, 1352022509, 1352022518, 1352022511, 1352022514, 1352022517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.62582492828369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:40:32.349699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/15/image_19042025_21_16_06_10376.jpg', '/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_15_9363.jpg', '/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_26_10373.jpg', '/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_36_10360.jpg', '/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_45_9353.jpg', '/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_56_10522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/15/image_19042025_21_16_06_10376.jpg
/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_15_9363.jpg
/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_26_10373.jpg
/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_36_10360.jpg
/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_45_9353.jpg
/home/pi/Desktop/images/19042025/21/16/image_19042025_21_16_56_10522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022537","1352022531","1352022533","1352022539","1352022535","1352022529"],"photo_ids_order":["1352022529","1352022531","1352022533","1352022535","1352022537","1352022539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/3ff0cecbac081fb826ab837d3117a499.jpg","text":"TemporaryFile(/tmp/multipartBody2524379015954210653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098892835,"filename":"image_19042025_21_16_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e9141cd8916a97fcbd85dbaff7bb7920.jpg","text":"TemporaryFile(/tmp/multipartBody5385386257319172019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098892835,"filename":"image_19042025_21_16_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/19/94f5b1bcd797a185d9ff9a35c9b9fcb5.jpg","text":"TemporaryFile(/tmp/multipartBody6824826904277209367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098892835,"filename":"image_19042025_21_16_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/19/6202b7f54b61bd12a6bf8f4556f2177d.jpg","text":"TemporaryFile(/tmp/multipartBody2781423999166902224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098892835,"filename":"image_19042025_21_16_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/19/bdae4f45902570b84e76cbf378bcd3c8.jpg","text":"TemporaryFile(/tmp/multipartBody2141394028191308557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098892835,"filename":"image_19042025_21_16_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4c32892fcc756c239b5c8d7b22dbec55.jpg","text":"TemporaryFile(/tmp/multipartBody3438092853478657348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098892835,"filename":"image_19042025_21_16_06_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022533","file1":"1352022531","file0":"1352022529","file4":"1352022537","file5":"1352022539","file3":"1352022535"},"map_files_photo_id_array":[{"photo_id":"1352022539","filename":"file5"},{"photo_id":"1352022533","filename":"file2"},{"photo_id":"1352022537","filename":"file4"},{"photo_id":"1352022531","filename":"file1"},{"photo_id":"1352022529","filename":"file0"},{"photo_id":"1352022535","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022537":["hashtag1","hashtag2"]},{"1352022531":["hashtag1","hashtag2"]},{"1352022533":["hashtag1","hashtag2"]},{"1352022539":["hashtag1","hashtag2"]},{"1352022535":["hashtag1","hashtag2"]},{"1352022529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022537, 1352022531, 1352022533, 1352022539, 1352022535, 1352022529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.717915296554565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:41:32.662345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/16/image_19042025_21_17_05_9393.jpg', '/home/pi/Desktop/images/19042025/21/17/image_19042025_21_17_26_10366.jpg', '/home/pi/Desktop/images/19042025/21/17/image_19042025_21_17_55_9355.jpg', '/home/pi/Desktop/images/19042025/21/17/image_19042025_21_18_06_10353.jpg', '/home/pi/Desktop/images/19042025/21/18/image_19042025_21_18_16_10368.jpg', '/home/pi/Desktop/images/19042025/21/18/image_19042025_21_18_45_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/16/image_19042025_21_17_05_9393.jpg
/home/pi/Desktop/images/19042025/21/17/image_19042025_21_17_26_10366.jpg
/home/pi/Desktop/images/19042025/21/17/image_19042025_21_17_55_9355.jpg
/home/pi/Desktop/images/19042025/21/17/image_19042025_21_18_06_10353.jpg
/home/pi/Desktop/images/19042025/21/18/image_19042025_21_18_16_10368.jpg
/home/pi/Desktop/images/19042025/21/18/image_19042025_21_18_45_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022551","1352022556","1352022559","1352022553","1352022555","1352022549"],"photo_ids_order":["1352022549","1352022551","1352022553","1352022555","1352022556","1352022559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/55b1d8f5c9f21656191d1de376b7752d.jpg","text":"TemporaryFile(/tmp/multipartBody8327120321145701420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098953147,"filename":"image_19042025_21_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/19/3153fdfaed7225b3d39e32167ee21c3b.jpg","text":"TemporaryFile(/tmp/multipartBody8877514009723569952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098953147,"filename":"image_19042025_21_18_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/313870b024a7a4934d2bdc11ce6e36a9.jpg","text":"TemporaryFile(/tmp/multipartBody4577708520422296195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098953147,"filename":"image_19042025_21_18_45_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bbbc3dd0cc8e8db1c1cb93803bddf855.jpg","text":"TemporaryFile(/tmp/multipartBody6071003148480963033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098953147,"filename":"image_19042025_21_17_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/95c062c1e1fe5f04e6c0422fb8bef448.jpg","text":"TemporaryFile(/tmp/multipartBody2072953054319699656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098953147,"filename":"image_19042025_21_18_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/e3f4007c888b8721175ced6def328b7a.jpg","text":"TemporaryFile(/tmp/multipartBody349956411104731461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745098953147,"filename":"image_19042025_21_17_05_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022553","file1":"1352022551","file0":"1352022549","file4":"1352022556","file5":"1352022559","file3":"1352022555"},"map_files_photo_id_array":[{"photo_id":"1352022559","filename":"file5"},{"photo_id":"1352022553","filename":"file2"},{"photo_id":"1352022556","filename":"file4"},{"photo_id":"1352022551","filename":"file1"},{"photo_id":"1352022549","filename":"file0"},{"photo_id":"1352022555","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022551":["hashtag1","hashtag2"]},{"1352022556":["hashtag1","hashtag2"]},{"1352022559":["hashtag1","hashtag2"]},{"1352022553":["hashtag1","hashtag2"]},{"1352022555":["hashtag1","hashtag2"]},{"1352022549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022551, 1352022556, 1352022559, 1352022553, 1352022555, 1352022549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.612616062164307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:42:32.775356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/19/image_19042025_21_19_26_10376.jpg', '/home/pi/Desktop/images/19042025/21/19/image_19042025_21_19_35_9462.jpg', '/home/pi/Desktop/images/19042025/21/19/image_19042025_21_19_46_10378.jpg', '/home/pi/Desktop/images/19042025/21/19/image_19042025_21_19_56_10398.jpg', '/home/pi/Desktop/images/19042025/21/19/image_19042025_21_20_05_9346.jpg', '/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_16_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/19/image_19042025_21_19_26_10376.jpg
/home/pi/Desktop/images/19042025/21/19/image_19042025_21_19_35_9462.jpg
/home/pi/Desktop/images/19042025/21/19/image_19042025_21_19_46_10378.jpg
/home/pi/Desktop/images/19042025/21/19/image_19042025_21_19_56_10398.jpg
/home/pi/Desktop/images/19042025/21/19/image_19042025_21_20_05_9346.jpg
/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_16_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":["1352022581","1352022572","1352022575","1352022583","1352022577","1352022579"],"photo_ids_order":["1352022572","1352022575","1352022577","1352022579","1352022581","1352022583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bbb9cb138003a8e7e5bf51dc476c3a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6616095199372287707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099013238,"filename":"image_19042025_21_20_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1cb37e226f842057a7168c7e968cccb5.jpg","text":"TemporaryFile(/tmp/multipartBody57966102358296867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099013238,"filename":"image_19042025_21_19_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/19/5975381618befaae9358767e71d2fc2f.jpg","text":"TemporaryFile(/tmp/multipartBody6512866621455480502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099013238,"filename":"image_19042025_21_19_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/19/f944b521ab47c1bf92a21d0995da8403.jpg","text":"TemporaryFile(/tmp/multipartBody8623686937692548881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099013238,"filename":"image_19042025_21_20_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/cfed19b3cad42a8f0d899dfdaaaaaade.jpg","text":"TemporaryFile(/tmp/multipartBody6996480392324535728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099013238,"filename":"image_19042025_21_19_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/19/5c285ad3adf71447551e851ba58d0429.jpg","text":"TemporaryFile(/tmp/multipartBody7576821118976772175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099013238,"filename":"image_19042025_21_19_56_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022577","file1":"1352022575","file0":"1352022572","file4":"1352022581","file5":"1352022583","file3":"1352022579"},"map_files_photo_id_array":[{"photo_id":"1352022583","filename":"file5"},{"photo_id":"1352022577","filename":"file2"},{"photo_id":"1352022581","filename":"file4"},{"photo_id":"1352022575","filename":"file1"},{"photo_id":"1352022572","filename":"file0"},{"photo_id":"1352022579","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022581":["hashtag1","hashtag2"]},{"1352022572":["hashtag1","hashtag2"]},{"1352022575":["hashtag1","hashtag2"]},{"1352022583":["hashtag1","hashtag2"]},{"1352022577":["hashtag1","hashtag2"]},{"1352022579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022581, 1352022572, 1352022575, 1352022583, 1352022577, 1352022579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.453408241271973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:43:33.095954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_25_9466.jpg', '/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_36_10375.jpg', '/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_46_10359.jpg', '/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_55_9392.jpg', '/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_15_9435.jpg', '/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_25_9466.jpg
/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_36_10375.jpg
/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_46_10359.jpg
/home/pi/Desktop/images/19042025/21/20/image_19042025_21_20_55_9392.jpg
/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_15_9435.jpg
/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_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":["1352022615","1352022609","1352022613","1352022607","1352022601","1352022604"],"photo_ids_order":["1352022601","1352022604","1352022607","1352022609","1352022613","1352022615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/199da725565f843723c645158d334ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7474376436935121127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099073556,"filename":"image_19042025_21_21_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/19/9f123ee47ddf42afd983580e83e8162a.jpg","text":"TemporaryFile(/tmp/multipartBody6212053727465504664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099073556,"filename":"image_19042025_21_20_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/19/ddaa9e1b99161f9dfc0a6b39dc0425a2.jpg","text":"TemporaryFile(/tmp/multipartBody2285462088410752084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099073556,"filename":"image_19042025_21_21_15_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/7c59283d7b0a282ea45c90553931ca71.jpg","text":"TemporaryFile(/tmp/multipartBody7558944373640186913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099073556,"filename":"image_19042025_21_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/19/95cfbb5b86d944d49f9ec014d798f71c.jpg","text":"TemporaryFile(/tmp/multipartBody8444292416206078940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099073556,"filename":"image_19042025_21_20_25_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ef0b02c82c5edb968d2690308e7eecf.jpg","text":"TemporaryFile(/tmp/multipartBody1800157254712988192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099073556,"filename":"image_19042025_21_20_36_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022607","file1":"1352022604","file0":"1352022601","file4":"1352022613","file5":"1352022615","file3":"1352022609"},"map_files_photo_id_array":[{"photo_id":"1352022615","filename":"file5"},{"photo_id":"1352022607","filename":"file2"},{"photo_id":"1352022613","filename":"file4"},{"photo_id":"1352022604","filename":"file1"},{"photo_id":"1352022601","filename":"file0"},{"photo_id":"1352022609","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022615":["hashtag1","hashtag2"]},{"1352022609":["hashtag1","hashtag2"]},{"1352022613":["hashtag1","hashtag2"]},{"1352022607":["hashtag1","hashtag2"]},{"1352022601":["hashtag1","hashtag2"]},{"1352022604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022615, 1352022609, 1352022613, 1352022607, 1352022601, 1352022604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.487378358840942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:44:32.184188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_36_10433.jpg', '/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_45_9344.jpg', '/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_56_10446.jpg', '/home/pi/Desktop/images/19042025/21/21/image_19042025_21_22_06_10372.jpg', '/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_16_9411.jpg', '/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_26_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_36_10433.jpg
/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_45_9344.jpg
/home/pi/Desktop/images/19042025/21/21/image_19042025_21_21_56_10446.jpg
/home/pi/Desktop/images/19042025/21/21/image_19042025_21_22_06_10372.jpg
/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_16_9411.jpg
/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_26_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022636","1352022630","1352022632","1352022626","1352022634","1352022628"],"photo_ids_order":["1352022626","1352022628","1352022630","1352022632","1352022634","1352022636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ad8245e4083d06b2d9b161f58b261156.jpg","text":"TemporaryFile(/tmp/multipartBody7988571896141033748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099132656,"filename":"image_19042025_21_22_26_10536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6e5c81487e439da059a7766a9ccca80a.jpg","text":"TemporaryFile(/tmp/multipartBody1706006831256617174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099132656,"filename":"image_19042025_21_21_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/19/54df50899f0a63166250cbb49fb05e68.jpg","text":"TemporaryFile(/tmp/multipartBody3454057623517907347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099132656,"filename":"image_19042025_21_22_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/19/70508532807ff89c3e627f46eff06db9.jpg","text":"TemporaryFile(/tmp/multipartBody1127852933115546914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099132656,"filename":"image_19042025_21_21_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/19/3add9a1a72dd13b00d0e53331f1c58fc.jpg","text":"TemporaryFile(/tmp/multipartBody937550498055450715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099132656,"filename":"image_19042025_21_22_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/19/c72b0ae2386ed8abeea3a7224c332084.jpg","text":"TemporaryFile(/tmp/multipartBody8014889291372812821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099132656,"filename":"image_19042025_21_21_45_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022630","file1":"1352022628","file0":"1352022626","file4":"1352022634","file5":"1352022636","file3":"1352022632"},"map_files_photo_id_array":[{"photo_id":"1352022636","filename":"file5"},{"photo_id":"1352022630","filename":"file2"},{"photo_id":"1352022634","filename":"file4"},{"photo_id":"1352022628","filename":"file1"},{"photo_id":"1352022626","filename":"file0"},{"photo_id":"1352022632","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022636":["hashtag1","hashtag2"]},{"1352022630":["hashtag1","hashtag2"]},{"1352022632":["hashtag1","hashtag2"]},{"1352022626":["hashtag1","hashtag2"]},{"1352022634":["hashtag1","hashtag2"]},{"1352022628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022636, 1352022630, 1352022632, 1352022626, 1352022634, 1352022628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.762243509292603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:45:32.510066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_35_9364.jpg', '/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_46_10358.jpg', '/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_55_9368.jpg', '/home/pi/Desktop/images/19042025/21/22/image_19042025_21_23_05_10355.jpg', '/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_16_10454.jpg', '/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_25_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_35_9364.jpg
/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_46_10358.jpg
/home/pi/Desktop/images/19042025/21/22/image_19042025_21_22_55_9368.jpg
/home/pi/Desktop/images/19042025/21/22/image_19042025_21_23_05_10355.jpg
/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_16_10454.jpg
/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_25_9378.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":["1352022657","1352022659","1352022650","1352022655","1352022651","1352022654"],"photo_ids_order":["1352022650","1352022651","1352022654","1352022655","1352022657","1352022659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c10bc975de419a352de431aa1814bb2d.jpg","text":"TemporaryFile(/tmp/multipartBody3160531652699549223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099192971,"filename":"image_19042025_21_23_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/19/308c593173aa79ad054dd30d15668e3b.jpg","text":"TemporaryFile(/tmp/multipartBody9169524482727884209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099192971,"filename":"image_19042025_21_23_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/19/c6bd7c2abdfcb29f3456ce1633d032b4.jpg","text":"TemporaryFile(/tmp/multipartBody7965297434741748779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099192971,"filename":"image_19042025_21_22_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/19/24a129b73d10c1086ac1d8de52d5675c.jpg","text":"TemporaryFile(/tmp/multipartBody6539051286257400182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099192971,"filename":"image_19042025_21_23_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/19/86d57d3b2453c0a25e1121a32d2c0fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5461071162203948026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099192971,"filename":"image_19042025_21_22_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/fcb545132d98ad13512ba78cbd5cece5.jpg","text":"TemporaryFile(/tmp/multipartBody89914480630796781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099192971,"filename":"image_19042025_21_22_55_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022654","file1":"1352022651","file0":"1352022650","file4":"1352022657","file5":"1352022659","file3":"1352022655"},"map_files_photo_id_array":[{"photo_id":"1352022659","filename":"file5"},{"photo_id":"1352022654","filename":"file2"},{"photo_id":"1352022657","filename":"file4"},{"photo_id":"1352022651","filename":"file1"},{"photo_id":"1352022650","filename":"file0"},{"photo_id":"1352022655","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022657":["hashtag1","hashtag2"]},{"1352022659":["hashtag1","hashtag2"]},{"1352022650":["hashtag1","hashtag2"]},{"1352022655":["hashtag1","hashtag2"]},{"1352022651":["hashtag1","hashtag2"]},{"1352022654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022657, 1352022659, 1352022650, 1352022655, 1352022651, 1352022654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.804128408432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 23:46:42.587508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_36_10368.jpg', '/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_45_9594.jpg', '/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_56_10384.jpg', '/home/pi/Desktop/images/19042025/21/23/image_19042025_21_24_06_10378.jpg', '/home/pi/Desktop/images/19042025/21/24/image_19042025_21_24_15_9346.jpg', '/home/pi/Desktop/images/19042025/21/24/image_19042025_21_24_26_10522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_36_10368.jpg
/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_45_9594.jpg
/home/pi/Desktop/images/19042025/21/23/image_19042025_21_23_56_10384.jpg
/home/pi/Desktop/images/19042025/21/23/image_19042025_21_24_06_10378.jpg
/home/pi/Desktop/images/19042025/21/24/image_19042025_21_24_15_9346.jpg
/home/pi/Desktop/images/19042025/21/24/image_19042025_21_24_26_10522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022680","1352022677","1352022674","1352022668","1352022679","1352022672"],"photo_ids_order":["1352022668","1352022672","1352022674","1352022677","1352022679","1352022680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/88eb873273bec468b479c6228d856c9f.jpg","text":"TemporaryFile(/tmp/multipartBody967610926464352901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099263056,"filename":"image_19042025_21_24_26_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/19/d15d627dd09b5d8ac60fe71e8e4e6500.jpg","text":"TemporaryFile(/tmp/multipartBody5988853897029813018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099263056,"filename":"image_19042025_21_24_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/19/a2323b895c2917741f19f1bdc4c7220f.jpg","text":"TemporaryFile(/tmp/multipartBody1774711090638779829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099263056,"filename":"image_19042025_21_23_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9a310543da520b052a0670caac8bcef0.jpg","text":"TemporaryFile(/tmp/multipartBody7023624451910941958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099263056,"filename":"image_19042025_21_23_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/19/99f21c6d4bbe3d65449b08fb761ae398.jpg","text":"TemporaryFile(/tmp/multipartBody571404788632757748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099263056,"filename":"image_19042025_21_24_15_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/ac547bc65e9f8f98b577bb4906f25f22.jpg","text":"TemporaryFile(/tmp/multipartBody2175897737780007216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099263056,"filename":"image_19042025_21_23_45_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022674","file1":"1352022672","file0":"1352022668","file4":"1352022679","file5":"1352022680","file3":"1352022677"},"map_files_photo_id_array":[{"photo_id":"1352022680","filename":"file5"},{"photo_id":"1352022674","filename":"file2"},{"photo_id":"1352022679","filename":"file4"},{"photo_id":"1352022672","filename":"file1"},{"photo_id":"1352022668","filename":"file0"},{"photo_id":"1352022677","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022680":["hashtag1","hashtag2"]},{"1352022677":["hashtag1","hashtag2"]},{"1352022674":["hashtag1","hashtag2"]},{"1352022668":["hashtag1","hashtag2"]},{"1352022679":["hashtag1","hashtag2"]},{"1352022672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022680, 1352022677, 1352022674, 1352022668, 1352022679, 1352022672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.720762014389038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:47:32.903407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/24/image_19042025_21_24_46_10419.jpg', '/home/pi/Desktop/images/19042025/21/24/image_19042025_21_24_55_9450.jpg', '/home/pi/Desktop/images/19042025/21/24/image_19042025_21_25_06_10375.jpg', '/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_16_10465.jpg', '/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_25_9381.jpg', '/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_36_10495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/24/image_19042025_21_24_46_10419.jpg
/home/pi/Desktop/images/19042025/21/24/image_19042025_21_24_55_9450.jpg
/home/pi/Desktop/images/19042025/21/24/image_19042025_21_25_06_10375.jpg
/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_16_10465.jpg
/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_25_9381.jpg
/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_36_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":["1352022695","1352022689","1352022698","1352022701","1352022693","1352022687"],"photo_ids_order":["1352022687","1352022689","1352022693","1352022695","1352022698","1352022701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/9060a3a048203c19a3a288126444aa27.jpg","text":"TemporaryFile(/tmp/multipartBody6011562260999402444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099313365,"filename":"image_19042025_21_25_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/19/a5e99e63eeb0921339b749c8bd172c10.jpg","text":"TemporaryFile(/tmp/multipartBody345314631230585292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099313365,"filename":"image_19042025_21_24_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/19/ab9c1d867333af36ab90f20c513ba2cb.jpg","text":"TemporaryFile(/tmp/multipartBody4514725568220415406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099313365,"filename":"image_19042025_21_25_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/bf8e1419e6e8f30c4ba87477c2693cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4782170024648705974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099313365,"filename":"image_19042025_21_25_36_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/19/e85803aca75b0e3a6e1647f844f0a5f2.jpg","text":"TemporaryFile(/tmp/multipartBody1987300785819176910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099313365,"filename":"image_19042025_21_25_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/19/15222d80f8897b352a9db968ef115f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6821887989412394323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099313365,"filename":"image_19042025_21_24_46_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022693","file1":"1352022689","file0":"1352022687","file4":"1352022698","file5":"1352022701","file3":"1352022695"},"map_files_photo_id_array":[{"photo_id":"1352022701","filename":"file5"},{"photo_id":"1352022693","filename":"file2"},{"photo_id":"1352022698","filename":"file4"},{"photo_id":"1352022689","filename":"file1"},{"photo_id":"1352022687","filename":"file0"},{"photo_id":"1352022695","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022695":["hashtag1","hashtag2"]},{"1352022689":["hashtag1","hashtag2"]},{"1352022698":["hashtag1","hashtag2"]},{"1352022701":["hashtag1","hashtag2"]},{"1352022693":["hashtag1","hashtag2"]},{"1352022687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022695, 1352022689, 1352022698, 1352022701, 1352022693, 1352022687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27155828475952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:48:33.120707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_45_9367.jpg', '/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_56_10383.jpg', '/home/pi/Desktop/images/19042025/21/25/image_19042025_21_26_06_10360.jpg', '/home/pi/Desktop/images/19042025/21/26/image_19042025_21_26_15_9370.jpg', '/home/pi/Desktop/images/19042025/21/26/image_19042025_21_26_26_10516.jpg', '/home/pi/Desktop/images/19042025/21/26/image_19042025_21_26_46_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_45_9367.jpg
/home/pi/Desktop/images/19042025/21/25/image_19042025_21_25_56_10383.jpg
/home/pi/Desktop/images/19042025/21/25/image_19042025_21_26_06_10360.jpg
/home/pi/Desktop/images/19042025/21/26/image_19042025_21_26_15_9370.jpg
/home/pi/Desktop/images/19042025/21/26/image_19042025_21_26_26_10516.jpg
/home/pi/Desktop/images/19042025/21/26/image_19042025_21_26_46_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022720","1352022723","1352022708","1352022713","1352022716","1352022710"],"photo_ids_order":["1352022708","1352022710","1352022713","1352022716","1352022720","1352022723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/aff22d86d7968e9c2d10994127108d58.jpg","text":"TemporaryFile(/tmp/multipartBody909764835035705199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099373587,"filename":"image_19042025_21_26_26_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/19/9895e2d17d591e7b13e8c83a79429320.jpg","text":"TemporaryFile(/tmp/multipartBody7372517679501042542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099373587,"filename":"image_19042025_21_26_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8cdb65a8cdb9737d8bb9f7bf645a49a8.jpg","text":"TemporaryFile(/tmp/multipartBody6329072509130293661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099373587,"filename":"image_19042025_21_25_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/19/643300b853ac60a446a19bc7c13ba8d2.jpg","text":"TemporaryFile(/tmp/multipartBody444767560244847253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099373587,"filename":"image_19042025_21_26_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/19/613dc26b7b844bbb88c2daa30c1a9fab.jpg","text":"TemporaryFile(/tmp/multipartBody8261301072631408433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099373587,"filename":"image_19042025_21_26_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/19/342360204edee530b9df9d17a02b716b.jpg","text":"TemporaryFile(/tmp/multipartBody5058217982946958674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099373587,"filename":"image_19042025_21_25_56_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022713","file1":"1352022710","file0":"1352022708","file4":"1352022720","file5":"1352022723","file3":"1352022716"},"map_files_photo_id_array":[{"photo_id":"1352022723","filename":"file5"},{"photo_id":"1352022713","filename":"file2"},{"photo_id":"1352022720","filename":"file4"},{"photo_id":"1352022710","filename":"file1"},{"photo_id":"1352022708","filename":"file0"},{"photo_id":"1352022716","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022720":["hashtag1","hashtag2"]},{"1352022723":["hashtag1","hashtag2"]},{"1352022708":["hashtag1","hashtag2"]},{"1352022713":["hashtag1","hashtag2"]},{"1352022716":["hashtag1","hashtag2"]},{"1352022710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022720, 1352022723, 1352022708, 1352022713, 1352022716, 1352022710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.64888024330139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:49:32.346431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/26/image_19042025_21_26_56_10386.jpg', '/home/pi/Desktop/images/19042025/21/26/image_19042025_21_27_05_9450.jpg', '/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_16_10474.jpg', '/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_25_9352.jpg', '/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_36_10484.jpg', '/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_45_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/26/image_19042025_21_26_56_10386.jpg
/home/pi/Desktop/images/19042025/21/26/image_19042025_21_27_05_9450.jpg
/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_16_10474.jpg
/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_25_9352.jpg
/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_36_10484.jpg
/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_45_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022743","1352022731","1352022740","1352022737","1352022730","1352022733"],"photo_ids_order":["1352022730","1352022731","1352022733","1352022737","1352022740","1352022743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/8b8f110c78cb30c8bcc47ee7ed6ba691.jpg","text":"TemporaryFile(/tmp/multipartBody8285009255640822322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099432826,"filename":"image_19042025_21_27_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/19/3d1ea4c451374d0b3933a95687f9b686.jpg","text":"TemporaryFile(/tmp/multipartBody8674892511141848531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099432826,"filename":"image_19042025_21_27_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/19/6c1d87d00a0544ba73c145df05329438.jpg","text":"TemporaryFile(/tmp/multipartBody7394335254408486971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099432826,"filename":"image_19042025_21_27_36_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0f69a6c90509f71a6a98899b70456d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2636409505161314459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099432826,"filename":"image_19042025_21_27_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/19/651ba2a839a9ff247675642edc25790f.jpg","text":"TemporaryFile(/tmp/multipartBody450000483166552321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099432826,"filename":"image_19042025_21_26_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/19/81c0fb2e1c8ecf7261345dc13a281564.jpg","text":"TemporaryFile(/tmp/multipartBody8164546938292493636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099432826,"filename":"image_19042025_21_27_16_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352022733","file1":"1352022731","file0":"1352022730","file4":"1352022740","file5":"1352022743","file3":"1352022737"},"map_files_photo_id_array":[{"photo_id":"1352022743","filename":"file5"},{"photo_id":"1352022733","filename":"file2"},{"photo_id":"1352022740","filename":"file4"},{"photo_id":"1352022731","filename":"file1"},{"photo_id":"1352022730","filename":"file0"},{"photo_id":"1352022737","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352022743":["hashtag1","hashtag2"]},{"1352022731":["hashtag1","hashtag2"]},{"1352022740":["hashtag1","hashtag2"]},{"1352022737":["hashtag1","hashtag2"]},{"1352022730":["hashtag1","hashtag2"]},{"1352022733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352022743, 1352022731, 1352022740, 1352022737, 1352022730, 1352022733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.904861211776733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:50:32.608329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_56_10434.jpg', '/home/pi/Desktop/images/19042025/21/27/image_19042025_21_28_06_10433.jpg', '/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_15_9344.jpg', '/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_26_10402.jpg', '/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_36_10359.jpg', '/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_45_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/27/image_19042025_21_27_56_10434.jpg
/home/pi/Desktop/images/19042025/21/27/image_19042025_21_28_06_10433.jpg
/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_15_9344.jpg
/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_26_10402.jpg
/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_36_10359.jpg
/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_45_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352023122","1352023154","1352023121","1352023124","1352023126","1352023240"],"photo_ids_order":["1352023121","1352023122","1352023124","1352023126","1352023154","1352023240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/403894bbeac1eb99ca0980e441c3a950.jpg","text":"TemporaryFile(/tmp/multipartBody2615779434369597329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099493075,"filename":"image_19042025_21_28_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/19/f44a4aed8f5a3e0cb12a66480eb0a92c.jpg","text":"TemporaryFile(/tmp/multipartBody2851819130192322180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099493075,"filename":"image_19042025_21_28_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/19/c32caa2d0afe884046e29843e32efd3f.jpg","text":"TemporaryFile(/tmp/multipartBody5166462885269720656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099493075,"filename":"image_19042025_21_27_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/19/06ac3e56af274d3d6cc98c8108fc93ff.jpg","text":"TemporaryFile(/tmp/multipartBody7328903747923489544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099493075,"filename":"image_19042025_21_28_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/19/b16cf5799bc1a0629a35fd50dd9c64a2.jpg","text":"TemporaryFile(/tmp/multipartBody6213073650554866251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099493075,"filename":"image_19042025_21_28_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/19/13b4d3f64cd63f64ab4887a3ac431c46.jpg","text":"TemporaryFile(/tmp/multipartBody5977677816708391464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099493075,"filename":"image_19042025_21_28_45_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023124","file1":"1352023122","file0":"1352023121","file4":"1352023154","file5":"1352023240","file3":"1352023126"},"map_files_photo_id_array":[{"photo_id":"1352023240","filename":"file5"},{"photo_id":"1352023124","filename":"file2"},{"photo_id":"1352023154","filename":"file4"},{"photo_id":"1352023122","filename":"file1"},{"photo_id":"1352023121","filename":"file0"},{"photo_id":"1352023126","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352023122":["hashtag1","hashtag2"]},{"1352023154":["hashtag1","hashtag2"]},{"1352023121":["hashtag1","hashtag2"]},{"1352023124":["hashtag1","hashtag2"]},{"1352023126":["hashtag1","hashtag2"]},{"1352023240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352023122, 1352023154, 1352023121, 1352023124, 1352023126, 1352023240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.518059730529785 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:51:32.734382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_56_10510.jpg', '/home/pi/Desktop/images/19042025/21/28/image_19042025_21_29_05_9348.jpg', '/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_16_10372.jpg', '/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_26_10423.jpg', '/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_35_9366.jpg', '/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_46_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/28/image_19042025_21_28_56_10510.jpg
/home/pi/Desktop/images/19042025/21/28/image_19042025_21_29_05_9348.jpg
/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_16_10372.jpg
/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_26_10423.jpg
/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_35_9366.jpg
/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_46_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352023381","1352023375","1352023369","1352023378","1352023372","1352023366"],"photo_ids_order":["1352023366","1352023369","1352023372","1352023375","1352023378","1352023381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/84f7b73913aecfe224bd737a0aaa5875.jpg","text":"TemporaryFile(/tmp/multipartBody5405052432398082224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099553193,"filename":"image_19042025_21_29_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/19/ffb06088ce7bc67a88c84a37c4c04379.jpg","text":"TemporaryFile(/tmp/multipartBody3955104319173395812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099553193,"filename":"image_19042025_21_29_26_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b88c70f471681ea986b6b991942e486a.jpg","text":"TemporaryFile(/tmp/multipartBody8644813336234607611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099553193,"filename":"image_19042025_21_29_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/82456b82073c8b7676b1f5fc861409b4.jpg","text":"TemporaryFile(/tmp/multipartBody479517990449506435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099553193,"filename":"image_19042025_21_29_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6365a018a714800cea0857e22f930e18.jpg","text":"TemporaryFile(/tmp/multipartBody1811809189989235223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099553193,"filename":"image_19042025_21_29_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/19/a96a2e5e03a003ff0fe545799ec41835.jpg","text":"TemporaryFile(/tmp/multipartBody1137300760408598902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099553193,"filename":"image_19042025_21_28_56_10510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023372","file1":"1352023369","file0":"1352023366","file4":"1352023378","file5":"1352023381","file3":"1352023375"},"map_files_photo_id_array":[{"photo_id":"1352023381","filename":"file5"},{"photo_id":"1352023372","filename":"file2"},{"photo_id":"1352023378","filename":"file4"},{"photo_id":"1352023369","filename":"file1"},{"photo_id":"1352023366","filename":"file0"},{"photo_id":"1352023375","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352023381":["hashtag1","hashtag2"]},{"1352023375":["hashtag1","hashtag2"]},{"1352023369":["hashtag1","hashtag2"]},{"1352023378":["hashtag1","hashtag2"]},{"1352023372":["hashtag1","hashtag2"]},{"1352023366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352023381, 1352023375, 1352023369, 1352023378, 1352023372, 1352023366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.66742730140686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 23:52:03.484312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_55_9377.jpg', '/home/pi/Desktop/images/19042025/21/29/image_19042025_21_30_06_10363.jpg', '/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_16_10365.jpg', '/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_25_9370.jpg', '/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_36_10370.jpg', '/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_45_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/29/image_19042025_21_29_55_9377.jpg
/home/pi/Desktop/images/19042025/21/29/image_19042025_21_30_06_10363.jpg
/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_16_10365.jpg
/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_25_9370.jpg
/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_36_10370.jpg
/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_45_9451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352023391","1352023388","1352023387","1352023384","1352023386","1352023389"],"photo_ids_order":["1352023384","1352023386","1352023387","1352023388","1352023389","1352023391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/4db6b8b78d45d0e7e6b7a63ecf86fcb1.jpg","text":"TemporaryFile(/tmp/multipartBody6900864685592221741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099584007,"filename":"image_19042025_21_30_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/0ff9109eb397a4de30a718f46df5d79a.jpg","text":"TemporaryFile(/tmp/multipartBody8461362566137894068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099584007,"filename":"image_19042025_21_30_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/19/c12b7ca9b806290bd58fe18030de754a.jpg","text":"TemporaryFile(/tmp/multipartBody3165545092604553872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099584007,"filename":"image_19042025_21_30_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/19/f72bdaffaf755900dc4b01d5f0937d9e.jpg","text":"TemporaryFile(/tmp/multipartBody8838851209843457383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099584007,"filename":"image_19042025_21_29_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/19/0de63ae99cd33362678511ba12e64a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6358830675660514073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099584007,"filename":"image_19042025_21_30_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/a6d22fea503f6aaa60c24b59141c3719.jpg","text":"TemporaryFile(/tmp/multipartBody7282572888951403601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099584007,"filename":"image_19042025_21_30_36_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023387","file1":"1352023386","file0":"1352023384","file4":"1352023389","file5":"1352023391","file3":"1352023388"},"map_files_photo_id_array":[{"photo_id":"1352023391","filename":"file5"},{"photo_id":"1352023387","filename":"file2"},{"photo_id":"1352023389","filename":"file4"},{"photo_id":"1352023386","filename":"file1"},{"photo_id":"1352023384","filename":"file0"},{"photo_id":"1352023388","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352023391":["hashtag1","hashtag2"]},{"1352023388":["hashtag1","hashtag2"]},{"1352023387":["hashtag1","hashtag2"]},{"1352023384":["hashtag1","hashtag2"]},{"1352023386":["hashtag1","hashtag2"]},{"1352023389":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352023391, 1352023388, 1352023387, 1352023384, 1352023386, 1352023389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.195894956588745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 23:52:42.909138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_56_10428.jpg', '/home/pi/Desktop/images/19042025/21/30/image_19042025_21_31_06_10377.jpg', '/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_15_9361.jpg', '/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_26_10375.jpg', '/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_35_9459.jpg', '/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_46_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/30/image_19042025_21_30_56_10428.jpg
/home/pi/Desktop/images/19042025/21/30/image_19042025_21_31_06_10377.jpg
/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_15_9361.jpg
/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_26_10375.jpg
/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_35_9459.jpg
/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_46_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":["1352023412","1352023409","1352023411","1352023401","1352023410","1352023404"],"photo_ids_order":["1352023401","1352023404","1352023409","1352023410","1352023411","1352023412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/303e131e7f3070f47dbf9d953259545f.jpg","text":"TemporaryFile(/tmp/multipartBody5589124085348699263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099623383,"filename":"image_19042025_21_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/19/0c6bebacf1cdb8eb6cbfd90fa050faef.jpg","text":"TemporaryFile(/tmp/multipartBody1907816314897942552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099623383,"filename":"image_19042025_21_31_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/19/4f3f7a188bf58e7d9dedc7cdb37679a0.jpg","text":"TemporaryFile(/tmp/multipartBody590456513629261247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099623383,"filename":"image_19042025_21_31_35_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/b72bf2439c36e860668e72c6f6db135c.jpg","text":"TemporaryFile(/tmp/multipartBody6182861403967399225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099623383,"filename":"image_19042025_21_30_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/19/ee3d7082d0cf8b709bf26666f7304165.jpg","text":"TemporaryFile(/tmp/multipartBody2233337611812328234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099623383,"filename":"image_19042025_21_31_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/19/32785c507f94745459b779b3ff639a89.jpg","text":"TemporaryFile(/tmp/multipartBody2706132133484963830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099623383,"filename":"image_19042025_21_31_06_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023409","file1":"1352023404","file0":"1352023401","file4":"1352023411","file5":"1352023412","file3":"1352023410"},"map_files_photo_id_array":[{"photo_id":"1352023412","filename":"file5"},{"photo_id":"1352023409","filename":"file2"},{"photo_id":"1352023411","filename":"file4"},{"photo_id":"1352023404","filename":"file1"},{"photo_id":"1352023401","filename":"file0"},{"photo_id":"1352023410","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352023412":["hashtag1","hashtag2"]},{"1352023409":["hashtag1","hashtag2"]},{"1352023411":["hashtag1","hashtag2"]},{"1352023401":["hashtag1","hashtag2"]},{"1352023410":["hashtag1","hashtag2"]},{"1352023404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352023412, 1352023409, 1352023411, 1352023401, 1352023410, 1352023404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78702139854431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:53:33.103674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_56_10473.jpg', '/home/pi/Desktop/images/19042025/21/31/image_19042025_21_32_06_9449.jpg', '/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_16_10461.jpg', '/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_25_9370.jpg', '/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_36_10351.jpg', '/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_45_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/31/image_19042025_21_31_56_10473.jpg
/home/pi/Desktop/images/19042025/21/31/image_19042025_21_32_06_9449.jpg
/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_16_10461.jpg
/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_25_9370.jpg
/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_36_10351.jpg
/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_45_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352023433","1352023421","1352023418","1352023423","1352023426","1352023429"],"photo_ids_order":["1352023418","1352023421","1352023423","1352023426","1352023429","1352023433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/1e4a517c7e7f36c117090f638ed4fd44.jpg","text":"TemporaryFile(/tmp/multipartBody373611572436958830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099673565,"filename":"image_19042025_21_32_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/19/f860a8fce7176b735b8da261092825c4.jpg","text":"TemporaryFile(/tmp/multipartBody6687567982867565565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099673565,"filename":"image_19042025_21_32_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/19/b1138361257d0d54fa1523f2ac23c189.jpg","text":"TemporaryFile(/tmp/multipartBody3087115862045466672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099673565,"filename":"image_19042025_21_31_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/19/8495ae07027f0544fb97d00dd14a962c.jpg","text":"TemporaryFile(/tmp/multipartBody1748921363615057742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099673565,"filename":"image_19042025_21_32_16_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/d7a51a8ad979773ee8def73d67389104.jpg","text":"TemporaryFile(/tmp/multipartBody1860920233512314052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099673565,"filename":"image_19042025_21_32_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/19/bb7e6a8f4cfe0615d845eebb557104af.jpg","text":"TemporaryFile(/tmp/multipartBody825870139250938963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099673565,"filename":"image_19042025_21_32_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023423","file1":"1352023421","file0":"1352023418","file4":"1352023429","file5":"1352023433","file3":"1352023426"},"map_files_photo_id_array":[{"photo_id":"1352023433","filename":"file5"},{"photo_id":"1352023423","filename":"file2"},{"photo_id":"1352023429","filename":"file4"},{"photo_id":"1352023421","filename":"file1"},{"photo_id":"1352023418","filename":"file0"},{"photo_id":"1352023426","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352023433":["hashtag1","hashtag2"]},{"1352023421":["hashtag1","hashtag2"]},{"1352023418":["hashtag1","hashtag2"]},{"1352023423":["hashtag1","hashtag2"]},{"1352023426":["hashtag1","hashtag2"]},{"1352023429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352023433, 1352023421, 1352023418, 1352023423, 1352023426, 1352023429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24336338043213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:54:32.684993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_55_10369.jpg', '/home/pi/Desktop/images/19042025/21/32/image_19042025_21_33_06_10470.jpg', '/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_15_9362.jpg', '/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_26_10370.jpg', '/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_36_10365.jpg', '/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_45_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_55_10369.jpg
/home/pi/Desktop/images/19042025/21/32/image_19042025_21_33_06_10470.jpg
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_15_9362.jpg
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_26_10370.jpg
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_36_10365.jpg
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_45_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.38231587409973145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-19 23:54:42.549249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_55_10369.jpg', '/home/pi/Desktop/images/19042025/21/32/image_19042025_21_33_06_10470.jpg', '/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_15_9362.jpg', '/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_26_10370.jpg', '/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_36_10365.jpg', '/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_45_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/32/image_19042025_21_32_55_10369.jpg
/home/pi/Desktop/images/19042025/21/32/image_19042025_21_33_06_10470.jpg
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_15_9362.jpg
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_26_10370.jpg
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_36_10365.jpg
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_45_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352023457","1352023451","1352023460","1352023454","1352023462","1352023464"],"photo_ids_order":["1352023451","1352023454","1352023457","1352023460","1352023462","1352023464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/6ec9e4c499937f30b999170b79fa8933.jpg","text":"TemporaryFile(/tmp/multipartBody4196793263404527935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099743014,"filename":"image_19042025_21_33_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/19/d3fef066478af23a044e06e2b5e392e2.jpg","text":"TemporaryFile(/tmp/multipartBody7191377459291068581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099743014,"filename":"image_19042025_21_32_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/19/4ec67384f9439fd8556b85e8fbc29a85.jpg","text":"TemporaryFile(/tmp/multipartBody6327659564761363960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099743014,"filename":"image_19042025_21_33_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/5dc09a5c0c171ab40dbe5f59712bfac9.jpg","text":"TemporaryFile(/tmp/multipartBody5669352001009395424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099743014,"filename":"image_19042025_21_33_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/19/703828d3b82b6a00b8eafecab25d37b1.jpg","text":"TemporaryFile(/tmp/multipartBody4113268702316745872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099743014,"filename":"image_19042025_21_33_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/19/9e6d5f98405e11515575ec4482d11996.jpg","text":"TemporaryFile(/tmp/multipartBody705842498431345400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099743014,"filename":"image_19042025_21_33_45_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023457","file1":"1352023454","file0":"1352023451","file4":"1352023462","file5":"1352023464","file3":"1352023460"},"map_files_photo_id_array":[{"photo_id":"1352023464","filename":"file5"},{"photo_id":"1352023457","filename":"file2"},{"photo_id":"1352023462","filename":"file4"},{"photo_id":"1352023454","filename":"file1"},{"photo_id":"1352023451","filename":"file0"},{"photo_id":"1352023460","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352023457":["hashtag1","hashtag2"]},{"1352023451":["hashtag1","hashtag2"]},{"1352023460":["hashtag1","hashtag2"]},{"1352023454":["hashtag1","hashtag2"]},{"1352023462":["hashtag1","hashtag2"]},{"1352023464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352023457, 1352023451, 1352023460, 1352023454, 1352023462, 1352023464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.42263102531433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:55:32.996958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_56_10366.jpg', '/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_16_10392.jpg', '/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_26_10384.jpg', '/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_35_9365.jpg', '/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_46_10372.jpg', '/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_56_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/33/image_19042025_21_33_56_10366.jpg
/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_16_10392.jpg
/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_26_10384.jpg
/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_35_9365.jpg
/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_46_10372.jpg
/home/pi/Desktop/images/19042025/21/34/image_19042025_21_34_56_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":["1352023474","1352023482","1352023485","1352023479","1352023488","1352023476"],"photo_ids_order":["1352023474","1352023476","1352023479","1352023482","1352023485","1352023488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/c56a7d8981025851be50d3320f0bfd9f.jpg","text":"TemporaryFile(/tmp/multipartBody6145179155639737544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099793467,"filename":"image_19042025_21_33_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/19/bc50f7115a645592960e3b92eeeccc14.jpg","text":"TemporaryFile(/tmp/multipartBody8574139950518365466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099793467,"filename":"image_19042025_21_34_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/19/babbdfd1105af4d1d49c4df88f4b7207.jpg","text":"TemporaryFile(/tmp/multipartBody6548952224399030734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099793467,"filename":"image_19042025_21_34_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/19/f2e09617d3ee1fd74e8533579d8a9e39.jpg","text":"TemporaryFile(/tmp/multipartBody5810588593680551045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099793467,"filename":"image_19042025_21_34_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/f520d9fc60a35d5c843c3be1727c8407.jpg","text":"TemporaryFile(/tmp/multipartBody190413385520062348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099793467,"filename":"image_19042025_21_34_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/19/c84b55874d527b15e2dafc79a7cc13b4.jpg","text":"TemporaryFile(/tmp/multipartBody4853094018970270852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099793467,"filename":"image_19042025_21_34_16_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023479","file1":"1352023476","file0":"1352023474","file4":"1352023485","file5":"1352023488","file3":"1352023482"},"map_files_photo_id_array":[{"photo_id":"1352023488","filename":"file5"},{"photo_id":"1352023479","filename":"file2"},{"photo_id":"1352023485","filename":"file4"},{"photo_id":"1352023476","filename":"file1"},{"photo_id":"1352023474","filename":"file0"},{"photo_id":"1352023482","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352023474":["hashtag1","hashtag2"]},{"1352023482":["hashtag1","hashtag2"]},{"1352023485":["hashtag1","hashtag2"]},{"1352023479":["hashtag1","hashtag2"]},{"1352023488":["hashtag1","hashtag2"]},{"1352023476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352023474, 1352023482, 1352023485, 1352023479, 1352023488, 1352023476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.233205795288086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:56:32.269612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/34/image_19042025_21_35_05_9356.jpg', '/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_16_10349.jpg', '/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_25_9363.jpg', '/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_36_10404.jpg', '/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_46_10437.jpg', '/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_55_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/34/image_19042025_21_35_05_9356.jpg
/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_16_10349.jpg
/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_25_9363.jpg
/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_36_10404.jpg
/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_46_10437.jpg
/home/pi/Desktop/images/19042025/21/35/image_19042025_21_35_55_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":["1352023605","1352023580","1352023682","1352023655","1352023709","1352023629"],"photo_ids_order":["1352023580","1352023605","1352023629","1352023655","1352023682","1352023709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/803166f0c6f1322aaaba994952c6aec8.jpg","text":"TemporaryFile(/tmp/multipartBody355189563338025693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099852753,"filename":"image_19042025_21_35_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/19/2db0ba2e443d2a4e2775c8ae429d61a7.jpg","text":"TemporaryFile(/tmp/multipartBody8316966998515205850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099852753,"filename":"image_19042025_21_35_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/19/866b97c1e992a8696108913de9b3c1c1.jpg","text":"TemporaryFile(/tmp/multipartBody7006109485160196313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099852753,"filename":"image_19042025_21_35_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/19/40a5cc9416945fcb5f91d28d9a9de908.jpg","text":"TemporaryFile(/tmp/multipartBody603951028980156455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099852753,"filename":"image_19042025_21_35_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/19/3ee7bb4cd7a3564977f7a260bdc56298.jpg","text":"TemporaryFile(/tmp/multipartBody2874544133408903885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099852753,"filename":"image_19042025_21_35_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/19/bf80c41e5531ccc51644b37fda1107ea.jpg","text":"TemporaryFile(/tmp/multipartBody4768262834594930420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745099852753,"filename":"image_19042025_21_35_25_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023629","file1":"1352023605","file0":"1352023580","file4":"1352023682","file5":"1352023709","file3":"1352023655"},"map_files_photo_id_array":[{"photo_id":"1352023709","filename":"file5"},{"photo_id":"1352023629","filename":"file2"},{"photo_id":"1352023682","filename":"file4"},{"photo_id":"1352023605","filename":"file1"},{"photo_id":"1352023580","filename":"file0"},{"photo_id":"1352023655","filename":"file3"}],"portfolio_id":22238626,"hashtag_by_photo_ids":[{"1352023605":["hashtag1","hashtag2"]},{"1352023580":["hashtag1","hashtag2"]},{"1352023682":["hashtag1","hashtag2"]},{"1352023655":["hashtag1","hashtag2"]},{"1352023709":["hashtag1","hashtag2"]},{"1352023629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22238626 used, photo_id : ArrayBuffer(1352023605, 1352023580, 1352023682, 1352023655, 1352023709, 1352023629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.291779041290283 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-19 23:57:32.456341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
  port_id : 22238626
  datou_current_id : 2739534
in upload_from_sqlite, uploading in 22238626
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19042025/21/35/image_19042025_21_36_06_10588.jpg', '/home/pi/Desktop/images/19042025/21/36/image_19042025_21_36_15_9390.jpg', '/home/pi/Desktop/images/19042025/21/36/image_19042025_21_36_26_10445.jpg', '/home/pi/Desktop/images/19042025/21/36/image_19042025_21_36_35_9367.jpg', '/home/pi/Desktop/images/19042025/21/36/image_19042025_21_37_05_9357.jpg', '/home/pi/Desktop/images/19042025/21/37/image_19042025_21_37_16_10508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2739534&datou=0
/home/pi/Desktop/images/19042025/21/35/image_19042025_21_36_06_10588.jpg
/home/pi/Desktop/images/19042025/21/36/image_19042025_21_36_15_9390.jpg
/home/pi/Desktop/images/19042025/21/36/image_19042025_21_36_26_10445.jpg
/home/pi/Desktop/images/19042025/21/36/image_19042025_21_36_35_9367.jpg
/home/pi/Desktop/images/19042025/21/36/image_19042025_21_37_05_9357.jpg
/home/pi/Desktop/images/19042025/21/37/image_19042025_21_37_16_10508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
